Remove support for removing glibc 2.0 headers.
[glibc.git] / ChangeLog
blob7c0072b88e25c4f54cd2dcd8516f493f876640e0
1 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
3         * configure.ac (old_glibc_headers): Remove configure test.
4         * configure: Regenerated.
5         * config.make.in (old-glibc-headers): Remove variable.
6         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
7         (install): Remove dependency on remove-old-headers.
8         (headers2_0): Remove variable.
9         (remove-old-headers): Remove rule.
11         * configure.ac (libc_cv_dot_text): Remove configure test.
12         (libc_cv_asm_set_directive): Use .text instead of
13         ${libc_cv_dot_text} in configure test.
14         * configure: Regenerated.
16 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18         [BZ #19168]
19         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21 2015-10-26  Florian Weimer  <fweimer@redhat.com>
23         * configure.ac (CXX): Clear the variable if the C++ toolchain does
24         not support static linking.
25         * configure: Regenerate.
27 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
29         * math/libm-test.inc (check_float_internal): Do not special-case
30         errors up to 0.5 ulp.
32         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
33         log2.
34         * math/auto-libm-test-out: Regenerated.
35         * math/libm-test.inc (MAX_EXP): New macro.
36         (ilogb_test_data): Add more tests.
37         (isfinite_test_data): Likewise.
38         (isgreater_test_data): Likewise.
39         (isgreaterequal_test_data): Likewise.
40         (isinf_test_data): Likewise.
41         (isless_test_data): Likewise.
42         (islessequal_test_data): Likewise.
43         (islessgreater_test_data): Likewise.
44         (isnan_test_data): Likewise.
45         (isnormal_test_data): Likewise.
46         (issignaling_test_data): Likewise.
47         (isunordered_test_data): Likewise.
48         (j0_test_data): Likewise.
49         (j1_test_data): Likewise.
50         (jn_test_data): Likewise.
51         (lgamma_test_data): Likewise.
52         (log_test_data): Likewise.
53         (log10_test_data): Likewise.
54         (log1p_test_data): Likewise.
55         (log2_test_data): Likewise.
56         (logb_test_data): Likewise.
57         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59         [BZ #18611]
60         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
61         avoid excess range and precision on underflow.
62         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
63         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
64         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
65         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
66         underflow.
67         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
68         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
69         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
70         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
71         * math/auto-libm-test-in: Do not allow missing errno setting for
72         tests of j1 and jn.
73         * math/auto-libm-test-out: Regenerated.
75 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
77         [BZ #15491]
78         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
79         floating-point environment instead of clearing all exceptions.
80         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
81         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
82         merging in "invalid" exceptions from frndint.
83         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
84         * math/test-nearbyint-except.c: New file.
85         * math/Makefile (tests): Add test-nearbyint-except.
87 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
89         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
91         * sysdeps/tile/libm-test-ulps: Regenerated.
93 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
95         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
96         (__NR_sync_file_range2): Assume it is always defined.
97         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
98         (__NR_sync_file_range): Assume it is always defined.
100 2015-10-22  Andreas Schwab  <schwab@suse.de>
102         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
103         INTERNAL_SYSCALL_ERRNO.
104         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
105         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
106         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
107         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
108         Likewise.
109         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
111 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
113         * io/tst-fcntl.c (fd): New static variable.
114         (do_prepare): Open temporary file here....
115         (do_test): ...not here.
117         * io/ftwtest-sh: Also trap on exit to remove temporary files.
119 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
121         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
122         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
123         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
124         Moved before "#ifdef __ASSEMBLER__".
126 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
128         [BZ #19156]
129         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
130         arguments very close to 0.
132 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
134         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
135         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
137 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
139         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
140         New.  Defined for GCC 5 and above when not compiling for
141         profiling.
142         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
144         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
145         Renamed to ...
146         (CFLAGS-epoll_pwait.o): This.
147         (CFLAGS-mmap.c): Renamed to ...
148         (CFLAGS-mmap.o): This.
149         (CFLAGS-mmap64.c): Renamed to ...
150         (CFLAGS-mmap64.o): This.
151         (CFLAGS-epoll_pwait.os): New.
152         (CFLAGS-mmap.os): Likewise.
153         (CFLAGS-mmap64.os): Likewise.
154         (CFLAGS-semtimedop.os): Likewise.
155         (CFLAGS-semtimedop.c): Renamed to ...
156         (CFLAGS-semtimedop.o): This.
158 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
160         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
161         warning message.
163 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
165         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
166         * Makefile ($(objpfx)c++-types-check.out): Filter out
167         $(+gccwarn-c) instead of -Wstrict-prototypes.
169         * io/fts.c (fts_open): Convert to prototype-style function
170         definition.
171         * malloc/mcheck.c (mcheck): Likewise.
172         (mcheck_pedantic): Likewise.
173         * posix/regexec.c (re_search_2_stub): Likewise.  Use
174         internal_function.
175         (re_search_internal): Likewise.
176         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
177         prototype-style function definition.
178         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
179         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
180         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
181         (xdr_utmpptr): Likewise.
182         (xdr_utmparr): Likewise.
183         (xdr_utmpidle): Likewise.
184         (xdr_utmpidleptr): Likewise.
185         (xdr_utmpidlearr): Likewise.
187         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
188         log, log10 and log2.
189         * math/auto-libm-test-out: Regenerated.
190         * math/libm-test.inc (fmod_test_data): Add more tests.
191         (fpclassify_test_data): Likewise.
192         (frexp_test_data): Likewise.
193         (hypot_test_data): Likewise.
194         (ilogb_test_data): Likewise.
196 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
198         * debug/fortify_fail.c (__fortify_fail): Convert to
199         prototype-style function definition.  Use internal_function.
200         * libio/genops.c (save_for_backup): Convert to prototype-style
201         function definition.
202         * libio/wgenops.c (save_for_wbackup): Likewise.
203         * login/grantpt.c (grantpt): Likewise.
204         * login/ptsname.c (ptsname): Likewise.
205         (__ptsname_r): Likewise.
206         * login/unlockpt.c (unlockpt): Likewise.
207         * mach/msgserver.c (__mach_msg_server): Likewise.
208         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
209         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
210         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
211         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
212         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
213         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
214         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
215         Likewise.
216         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
217         internal_function.
218         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
219         prototype-style function definition.
220         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
221         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
222         (__pthread_create_2_0): Likewise.
223         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
224         * nptl/register-atfork.c (__register_atfork): Likewise.
225         * posix/glob.c (glob): Likewise.
226         * posix/regcomp.c (re_comp): Likewise.
227         * posix/regexec.c (re_exec): Likewise.
228         * stdlib/add_n.c [__STDC__]: Make code unconditional.
229         [!__STDC__]: Remove conditional code.
230         * stdlib/cmp.c [__STDC__]: Make code unconditional.
231         [!__STDC__]: Remove conditional code.
232         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
233         [!__STDC__]: Remove conditional code.
234         * stdlib/divrem.c [__STDC__]: Make code unconditional.
235         [!__STDC__]: Remove conditional code.
236         * stdlib/lshift.c [__STDC__]: Make code unconditional.
237         [!__STDC__]: Remove conditional code.
238         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
239         [!__STDC__]: Remove conditional code.
240         * stdlib/mul.c [__STDC__]: Make code unconditional.
241         [!__STDC__]: Remove conditional code.
242         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
243         [!__STDC__]: Remove conditional code.
244         * stdlib/rshift.c [__STDC__]: Make code unconditional.
245         [!__STDC__]: Remove conditional code.
246         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
247         function definition.
248         (STRTOF): Likewise.
249         * stdlib/strtod_l.c (__STRTOF): Likewise.
250         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
251         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
252         (__strtol_l): Likewise.
253         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
254         [!__STDC__]: Remove conditional code.
255         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
256         definition.
257         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
258         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
259         type.
260         (__strcasecmp): Convert to prototype-style function definition.
261         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
262         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
263         type.
264         (__strncasecmp): Convert to prototype-style function definition.
265         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
266         * sunrpc/xdr.c (xdr_union): Likewise.
267         * sunrpc/xdr_array.c (xdr_array): Likewise.
268         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
269         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
270         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
271         Likewise.
272         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
273         Likewise.
274         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
275         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
276         Likewise.
277         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
278         (LOCALE_PARAM_PROTO): Likewise.
279         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
280         argument type.
281         (ut_argument_spec): Remove macro.
282         (ut_argument_spec_iso): Rename to ut_argument_spec.
283         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
284         prototype-style function definition.
285         (memcpy_uppcase): Likewise.
286         (__strftime_internal): Likewise.
287         (my_strftime): Likewise.
288         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
289         (LOCALE_PARAM_DECL): Likewise.
290         [_LIBC] (LOCALE_PARAM): Include argument type.
291         (__strptime_internal): Convert to prototype-style function
292         definition.
293         (strptime): Likewise.
294         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
295         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
296         type.
297         (__wcscasecmp): Convert to prototype-style function definition.
298         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
299         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
300         type.
301         (__wcsncasecmp): Convert to prototype-style function definition.
303         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
304         function definition.
305         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
306         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
307         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
308         * elf/dl-minimal.c (_itoa): Likewise.
309         * hurd/hurdmalloc.c (malloc): Likewise.
310         (free): Likewise.
311         (realloc): Likewise.
312         * inet/inet6_option.c (inet6_option_space): Likewise.
313         (inet6_option_init): Likewise.
314         (inet6_option_append): Likewise.
315         (inet6_option_alloc): Likewise.
316         (inet6_option_next): Likewise.
317         (inet6_option_find): Likewise.
318         * io/ftw.c (FTW_NAME): Likewise.
319         (NFTW_NAME): Likewise.
320         (NFTW_NEW_NAME): Likewise.
321         (NFTW_OLD_NAME): Likewise.
322         * libio/iofwide.c (_IO_fwide): Likewise.
323         * libio/strops.c (_IO_str_init_static_internal): Likewise.
324         (_IO_str_init_static): Likewise.
325         (_IO_str_init_readonly): Likewise.
326         (_IO_str_overflow): Likewise.
327         (_IO_str_underflow): Likewise.
328         (_IO_str_count): Likewise.
329         (_IO_str_seekoff): Likewise.
330         (_IO_str_pbackfail): Likewise.
331         (_IO_str_finish): Likewise.
332         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
333         (_IO_wstr_overflow): Likewise.
334         (_IO_wstr_underflow): Likewise.
335         (_IO_wstr_count): Likewise.
336         (_IO_wstr_seekoff): Likewise.
337         (_IO_wstr_pbackfail): Likewise.
338         (_IO_wstr_finish): Likewise.
339         * locale/programs/localedef.c (normalize_codeset): Likewise.
340         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
341         (add_locales_to_archive): Likewise.
342         (delete_locales_from_archive): Likewise.
343         * malloc/malloc.c (__libc_mallinfo): Likewise.
344         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
345         * misc/tsearch.c (__tfind): Likewise.
346         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
347         * nptl/pthread_attr_getdetachstate.c
348         (__pthread_attr_getdetachstate): Likewise.
349         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
350         Likewise.
351         * nptl/pthread_attr_getinheritsched.c
352         (__pthread_attr_getinheritsched): Likewise.
353         * nptl/pthread_attr_getschedparam.c
354         (__pthread_attr_getschedparam): Likewise.
355         * nptl/pthread_attr_getschedpolicy.c
356         (__pthread_attr_getschedpolicy): Likewise.
357         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
358         Likewise.
359         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
360         Likewise.
361         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
362         Likewise.
363         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
364         Likewise.
365         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
366         (__pthread_attr_init_2_0): Likewise.
367         * nptl/pthread_attr_setdetachstate.c
368         (__pthread_attr_setdetachstate): Likewise.
369         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
370         Likewise.
371         * nptl/pthread_attr_setinheritsched.c
372         (__pthread_attr_setinheritsched): Likewise.
373         * nptl/pthread_attr_setschedparam.c
374         (__pthread_attr_setschedparam): Likewise.
375         * nptl/pthread_attr_setschedpolicy.c
376         (__pthread_attr_setschedpolicy): Likewise.
377         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
378         Likewise.
379         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
380         Likewise.
381         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
382         Likewise.
383         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
384         Likewise.
385         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
386         Likewise.
387         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
388         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
389         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
390         use internal_function.
391         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
392         prototype-style function definition.
393         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
394         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
395         internal_function.
396         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
397         Convert to prototype-style function definition.
398         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
399         Likewise.
400         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
401         Likewise.
402         (__pthread_mutex_unlock): Likewise.
403         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
404         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
405         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
406         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
407         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
408         * nss/makedb.c (process_input): Likewise.
409         * posix/fnmatch.c (__strchrnul): Likewise.
410         (__wcschrnul): Likewise.
411         (fnmatch): Likewise.
412         * posix/fnmatch_loop.c (FCT): Likewise.
413         * posix/glob.c (globfree): Likewise.
414         (__glob_pattern_type): Likewise.
415         (__glob_pattern_p): Likewise.
416         * posix/regcomp.c (re_compile_pattern): Likewise.
417         (re_set_syntax): Likewise.
418         (re_compile_fastmap): Likewise.
419         (regcomp): Likewise.
420         (regerror): Likewise.
421         (regfree): Likewise.
422         * posix/regexec.c (regexec): Likewise.
423         (re_match): Likewise.
424         (re_search): Likewise.
425         (re_match_2): Likewise.
426         (re_search_2): Likewise.
427         (re_search_stub): Likewise.  Use internal_function
428         (re_copy_regs): Likewise.
429         (re_set_registers): Convert to prototype-style function
430         definition.
431         (prune_impossible_nodes): Likewise.  Use internal_function.
432         * resolv/inet_net_pton.c (inet_net_pton): Convert to
433         prototype-style function definition.
434         (inet_net_pton_ipv4): Likewise.
435         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
436         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
437         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
438         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
439         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
440         Make variadic.
441         * time/strptime_l.c (localtime_r): Convert to prototype-style
442         function definition.
443         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
444         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
445         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
446         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
448         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
449         definition.
450         (_ufc_doit_r): Likewise.
451         * crypt/crypt_util.c (_ufc_copymem): Likewise.
452         (_ufc_output_conversion_r): Likewise.
453         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
454         * inet/rcmd.c (rcmd_af): Likewise.
455         (rcmd): Likewise.
456         (ruserok_af): Likewise.
457         (ruserok): Likewise.
458         (ruserok2_sa): Likewise.
459         (ruserok_sa): Likewise.
460         (iruserok_af): Likewise.
461         (iruserok): Likewise.
462         (__ivaliduser): Likewise.
463         (__validuser2_sa): Likewise.
464         * inet/rexec.c (rexec_af): Likewise.
465         (rexec): Likewise.
466         * inet/ruserpass.c (ruserpass): Likewise.
467         * locale/programs/xmalloc.c (xcalloc): Likewise.
468         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
469         * math/w_drem.c (__drem): Likewise.
470         * math/w_dremf.c (__dremf): Likewise.
471         * math/w_dreml.c (__dreml): Likewise.
472         * misc/daemon.c (daemon): Likewise.
473         * resolv/res_debug.c (p_fqnname): Likewise.
474         * stdlib/div.c (div): Likewise.
475         * string/memcmp.c (memcmp_bytes): Likewise.
476         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
477         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
479         * crypt/cert.c (main): Convert to prototype-style function
480         definition.
481         * io/pipe.c (__pipe): Likewise.
482         * io/pipe2.c (__pipe2): Likewise.
483         * misc/futimesat.c (futimesat): Likewise.
484         * misc/utimes.c (__utimes): Likewise.
485         * posix/execve.c (__execve): Likewise.
486         * posix/execvp.c (execvp): Likewise.
487         * posix/execvpe.c (__execvpe): Likewise.
488         * posix/fexecve.c (fexecve): Likewise.
489         * socket/socketpair.c (socketpair): Likewise.
490         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
491         * stdlib/erand48.c (erand48): Likewise.
492         * stdlib/erand48_r.c (__erand48_r): Likewise.
493         * stdlib/jrand48.c (jrand48): Likewise.
494         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
495         * stdlib/lcong48.c (lcong48): Likewise.
496         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
497         * stdlib/nrand48.c (nrand48): Likewise.
498         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
499         * stdlib/seed48.c (seed48): Likewise.
500         * stdlib/seed48_r.c (__seed48_r): Likewise.
501         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
502         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
503         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
505 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
507         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
508         * configure: Regenerated.
509         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
510         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
511         unconditional.
512         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
513         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
514         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
515         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
516         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
517         unconditional.
518         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
520         * posix/Makefile (CFLAGS-regex.c): Remove variable.
521         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
523         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
524         function definition.
525         * crypt/crypt_util.c (__encrypt_r): Likewise.
526         * libio/genops.c (_IO_no_init): Likewise.
527         * libio/iofopncook.c (_IO_fopencookie): Likewise.
528         (_IO_old_fopencookie): Likewise.
529         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
530         * libio/iogetline.c (_IO_getline): Likewise.
531         (_IO_getline_info): Likewise.
532         * libio/iogetwline.c (_IO_getwline): Likewise.
533         (_IO_getwline_info): Likewise.
534         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
535         * libio/vswprintf.c (_IO_vswprintf): Likewise.
536         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
537         (find_entry): Likewise.
538         (iterate_table): Likewise.
539         (lookup): Likewise.
540         * login/forkpty.c (forkpty): Likewise.
541         * misc/hsearch_r.c (__hsearch_r): Likewise.
542         * misc/select.c (__select): Likewise.
543         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
544         Likewise.
545         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
546         Likewise.
547         * nptl/old_pthread_cond_timedwait.c
548         (__pthread_cond_timedwait_2_0): Likewise.
549         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
550         * nptl/pthread_barrierattr_getpshared.c
551         (pthread_barrierattr_getpshared): Likewise.
552         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
553         Likewise.
554         * nptl/pthread_mutex_setprioceiling.c
555         (pthread_mutex_setprioceiling): Likewise.
556         * nptl/pthread_mutexattr_getprioceiling.c
557         (pthread_mutexattr_getprioceiling): Likewise.
558         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
559         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
560         Likewise.
561         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
562         Likewise.
563         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
564         Likewise.
565         * socket/recvfrom.c (__recvfrom): Likewise.
566         * socket/sendto.c (__sendto): Likewise.
567         * socket/setsockopt.c (__setsockopt): Likewise.
568         * stdio-common/_itoa.c (_itoa): Likewise.
569         * stdio-common/_itowa.c (_itowa): Likewise.
570         * stdio-common/reg-printf.c (__register_printf_specifier):
571         Likewise.
572         (__register_printf_function): Likewise.
573         * stdio-common/tempname.c (__path_search): Likewise.
574         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
575         * stdlib/mul_1.c (mpn_mul_1): Likewise.
576         * stdlib/random_r.c (__initstate_r): Likewise.
577         * stdlib/setenv.c (__add_to_environ): Likewise.
578         * stdlib/submul_1.c (mpn_submul_1): Likewise.
579         * streams/getpmsg.c (getpmsg): Likewise.
580         * streams/putmsg.c (putmsg): Likewise.
581         * streams/putpmsg.c (putpmsg): Likewise.
582         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
583         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
584         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
585         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
586         * sunrpc/pm_getport.c (pmap_getport): Likewise.
587         * sunrpc/svc_udp.c (cache_get): Likewise.
588         * sunrpc/xdr_array.c (xdr_vector): Likewise.
589         * sysdeps/mach/hurd/getcwd.c
590         (__canonicalize_directory_name_internal): Likewise.
591         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
592         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
593         * sysdeps/mach/hurd/select.c (__select): Likewise.
594         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
595         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
596         * sysdeps/sparc/nptl/pthread_barrier_init.c
597         (__pthread_barrier_init): Likewise.
598         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
599         (__pthread_cond_timedwait): Likewise.
600         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
601         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
602         Likewise.
603         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
604         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
605         Likewise.
606         * sysvipc/semtimedop.c (semtimedop): Likewise.
607         * time/setitimer.c (__setitimer): Likewise.
608         * time/strftime_l.c (emacs_strftime): Likewise.
610 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
612         * config.make.in (have-ssp): Delete.
613         (stack-protector): New variable.
614         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
615         cache test for -fstack-protector-strong.  Export stack_protector to
616         the best ssp flag.
617         * configure: Regenerated.
618         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
619         * nscd/Makefile (CFLAGS-nscd): Likewise.
620         * resolv/Makefile (CFLAGS-libresolv): Likewise.
622 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
624         [BZ #19122]
625         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
626         attribute_hidden.
628 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
630         [BZ #18743]
631         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
632         code to...
633         (ELIDE_LOCK): ...here.
634         (__get_new_count): New function with part of the code from
635         __elide_lock that updates the value of adapt_count after a
636         transaction abort.
637         (__elided_trylock): Moved this code to...
638         (ELIDE_TRYLOCK): ...here.
640 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
642         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
643         * configure: Regenerate.
644         * INSTALL: Regenerate.
645         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
646         and tweak grammar.
648 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
650         * login/programs/pt_chown.c: Include signal.h
651         (main): Clear any signal mask from the parent process.
653 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
655         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
656         * configure: Regenerated.
657         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
658         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
659         $(gnu89-inline-CFLAGS).
661         * configure.ac (libc_cv_asm_weak_directive): Remove configure
662         test.
663         (libc_cv_asm_weakext_directive): Likewise.
664         * configure: Regenerated.
665         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
666         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
667         * include/libc-symbols.h
668         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
669         #error.
670         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
671         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
673         * sysdeps/arm/backtrace.c (__backtrace): Convert to
674         prototype-style function definition.
675         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
676         * sysdeps/i386/ffs.c (__ffs): Likewise.
677         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
678         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
679         Likewise.
680         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
681         Likewise.
682         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
683         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
684         Likewise.
685         * sysdeps/m68k/ffs.c (__ffs): Likewise.
686         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
687         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
688         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
689         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
690         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
691         * sysdeps/mach/hurd/access.c (__access): Likewise.
692         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
693         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
694         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
695         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
696         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
697         (cthread_getspecific): Likewise.
698         (cthread_setspecific): Likewise.
699         (__libc_getspecific): Likewise.
700         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
701         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
702         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
703         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
704         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
705         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
706         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
707         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
708         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
709         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
710         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
711         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
712         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
713         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
714         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
715         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
716         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
717         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
718         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
719         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
720         * sysdeps/mach/hurd/link.c (__link): Likewise.
721         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
722         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
723         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
724         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
725         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
726         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
727         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
728         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
729         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
730         * sysdeps/mach/hurd/rename.c (rename): Likewise.
731         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
732         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
733         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
734         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
735         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
736         * sysdeps/mach/hurd/send.c (__send): Likewise.
737         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
738         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
739         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
740         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
741         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
742         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
743         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
744         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
745         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
746         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
747         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
748         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
749         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
750         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
751         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
752         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
753         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
754         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
755         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
756         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
757         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
758         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
759         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
760         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
761         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
762         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
763         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
764         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
765         * sysdeps/posix/alarm.c (alarm): Likewise.
766         * sysdeps/posix/cuserid.c (cuserid): Likewise.
767         * sysdeps/posix/dirfd.c (dirfd): Likewise.
768         * sysdeps/posix/dup.c (__dup): Likewise.
769         * sysdeps/posix/dup2.c (__dup2): Likewise.
770         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
771         (main): Likewise.
772         * sysdeps/posix/flock.c (__flock): Likewise.
773         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
774         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
775         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
776         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
777         * sysdeps/posix/isatty.c (__isatty): Likewise.
778         * sysdeps/posix/killpg.c (killpg): Likewise.
779         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
780         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
781         * sysdeps/posix/raise.c (raise): Likewise.
782         * sysdeps/posix/remove.c (remove): Likewise.
783         * sysdeps/posix/rename.c (rename): Likewise.
784         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
785         * sysdeps/posix/seekdir.c (seekdir): Likewise.
786         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
787         * sysdeps/posix/sigignore.c (sigignore): Likewise.
788         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
789         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
790         * sysdeps/posix/sigset.c (sigset): Likewise.
791         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
792         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
793         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
794         * sysdeps/posix/time.c (time): Likewise.
795         * sysdeps/posix/ttyname.c (getttyname): Likewise.
796         (ttyname): Likewise.
797         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
798         * sysdeps/posix/utime.c (utime): Likewise.
799         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
800         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
801         Likewise.
802         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
803         (pthread_spin_trylock): Likewise.
804         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
805         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
806         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
807         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
808         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
809         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
810         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
811         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
812         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
813         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
814         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
815         * sysdeps/s390/ffs.c (__ffs): Likewise.
816         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
817         Likewise.
818         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
819         Likewise.
820         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
821         Likewise.
822         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
823         (pthread_barrier_destroy): Likewise.
824         * sysdeps/sparc/nptl/pthread_barrier_wait.c
825         (__pthread_barrier_wait): Likewise.
826         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
827         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
828         (__pthread_barrier_wait): Likewise.
829         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
830         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
831         (memcmp_not_common_alignment): Likewise.
832         (MEMCMP): Likewise.
833         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
834         (_wordcopy_fwd_dest_aligned): Likewise.
835         (_wordcopy_bwd_aligned): Likewise.
836         (_wordcopy_bwd_dest_aligned): Likewise.
837         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
838         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
839         * sysdeps/unix/bsd/stty.c (stty): Likewise.
840         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
841         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
842         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
843         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
844         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
845         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
846         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
847         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
848         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
849         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
850         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
851         * sysdeps/unix/stime.c (stime): Likewise.
852         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
853         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
854         Likewise.  Use internal_function.
855         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
856         Convert to prototype-style function definition.
857         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
858         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
859         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
860         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
861         Likewise.  Use internal_function.
862         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
863         prototype-style function definition
864         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
865         Likewise.
866         (__getlogin_r): Likewise.
867         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
868         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
869         (__pthread_cond_broadcast): Likewise.
870         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
871         (__pthread_cond_destroy): Likewise.
872         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
873         (__pthread_cond_init): Likewise.
874         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
875         (__pthread_cond_signal): Likewise.
876         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
877         (__pthread_cond_wait): Likewise.
878         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
879         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
880         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
881         Likewise.
882         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
883         Likewise.
884         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
885         Likewise.
886         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
887         Likewise.
888         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
890         (__ftruncate64): Likewise.
891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
892         (truncate64): Likewise.
893         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
894         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
895         (pthread_getcpuclockid): Likewise.
896         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
897         Likewise.
898         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
899         Likewise.
900         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
901         Likewise.
902         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
903         Likewise.
904         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
905         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
906         (__libc_sigaction): Likewise.
907         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
908         Likewise.
909         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
910         (__sigprocmask): Likewise.
911         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
912         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
913         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
914         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
915         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
916         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
917         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
918         Likewise.
919         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
920         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
921         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
922         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
923         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
924         Likewise.
925         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
926         (__sigprocmask): Likewise.
927         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
928         (cfgetispeed): Likewise.
929         (cfsetospeed): Likewise.
930         (cfsetispeed): Likewise.
931         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
932         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
933         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
934         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
935         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
936         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
937         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
938         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
939         Likewise.
940         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
941         Likewise.
942         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
943         Likewise.
944         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
945         Likewise.
946         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
948 2015-10-17  Florian Weimer  <fweimer@redhat.com>
950         sunrpc: Rewrite with explicit TLS access using __thread.
951         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
952         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
953         directly.
954         (__rpc_thread_variables): Access thread_rpc_vars directly.
955         Eliminate redundant assignment of the tvp variable.
957 2015-10-17  Florian Weimer  <fweimer@redhat.com>
959         malloc: Rewrite with explicit TLS access using __thread.
960         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
961         (tsd_setspecific, tsd_getspecific): Remove.
962         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
963         (tsd_setspecific, tsd_getspecific): Likewise.
964         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
965         (tsd_setspecific, tsd_getspecific): Likewise.
966         * malloc/arena.c (thread_arena): New TLS variable.
967         (arena_key): Remove variable.
968         (arena_get): Use thread_arena.
969         (arena_lookup): Remove macro.
970         (malloc_atfork, free_atfork, ptmalloc_lock_all)
971         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
972         (_int_new_arena, get_free_list, reused_arena)
973         (arena_thread_freeres): Use thread_arena.
974         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
975         tsd_getspecific, tsd_setspecific from safety annotations.
976         (Allocating Cleared Space): Remove arena_lookup from safety
977         annotations.
979 2015-10-17  Florian Weimer  <fweimer@redhat.com>
981         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
982         struct scratch_buffer instead of extend_alloca.
984 2015-10-17  Florian Weimer  <fweimer@redhat.com>
986         * sysdeps/unix/sysv/linux/kernel-features.h
987         (__ASSUME_SOCK_CLOEXEC): Remove.
988         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
989         (__have_paccept): Remove unused macro.
990         * include/unistd.h (__have_sock_cloexec): Remove declaration.
991         * misc/syslog.c (openlog_internal): Remove fallback code for
992         !__ASSUME_SOCK_CLOEXEC.
993         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
994         missing SOCK_CLOEXEC.
995         * nscd/connections.c (have_sock_cloexec): Remove definition.
996         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
997         * nscd/nscd_helper.c (open_socket): Remove fallback code for
998         !__ASSUME_SOCK_CLOEXEC.
999         * resolv/res_send.c (__have_o_nonblock): Remove definition.
1000         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
1001         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
1002         definition.
1003         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
1004         code for !__ASSUME_SOCK_CLOEXEC.
1006 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1008         [BZ #18982]
1009         * manual/stdio.texi (Variable Arguments Output): Add portability
1010         note, explaining that vfprintf clobbers the va_list pointer.
1012 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
1014         * math/libm-test.inc (fabs_test_data): Add more tests.
1015         (fdim_test_data): Likewise.
1016         (fma_test_data): Likewise.
1017         (fmax_test_data): Likewise.
1018         (fmin_test_data): Likewise.
1019         (fmod_test_data): Likewise.
1021 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
1023         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
1024         data.
1026 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
1028         * math/libm-test.inc (ceil_test_data): Add more tests and more
1029         expectations for "inexact".
1030         (floor_test_data): Add more tests.
1031         (round_test_data): Likewise.
1032         (trunc_test_data): Likewise.
1034         * crypt/cert.c (good_bye): Convert to prototype-style function
1035         definition.
1036         (get8): Likewise.
1037         (put8): Likewise.
1038         * crypt/crypt-entry.c (crypt): Likewise.
1039         (__fcrypt): Likewise.
1040         * crypt/crypt_util.c (_ufc_prbits): Likewise.
1041         (_ufc_set_bits): Likewise.
1042         (_ufc_clearmem): Likewise.
1043         (__init_des_r): Likewise.
1044         (shuffle_sb): Likewise.
1045         (shuffle_sb): Likewise.
1046         (_ufc_setup_salt_r): Likewise.
1047         (_ufc_mk_keytab_r): Likewise.
1048         (_ufc_dofinalperm_r): Likewise.
1049         (encrypt): Likewise.
1050         (__setkey_r): Likewise.
1051         (setkey): Likewise.
1052         * crypt/md5.c (md5_init_ctx): Likewise.
1053         (md5_read_ctx): Likewise.
1054         (md5_finish_ctx): Likewise.
1055         (md5_stream): Likewise.
1056         (md5_buffer): Likewise.
1057         (md5_process_bytes): Likewise.
1058         * crypt/sha256.c (__sha256_init_ctx): Likewise.
1059         (__sha256_finish_ctx): Likewise.
1060         (__sha256_process_bytes): Likewise.
1061         * crypt/sha512.c (__sha512_init_ctx): Likewise.
1062         (__sha512_finish_ctx): Likewise.
1063         (__sha512_process_bytes): Likewise.
1064         * ctype/isctype.c (__isctype): Likewise.
1065         * debug/backtrace.c (__backtrace): Likewise.
1066         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
1067         * debug/fgets_chk.c (__fgets_chk): Likewise.
1068         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
1069         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
1070         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1071         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1072         * debug/memset_chk.c (__memset_chk): Likewise.
1073         * debug/strcat_chk.c (__strcat_chk): Likewise.
1074         * debug/strncat_chk.c (__strncat_chk): Likewise.
1075         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
1076         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
1077         * dirent/dirfd.c (dirfd): Likewise.
1078         * dirent/getdents.c (__getdirentries): Likewise.
1079         * dirent/getdents64.c (getdirentries64): Likewise.
1080         * dirent/rewinddir.c (__rewinddir): Likewise.
1081         * dirent/seekdir.c (seekdir): Likewise.
1082         * dirent/telldir.c (telldir): Likewise.
1083         * elf/sln.c (makesymlinks): Likewise.
1084         (makesymlink): Likewise.
1085         * gmon/gmon.c (__moncontrol): Likewise.
1086         (__monstartup): Likewise.
1087         (write_hist): Likewise.
1088         (write_call_graph): Likewise.
1089         (write_bb_counts): Likewise.
1090         * grp/setgroups.c (setgroups): Likewise.
1091         * inet/inet_lnaof.c (inet_lnaof): Likewise.
1092         * inet/inet_net.c (inet_network): Likewise.
1093         * inet/inet_netof.c (inet_netof): Likewise.
1094         * inet/rcmd.c (rresvport_af): Likewise.
1095         (rresvport): Likewise.
1096         * io/access.c (__access): Likewise.
1097         * io/chdir.c (__chdir): Likewise.
1098         * io/chmod.c (__chmod): Likewise.
1099         * io/chown.c (__chown): Likewise.
1100         * io/close.c (__close): Likewise.
1101         * io/creat.c (creat): Likewise.
1102         * io/creat64.c (creat64): Likewise.
1103         * io/dup.c (__dup): Likewise.
1104         * io/dup2.c (__dup2): Likewise.
1105         * io/dup3.c (__dup3): Likewise.
1106         * io/euidaccess.c (__euidaccess): Likewise.
1107         * io/faccessat.c (faccessat): Likewise.
1108         * io/fchmod.c (__fchmod): Likewise.
1109         * io/fchmodat.c (fchmodat): Likewise.
1110         * io/fchown.c (__fchown): Likewise.
1111         * io/fchownat.c (fchownat): Likewise.
1112         * io/fcntl.c (__fcntl): Likewise.
1113         * io/flock.c (__flock): Likewise.
1114         * io/fts.c (fts_load): Likewise.
1115         (fts_close): Likewise.
1116         (fts_read): Likewise.
1117         (fts_set): Likewise.
1118         (fts_children): Likewise.
1119         (fts_build): Likewise.
1120         (fts_stat): Likewise.
1121         (fts_sort): Likewise.
1122         (fts_alloc): Likewise.
1123         (fts_lfree): Likewise.
1124         (fts_palloc): Likewise.
1125         (fts_padjust): Likewise.
1126         (fts_maxarglen): Likewise.
1127         (fts_safe_changedir): Likewise.
1128         * io/getwd.c (getwd): Likewise.
1129         * io/isatty.c (__isatty): Likewise.
1130         * io/lchown.c (__lchown): Likewise.
1131         * io/link.c (__link): Likewise.
1132         * io/linkat.c (linkat): Likewise.
1133         * io/lseek.c (__libc_lseek): Likewise.
1134         * io/mkdir.c (__mkdir): Likewise.
1135         * io/mkdirat.c (mkdirat): Likewise.
1136         * io/mkfifo.c (mkfifo): Likewise.
1137         * io/mkfifoat.c (mkfifoat): Likewise.
1138         * io/open.c (__libc_open): Likewise.
1139         * io/open64.c (__libc_open64): Likewise.
1140         * io/readlink.c (__readlink): Likewise.
1141         * io/readlinkat.c (readlinkat): Likewise.
1142         * io/rmdir.c (__rmdir): Likewise.
1143         * io/symlink.c (__symlink): Likewise.
1144         * io/symlinkat.c (symlinkat): Likewise.
1145         * io/ttyname.c (ttyname): Likewise.
1146         * io/ttyname_r.c (__ttyname_r): Likewise.
1147         * io/umask.c (__umask): Likewise.
1148         * io/unlink.c (__unlink): Likewise.
1149         * io/unlinkat.c (unlinkat): Likewise.
1150         * io/utime.c (utime): Likewise.
1151         * libio/clearerr.c (clearerr): Likewise.
1152         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
1153         * libio/feof.c (_IO_feof): Likewise.
1154         * libio/feof_u.c (feof_unlocked): Likewise.
1155         * libio/ferror.c (_IO_ferror): Likewise.
1156         * libio/ferror_u.c (ferror_unlocked): Likewise.
1157         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1158         * libio/fileno.c (__fileno): Likewise.
1159         * libio/fputc.c (fputc): Likewise.
1160         * libio/fputc_u.c (fputc_unlocked): Likewise.
1161         * libio/fputwc.c (fputwc): Likewise.
1162         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
1163         * libio/freopen.c (freopen): Likewise.
1164         * libio/freopen64.c (freopen64): Likewise.
1165         * libio/fseek.c (fseek): Likewise.
1166         * libio/fseeko.c (fseeko): Likewise.
1167         * libio/fseeko64.c (fseeko64): Likewise.
1168         * libio/ftello.c (__ftello): Likewise.
1169         * libio/ftello64.c (ftello64): Likewise.
1170         * libio/fwide.c (fwide): Likewise.
1171         * libio/genops.c (_IO_un_link): Likewise.
1172         (_IO_link_in): Likewise.
1173         (_IO_least_marker): Likewise.
1174         (_IO_switch_to_main_get_area): Likewise.
1175         (_IO_switch_to_backup_area): Likewise.
1176         (_IO_switch_to_get_mode): Likewise.
1177         (_IO_free_backup_area): Likewise.
1178         (_IO_switch_to_put_mode): Likewise.
1179         (__overflow): Likewise.
1180         (__underflow): Likewise.
1181         (__uflow): Likewise.
1182         (_IO_setb): Likewise.
1183         (_IO_doallocbuf): Likewise.
1184         (_IO_default_underflow): Likewise.
1185         (_IO_default_uflow): Likewise.
1186         (_IO_default_xsputn): Likewise.
1187         (_IO_sgetn): Likewise.
1188         (_IO_default_xsgetn): Likewise.
1189         (_IO_sync): Likewise.
1190         (_IO_default_setbuf): Likewise.
1191         (_IO_default_seekpos): Likewise.
1192         (_IO_default_doallocate): Likewise.
1193         (_IO_init): Likewise.
1194         (_IO_old_init): Likewise.
1195         (_IO_default_sync): Likewise.
1196         (_IO_default_finish): Likewise.
1197         (_IO_default_seekoff): Likewise.
1198         (_IO_sputbackc): Likewise.
1199         (_IO_sungetc): Likewise.
1200         (_IO_set_column): Likewise.
1201         (_IO_set_column): Likewise.
1202         (_IO_adjust_column): Likewise.
1203         (_IO_get_column): Likewise.
1204         (_IO_init_marker): Likewise.
1205         (_IO_remove_marker): Likewise.
1206         (_IO_marker_difference): Likewise.
1207         (_IO_marker_delta): Likewise.
1208         (_IO_seekmark): Likewise.
1209         (_IO_unsave_markers): Likewise.
1210         (_IO_nobackup_pbackfail): Likewise.
1211         (_IO_default_pbackfail): Likewise.
1212         (_IO_default_seek): Likewise.
1213         (_IO_default_stat): Likewise.
1214         (_IO_default_read): Likewise.
1215         (_IO_default_write): Likewise.
1216         (_IO_default_showmanyc): Likewise.
1217         (_IO_default_imbue): Likewise.
1218         (_IO_iter_next): Likewise.
1219         (_IO_iter_file): Likewise.
1220         * libio/getc.c (_IO_getc): Likewise.
1221         * libio/getwc.c (_IO_getwc): Likewise.
1222         * libio/iofclose.c (_IO_new_fclose): Likewise.
1223         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
1224         * libio/iofflush.c (_IO_fflush): Likewise.
1225         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
1226         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
1227         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
1228         * libio/iofgets.c (_IO_fgets): Likewise.
1229         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
1230         * libio/iofgetws.c (fgetws): Likewise.
1231         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1232         * libio/iofopen64.c (_IO_fopen64): Likewise.
1233         * libio/iofopncook.c (_IO_cookie_read): Likewise.
1234         (_IO_cookie_write): Likewise.
1235         (_IO_cookie_seek): Likewise.
1236         (_IO_cookie_close): Likewise.
1237         (_IO_cookie_seekoff): Likewise.
1238         (_IO_old_cookie_seek): Likewise.
1239         * libio/iofputs.c (_IO_fputs): Likewise.
1240         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
1241         * libio/iofputws.c (fputws): Likewise.
1242         * libio/iofputws_u.c (fputws_unlocked): Likewise.
1243         * libio/iofread.c (_IO_fread): Likewise.
1244         * libio/iofread_u.c (__fread_unlocked): Likewise.
1245         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1246         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
1247         * libio/ioftell.c (_IO_ftell): Likewise.
1248         * libio/iofwrite.c (_IO_fwrite): Likewise.
1249         * libio/iogetdelim.c (_IO_getdelim): Likewise.
1250         * libio/iogets.c (_IO_gets): Likewise.
1251         * libio/iopadn.c (_IO_padn): Likewise.
1252         * libio/iopopen.c (_IO_new_proc_open): Likewise.
1253         (_IO_new_popen): Likewise.
1254         (_IO_new_proc_close): Likewise.
1255         * libio/ioputs.c (_IO_puts): Likewise.
1256         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
1257         (_IO_seekoff): Likewise.
1258         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
1259         (_IO_seekpos): Likewise.
1260         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
1261         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
1262         * libio/ioungetc.c (_IO_ungetc): Likewise.
1263         * libio/ioungetwc.c (ungetwc): Likewise.
1264         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1265         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
1266         * libio/iowpadn.c (_IO_wpadn): Likewise.
1267         * libio/libc_fatal.c (__libc_fatal): Likewise.
1268         * libio/memstream.c (__open_memstream): Likewise.
1269         (_IO_mem_sync): Likewise.
1270         (_IO_mem_finish): Likewise.
1271         * libio/oldfileops.c (_IO_old_file_init): Likewise.
1272         (_IO_old_file_close_it): Likewise.
1273         (_IO_old_file_finish): Likewise.
1274         (_IO_old_file_fopen): Likewise.
1275         (_IO_old_file_attach): Likewise.
1276         (_IO_old_file_setbuf): Likewise.
1277         (_IO_old_do_write): Likewise.
1278         (old_do_write): Likewise.
1279         (_IO_old_file_underflow): Likewise.
1280         (_IO_old_file_overflow): Likewise.
1281         (_IO_old_file_sync): Likewise.
1282         (_IO_old_file_seekoff): Likewise.
1283         (_IO_old_file_write): Likewise.
1284         (_IO_old_file_xsputn): Likewise.
1285         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1286         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1287         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
1288         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
1289         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1290         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
1291         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
1292         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
1293         (_IO_old_popen): Likewise.
1294         (_IO_old_proc_close): Likewise.
1295         * libio/oldpclose.c (__old_pclose): Likewise.
1296         * libio/pclose.c (__new_pclose): Likewise.
1297         * libio/peekc.c (_IO_peekc_locked): Likewise.
1298         * libio/putc.c (_IO_putc): Likewise.
1299         * libio/putc_u.c (putc_unlocked): Likewise.
1300         * libio/putchar.c (putchar): Likewise.
1301         * libio/putchar_u.c (putchar_unlocked): Likewise.
1302         * libio/putwc.c (putwc): Likewise.
1303         * libio/putwc_u.c (putwc_unlocked): Likewise.
1304         * libio/putwchar.c (putwchar): Likewise.
1305         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1306         * libio/rewind.c (rewind): Likewise.
1307         * libio/setbuf.c (setbuf): Likewise.
1308         * libio/setlinebuf.c (setlinebuf): Likewise.
1309         * libio/vasprintf.c (_IO_vasprintf): Likewise.
1310         * libio/vscanf.c (_IO_vscanf): Likewise.
1311         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
1312         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
1313         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1314         * libio/wgenops.c (_IO_least_wmarker): Likewise.
1315         (_IO_switch_to_main_wget_area): Likewise.
1316         (_IO_switch_to_wbackup_area): Likewise.
1317         (_IO_wsetb): Likewise.
1318         (_IO_wdefault_pbackfail): Likewise.
1319         (_IO_wdefault_finish): Likewise.
1320         (_IO_wdefault_uflow): Likewise.
1321         (__woverflow): Likewise.
1322         (__wuflow): Likewise.
1323         (__wunderflow): Likewise.
1324         (_IO_wdefault_xsputn): Likewise.
1325         (_IO_wdefault_xsgetn): Likewise.
1326         (_IO_wdoallocbuf): Likewise.
1327         (_IO_wdefault_doallocate): Likewise.
1328         (_IO_switch_to_wget_mode): Likewise.
1329         (_IO_free_wbackup_area): Likewise.
1330         (_IO_switch_to_wput_mode): Likewise.
1331         (_IO_sputbackwc): Likewise.
1332         (_IO_sungetwc): Likewise.
1333         (_IO_adjust_wcolumn): Likewise.
1334         (_IO_init_wmarker): Likewise.
1335         (_IO_wmarker_delta): Likewise.
1336         (_IO_seekwmark): Likewise.
1337         (_IO_unsave_wmarkers): Likewise.
1338         * libio/wmemstream.c (open_wmemstream): Likewise.
1339         (_IO_wmem_sync): Likewise.
1340         (_IO_wmem_finish): Likewise.
1341         * locale/nl_langinfo.c (nl_langinfo): Likewise.
1342         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
1343         * locale/programs/simple-hash.c (init_hash): Likewise.
1344         (delete_hash): Likewise.
1345         (insert_entry): Likewise.
1346         (set_entry): Likewise.
1347         (next_prime): Likewise.
1348         (is_prime): Likewise.
1349         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
1350         (xmalloc): Likewise.
1351         (xrealloc): Likewise.
1352         * locale/programs/xstrdup.c (xstrdup): Likewise.
1353         * localedata/collate-test.c (xstrcoll): Likewise.
1354         * localedata/xfrm-test.c (xstrcmp): Likewise.
1355         * login/getlogin_r.c (__getlogin_r): Likewise.
1356         * login/getpt.c (__posix_openpt): Likewise.
1357         * login/login_tty.c (login_tty): Likewise.
1358         * login/setlogin.c (setlogin): Likewise.
1359         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
1360         (mach_msg_destroy_port): Likewise.
1361         (mach_msg_destroy_memory): Likewise.
1362         * malloc/mcheck.c (flood): Likewise.
1363         * misc/acct.c (acct): Likewise.
1364         * misc/brk.c (__brk): Likewise.
1365         * misc/chflags.c (chflags): Likewise.
1366         * misc/chroot.c (chroot): Likewise.
1367         * misc/fchflags.c (fchflags): Likewise.
1368         * misc/fstab.c (getfsspec): Likewise.
1369         (getfsfile): Likewise.
1370         * misc/fsync.c (fsync): Likewise.
1371         * misc/ftruncate.c (__ftruncate): Likewise.
1372         * misc/ftruncate64.c (__ftruncate64): Likewise.
1373         * misc/getdomain.c (getdomainname): Likewise.
1374         (getdomainname): Likewise.
1375         * misc/gethostname.c (__gethostname): Likewise.
1376         * misc/getpass.c (getpass): Likewise.
1377         * misc/getttyent.c (skip): Likewise.
1378         (value): Likewise.
1379         * misc/gtty.c (gtty): Likewise.
1380         * misc/hsearch.c (hsearch): Likewise.
1381         (hcreate): Likewise.
1382         * misc/hsearch_r.c (__hcreate_r): Likewise.
1383         (__hdestroy_r): Likewise.
1384         * misc/ioctl.c (__ioctl): Likewise.
1385         * misc/mkdtemp.c (mkdtemp): Likewise.
1386         * misc/mkostemp.c (mkostemp): Likewise.
1387         * misc/mkostemp64.c (mkostemp64): Likewise.
1388         * misc/mkostemps.c (mkostemps): Likewise.
1389         * misc/mkostemps64.c (mkostemps64): Likewise.
1390         * misc/mkstemp.c (mkstemp): Likewise.
1391         * misc/mkstemp64.c (mkstemp64): Likewise.
1392         * misc/mkstemps.c (mkstemps): Likewise.
1393         * misc/mkstemps64.c (mkstemps64): Likewise.
1394         * misc/mktemp.c (__mktemp): Likewise.
1395         * misc/preadv.c (preadv): Likewise.
1396         * misc/preadv64.c (preadv64): Likewise.
1397         * misc/pwritev.c (pwritev): Likewise.
1398         * misc/pwritev64.c (pwritev64): Likewise.
1399         * misc/readv.c (__readv): Likewise.
1400         * misc/revoke.c (revoke): Likewise.
1401         * misc/setdomain.c (setdomainname): Likewise.
1402         * misc/setegid.c (setegid): Likewise.
1403         * misc/seteuid.c (seteuid): Likewise.
1404         * misc/sethostid.c (sethostid): Likewise.
1405         * misc/sethostname.c (sethostname): Likewise.
1406         * misc/setregid.c (__setregid): Likewise.
1407         * misc/setreuid.c (__setreuid): Likewise.
1408         * misc/sstk.c (sstk): Likewise.
1409         * misc/stty.c (stty): Likewise.
1410         * misc/syscall.c (syscall): Likewise.
1411         * misc/syslog.c (setlogmask): Likewise.
1412         * misc/truncate.c (__truncate): Likewise.
1413         * misc/truncate64.c (truncate64): Likewise.
1414         * misc/ualarm.c (ualarm): Likewise.
1415         * misc/usleep.c (usleep): Likewise.
1416         * misc/ustat.c (ustat): Likewise.
1417         * misc/writev.c (__writev): Likewise.
1418         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
1419         * nptl/old_pthread_cond_broadcast.c
1420         (__pthread_cond_broadcast_2_0): Likewise.
1421         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
1422         Likewise.
1423         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
1424         Likewise.
1425         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
1426         Likewise.
1427         * nptl/pt-raise.c (raise): Likewise.
1428         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
1429         Likewise.
1430         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
1431         * nptl/pthread_barrierattr_destroy.c
1432         (pthread_barrierattr_destroy): Likewise.
1433         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
1434         Likewise.
1435         * nptl/pthread_barrierattr_setpshared.c
1436         (pthread_barrierattr_setpshared): Likewise.
1437         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1438         Likewise.
1439         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1440         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1441         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1442         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
1443         Likewise.
1444         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
1445         Likewise.
1446         * nptl/pthread_condattr_getpshared.c
1447         (pthread_condattr_getpshared): Likewise.
1448         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
1449         Likewise.
1450         * nptl/pthread_condattr_setpshared.c
1451         (pthread_condattr_setpshared): Likewise.
1452         * nptl/pthread_detach.c (pthread_detach): Likewise.
1453         * nptl/pthread_equal.c (__pthread_equal): Likewise.
1454         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
1455         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1456         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1457         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
1458         Likewise.
1459         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
1460         Likewise.
1461         * nptl/pthread_mutex_getprioceiling.c
1462         (pthread_mutex_getprioceiling): Likewise.
1463         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
1464         Likewise.
1465         * nptl/pthread_mutexattr_getprotocol.c
1466         (pthread_mutexattr_getprotocol): Likewise.
1467         * nptl/pthread_mutexattr_getpshared.c
1468         (pthread_mutexattr_getpshared): Likewise.
1469         * nptl/pthread_mutexattr_getrobust.c
1470         (pthread_mutexattr_getrobust): Likewise.
1471         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1472         Likewise.
1473         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
1474         Likewise.
1475         * nptl/pthread_mutexattr_setprioceiling.c
1476         (pthread_mutexattr_setprioceiling): Likewise.
1477         * nptl/pthread_mutexattr_setprotocol.c
1478         (pthread_mutexattr_setprotocol): Likewise.
1479         * nptl/pthread_mutexattr_setpshared.c
1480         (pthread_mutexattr_setpshared): Likewise.
1481         * nptl/pthread_mutexattr_setrobust.c
1482         (pthread_mutexattr_setrobust): Likewise.
1483         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1484         Likewise.
1485         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
1486         Likewise.
1487         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
1488         Likewise.
1489         * nptl/pthread_rwlockattr_getkind_np.c
1490         (pthread_rwlockattr_getkind_np): Likewise.
1491         * nptl/pthread_rwlockattr_getpshared.c
1492         (pthread_rwlockattr_getpshared): Likewise.
1493         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
1494         Likewise.
1495         * nptl/pthread_rwlockattr_setkind_np.c
1496         (pthread_rwlockattr_setkind_np): Likewise.
1497         * nptl/pthread_rwlockattr_setpshared.c
1498         (pthread_rwlockattr_setpshared): Likewise.
1499         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
1500         Likewise.
1501         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
1502         Likewise.
1503         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
1504         Likewise.
1505         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1506         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1507         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
1508         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
1509         * nptl/sem_close.c (sem_close): Likewise.
1510         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
1511         * nptl/sem_init.c (__old_sem_init): Likewise.
1512         * nptl/sigaction.c (__sigaction): Likewise.
1513         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1514         * posix/_exit.c (_exit): Likewise.
1515         * posix/alarm.c (alarm): Likewise.
1516         * posix/confstr.c (confstr): Likewise.
1517         * posix/fpathconf.c (__fpathconf): Likewise.
1518         * posix/getgroups.c (__getgroups): Likewise.
1519         * posix/getpgid.c (__getpgid): Likewise.
1520         * posix/group_member.c (__group_member): Likewise.
1521         * posix/pathconf.c (__pathconf): Likewise.
1522         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
1523         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
1524         * posix/setgid.c (__setgid): Likewise.
1525         * posix/setpgid.c (__setpgid): Likewise.
1526         * posix/setuid.c (__setuid): Likewise.
1527         * posix/sleep.c (__sleep): Likewise.
1528         * posix/sysconf.c (__sysconf): Likewise.
1529         * posix/times.c (__times): Likewise.
1530         * posix/uname.c (__uname): Likewise.
1531         * posix/waitid.c (__waitid): Likewise.
1532         * pwd/getpw.c (__getpw): Likewise.
1533         * resolv/base64.c (b64_pton): Likewise.
1534         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
1535         * resolv/gethnamaddr.c (Dprintf): Likewise.
1536         (gethostbyname): Likewise.
1537         (gethostbyname2): Likewise.
1538         (gethostbyaddr): Likewise.
1539         (_sethtent): Likewise.
1540         (_gethtbyname): Likewise.
1541         (_gethtbyname2): Likewise.
1542         (_gethtbyaddr): Likewise.
1543         (map_v4v6_address): Likewise.
1544         (map_v4v6_hostent): Likewise.
1545         (addrsort): Likewise.
1546         (ht_sethostent): Likewise.
1547         (ht_gethostbyname): Likewise.
1548         (ht_gethostbyaddr): Likewise.
1549         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
1550         (inet_net_ntop_ipv4): Likewise.
1551         * resolv/inet_neta.c (inet_neta): Likewise.
1552         * resolv/inet_ntop.c (inet_ntop): Likewise.
1553         (inet_ntop4): Likewise.
1554         (inet_ntop6): Likewise.
1555         * resolv/inet_pton.c (__inet_pton): Likewise.
1556         (inet_pton4): Likewise.
1557         (inet_pton6): Likewise.
1558         * resolv/res_debug.c (loc_aton): Likewise.
1559         (loc_ntoa): Likewise.
1560         * resource/getpriority.c (__getpriority): Likewise.
1561         * resource/getrusage.c (__getrusage): Likewise.
1562         * resource/nice.c (nice): Likewise.
1563         * resource/setpriority.c (__setpriority): Likewise.
1564         * resource/setrlimit64.c (setrlimit64): Likewise.
1565         * resource/vlimit.c (vlimit): Likewise.
1566         * resource/vtimes.c (vtimes): Likewise.
1567         * rt/aio_error.c (aio_error): Likewise.
1568         * rt/aio_return.c (aio_return): Likewise.
1569         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
1570         * signal/kill.c (__kill): Likewise.
1571         * signal/killpg.c (killpg): Likewise.
1572         * signal/raise.c (raise): Likewise.
1573         * signal/sigaction.c (__sigaction): Likewise.
1574         * signal/sigaddset.c (sigaddset): Likewise.
1575         * signal/sigaltstack.c (sigaltstack): Likewise.
1576         * signal/sigandset.c (sigandset): Likewise.
1577         * signal/sigblock.c (__sigblock): Likewise.
1578         * signal/sigdelset.c (sigdelset): Likewise.
1579         * signal/sigempty.c (sigemptyset): Likewise.
1580         * signal/sigfillset.c (sigfillset): Likewise.
1581         * signal/sighold.c (sighold): Likewise.
1582         * signal/sigignore.c (sigignore): Likewise.
1583         * signal/sigintr.c (siginterrupt): Likewise.
1584         * signal/sigisempty.c (sigisemptyset): Likewise.
1585         * signal/sigismem.c (sigismember): Likewise.
1586         * signal/signal.c (signal): Likewise.
1587         * signal/sigorset.c (sigorset): Likewise.
1588         * signal/sigpause.c (__sigpause): Likewise.
1589         * signal/sigpending.c (sigpending): Likewise.
1590         * signal/sigprocmask.c (__sigprocmask): Likewise.
1591         * signal/sigrelse.c (sigrelse): Likewise.
1592         * signal/sigreturn.c (__sigreturn): Likewise.
1593         * signal/sigset.c (sigset): Likewise.
1594         * signal/sigsetmask.c (__sigsetmask): Likewise.
1595         * signal/sigstack.c (sigstack): Likewise.
1596         * signal/sigsuspend.c (__sigsuspend): Likewise.
1597         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
1598         * signal/sysv_signal.c (__sysv_signal): Likewise.
1599         * socket/accept.c (accept): Likewise.
1600         * socket/accept4.c (__libc_accept4): Likewise.
1601         * socket/bind.c (__bind): Likewise.
1602         * socket/connect.c (__connect): Likewise.
1603         * socket/getpeername.c (getpeername): Likewise.
1604         * socket/getsockname.c (__getsockname): Likewise.
1605         * socket/getsockopt.c (getsockopt): Likewise.
1606         * socket/listen.c (__listen): Likewise.
1607         * socket/recv.c (__recv): Likewise.
1608         * socket/recvmsg.c (__recvmsg): Likewise.
1609         * socket/send.c (__send): Likewise.
1610         * socket/sendmsg.c (__sendmsg): Likewise.
1611         * socket/shutdown.c (shutdown): Likewise.
1612         * socket/sockatmark.c (sockatmark): Likewise.
1613         * socket/socket.c (__socket): Likewise.
1614         * stdio-common/ctermid.c (ctermid): Likewise.
1615         * stdio-common/cuserid.c (cuserid): Likewise.
1616         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
1617         * stdio-common/remove.c (remove): Likewise.
1618         * stdio-common/rename.c (rename): Likewise.
1619         * stdio-common/renameat.c (renameat): Likewise.
1620         * stdio-common/tempname.c (__gen_tempname): Likewise.
1621         * stdio-common/xbug.c (InitBuffer): Likewise.
1622         (AppendToBuffer): Likewise.
1623         (ReadFile): Likewise.
1624         * stdlib/a64l.c (a64l): Likewise.
1625         * stdlib/drand48_r.c (drand48_r): Likewise.
1626         * stdlib/getcontext.c (getcontext): Likewise.
1627         * stdlib/getenv.c (getenv): Likewise.
1628         * stdlib/l64a.c (l64a): Likewise.
1629         * stdlib/llabs.c (llabs): Likewise.
1630         * stdlib/lldiv.c (lldiv): Likewise.
1631         * stdlib/lrand48_r.c (lrand48_r): Likewise.
1632         * stdlib/mrand48_r.c (mrand48_r): Likewise.
1633         * stdlib/putenv.c (putenv): Likewise.
1634         * stdlib/random.c (__srandom): Likewise.
1635         (__initstate): Likewise.
1636         (__setstate): Likewise.
1637         * stdlib/random_r.c (__srandom_r): Likewise.
1638         (__setstate_r): Likewise.
1639         (__random_r): Likewise.
1640         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
1641         * stdlib/setcontext.c (setcontext): Likewise.
1642         * stdlib/setenv.c (setenv): Likewise.
1643         (unsetenv): Likewise.
1644         * stdlib/srand48.c (srand48): Likewise.
1645         * stdlib/srand48_r.c (__srand48_r): Likewise.
1646         * stdlib/swapcontext.c (swapcontext): Likewise.
1647         * stdlib/system.c (__libc_system): Likewise.
1648         * stdlib/tst-strtod.c (expand): Likewise.
1649         * stdlib/tst-strtol.c (expand): Likewise.
1650         * stdlib/tst-strtoll.c (expand): Likewise.
1651         * streams/fattach.c (fattach): Likewise.
1652         * streams/fdetach.c (fdetach): Likewise.
1653         * streams/getmsg.c (getmsg): Likewise.
1654         * streams/isastream.c (isastream): Likewise.
1655         * string/ffs.c (__ffs): Likewise.
1656         * string/ffsll.c (ffsll): Likewise.
1657         * string/memcmp.c (memcmp_common_alignment): Likewise.
1658         (memcmp_not_common_alignment): Likewise.
1659         (MEMCMP): Likewise.
1660         * string/memcpy.c (memcpy): Likewise.
1661         * string/memmove.c (MEMMOVE): Likewise.
1662         * string/memset.c (memset): Likewise.
1663         * string/rawmemchr.c (RAWMEMCHR): Likewise.
1664         * string/strchrnul.c (STRCHRNUL): Likewise.
1665         * string/strerror.c (strerror): Likewise.
1666         * string/strndup.c (__strndup): Likewise.
1667         * string/strverscmp.c (__strverscmp): Likewise.
1668         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
1669         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
1670         (clnttcp_freeres): Likewise.
1671         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
1672         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
1673         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
1674         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
1675         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
1676         (xdr_callhdr): Likewise.
1677         * sunrpc/rpcinfo.c (udpping): Likewise.
1678         (tcpping): Likewise.
1679         (pstatus): Likewise.
1680         (pmapdump): Likewise.
1681         (brdcst): Likewise.
1682         (deletereg): Likewise.
1683         (getprognum): Likewise.
1684         (getvers): Likewise.
1685         (get_inet_address): Likewise.
1686         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
1687         * sunrpc/svc_udp.c (svcudp_create): Likewise.
1688         (svcudp_stat): Likewise.
1689         (svcudp_recv): Likewise.
1690         (svcudp_reply): Likewise.
1691         (svcudp_getargs): Likewise.
1692         (svcudp_freeargs): Likewise.
1693         (svcudp_destroy): Likewise.
1694         * sunrpc/xdr.c (xdr_bytes): Likewise.
1695         (xdr_netobj): Likewise.
1696         (xdr_string): Likewise.
1697         (xdr_wrapstring): Likewise.
1698         * sunrpc/xdr_float.c (xdr_float): Likewise.
1699         (xdr_double): Likewise.
1700         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
1701         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
1702         * sysvipc/ftok.c (ftok): Likewise.
1703         * sysvipc/msgctl.c (msgctl): Likewise.
1704         * sysvipc/msgget.c (msgget): Likewise.
1705         * sysvipc/msgrcv.c (msgrcv): Likewise.
1706         * sysvipc/msgsnd.c (msgsnd): Likewise.
1707         * sysvipc/semget.c (semget): Likewise.
1708         * sysvipc/semop.c (semop): Likewise.
1709         * sysvipc/shmat.c (shmat): Likewise.
1710         * sysvipc/shmctl.c (shmctl): Likewise.
1711         * sysvipc/shmdt.c (shmdt): Likewise.
1712         * sysvipc/shmget.c (shmget): Likewise.
1713         * termios/cfmakeraw.c (cfmakeraw): Likewise.
1714         * termios/speed.c (cfgetospeed): Likewise.
1715         (cfgetispeed): Likewise.
1716         (cfsetospeed): Likewise.
1717         (cfsetispeed): Likewise.
1718         * termios/tcflow.c (tcflow): Likewise.
1719         * termios/tcflush.c (tcflush): Likewise.
1720         * termios/tcgetattr.c (__tcgetattr): Likewise.
1721         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
1722         * termios/tcgetsid.c (tcgetsid): Likewise.
1723         * termios/tcsendbrk.c (tcsendbreak): Likewise.
1724         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
1725         * time/adjtime.c (__adjtime): Likewise.
1726         * time/dysize.c (dysize): Likewise.
1727         * time/ftime.c (ftime): Likewise.
1728         * time/getitimer.c (__getitimer): Likewise.
1729         * time/gettimeofday.c (__gettimeofday): Likewise.
1730         * time/gmtime.c (__gmtime_r): Likewise.
1731         (gmtime): Likewise.
1732         * time/localtime.c (__localtime_r): Likewise.
1733         (localtime): Likewise.
1734         * time/offtime.c (__offtime): Likewise.
1735         * time/settimeofday.c (__settimeofday): Likewise.
1736         * time/stime.c (stime): Likewise.
1737         * time/strftime_l.c (tm_diff): Likewise.
1738         (iso_week_days): Likewise.
1739         * time/strptime.c (strptime): Likewise.
1740         * time/time.c (time): Likewise.
1741         * time/timespec_get.c (timespec_get): Likewise.
1742         * time/tzset.c (tzset_internal): Likewise.
1743         (compute_change): Likewise.
1744         (__tz_compute): Likewise.
1745         * wcsmbs/btowc.c (__btowc): Likewise.
1746         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
1747         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
1748         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
1749         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
1750         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
1751         * wcsmbs/wcscat.c (__wcscat): Likewise.
1752         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1753         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
1754         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
1755         * wcsmbs/wcscspn.c (wcscspn): Likewise.
1756         * wcsmbs/wcsdup.c (wcsdup): Likewise.
1757         * wcsmbs/wcslen.c (__wcslen): Likewise.
1758         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
1759         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
1760         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
1761         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
1762         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1763         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
1764         * wcsmbs/wcsspn.c (wcsspn): Likewise.
1765         * wcsmbs/wcsstr.c (wcsstr): Likewise.
1766         * wcsmbs/wcstok.c (wcstok): Likewise.
1767         * wcsmbs/wctob.c (wctob): Likewise.
1768         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
1769         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1770         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
1771         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
1772         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
1773         * wcsmbs/wmemset.c (__wmemset): Likewise.
1774         * wctype/wcfuncs.c (__towlower): Likewise.
1775         (__towupper): Likewise.
1777         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
1778         (lll_unlock_elision): Add adapt_count parameter.
1780 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
1782         * sysdeps/nptl/configure.ac: Do not give errors based on the
1783         results of top-level configure tests.
1784         * sysdeps/nptl/configure: Regenerated.
1786         * configure.ac (libc_cv_Bgroup): Remove configure test.
1787         * configure: Regenerated.
1788         * config.make.in (have-Bgroup): Remove variable.
1790         * configure.ac (sizeof_long_double): Remove configure test.
1791         * configure: Regenerated.
1792         * config.make.in (sizeof-long-double): Remove variable.
1794         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
1795         * configure: Regenerated.
1796         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
1797         variable.
1798         (exceptions): Likewise.
1799         * sysdeps/arm/configure: Regenerated.
1800         * config.make.in (exceptions): Remove variable.
1801         * Makeconfig (uses-callbacks): Use -fexceptions instead of
1802         $(exceptions).
1803         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
1804         (CFLAGS-vdprintf_chk.c): Likewise.
1805         (CFLAGS-printf_chk.c): Likewise.
1806         (CFLAGS-fprintf_chk.c): Likewise.
1807         (CFLAGS-vprintf_chk.c): Likewise.
1808         (CFLAGS-vfprintf_chk.c): Likewise.
1809         (CFLAGS-gets_chk.c): Likewise.
1810         (CFLAGS-fgets_chk.c): Likewise.
1811         (CFLAGS-fgets_u_chk.c): Likewise.
1812         (CFLAGS-fread_chk.c): Likewise.
1813         (CFLAGS-fread_u_chk.c): Likewise.
1814         (CFLAGS-wprintf_chk.c): Likewise.
1815         (CFLAGS-fwprintf_chk.c): Likewise.
1816         (CFLAGS-vwprintf_chk.c): Likewise.
1817         (CFLAGS-vfwprintf_chk.c): Likewise.
1818         (CFLAGS-fgetws_chk.c): Likewise.
1819         (CFLAGS-fgetws_u_chk.c): Likewise.
1820         * libio/Makefile (CFLAGS-fileops.c): Likewise.
1821         (CFLAGS-fputc.c): Likewise.
1822         (CFLAGS-fputwc.c): Likewise.
1823         (CFLAGS-freopen64.c): Likewise.
1824         (CFLAGS-freopen.c): Likewise.
1825         (CFLAGS-fseek.c): Likewise.
1826         (CFLAGS-fseeko64.c): Likewise.
1827         (CFLAGS-fseeko.c): Likewise.
1828         (CFLAGS-ftello64.c): Likewise.
1829         (CFLAGS-ftello.c): Likewise.
1830         (CFLAGS-fwide.c): Likewise.
1831         (CFLAGS-genops.c): Likewise.
1832         (CFLAGS-getc.c): Likewise.
1833         (CFLAGS-getchar.c): Likewise.
1834         (CFLAGS-getwc.c): Likewise.
1835         (CFLAGS-getwchar.c): Likewise.
1836         (CFLAGS-iofclose.c): Likewise.
1837         (CFLAGS-iofflush.c): Likewise.
1838         (CFLAGS-iofgetpos64.c): Likewise.
1839         (CFLAGS-iofgetpos.c): Likewise.
1840         (CFLAGS-iofgets.c): Likewise.
1841         (CFLAGS-iofgetws.c): Likewise.
1842         (CFLAGS-iofputs.c): Likewise.
1843         (CFLAGS-iofputws.c): Likewise.
1844         (CFLAGS-iofread.c): Likewise.
1845         (CFLAGS-iofsetpos64.c): Likewise.
1846         (CFLAGS-iofsetpos.c): Likewise.
1847         (CFLAGS-ioftell.c): Likewise.
1848         (CFLAGS-iofwrite.c): Likewise.
1849         (CFLAGS-iogetdelim.c): Likewise.
1850         (CFLAGS-iogetline.c): Likewise.
1851         (CFLAGS-iogets.c): Likewise.
1852         (CFLAGS-iogetwline.c): Likewise.
1853         (CFLAGS-ioputs.c): Likewise.
1854         (CFLAGS-ioseekoff.c): Likewise.
1855         (CFLAGS-ioseekpos.c): Likewise.
1856         (CFLAGS-iosetbuffer.c): Likewise.
1857         (CFLAGS-iosetvbuf.c): Likewise.
1858         (CFLAGS-ioungetc.c): Likewise.
1859         (CFLAGS-ioungetwc.c): Likewise.
1860         (CFLAGS-oldfileops.c): Likewise.
1861         (CFLAGS-oldiofclose.c): Likewise.
1862         (CFLAGS-oldiofgetpos64.c): Likewise.
1863         (CFLAGS-oldiofgetpos.c): Likewise.
1864         (CFLAGS-oldiofsetpos64.c): Likewise.
1865         (CFLAGS-oldiofsetpos.c): Likewise.
1866         (CFLAGS-peekc.c): Likewise.
1867         (CFLAGS-putc.c): Likewise.
1868         (CFLAGS-putchar.c): Likewise.
1869         (CFLAGS-putwc.c): Likewise.
1870         (CFLAGS-putwchar.c): Likewise.
1871         (CFLAGS-rewind.c): Likewise.
1872         (CFLAGS-wfileops.c): Likewise.
1873         (CFLAGS-wgenops.c): Likewise.
1874         (CFLAGS-oldiofopen.c): Likewise.
1875         (CFLAGS-iofopen.c): Likewise.
1876         (CFLAGS-iofopen64.c): Likewise.
1877         (CFLAGS-oldtmpfile.c): Likewise.
1878         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
1879         (CFLAGS-fprintf.c): Likewise.
1880         (CFLAGS-printf.c): Likewise.
1881         (CFLAGS-vfwprintf.c): Likewise.
1882         (CFLAGS-vfscanf.c): Likewise.
1883         (CFLAGS-vfwscanf.c): Likewise.
1884         (CFLAGS-fscanf.c): Likewise.
1885         (CFLAGS-scanf.c): Likewise.
1886         (CFLAGS-isoc99_vfscanf.c): Likewise.
1887         (CFLAGS-isoc99_vscanf.c): Likewise.
1888         (CFLAGS-isoc99_fscanf.c): Likewise.
1889         (CFLAGS-isoc99_scanf.c): Likewise.
1890         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
1891         (CFLAGS-isoc99_fwscanf.c): Likewise.
1892         (CFLAGS-isoc99_vwscanf.c): Likewise.
1893         (CFLAGS-isoc99_vfwscanf.c): Likewise.
1895         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
1896         after mkstemp64.
1897         * login/tst-utmp.c (do_prepare): Likewise.
1898         * rt/tst-aio.c (do_prepare): Likewise.
1899         * rt/tst-aio64.c (do_prepare): Likewise.
1901 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1903         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1904         (__lll_lock_elision): Remove adapt_count decrement...
1905         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1906         (__lll_trylock_elision): Likewise.
1907         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1908         (__lll_unlock_elision): ... to here. And utilize
1909         new adapt_count parameter.
1910         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1911         (__lll_unlock_elision): Update to include adapt_count
1912         parameter.
1913         (lll_unlock_elision): Pass pointer to adapt_count
1914         variable.
1916 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1918         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
1919         Add elision adapt_count parameter to list of arguments.
1920         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1921         (lll_unlock_elision): Update with new parameter list
1922         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1923         (lll_unlock_elision): Likewise
1924         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
1925         (lll_unlock_elision): Likewise
1927 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1929         [BZ #19122]
1930         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
1931         attribute_hidden.
1933         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
1934         attribute_hidden.
1935         [IS_IN (rtld)] (__strdup): Likewise.
1936         [IS_IN (rtld)] (__strerror_r): Likewise.
1937         [IS_IN (rtld)] (__strsep_g): Likewise.
1938         [IS_IN (rtld)] (memchr): Likewise.
1939         [IS_IN (rtld)] (memcmp): Likewise.
1940         [IS_IN (rtld)] (memcpy): Likewise.
1941         [IS_IN (rtld)] (memmove): Likewise.
1942         [IS_IN (rtld)] (memset): Likewise.
1943         [IS_IN (rtld)] (rawmemchr): Likewise.
1944         [IS_IN (rtld)] (stpcpy): Likewise.
1945         [IS_IN (rtld)] (strchr): Likewise.
1946         [IS_IN (rtld)] (strcmp): Likewise.
1947         [IS_IN (rtld)] (strlen): Likewise.
1948         [IS_IN (rtld)] (strnlen): Likewise.
1949         [IS_IN (rtld)] (strsep): Likewise.
1951         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
1952         attribute_hidden.
1953         [IS_IN (rtld)] (__strtoul_internal): Likewise.
1955         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
1956         attribute_hidden.
1957         [IS_IN (rtld)] (__libc_sigaction): Likewise.
1959         * include/setjmp.h (__longjmp): Add attribute_hidden.
1960         [IS_IN (rtld)] (__sigsetjmp): Likewise.
1962         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
1963         Add attribute_hidden.
1965         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
1966         [IS_IN (rtld)] (__open): Likewise.
1967         [IS_IN (rtld)] (__fcntl): Likewise.
1969         * include/dirent.h (__opendirat): Add attribute_hidden.
1970         (__getdents): Likewise.
1971         (__getdents64): Likewise.
1972         (__alloc_dir): Likewise.
1973         [IS_IN (rtld)] (__closedir): Likewise.
1974         [IS_IN (rtld)] (__fdopendir): Likewise.
1975         [IS_IN (rtld)] (__readdir): Likewise.
1976         [IS_IN (rtld)] (__readdir64): Likewise.
1977         [IS_IN (rtld)] (__rewinddir): Likewise.
1979         * include/dlfcn.h (_dl_catch_error): Moved to ...
1980         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
1981         attribute_hidden.
1983         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
1984         (_itoa_word): Likewise.
1986         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
1987         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
1988         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
1989         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
1990         (_dl_higher_prime_number): Likewise.
1991         (_dl_debug_printf_c): Likewise.
1992         (_dl_signal_cerror): Likewise.
1993         (_dl_receive_error): Likewise.
1994         (_dl_reloc_bad_type): Likewise.
1995         (_dl_resolve_conflicts): Likewise.
1996         (_dl_check_all_versions): Likewise.
1997         (_dl_check_map_versions): Likewise.
1998         (_dl_sort_fini): Likewise.
1999         (_dl_debug_initialize): Likewise.
2000         (_dl_init_paths): Likewise.
2001         (_dl_show_auxv): Likewise.
2002         (_dl_next_ld_env_entry): Likewise.
2003         (_dl_important_hwcaps): Likewise.
2004         (_dl_load_cache_lookup): Likewise.
2005         (_dl_update_slotinfo): Likewise.
2006         (_dl_show_scope): Likewise.
2008         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
2009         attribute_hidden.
2010         (_wordcopy_fwd_dest_aligned): Likewise.
2011         (_wordcopy_bwd_aligned): Likewise.
2012         (_wordcopy_bwd_dest_aligned): Likewise.
2014         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2015         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
2016         Likewise.
2017         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
2018         Likewise.
2019         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
2021 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2023         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
2024         GCC 5 requirement.
2026 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
2028         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
2029         test.
2030         * sysdeps/i386/configure: Regenerated.
2031         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
2032         code unconditional.
2034         * configure.ac (libc_cv_asm_previous_directive): Remove configure
2035         test.
2036         (libc_cv_asm_popsection_directive): Likewise.
2037         * configure: Regenerated.
2038         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
2039         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
2040         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
2041         (__make_section_unallocated): Make definition unconditional.
2042         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
2043         Remove conditional definition.
2044         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
2045         (__make_section_unallocated): Likewise.
2047         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
2048         * configure: Regenerated.
2049         * config.make.in (static-libgcc): Remove variable.
2050         * Makerules (build-shlib-helper): Use -static-libgcc instead of
2051         $(static-libgcc).
2052         (build-module-helper): Likewise.
2054         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
2055         * configure: Regenerated.
2057 2015-10-15  Florian Weimer  <fweimer@redhat.com>
2059         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
2060         (struct char_buffer): New type.
2061         (char_buffer_start, char_buffer_size, char_buffer_error)
2062         (char_buffer_rewind, char_buffer_add): New functions.
2063         (ADDW): Remove macro, replaced by the char_buffer_add function.
2064         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
2065         of extend_alloca.  Make control flow more explicit.
2067 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2069         [BZ #19137]
2070         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2071         Add -fomit-frame-pointer.
2072         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
2074 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2076         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
2077         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
2078         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
2079         only if !__GNUC_PREREQ (5,0).
2080         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
2081         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
2082         (INTERNAL_SYSCALL_NCS): Likewise.
2083         (LOADREGS_0): New macro for GCC 5.
2084         (ASMARGS_0): Likewise.
2085         (LOADREGS_1): Likewise.
2086         (ASMARGS_1): Likewise.
2087         (LOADREGS_2): Likewise.
2088         (ASMARGS_2): Likewise.
2089         (LOADREGS_3): Likewise.
2090         (ASMARGS_3): Likewise.
2091         (LOADREGS_4): Likewise.
2092         (ASMARGS_4): Likewise.
2093         (LOADREGS_5): Likewise.
2094         (ASMARGS_5): Likewise.
2095         (LOADREGS_6): Likewise.
2096         (ASMARGS_6): Likewise.
2098 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2100         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
2101         -fomit-frame-pointer.
2102         (CFLAGS-mmap64.c): Likewise.
2103         (CFLAGS-semtimedop.c): Likewise.
2104         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
2105         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
2106         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2107         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2109 2015-10-15  Florian Weimer  <fweimer@redhat.com>
2111         [BZ #18928]
2112         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
2113         _dl_pointer_guard member.
2114         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
2115         initializer.
2116         (security_init): Always set up pointer guard.
2117         (process_envvars): Do not process LD_POINTER_GUARD.
2119 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
2121         [BZ #19134]
2122         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
2123         (.LC2): Likewise.
2124         (.LC3): Likewise.
2125         (__lround): Do not add 0.5 to integer or out-of-range arguments.
2127 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2129         [BZ #19129]
2130         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
2131         r0 and r1.
2133 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
2135         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
2137 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
2139         * include/stap-probe.h: Fix macro definition formatting.
2141 2015-10-14  Florian Weimer  <fweimer@redhat.com>
2143         [BZ #19074]
2144         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
2145         load and store num_ifs.
2147 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2149         [BZ #18822]
2150         * sysdeps/unix/sysv/linux/sched_getaffinity.c
2151         (__sched_getaffinity_new): Add libc_hidden_proto and
2152         libc_hidden_def.
2154 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2156         [BZ #19007]
2157         * scripts/localplt.awk: Also allow GOT references.
2158         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
2159         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
2160         with "+ REL R_386_GLOB_DAT".
2161         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
2162         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
2164 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2166         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
2167         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2168         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
2169         Likewise.
2170         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2171         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
2172         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2173         INTERNAL_SYSCALLINTERNAL_SYSCALL and
2174         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2175         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2176         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2177         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2178         Likewise.
2179         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2181 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
2183         [BZ #19125]
2184         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
2185         <math_private.h> and <stdint.h>.
2186         (__llround): Avoid conversions to and from long long int, and
2187         subtractions, where those might raise spurious exceptions.
2188         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
2189         <math_private.h> and <stdint.h>.
2190         (__llroundf): Avoid conversions to and from long long int, and
2191         subtractions, where those might raise spurious exceptions.
2193 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2195         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
2196         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2197         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2198         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
2199         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2200         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2201         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
2202         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
2203         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
2204         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2205         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2206         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2207         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
2208         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2209         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2210         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
2211         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
2212         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
2213         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
2214         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
2215         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2216         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
2217         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
2218         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2219         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
2220         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2221         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
2222         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
2223         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2224         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
2225         (__xstat64_conv): Likewise.
2226         (__xstat32_conv): Likewise.
2228 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2230         * sysdeps/unix/sysv/linux/sysdep.h: New file.
2231         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
2232         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
2233         <sysdeps/unix/sysv/linux/sysdep.h>.
2234         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2235         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
2236         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
2237         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2238         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2239         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
2240         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
2241         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2242         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2245         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2246         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2247         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2248         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2249         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2250         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
2251         (sysdep-dl-routines): Add sysdep.
2252         [$(subdir) == nptl] (libpthread-routines): Likewise.
2253         [$(subdir) == rt] (librt-routines): Likewise.
2254         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
2255         PIC when branching to SYSCALL_ERROR_LABEL.
2256         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
2257         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
2258         <sysdeps/unix/sysv/linux/sysdep.h>.
2259         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
2260         (SYSCALL_ERROR_ERRNO): Removed.
2261         (SYSCALL_ERROR_HANDLER): Changed to empty.
2262         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
2263         (__syscall_error): New prototype.
2264         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
2265         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
2267 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2269         [BZ #19124]
2270         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
2271         (_dl_runtime_resolve_avx512): Make it a hidden alias of
2272         _dl_runtime_resolve_avx.
2273         (_dl_runtime_profile_avx512): Make it a hidden alias of
2274         _dl_runtime_profile_avx.
2276 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
2278         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
2279         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
2280         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
2281         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
2283         [BZ #16422]
2284         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
2285         New configure test.
2286         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
2287         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
2288         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
2289         <math_private.h> and <stdint.h>.
2290         (__llrint): Avoid conversions to long long int where those might
2291         raise spurious exceptions.
2292         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
2293         <math_private.h> and <stdint.h>.
2294         (__llrintf): Avoid conversions to long long int where those might
2295         raise spurious exceptions.
2297 2015-10-12  Andreas Schwab  <schwab@suse.de>
2299         [BZ #18969]
2300         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
2301         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
2302         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
2303         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
2304         $(gen-locales).
2305         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
2306         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
2307         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
2308         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
2309         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
2310         $(gen-locales).
2311         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
2312         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
2313         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
2314         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
2315         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
2316         ($(objpfx)tst-ftell-active-handler.out)
2317         ($(objpfx)tst-ftell-append.out)
2318         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
2319         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
2320         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
2321         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
2322         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
2323         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
2324         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
2325         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
2326         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
2327         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
2328         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
2329         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
2330         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
2331         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
2332         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
2333         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
2334         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
2335         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
2336         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
2337         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
2338         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
2339         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
2340         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
2341         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
2342         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
2343         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
2344         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
2345         $(gen-locales).
2346         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
2347         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
2348         $(gen-locales).
2349         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
2350         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
2351         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
2352         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
2353         $(gen-locales).
2354         * libio/tst_wprintf2.c (main): Use explicit locale.
2355         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
2357 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2359         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
2360         __msg_sig_post.
2361         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
2363 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
2365         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2366         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2368         * sysdeps/arm/libm-test-ulps: Regenerated.
2370         [BZ #15470]
2371         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
2373         [BZ #16399]
2374         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
2375         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
2376         and <fix-fp-int-convert-overflow.h>.
2377         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
2378         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2379         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
2380         and <fix-fp-int-convert-overflow.h>.
2381         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
2382         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2383         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
2384         <fix-fp-int-convert-overflow.h>.
2385         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
2386         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2387         * sysdeps/ieee754/dbl-64/s_lround.c: Include
2388         <fix-fp-int-convert-overflow.h>.
2389         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
2390         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2391         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
2392         and <fix-fp-int-convert-overflow.h>.
2393         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
2394         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2395         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
2396         <limits.h> and <fix-fp-int-convert-overflow.h>.
2397         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
2398         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2399         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
2400         and <fix-fp-int-convert-overflow.h>.
2401         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
2402         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2403         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
2404         and <fix-fp-int-convert-overflow.h>.
2405         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
2406         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2407         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
2409 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
2411         [BZ #18589]
2412         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
2413         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
2414         $(gen-locales).
2416 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2417             Phil Blundell <pb@pbcl.net>
2419         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
2420         * nptl/tst-cancel26.c: New file.
2421         * nptl/tst-cancel27.c: Likewise.
2423 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
2425         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
2426         __ILP32__ isn't defined.
2427         (lrint): Likewise.
2428         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
2429         (lrintf): Likewise.
2430         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
2431         (lrintl): Likewise.
2432         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
2433         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
2434         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
2436 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2438         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2439         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2441         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
2442         file.
2443         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
2444         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2446 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
2448         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
2449         configure test.
2450         * sysdeps/i386/configure: Regenerated.
2451         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
2452         configure test.
2453         * sysdeps/x86_64/configure: Regenerated.
2454         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
2455         Make code unconditional.
2457         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
2458         test.
2459         * sysdeps/i386/configure: Regenerated.
2460         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
2461         test.
2462         * sysdeps/x86_64/configure: Regenerated.
2463         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
2464         Make code unconditional.
2465         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2466         Likewise.
2467         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
2468         Likewise.
2469         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2470         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
2471         code unconditional.
2472         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2473         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
2474         code unconditional.
2475         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2476         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
2477         code unconditional.
2478         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
2479         code unconditional.
2480         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2481         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
2482         code unconditional.
2483         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2484         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
2485         code unconditional.
2486         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2487         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
2488         code unconditional.
2489         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2490         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
2491         code unconditional.
2492         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2493         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
2495         [BZ #19095]
2496         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
2497         mantissa to long int before shifting left.
2499 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2501         [BZ #19094]
2502         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
2503         <limits.h>.
2504         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2505         when result overflows but exception would not result from cast.
2506         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
2507         <limits.h>.
2508         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2509         when result overflows but exception would not result from cast.
2510         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
2511         <limits.h>.
2512         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2513         when result overflows but exception would not result from cast.
2514         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
2515         <limits.h>.
2516         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2517         when result overflows but exception would not result from cast.
2518         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
2519         <limits.h>.
2520         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2521         when result overflows but exception would not result from cast.
2522         * math/libm-test.inc (lrint_test_data): Add more tests.
2523         (llrint_test_data): Likewise.
2525 2015-10-08  Roland McGrath  <roland@hack.frob.com>
2527         [BZ #18872]
2528         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
2529         Move out from under [$(run-built-tests) = yes] conditional.
2530         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
2531         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
2533 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
2535         [BZ #18589]
2536         * string/Makefile (tests): Add bug-strcoll2.
2537         (LOCALES): Add cs_CZ.UTF-8.
2538         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
2540         [BZ #18589]
2541         * string/bug-strcoll2.c: New file.
2542         * locale/categories.def: Revert commit
2543         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
2544         * locale/langinfo.h: Likewise.
2545         * locale/localeinfo.h: Likewise.
2546         * locale/C-collate.c: Likewise.
2547         * locale/programs/ld-collate.c (collate_output): Likewise.
2548         * string/strcoll_l.c (STRDIFF): Likewise.
2549         (STRCOLL): Likewise.
2550         * wcsmbs/wcscoll_l.c: Likewise.
2552 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2554         * math/libm-test.inc (lround_test_data): Do not expect the absence
2555         of "inexact" for some tests with non-integer arguments.
2556         (llround_test_data): Likewise.
2558         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
2559         test.
2560         (libc_cv_cc_sse2avx): Likewise.
2561         * sysdeps/i386/configure: Regenerated.
2562         * sysdeps/i386/i686/multiarch/Makefile
2563         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
2564         [$(subdir) = math].
2565         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
2566         code unconditional.
2567         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2568         Likewise.
2569         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
2570         Likewise.
2571         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2572         Likewise.
2573         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
2574         test.
2575         (libc_cv_cc_sse2avx): Likewise.
2576         * sysdeps/x86_64/configure: Regenerated.
2577         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
2578         unconditional.
2579         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
2580         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
2581         unconditional.
2582         (_dl_runtime_profile)
2583         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
2584         conditional code.
2585         * sysdeps/x86_64/fpu/multiarch/Makefile
2586         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
2587         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2588         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2589         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2590         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2591         * sysdeps/x86_64/fpu/multiarch/e_log.c
2592         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2593         * sysdeps/x86_64/fpu/multiarch/s_atan.c
2594         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2595         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2596         Likewise.
2597         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2598         Likewise.
2599         * sysdeps/x86_64/fpu/multiarch/s_sin.c
2600         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2601         * sysdeps/x86_64/fpu/multiarch/s_tan.c
2602         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2603         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
2604         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
2605         (HAVE_SSE2AVX_SUPPORT): Likewise.
2607 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
2609         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
2610         instead of #pragma optimize.
2612 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2614         [BZ #17195]
2615         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
2616         as is similarly done in systrim and _int_free already.
2618 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2620         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
2622 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2624         [BZ #19088]
2625         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
2626         <limits.h>.
2627         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2628         overflows but exception would not result from cast.
2629         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
2630         and <limits.h>.
2631         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2632         overflows but exception would not result from cast.
2633         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
2634         <limits.h>.
2635         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2636         overflows but exception would not result from cast.
2637         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
2638         <limits.h>.
2639         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2640         overflows but exception would not result from cast.
2641         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
2642         <limits.h>.
2643         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2644         overflows but exception would not result from cast.
2645         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
2646         <limits.h>.
2647         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2648         overflows but exception would not result from cast.
2649         * math/libm-test.inc (lround_test_data): Add more tests.
2650         (llround_test_data): Likewise.
2652 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
2654         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
2655         (CFLAGS-ialloc.c): Ditto.
2656         (CFLAGS-scheck.c): Ditto.
2658 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2660         [BZ #19086]
2661         * manual/filesys.texi (Storage Allocation): Fix argument order for
2662         posix_fallocate64.
2664 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2666         [BZ #19085]
2667         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
2668         exponent below 48 inside case for non-overflowing exponent.
2669         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
2671 2015-10-07  Florian Weimer  <fweimer@redhat.com>
2673         * iconvdata/cp737.h (from_idx): Add const.
2674         * iconvdata/cp775.h (from_idx): Likewise.
2676 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2678         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
2679         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
2680         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
2682         [BZ #19079]
2683         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
2684         file, conditioned on [!_LP64].
2685         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
2686         [!_LP64] (__lround): Do not define as function or alias.
2687         [!_LP64] (lround): Likewise.
2688         [!_LP64] (__lroundl): Likewise.
2689         [!_LP64] (lroundl): Likewise.
2690         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
2691         macro.
2692         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2693         Likewise.
2695 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2697         * math/libm-test.inc (lrint_test_data): Add more tests.
2698         (llrint_test_data): Likewise.
2699         (lround_test_data): Likewise.
2700         (llround_test_data): Likewise.
2702         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
2703         (llrint_test_data): Add tests used for lrint.
2705         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
2706         test.
2707         * sysdeps/i386/configure: Regenerated.
2708         * sysdeps/i386/i686/multiarch/Makefile
2709         [$(config-cflags-sse4) = yes]: Make code unconditional.
2710         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2711         Likewise.
2712         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
2713         Likewise.
2714         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
2715         test.
2716         * sysdeps/x86_64/configure: Regenerated.
2717         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
2718         Make code unconditional.
2719         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2720         Likewise.
2721         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
2722         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
2724         * scripts/rpm2dynsym.sh: Remove file.
2726 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2728         * configure.ac (libc_cv_cxx_thread_local): Define.
2729         * configure: Regenerate.
2730         * config.make.in (have-cxx-thread_local): Define.
2731         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
2732         (LDLIBS-tst-thread_local1): Define.
2733         (tests): Add tst-thread_local1.
2734         [have-cxx-thread_local != yes] (tests-unsupported): Add
2735         tst-thread_local1.
2736         * nptl/tst-thread_local1.cc: New file.
2738 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2740         [BZ #19078]
2741         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
2742         (u_thres): Likewise.
2743         (__expl): Determine whether to call __kernel_standard_l based on
2744         value of result, not argument.
2746         * math/libm-test.inc (scalb_test_data): Add more expectations for
2747         the "inexact" exception.
2749         [BZ #19077]
2750         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
2751         0.0L for argument 1.0L.
2753         [BZ #19076]
2754         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
2755         constant 0.0L when computing infinite result.
2757 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2759         [BZ #10432]
2760         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
2761         malloc_usable_size.
2763 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2765         [BZ #19018]
2766         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2767         Mangle function pointer before storing it.
2768         (__call_tls_dtors): Demangle function pointer before calling it.
2770 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2772         [BZ #19012]
2773         * iconv/gconv_db.c (gen_steps): Check for additional errors.
2774         Clean up on failure.
2776 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
2778         [BZ #19071]
2779         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
2780         long int variable to store possibly incremented high part of
2781         mantissa.
2782         * math/libm-test.inc (lround_test_data): Add tests used for
2783         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
2784         for tests requiring 64-bit long.  Do not condition tests on
2785         [TEST_FLOAT] unnecessarily.
2786         (llround_test_data): Add tests used for lround.  Add another
2787         expectation for the "inexact" exception.  Do not condition tests
2788         on [TEST_FLOAT] unnecessarily.
2790         [BZ #887]
2791         [BZ #19049]
2792         [BZ #19050]
2793         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
2794         * sysdeps/ieee754/dbl-64/e_log10.c: Include
2795         <fix-int-fp-convert-zero.h>.
2796         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2797         * sysdeps/ieee754/dbl-64/e_log2.c: Include
2798         <fix-int-fp-convert-zero.h>.
2799         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2800         * sysdeps/ieee754/dbl-64/s_erf.c: Include
2801         <fix-int-fp-convert-zero.h>.
2802         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2803         * sysdeps/ieee754/dbl-64/s_logb.c: Include
2804         <fix-int-fp-convert-zero.h>.
2805         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2806         * sysdeps/ieee754/flt-32/e_log10f.c: Include
2807         <fix-int-fp-convert-zero.h>.
2808         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2809         * sysdeps/ieee754/flt-32/e_log2f.c: Include
2810         <fix-int-fp-convert-zero.h>.
2811         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2812         * sysdeps/ieee754/flt-32/s_erff.c: Include
2813         <fix-int-fp-convert-zero.h>.
2814         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2815         * sysdeps/ieee754/flt-32/s_logbf.c: Include
2816         <fix-int-fp-convert-zero.h>.
2817         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2818         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
2819         <fix-int-fp-convert-zero.h>.
2820         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2821         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
2822         <fix-int-fp-convert-zero.h>.
2823         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2824         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
2825         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
2826         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
2827         file.
2828         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
2830 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2832         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2834 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
2836         [BZ #19059]
2837         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
2838         overflowing computation.
2839         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2840         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
2841         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2842         Likewise.
2843         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2844         Likewise.
2845         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
2846         Likewise.
2847         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2848         Likewise.
2849         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2850         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2851         Likewise.
2852         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2853         Likewise.
2854         * math/libm-test.inc (nexttoward_test_data): Add more tests.
2856         * nss/rewrite_field.c (__nss_rewrite_field): Use
2857         internal_function.
2858         * nss/valid_field.c (__nss_valid_field): Likewise.
2859         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
2861 2015-10-02  Florian Weimer  <fweimer@redhat.com>
2863         [BZ #18724]
2864         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
2865         (__nss_invalid_field_characters, __nss_valid_field)
2866         (__nss_valid_list_field, __nss_rewrite_field): Declare.
2867         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
2868         tst-field.c: New file.
2869         * nss/Makefile (routines): Add valid_field, rewrite_field.
2870         (tests-static): Define unconditionally.
2871         (tests): Include tests-static.
2872         [build-static-nss] (tests-static): Use append.
2873         [build-static-nss] (tests): Remove modification.
2874         * nss/getent.c (print_group): Call putgrent.  Report error.
2875         (print_gshadow): Call putsgent.  Report error.
2876         (print_passwd): Call putpwent.  Report error.
2877         (print_shadow): Call putspent.  Report error.
2878         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
2879         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
2880         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
2881         name, password, directory, shell fields for valid syntax.  Rewrite
2882         GECOS field to match syntax.
2883         * pwd/Makefile (tests): Add tst-putpwent.
2884         * pwd/tst-putpwent.c: New file.
2885         * grp/putgrent.c (putgrent): Convert to ISO function definition.
2886         Check grName, grpasswd, gr_mem fields for valid syntax.
2887         Change loop variable i to size_t.
2888         * grp/Makefile (tests): Add tst-putgrent.
2889         * grp/tst-putgrent.c: New file.
2890         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
2891         valid syntax.
2892         * shadow/Makefile (tests): Add tst-putspent.
2893         * shadow/tst-putspent.c: New file.
2894         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
2895         sg_mem fields for valid syntax.
2896         * gshadow/Makefile (tests): Add tst-putsgent.
2897         * gshadow/tst-putsgent.c: New file.
2899 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2901         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
2902         assembly instructions.
2904 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2906         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
2907         prefix from operands.
2909 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
2911         [BZ #16347]
2912         [BZ #19046]
2913         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
2914         <libc-internal.h>.
2915         (MAXLGM): Do not use diagnostic control macros.
2916         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
2917         threshold for ldbl-128ibm.
2918         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
2919         instead of multiplying by log then subtracting.
2920         * math/auto-libm-test-in: Add more tests of lgamma.
2921         * math/auto-libm-test-out: Regenerated.
2923         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
2924         (TYPE_HEX_DIG): Likewise.
2925         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
2926         precisions when printing floating-point numbers.
2927         (check_float_internal): Likewise.
2929 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
2931         [BZ #16620]
2932         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
2933         of log (10) rounded downward to 48 bits.
2934         (log10_low): Use corresponding low part of log (10).
2936         [BZ #19032]
2937         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
2938         compute result as (x - x) / (x - x) not as 0 / 0.
2939         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2940         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
2942         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2943         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
2944         and expm1.
2945         * math/auto-libm-test-out: Regenerated.
2946         * math/libm-test.inc (acos_test_data): Add more tests.
2947         (asin_test_data): Likewise.
2948         (asinh_test_data): Likewise.
2949         (atan_test_data): Likewise.
2950         (atanh_test_data): Likewise.
2951         (atan2_test_data): Likewise.
2952         (cbrt_test_data): Likewise.
2953         (ceil_test_data): Likewise.
2954         (copysign_test_data): Likewise.
2955         (cos_test_data): Likewise.
2956         (cosh_test_data): Likewise.
2957         (erf_test_data): Likewise.
2958         (erfc_test_data): Likewise.
2959         (exp_test_data): Likewise.
2960         (exp10_test_data): Likewise.
2961         (exp2_test_data): Likewise.
2962         (expm1_test_data): Likewise.
2963         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2965 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
2967         [BZ #19006]
2968         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
2969         to ...
2970         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
2971         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
2972         to ...
2973         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
2974         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
2975         to ...
2976         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
2977         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
2978         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
2979         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
2980         to ...
2981         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
2982         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2983         Moved to ...
2984         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
2985         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2986         Moved to ...
2987         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
2988         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
2989         to ...
2990         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
2991         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2992         Moved to ...
2993         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
2994         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
2995         to ...
2996         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
2997         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
2998         Removed.
2999         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
3000         Likewise.
3001         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
3002         Likewise.
3003         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
3004         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
3005         Likewise.
3006         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3007         Likewise.
3008         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3009         Likewise.
3010         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3011         Likewise.
3012         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3013         Likewise.
3014         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
3015         Likewise.
3016         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
3017         Likewise.
3018         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
3019         Likewise.
3020         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
3021         Likewise.
3022         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
3023         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
3024         Likewise.
3025         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3026         Likewise.
3027         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3028         Likewise.
3029         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3030         Likewise.
3031         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
3032         Likewise.
3033         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3034         Replace ../i486/pthread_cond_timedwait.S with
3035         ../pthread_cond_timedwait.S.
3037 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
3039         * math/libm-test.inc (acos_test_data): Refine expectations for
3040         errno and "inexact" exceptions.
3041         (acosh_test_data): Likewise.
3042         (asin_test_data): Likewise.
3043         (asinh_test_data): Likewise.
3044         (atan_test_data): Likewise.
3045         (atanh_test_data): Likewise.
3046         (atan2_test_data): Likewise.
3047         (cbrt_test_data): Likewise.
3048         (ceil_test_data): Likewise.
3049         (copysign_test_data): Likewise.
3050         (cosh_test_data): Likewise.
3051         (erf_test_data): Likewise.
3052         (erfc_test_data): Likewise.
3053         (exp_test_data): Likewise.
3054         (exp10_test_data): Likewise.
3055         (exp2_test_data): Likewise.
3056         (expm1_test_data): Likewise.
3057         (fabs_test_data): Likewise.
3058         (floor_test_data): Likewise.
3059         (fma_test_data): Likewise.
3060         (fmax_test_data): Likewise.
3061         (fmin_test_data): Likewise.
3062         (fmod_test_data): Likewise.
3063         (fpclassify_test_data): Likewise.
3064         (frexp_test_data): Likewise.
3065         (hypot_test_data): Likewise.
3066         (ilogb_test_data): Likewise.
3067         (isgreater_test_data): Likewise.
3068         (isgreaterequal_test_data): Likewise.
3069         (isinf_test_data): Likewise.
3070         (isless_test_data): Likewise.
3071         (islessequal_test_data): Likewise.
3072         (islessgreater_test_data): Likewise.
3073         (isnan_test_data): Likewise.
3074         (isnormal_test_data): Likewise.
3075         (issignaling_test_data): Likewise.
3076         (isunordered_test_data): Likewise.
3077         (j0_test_data): Likewise.
3078         (j1_test_data): Likewise.
3079         (jn_test_data): Likewise.
3080         (lgamma_test_data): Likewise.
3081         (lrint_test_data): Likewise.
3082         (llrint_test_data): Likewise.
3083         (log_test_data): Likewise.
3084         (log10_test_data): Likewise.
3085         (log1p_test_data): Likewise.
3086         (log2_test_data): Likewise.
3087         (logb_test_data): Likewise.
3088         (lround_test_data): Likewise.
3089         (llround_test_data): Likewise.
3090         (modf_test_data): Likewise.
3091         (nearbyint_test_data): Likewise.
3092         (nextafter_test_data): Likewise.
3093         (nexttoward_test_data): Likewise.
3094         (pow_test_data): Likewise.
3095         (remainder_test_data): Likewise.
3096         (remquo_test_data): Likewise.
3097         (rint_test_data): Likewise.
3098         (round_test_data): Likewise.
3099         (signbit_test_data): Likewise.
3100         (sinh_test_data): Likewise.
3101         (sqrt_test_data): Likewise.
3102         (tanh_test_data): Likewise.
3103         (tgamma_test_data): Likewise.
3104         (trunc_test_data): Likewise.
3105         (y0_test_data): Likewise.
3106         (y1_test_data): Likewise.
3107         (yn_test_data): Likewise.
3108         (significand_test_data): Likewise.
3110 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
3112         * manual/filesys.texi (Storage Allocation): Document that
3113         posix_fallocate emulation fails when fd is open with O_WRONLY.
3115 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
3117         [BZ #19016]
3118         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
3119         allow more cases with X^2 + Y^2 >= 0.5.
3120         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
3121         normal element in sum instead of special-casing based on values of
3122         arguments.
3123         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
3124         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
3125         -1 as normal element in sum instead of special-casing based on
3126         values of arguments.
3127         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
3128         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
3129         (__x2y2m1): Update comment.
3130         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
3131         as normal element in sum instead of special-casing based on values
3132         of arguments.
3133         * math/s_clog.c (__clog): Handle more cases using log1p without
3134         hypot.
3135         * math/s_clog10.c (__clog10): Likewise.
3136         * math/s_clog10f.c (__clog10f): Likewise.
3137         * math/s_clog10l.c (__clog10l): Likewise.
3138         * math/s_clogf.c (__clogf): Likewise.
3139         * math/s_clogl.c (__clogl): Likewise.
3140         * math/auto-libm-test-in: Add more tests of clog and clog10.
3141         * math/auto-libm-test-out: Regenerated.
3142         * sysdeps/i386/fpu/libm-test-ulps: Update.
3143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3145 2015-09-28  Martin Sebor  <msebor@redhat.com>
3147         [BZ #18969]
3148         * string/Makefile (LOCALES): Define.
3149         (gen-locales.mk): Include.
3150         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
3151         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
3152         * string/tst-strxfrm2.c (do_test): Print the name of the locale
3153         on setlocale failure.
3155 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3157         [BZ #18985]
3158         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
3159         (__strftime_internal): Likewise.
3160         * time/tst-strftime.c (do_bz18985): New test.
3161         (do_test): Call it.
3163 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
3165         [BZ #18956]
3166         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
3167         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
3168         extracting high part.
3169         * math/auto-libm-test-in: Add another test of pow.
3170         * math/auto-libm-test-out: Regenerated.
3171         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3173 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
3175         [BZ #18825]
3176         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
3177         New macro.
3178         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
3179         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3180         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
3181         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
3182         DBL_NARROW_EVAL, reloading the PIC register as needed.
3183         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
3184         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
3185         FLT_NARROW_EVAL.  Use separate return path for case when first
3186         argument is NaN.
3187         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
3188         DEFINE_LDBL_MIN.
3189         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
3190         PIC register.
3191         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
3192         math_check_force_underflow_nonneg.
3193         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
3194         underflow for subnormal result.
3195         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3196         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
3197         math_check_force_underflow_nonneg.
3198         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
3199         math_check_force_underflow.
3200         * sysdeps/x86_64/fpu/x86_64-math-asm.h
3201         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
3202         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
3203         DEFINE_LDBL_MIN.
3204         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
3205         * math/auto-libm-test-in: Add more tests of pow.
3206         * math/auto-libm-test-out: Regenerated.
3208 2015-09-25  Florian Weimer  <fweimer@redhat.com>
3210         * nss/bug17079.c (init_test_items): Add diagnostic for
3211         inconsistent entries.
3212         (test_buffer_size): Skip inconsistent entries.
3214 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
3216         [BZ #13304]
3217         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
3218         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
3219         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
3221         [BZ #13304]
3222         * sysdeps/microblaze/s_fma.c: New file.
3223         * sysdeps/microblaze/s_fmaf.c: Likewise.
3224         * sysdeps/microblaze/sfp-machine.h: Likewise.
3226 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
3228         [BZ #17250]
3229         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
3230         member.
3232 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
3234         [BZ #18803]
3235         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
3236         (MO): New macro.
3237         (__ieee754_hypot) [PIC]: Load PIC register.
3238         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
3239         DBL_NARROW_EVAL.
3240         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
3241         math_check_force_underflow_nonneg in case where result might be
3242         tiny.
3243         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3244         Likewise.
3245         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3246         Likewise.
3247         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
3248         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
3249         * math/auto-libm-test-in: Add more tests of hypot.
3250         * math/auto-libm-test-out: Regenerated.
3252 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
3254         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
3256 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
3258         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
3259         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
3260         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
3261         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
3262         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
3263         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
3264         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
3266         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
3267         LOAD_PIC_REG.
3269         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
3270         (FLT_CHECK_FORCE_UFLOW): Likewise.
3271         (DBL_CHECK_FORCE_UFLOW): Likewise.
3272         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
3273         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
3274         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
3275         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3276         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3277         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3278         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3279         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3280         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
3281         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3282         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
3283         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
3284         (flt_min): Replace with use of DEFINE_FLT_MIN.
3285         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
3286         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
3287         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3288         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
3289         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
3290         (flt_min): Replace with use of DEFINE_FLT_MIN.
3291         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
3292         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
3293         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3294         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
3295         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
3296         (flt_min): Replace with use of DEFINE_FLT_MIN.
3297         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
3298         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
3299         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
3300         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
3301         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
3302         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
3303         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
3304         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
3305         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3306         (__atan): Use DBL_CHECK_FORCE_UFLOW.
3307         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
3308         (flt_min): Replace with use of DEFINE_FLT_MIN.
3309         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
3310         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
3311         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3312         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
3313         main computation.
3314         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
3315         (flt_min): Replace with use of DEFINE_FLT_MIN.
3316         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
3317         main computation.
3318         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
3319         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3320         (MO): New macro.
3321         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
3322         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
3323         (flt_min): Replace with use of DEFINE_FLT_MIN.
3324         (MO): New macro.
3325         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
3326         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
3327         (__log1pl): Use MO.
3329         [BZ #19003]
3330         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
3331         $(config-cflags-nofma).
3333 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3335         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3337 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
3339         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
3340         (TWO127): Likewise.
3342         * sysdeps/generic/math_private.h (fabs_tg): New macro.
3343         (min_of_type): Likewise.
3344         (math_check_force_underflow): Likewise.
3345         (math_check_force_underflow_nonneg): Likewise.
3346         (math_check_force_underflow_complex): Likewise.
3347         * math/e_exp2l.c (__ieee754_exp2l): Use
3348         math_check_force_underflow_nonneg.
3349         * math/k_casinh.c (__kernel_casinh): Likewise.
3350         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3351         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3352         * math/s_catan.c (__catan): Use
3353         math_check_force_underflow_complex.
3354         * math/s_catanf.c (__catanf): Likewise.
3355         * math/s_catanh.c (__catanh): Likewise.
3356         * math/s_catanhf.c (__catanhf): Likewise.
3357         * math/s_catanhl.c (__catanhl): Likewise.
3358         * math/s_catanl.c (__catanl): Likewise.
3359         * math/s_ccosh.c (__ccosh): Likewise.
3360         * math/s_ccoshf.c (__ccoshf): Likewise.
3361         * math/s_ccoshl.c (__ccoshl): Likewise.
3362         * math/s_cexp.c (__cexp): Likewise.
3363         * math/s_cexpf.c (__cexpf): Likewise.
3364         * math/s_cexpl.c (__cexpl): Likewise.
3365         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
3366         * math/s_clog10.c (__clog10): Likewise.
3367         * math/s_clog10f.c (__clog10f): Likewise.
3368         * math/s_clog10l.c (__clog10l): Likewise.
3369         * math/s_clogf.c (__clogf): Likewise.
3370         * math/s_clogl.c (__clogl): Likewise.
3371         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
3372         * math/s_csinf.c (__csinf): Likewise.
3373         * math/s_csinh.c (__csinh): Likewise.
3374         * math/s_csinhf.c (__csinhf): Likewise.
3375         * math/s_csinhl.c (__csinhl): Likewise.
3376         * math/s_csinl.c (__csinl): Likewise.
3377         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
3378         * math/s_csqrtf.c (__csqrtf): Likewise.
3379         * math/s_csqrtl.c (__csqrtl): Likewise.
3380         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
3381         * math/s_ctanf.c (__ctanf): Likewise.
3382         * math/s_ctanh.c (__ctanh): Likewise.
3383         * math/s_ctanhf.c (__ctanhf): Likewise.
3384         * math/s_ctanhl.c (__ctanhl): Likewise.
3385         * math/s_ctanl.c (__ctanl): Likewise.
3386         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
3387         instead of volatile.
3388         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
3389         math_check_force_underflow.
3390         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3391         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
3392         volatile when forcing underflow.
3393         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3394         math_check_force_underflow_nonneg.
3395         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
3396         Likewise.
3397         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
3398         math_check_force_underflow.
3399         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3400         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3401         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3402         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
3403         math_check_force_underflow_nonneg.
3404         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
3405         math_check_force_underflow.
3406         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
3407         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
3408         instead of volatile.
3409         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
3410         math_check_force_underflow.
3411         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3412         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3413         math_check_force_underflow_nonneg.
3414         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
3415         math_check_force_underflow.
3416         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
3417         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3418         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
3419         math_check_force_underflow_nonneg.
3420         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3421         Likewise.
3422         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
3423         math_check_force_underflow.
3424         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3425         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
3426         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
3427         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
3428         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
3429         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
3430         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
3431         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
3432         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3433         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
3434         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
3435         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
3436         Likewise.
3437         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
3438         math_check_force_underflow_nonneg.
3439         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3440         Likewise.
3441         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
3442         math_check_force_underflow.
3443         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3444         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
3445         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3446         Likewise.
3447         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
3448         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
3449         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
3450         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
3451         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
3452         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
3453         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
3454         instead of volatile.
3455         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
3456         math_check_force_underflow.
3457         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
3458         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
3459         math_check_force_underflow.
3460         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
3461         Likewise.
3462         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3463         Use math_check_force_underflow_nonneg.
3464         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
3465         math_check_force_underflow.
3466         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
3467         Likewise.
3468         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3469         Likewise.
3470         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3471         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3472         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3473         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3474         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
3475         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3476         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
3477         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
3478         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
3479         math_check_force_underflow_nonneg.
3480         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
3481         math_check_force_underflow.
3482         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3483         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
3484         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
3485         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
3486         math_check_force_underflow_nonneg.
3487         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
3488         math_check_force_underflow.
3489         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
3490         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
3491         instead of volatile.
3492         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
3493         math_check_force_underflow.
3495         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
3496         * stdlib/strtod_l.c: Include <math_private.h>.
3497         (overflow_value): Use math_narrow_eval.
3498         (underflow_value): Likewise.
3499         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3500         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
3501         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
3502         (__ieee754_gamma_r): Likewise.
3503         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
3504         Likewise.
3505         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3506         Likewise.
3507         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
3508         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
3509         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
3510         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
3511         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
3512         (__ieee754_gammaf_r): Likewise.
3513         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3514         Likewise.
3515         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
3516         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
3517         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
3518         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
3519         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
3520         volatile.
3521         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
3522         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
3523         math_narrow_eval.
3524         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
3525         Likewise.
3526         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3527         Likewise.
3528         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
3529         Likewise.
3530         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
3531         volatile.
3532         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
3533         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
3534         math_narrow_eval.
3535         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3536         Likewise.
3537         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3538         Likewise.
3540 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
3542         * nptl/Versions: Remove ignored symbols.
3544 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3546         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
3547         * nss/Makefile (tests): Update.
3549 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3551         * nss/bug18287.c: New file.
3552         * nss/Makefile (tests): Add bug18287.
3554 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3556         * mach/Versions (__mach_host_self_): Add symbol.
3558 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3560         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
3561         vm_page_size.
3563 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3565         Really fix sysdeps/i386/fpu/s_scalbn.S build
3567         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
3568         (libc: GLIBC_2_22): Remove unused version set.
3570 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3572         * config.make.in (enable-timezone-tools): New variable.
3573         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
3574         (enable_timezone_tools): Export to generated files.
3575         * configure: Regenerate.
3576         * INSTALL: Regenerate.
3577         * manual/install.texi (--disable-timezone-tools): Document new flag.
3578         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
3579         ifeq ($(enable-timezone-tools),yes) check.
3581 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3583         * timezone/Makefile: Revert previous change.
3585         [BZ #18980]
3586         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
3587         (DEFINE_DBL_MIN): Likewise.
3588         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3589         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3590         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3591         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3592         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
3593         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3594         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3595         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
3596         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
3597         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3598         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3599         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
3600         (flt_min): Replace with use of DEFINE_FLT_MIN.
3601         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3602         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
3603         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3604         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3605         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
3606         (flt_min): Replace with use of DEFINE_FLT_MIN.
3607         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3608         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
3609         (flt_min): Replace with use of DEFINE_FLT_MIN.
3610         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3611         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
3612         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
3613         (__ieee754_hypot): Use DBL_NARROW_EVAL.
3614         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
3615         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
3616         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
3617         (__ieee754_pow): Use DBL_NARROW_EVAL.
3618         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
3619         (__ieee754_powf): Use FLT_NARROW_EVAL.
3620         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
3621         (__ieee754_expf_sse2): Convert double-precision result to single
3622         precision.
3623         * sysdeps/i386/fpu/libm-test-ulps: Update.
3625 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3627         * timezone/Makefile: Ignore unused variable errors due to private.h
3628         (time_t_min) and (time_t_max).
3629         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
3630         Likewise.
3632 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3634         [BZ #18981]
3635         * sysdeps/i386/fpu/i386-math-asm.h: New file.
3636         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
3637         (__ieee754_scalb): Use DBL_NARROW_EVAL.
3638         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
3639         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
3640         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
3641         (__scalbn): Use DBL_NARROW_EVAL.
3642         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
3643         (__scalbnf): Use FLT_NARROW_EVAL.
3645 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3647         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
3648         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
3649         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
3650         * stdio-common/printf_fp.c (___printf_fp):
3651         Use signbit to get the sign. Use isinf macro to allow inlining.
3652         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
3653         * stdio-common/printf_size.c (__printf_size): Likewise.
3655 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3657         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
3659 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3661         [BZ #18980]
3662         * sysdeps/generic/math_private.h: Include <float.h>.
3663         (math_narrow_eval): New macro.
3664         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
3665         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
3666         math_narrow_eval on overflowing return value.
3667         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
3668         Likewise.
3669         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3670         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
3671         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
3672         Likewise.
3673         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
3675 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3677         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
3678         * math/Makefile: Remove isinf_ns.c.
3679         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
3680         * math/multc3.c (__multc3): Likewise.
3681         * math/s_casin.c (__casin): Likewise.
3682         * math/s_casinf.c (__casinf): Likewise.
3683         * math/s_casinl.c (__casinl): Likewise.
3684         * math/s_cproj.c (__cproj): Likewise.
3685         * math/s_cprojf.c (__cprojf): Likewise.
3686         * math/s_cprojl.c (__cprofl): Likewise.
3687         * math/s_ctan.c (__ctan): Likewise.
3688         * math/s_ctanf.c (__ctanf): Likewise.
3689         * math/s_ctanh.c (__ctanh): Likewise.
3690         * math/s_ctanhf.c (__ctanhf): Likewise.
3691         * math/s_ctanhl.c (__ctanhl): Likewise.
3692         * math/s_ctanl.c (__ctanl): Likewise.
3693         * math/w_fmod.c (__fmod): Likewise.
3694         * math/w_fmodf.c (__fmodf): Likewise.
3695         * math/w_fmodl.c (_fmodl): Likewise.
3696         * math/w_remainder.c (__remainder): Likewise.
3697         * math/w_remainderf.c (__remainderf): Likewise.
3698         * math/w_remainderl.c (__remainderl): Likewise.
3699         * math/w_scalb.c (__scalb): Likewise.
3700         * math/w_scalbf.c (__scalbf): Likewise.
3701         * math/w_scalbl.c (__scalbl): Likewise.
3702         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
3703         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
3704         with isinf.
3705         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
3706         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
3707         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
3708         __isinf_nsf with isinf.
3709         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
3710         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
3711         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
3712         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
3713         with isinf.
3714         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
3715         __isinf_nsl with isinf.
3716         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
3717         with isinf.
3718         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
3719         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
3720         __isinf_nsl with isinf.
3721         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
3722         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
3723         with isinf.
3725 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3727         * resolv/base64.c (rcsid): Remove unused static.
3728         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
3729         static.  (tqpi1): Likewise.
3730         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
3731         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
3732         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
3733         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
3734         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
3735         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
3736         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
3737         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
3738         Likewise.
3740 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
3742         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
3743         <nptl/pthreadP.h>.
3744         (_longjmp_unwind): Use __libc_ptf_call.
3745         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
3747 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
3749         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
3750         * sysdeps/arm/__longjmp.S: Likewise
3752 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3754         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
3755         Use __builtin_signbit.
3756         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
3757         Use __builtin_signbitf.
3758         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
3759         Use __builtin_signbitl.
3760         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3761         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
3763 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3765         [BZ #15367]
3766         [BZ #17441]
3768         * math/Makefile: Build test-snan.c with -fsignaling-nans.
3769         * math/math.h (fpclassify): Use __builtin_fpclassify when
3770         available.  (signbit): Use __builtin_signbit(f/l).
3771         (isfinite): Use__builtin_isfinite.  (isnormal): Use
3772         __builtin_isnormal.  (isnan): Use __builtin_isnan.
3773         (isinf): Use __builtin_isinf_sign.
3775 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3777         * benchtests/Makefile: Add bench-math-inlines, link with libm.
3778         * benchtests/bench-math-inlines.c: New benchmark.
3779         * benchtests/bench-util.h: New file.
3780         * benchtests/bench-util.c: New file.
3781         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
3783 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
3785         * elf/tst-dlmopen1.c: Define TEST_SO.
3786         (do_test): Use TEST_SO.
3788         * elf/dl-load.c: Include libc-internal.h.
3789         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
3791 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3793         [BZ #17887]
3794         * time/strptime_l.c (__strptime_internal): Make %z accept
3795         [+-]HH:MM time zones.
3797 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3799         [BZ #17886]
3800         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
3801         valid time zone.
3803 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
3805         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
3806         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
3807         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3808         (__ASSUME_FDATASYNC): Delete.
3810 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3812         * conform/linknamespace.pl: Require weak undefined symbols to be
3813         in the standard namespace.
3814         (%strong_syms): Rename to %seen_syms.
3815         (%strong_seen): Rename to %seen_where.
3817 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
3819         [BZ #18970]
3820         * misc/error.c (error): Replace pthread_setcancelstate with
3821         __pthread_setcancelstate.
3822         (error_at_line): Likewise.
3823         * posix/wordexp.c (parse_comm): Likewise.
3824         * stdlib/fmtmsg.c (fmtmsg): Likewise.
3825         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
3826         (__pthread_setcancelstate): This.
3827         (pthread_setcancelstate): Add an alias.
3828         * nptl/nptl-init.c (pthread_functions): Replace
3829         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
3830         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
3831         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
3832         hidden_proto.
3833         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
3834         it with hidden_def.
3835         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
3836         (pthread_setcancelstate): Renamed to ...
3837         (__pthread_setcancelstate): This.
3838         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
3839         __libc_ptf_call with __pthread_setcancelstate.
3841 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3842             Andreas Schwab  <schwab@suse.de>
3844         [BZ #17118]
3845         * math/s_ctan.c (__ctan): Determine sign of zero real part of
3846         result when imaginary part of argument is infinite using sine and
3847         cosine.
3848         * math/s_ctanf.c (__ctanf): Likewise.
3849         * math/s_ctanl.c (__ctanl): Likewise.
3850         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
3851         of result when real part of argument is infinite using sine and
3852         cosine.
3853         * math/s_ctanhf.c (__ctanhf): Likewise.
3854         * math/s_ctanhl.c (__ctanhl): Likewise.
3855         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
3856         (ctanh_test_data): Add more tests of ctanh.
3858 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3860         [BZ #15384]
3861         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
3862         bit-mask as in subtraction.
3863         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
3864         Likewise.
3865         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
3866         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
3867         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
3869         [BZ #18951]
3870         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
3871         underflow exception for small results.
3872         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3873         Likewise.
3874         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3875         Likewise.
3876         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3877         Likewise.
3878         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3879         Likewise.
3880         * math/auto-libm-test-in: Add more tests of tgamma.
3881         * math/auto-libm-test-out: Regenerated.
3883 2015-09-17  Andreas Schwab  <schwab@suse.de>
3885         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
3887 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3889         [BZ #18977]
3890         * math/bits/mathcalls.h
3891         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
3892         not declare.
3893         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
3894         Likewise.
3895         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
3896         Likewise.
3897         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
3898         Likewise.
3899         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
3900         Likewise.
3901         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
3902         Likewise.
3903         * conform/data/math.h-data
3904         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
3905         function.
3906         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
3907         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
3908         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
3909         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
3910         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
3911         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
3912         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
3913         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
3914         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
3915         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
3916         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
3918         [BZ #6803]
3919         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
3920         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
3921         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
3922         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
3923         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
3924         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
3925         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
3926         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
3927         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3928         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
3929         Likewise.
3930         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3931         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
3932         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
3933         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
3934         long_double_symbol calls.
3935         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
3936         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
3937         strong alias of __ldexpl.
3938         (scalbnl): Define using long_double_symbol.
3939         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
3940         Remove alias.
3941         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
3942         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
3943         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
3944         (scalbln_test_data): Add more errno expectations.
3946 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
3948         Cache the host port like we cache the task port.  This way we do not
3949         need to call the kernel just to get the port.  Furthermore, we no
3950         longer increase the reference count on every invocation of
3951         `mach_host_self'.
3953         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
3954         Protect declarations against the macro expansion.
3955         * mach/mach_init.c (__mach_host_self_): New variable.
3956         (mach_init): Initialize `__mach_host_self_'.
3957         * mach/mach_init.h (__mach_host_self_): New declaration.
3958         (__mach_host_self, mach_host_self): New macros.
3959         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
3960         Release reference.
3962 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3964         [BZ #4404]
3965         * po/de.po: Update from Translation Project.
3967         [BZ #16415]
3968         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
3969         (__expm1l): Remove code to handle positive infinity and overflow.
3970         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
3971         variable.
3972         (__expm1l): Remove code to handle positive infinity and overflow.
3974 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
3975             Paul Pluzhnikov  <ppluzhnikov@google.com>
3977         [BZ #18872]
3978         * stdio-common/Makefile (tst-printf-bz18872): New test.
3979         (tst-printf-bz18872-mem.out): Likewise.
3980         * stdio-common/tst-printf-bz18872.sh: Generate new test.
3981         * stdio-common/vfprintf.c: Fix memory leaks.
3983 2015-09-16  Andreas Schwab  <schwab@suse.de>
3985         [BZ #17244]
3986         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
3987         Remove extra va_start/va_end calls.
3989         [BZ #17243]
3990         * posix/execl.c (execl): Add missing va_end.
3991         * posix/execle.c (execle): Likewise.
3992         * posix/execlp.c (execlp): Likewise.
3994 2015-09-15  Roland McGrath  <roland@hack.frob.com>
3996         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
3997         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
3999 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
4001         [BZ #18967]
4002         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
4003         undefine around includes of <bits/mathcalls.h>.
4004         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
4005         not declare function.
4006         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
4007         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
4008         (scalb): Likewise.
4009         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
4010         not define macro.
4011         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
4012         variable.
4013         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4014         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4015         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4017         [BZ #18857]
4018         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
4019         return non-finite argument without doing ordered comparisons on
4020         it.
4022         [BZ #16296]
4023         * math/fenv.h (fegetround): Use __attribute_pure__.
4024         * include/fenv.h (__fegetround): Likewise.
4026         [BZ #18595]
4027         * math/s_ctan.c (__ctan): Force underflow exception for results
4028         whose real or imaginary part has small absolute value.
4029         * math/s_ctanf.c (__ctanf): Likewise.
4030         * math/s_ctanh.c (__ctanh): Likewise.
4031         * math/s_ctanhf.c (__ctanhf): Likewise.
4032         * math/s_ctanhl.c (__ctanhl): Likewise.
4033         * math/s_ctanl.c (__ctanl): Likewise.
4034         * math/auto-libm-test-in: Do not allow missing underflow for ctan
4035         and ctanh.  Add more tests of ctan and ctanh.
4037         [BZ #15918]
4038         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
4039         handling of cases where one argument is an infinity.
4041         [BZ #18875]
4042         [BZ #18966]
4043         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
4044         (MO): New macro.
4045         (__ieee754_exp10): For small results, force underflow exception
4046         and remove excess range and precision from return value.
4047         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
4048         (MO): New macro.
4049         (__ieee754_exp10f): For small results, force underflow exception
4050         and remove excess range and precision from return value.
4051         * math/auto-libm-test-in: Add more tests of exp10.
4052         * math/auto-libm-test-out: Regenerated.
4054 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
4056         [BZ #18875]
4057         [BZ #18961]
4058         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
4059         (MO): New macro.
4060         (__ieee754_exp): For small results, force underflow exception and
4061         remove excess range and precision from return value.
4062         (__exp_finite): Likewise.
4063         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
4064         (MO): New macro.
4065         (__ieee754_expf): For small results, force underflow exception and
4066         remove excess range and precision from return value.
4067         (__expf_finite): Likewise.
4068         * math/auto-libm-test-in: Add more tests of exp.
4069         * math/auto-libm-test-out: Regenerated.
4071         [BZ #16521]
4072         [BZ #18875]
4073         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
4074         small results.
4075         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
4076         (MO): New macro.
4077         (__ieee754_exp2): For small results, force underflow exception and
4078         remove excess range and precision from return value.
4079         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
4080         (MO): New macro.
4081         (__ieee754_exp2f): For small results, force underflow exception
4082         and remove excess range and precision from return value.
4083         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
4084         (MO): New macro.
4085         (__ieee754_exp2l): Force underflow exception for small results.
4086         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4087         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4088         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
4089         (MO): New macro.
4090         (__ieee754_exp2l): Force underflow exception for small results.
4091         * math/auto-libm-test-in: Add more tests or exp2.
4092         * math/auto-libm-test-out: Regenerated.
4094 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
4096         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
4098         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
4099         /dev/null.
4101 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4103         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4104         io fs process)): Drop spurious backslash.
4106 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4108         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
4109         Use sysinfo system call instead of parsing /proc/meminfo.
4110         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
4111         Likewise.
4113 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
4115         [BZ #16985]
4116         * programs/localedef.c (main): Display argv[remaining] when
4117         output_path is NULL.
4119 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
4121         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4122         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
4123         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
4124         tanh.
4125         * math/auto-libm-test-out: Regenerated.
4126         * sysdeps/i386/fpu/libm-test-ulps: Update.
4127         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4128         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4131 2015-09-11  Roland McGrath  <roland@hack.frob.com>
4133         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
4134         Use 'override' keyword to freeze the value here, preventing
4135         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
4137 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
4139         [BZ #14912]
4140         * sysdeps/aarch64/bits/atomic.h: Move to ...
4141         * sysdeps/aarch64/atomic-machine.h: ...here.
4142         (_AARCH64_BITS_ATOMIC_H): Rename macro to
4143         _AARCH64_ATOMIC_MACHINE_H.
4144         * sysdeps/alpha/bits/atomic.h: Move to ...
4145         * sysdeps/alpha/atomic-machine.h: ...here.
4146         * sysdeps/arm/bits/atomic.h: Move to ...
4147         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
4148         * bits/atomic.h: Move to ...
4149         * sysdeps/generic/atomic-machine.h: ...here.
4150         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4151         * sysdeps/i386/bits/atomic.h: Move to ...
4152         * sysdeps/i386/atomic-machine.h: ...here.
4153         * sysdeps/ia64/bits/atomic.h: Move to ...
4154         * sysdeps/ia64/atomic-machine.h: ...here.
4155         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
4156         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
4157         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4158         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
4159         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
4160         * sysdeps/microblaze/bits/atomic.h: Move to ...
4161         * sysdeps/microblaze/atomic-machine.h: ...here.
4162         * sysdeps/mips/bits/atomic.h: Move to ...
4163         * sysdeps/mips/atomic-machine.h: ...here.
4164         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
4165         * sysdeps/powerpc/bits/atomic.h: Move to ...
4166         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
4167         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
4168         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
4169         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
4170         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
4171         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
4172         <atomic-machine.h> instead of <bits/atomic.h>.
4173         * sysdeps/s390/bits/atomic.h: Move to ...
4174         * sysdeps/s390/atomic-machine.h: ...here.
4175         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
4176         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
4177         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4178         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
4179         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
4180         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
4181         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
4182         * sysdeps/tile/bits/atomic.h: Move to ...
4183         * sysdeps/tile/atomic-machine.h: ...here.
4184         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
4185         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
4186         <sysdeps/tile/atomic-machine.h> instead of
4187         <sysdeps/tile/bits/atomic.h>.
4188         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4189         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
4190         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
4191         <sysdeps/tile/atomic-machine.h> instead of
4192         <sysdeps/tile/bits/atomic.h>.
4193         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4194         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
4195         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
4196         <sysdeps/arm/atomic-machine.h> instead of
4197         <sysdeps/arm/bits/atomic.h>.
4198         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
4199         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
4200         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4201         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
4202         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
4203         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4204         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
4205         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
4206         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
4207         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
4208         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
4209         * sysdeps/x86_64/bits/atomic.h: Move to ...
4210         * sysdeps/x86_64/atomic-machine.h: ...here.
4211         * include/atomic.h: Include <atomic-machine.h> instead of
4212         <bits/atomic.h>.
4214         * sysdeps/mips/mips32/libm-test-ulps: Update.
4215         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4217         [BZ #18952]
4218         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
4219         not convert non-integer negative arguments to int to determine the
4220         value of signgam.
4221         * math/auto-libm-test-in: Add more tests of lgamma.
4222         * math/auto-libm-test-out: Regenerated.
4224         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
4225         cosh, csqrt, erfc, expm1 and lgamma.
4226         * math/auto-libm-test-out: Regenerated.
4227         * sysdeps/i386/fpu/libm-test-ulps: Update.
4228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4230 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
4232         [BZ #2542]
4233         [BZ #2543]
4234         [BZ #2558]
4235         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
4236         __lgamma_neg for arguments from -28.0 to -2.0.
4237         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
4238         __lgamma_negf for arguments from -15.0 to -2.0.
4239         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4240         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
4241         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
4242         Call __lgamma_negl for arguments from -33.0 to -2.0.
4243         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
4244         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4245         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
4246         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
4247         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4248         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4249         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
4250         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
4251         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
4252         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4253         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
4254         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
4255         (__lgamma_neg): Likewise.
4256         (__lgamma_negl): Likewise.
4257         (__lgamma_product): Likewise.
4258         (__lgamma_productl): Likewise.
4259         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
4260         * math/auto-libm-test-in: Add more tests of lgamma.
4261         * math/auto-libm-test-out: Regenerated.
4262         * sysdeps/i386/fpu/libm-test-ulps: Update.
4263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4265 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
4267         [BZ #18675]
4268         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
4270 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
4272         [BZ #14912]
4273         * bits/libc-lock.h: Move to ...
4274         * sysdeps/generic/libc-lock.h: ...here.
4275         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4276         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
4277         * sysdeps/mach/hurd/libc-lock.h: ...here.
4278         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4279         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
4280         * sysdeps/mach/bits/libc-lock.h: Move to ...
4281         * sysdeps/mach/libc-lock.h: ...here.
4282         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4283         * sysdeps/nptl/bits/libc-lock.h: Move to ...
4284         * sysdeps/nptl/libc-lock.h: ...here.
4285         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4286         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
4287         * sysdeps/nptl/libc-lockP.h: ...here.
4288         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
4289         * crypt/crypt_util.c: Include <libc-lock.h> instead of
4290         <bits/libc-lock.h>.
4291         * dirent/scandir-tail.c: Likewise.
4292         * dlfcn/dlerror.c: Likewise.
4293         * elf/dl-close.c: Likewise.
4294         * elf/dl-iteratephdr.c: Likewise.
4295         * elf/dl-lookup.c: Likewise.
4296         * elf/dl-open.c: Likewise.
4297         * elf/dl-support.c: Likewise.
4298         * elf/dl-writev.h: Likewise.
4299         * elf/rtld.c: Likewise.
4300         * grp/fgetgrent.c: Likewise.
4301         * gshadow/fgetsgent.c: Likewise.
4302         * gshadow/sgetsgent.c: Likewise.
4303         * iconv/gconv_conf.c: Likewise.
4304         * iconv/gconv_db.c: Likewise.
4305         * iconv/gconv_dl.c: Likewise.
4306         * iconv/gconv_int.h: Likewise.
4307         * iconv/gconv_trans.c: Likewise.
4308         * include/link.h: Likewise.
4309         * inet/getnameinfo.c: Likewise.
4310         * inet/getnetgrent.c: Likewise.
4311         * inet/getnetgrent_r.c: Likewise.
4312         * intl/bindtextdom.c: Likewise.
4313         * intl/dcigettext.c: Likewise.
4314         * intl/finddomain.c: Likewise.
4315         * intl/gettextP.h: Likewise.
4316         * intl/loadmsgcat.c: Likewise.
4317         * intl/localealias.c: Likewise.
4318         * intl/textdomain.c: Likewise.
4319         * libidn/idn-stub.c: Likewise.
4320         * libio/libioP.h: Likewise.
4321         * locale/duplocale.c: Likewise.
4322         * locale/freelocale.c: Likewise.
4323         * locale/newlocale.c: Likewise.
4324         * locale/setlocale.c: Likewise.
4325         * login/getutent_r.c: Likewise.
4326         * login/getutid_r.c: Likewise.
4327         * login/getutline_r.c: Likewise.
4328         * login/utmp-private.h: Likewise.
4329         * login/utmpname.c: Likewise.
4330         * malloc/mtrace.c: Likewise.
4331         * misc/efgcvt.c: Likewise.
4332         * misc/error.c: Likewise.
4333         * misc/fstab.c: Likewise.
4334         * misc/getpass.c: Likewise.
4335         * misc/mntent.c: Likewise.
4336         * misc/syslog.c: Likewise.
4337         * nis/nis_call.c: Likewise.
4338         * nis/nis_callback.c: Likewise.
4339         * nis/nss-default.c: Likewise.
4340         * nis/nss_compat/compat-grp.c: Likewise.
4341         * nis/nss_compat/compat-initgroups.c: Likewise.
4342         * nis/nss_compat/compat-pwd.c: Likewise.
4343         * nis/nss_compat/compat-spwd.c: Likewise.
4344         * nis/nss_nis/nis-alias.c: Likewise.
4345         * nis/nss_nis/nis-ethers.c: Likewise.
4346         * nis/nss_nis/nis-grp.c: Likewise.
4347         * nis/nss_nis/nis-hosts.c: Likewise.
4348         * nis/nss_nis/nis-network.c: Likewise.
4349         * nis/nss_nis/nis-proto.c: Likewise.
4350         * nis/nss_nis/nis-pwd.c: Likewise.
4351         * nis/nss_nis/nis-rpc.c: Likewise.
4352         * nis/nss_nis/nis-service.c: Likewise.
4353         * nis/nss_nis/nis-spwd.c: Likewise.
4354         * nis/nss_nisplus/nisplus-alias.c: Likewise.
4355         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4356         * nis/nss_nisplus/nisplus-grp.c: Likewise.
4357         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4358         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
4359         * nis/nss_nisplus/nisplus-network.c: Likewise.
4360         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4361         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4362         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4363         * nis/nss_nisplus/nisplus-service.c: Likewise.
4364         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4365         * nis/ypclnt.c: Likewise.
4366         * nptl/libc_pthread_init.c: Likewise.
4367         * nss/getXXbyYY.c: Likewise.
4368         * nss/getXXent.c: Likewise.
4369         * nss/getXXent_r.c: Likewise.
4370         * nss/nss_db/db-XXX.c: Likewise.
4371         * nss/nss_db/db-netgrp.c: Likewise.
4372         * nss/nss_db/nss_db.h: Likewise.
4373         * nss/nss_files/files-XXX.c: Likewise.
4374         * nss/nss_files/files-alias.c: Likewise.
4375         * nss/nsswitch.c: Likewise.
4376         * posix/regex_internal.h: Likewise.
4377         * posix/wordexp.c: Likewise.
4378         * pwd/fgetpwent.c: Likewise.
4379         * resolv/res_hconf.c: Likewise.
4380         * resolv/res_libc.c: Likewise.
4381         * shadow/fgetspent.c: Likewise.
4382         * shadow/lckpwdf.c: Likewise.
4383         * shadow/sgetspent.c: Likewise.
4384         * socket/opensock.c: Likewise.
4385         * stdio-common/reg-modifier.c: Likewise.
4386         * stdio-common/reg-printf.c: Likewise.
4387         * stdio-common/reg-type.c: Likewise.
4388         * stdio-common/vfprintf.c: Likewise.
4389         * stdio-common/vfscanf.c: Likewise.
4390         * stdlib/abort.c: Likewise.
4391         * stdlib/cxa_atexit.c: Likewise.
4392         * stdlib/fmtmsg.c: Likewise.
4393         * stdlib/random.c: Likewise.
4394         * stdlib/setenv.c: Likewise.
4395         * string/strsignal.c: Likewise.
4396         * sunrpc/auth_none.c: Likewise.
4397         * sunrpc/bindrsvprt.c: Likewise.
4398         * sunrpc/create_xid.c: Likewise.
4399         * sunrpc/key_call.c: Likewise.
4400         * sunrpc/rpc_thread.c: Likewise.
4401         * sysdeps/arm/backtrace.c: Likewise.
4402         * sysdeps/generic/ldsodefs.h: Likewise.
4403         * sysdeps/generic/stdio-lock.h: Likewise.
4404         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
4405         * sysdeps/i386/backtrace.c: Likewise.
4406         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4407         * sysdeps/m68k/backtrace.c: Likewise.
4408         * sysdeps/mach/hurd/cthreads.c: Likewise.
4409         * sysdeps/mach/hurd/dirstream.h: Likewise.
4410         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
4411         * sysdeps/nptl/malloc-machine.h: Likewise.
4412         * sysdeps/nptl/stdio-lock.h: Likewise.
4413         * sysdeps/posix/dirstream.h: Likewise.
4414         * sysdeps/posix/getaddrinfo.c: Likewise.
4415         * sysdeps/posix/system.c: Likewise.
4416         * sysdeps/pthread/aio_suspend.c: Likewise.
4417         * sysdeps/s390/s390-32/backtrace.c: Likewise.
4418         * sysdeps/s390/s390-64/backtrace.c: Likewise.
4419         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4420         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4421         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
4422         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
4423         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
4424         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4425         * sysdeps/unix/sysv/linux/system.c: Likewise.
4426         * sysdeps/x86_64/backtrace.c: Likewise.
4427         * time/alt_digit.c: Likewise.
4428         * time/era.c: Likewise.
4429         * time/tzset.c: Likewise.
4430         * wcsmbs/wcsmbsload.c: Likewise.
4431         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
4432         instead of <bits/libc-lock.h> in comment.
4434 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
4436         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
4437         Only use .set mips2 if the current ISA is below mips2.
4438         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
4439         Likewise.
4440         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
4441         mips32r2 if the current ISA is below mips32r2.
4442         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
4443         (TLS_IE): Updated to use the TLD_RDHWR macro.
4444         (TLS_LE): Likewise.
4445         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
4446         __ASSEMBLER__ condition.
4448 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4450         Fix parallel build of before-compile targets.
4452         * sysdeps/mach/Makefile ($(patsubst
4453         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
4454         mach-before-compile target.
4455         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4456         io fs process)): Move rule to dedicated hurd-before-compile target.
4458 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4460         Fix rules generating headers in hurd/ and mach/ when initial make call
4461         has subdir= explicitly set.
4463         * sysdeps/mach/Makefile ($(patsubst
4464         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
4465         calling $(MAKE).
4466         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4467         io fs process)): Force subdir to hurd when calling $(MAKE).
4468         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
4469         subdir to mach when calling $(MAKE).
4471 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
4473         Check sysheaders when looking for Mach and Hurd headers
4475         * sysdeps/mach/configure.ac: Add sysheaders check.
4476         * sysdeps/mach/configure: Regenerate.
4477         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
4478         * sysdeps/mach/hurd/configure: Regenerate.
4480 2015-09-04  Roland McGrath  <roland@hack.frob.com>
4482         [BZ #18921]
4483         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
4484         Fix inverted sense of test of 'o_directory_works' value.
4485         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
4486         Bernhard Voelker <mail@bernhard-voelker.de>.
4488 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4490         [BZ #14912]
4491         * bits/linkmap.h: Move to ...
4492         * sysdeps/generic/linkmap.h: ...here.
4493         * sysdeps/aarch64/bits/linkmap.h: Move to ...
4494         * sysdeps/aarch64/linkmap.h: ...here.
4495         * sysdeps/arm/bits/linkmap.h: Move to ...
4496         * sysdeps/arm/linkmap.h: ...here.
4497         * sysdeps/hppa/bits/linkmap.h: Move to ...
4498         * sysdeps/hppa/linkmap.h: ...here.
4499         * sysdeps/ia64/bits/linkmap.h: Move to ...
4500         * sysdeps/ia64/linkmap.h: ...here.
4501         * sysdeps/mips/bits/linkmap.h: Move to ...
4502         * sysdeps/mips/linkmap.h: ...here.
4503         * sysdeps/s390/bits/linkmap.h: Move to ...
4504         * sysdeps/s390/linkmap.h: ...here.
4505         * sysdeps/sh/bits/linkmap.h: Move to ...
4506         * sysdeps/sh/linkmap.h: ...here.
4507         * sysdeps/x86/bits/linkmap.h: Move to ...
4508         * sysdeps/x86/linkmap.h: ...here.
4509         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
4511 2015-09-04  Andreas Schwab  <schwab@suse.de>
4513         [BZ #18635]
4514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
4515         (__makecontext): Terminate FDE before return label.
4516         (__novec_makecontext): Likewise.
4518 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4520         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
4521         first member of struct sv in syscall macro.
4523 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4525         [BZ #14912]
4526         * bits/stdio-lock.h: Move to ...
4527         * sysdeps/generic/stdio-lock.h: ...here.
4528         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4529         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
4530         * sysdeps/nptl/stdio-lock.h: ...here.
4531         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4532         * include/libio.h: Include <stdio-lock.h> instead of
4533         <bits/stdio-lock.h>.
4534         * sysdeps/nptl/fork.c: Likewise.
4535         * sysdeps/pthread/flockfile.c: Likewise.
4536         * sysdeps/pthread/ftrylockfile.c: Likewise.
4537         * sysdeps/pthread/funlockfile.c: Likewise.
4539         [BZ #14912]
4540         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
4541         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
4542         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
4543         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
4544         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
4545         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4546         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
4548 2015-09-03  Roland McGrath  <roland@hack.frob.com>
4550         * elf/Makefile (test-xfail-tst-protected1a): New variable.
4551         (test-xfail-tst-protected1b): New variable.
4553 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
4555         [BZ #14912]
4556         * bits/libc-tsd.h: Move to ...
4557         * sysdeps/generic/libc-tsd.h: ...here.
4558         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
4559         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
4560         * sysdeps/mach/hurd/libc-tsd.h: ...here.
4561         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
4562         * include/ctype.h: Include <libc-tsd.h> instead of
4563         <bits/libc-tsd.h>.
4564         * include/rpc/rpc.h: Likewise.
4565         * locale/localeinfo.h: Likewise.
4566         * sunrpc/rpc_thread.c: Likewise.
4567         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
4568         * sysdeps/nptl/malloc-machine.h: Likewise.
4570         * Makefile (headers): Remove bits/libc-lock.h.
4571         * libio/Makefile (headers): Remove bits/stdio-lock.h.
4573         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
4574         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
4575         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
4576         <bits/stdio-lock.h>.
4577         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
4578         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
4580 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4582         [BZ #18757]
4583         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
4584         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
4585         BZ #18757.
4587 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4589         * malloc/mtrace.pl: Filter out NULL entries.
4591 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
4593         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
4594         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
4595         macro.
4597         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
4598         (TCP_CC_INFO): Likewise.
4599         (TCP_SAVE_SYN): Likewise.
4600         (TCP_SAVED_SYN): Likewise.
4602 2015-08-31  Brett Neumeier <brett@neumeier.us>
4604         [BZ #18870]
4605         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
4607 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
4609         [BZ #18873]
4610         Fix broken overflow check in posix_fallocate
4611         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
4612         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4613         Fix parenthesization typo.
4615 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
4617         [BZ #18887]
4618         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
4619         tst-mntent-blank-passno.
4620         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
4621         * misc/tst-mntent-blank-corrupt.c: New test.
4622         * misc/tst-mntent-blank-passno.c: New test ripped from ...
4623         * misc/tst-mntent.c (do_test): ... here.
4625 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
4627         [BZ #4404]
4628         * po/de.po: Fix SIGALRM typo.
4630 2015-08-28  James Perkins  <james@loowit.net>
4632         * time/tst-strptime2.c (tests): Replace short list of test
4633         strings for strptime %z specifier with code which exhaustively
4634         tests every combination of sign and 0 to 5 digits. Tests for
4635         rejection of invalid strings.
4637 2015-08-28  James Perkins  <james@loowit.net>
4639         [BZ #16141]
4640         * time/strptime_l.c (__strptime_internal): Fix %z minutes
4641         calculation, removing incorrect decimal time rounding, so that
4642         all minute values result in a valid seconds value.
4643         * time/strptime_l.c (__strptime_internal): Extend %z time zone
4644         offset range limits to UTC-99:59 through UTC+99:59 to parse
4645         current and historical use cases.
4646         * time/tst-strptime2.c (tests): Modify and add tests for the
4647         strptime %z input field descriptor, specifically conversion of
4648         minutes to seconds and validating an offset range of -9959 to
4649         +9959.
4651 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4652             Dmitry V. Levin  <ldv@altlinux.org>
4654         [BZ #18877]
4655         * posix/Makefile (tests): Add tst-mmap-offset.
4656         * posix/tst-mmap.c: New file.
4657         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
4658         offset calculation for negative values.
4660 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4662         * sysdeps/i386/init-arch.h: New file.
4663         * sysdeps/i386/i586/init-arch.h: Likewise.
4664         * sysdeps/i386/i686/init-arch.h: Likewise.
4665         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
4666         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
4667         * sysdeps/x86/cpu-features.h (bit_I586): New.
4668         (bit_I686): Likewise.
4669         (bit_CX8): Likewise.
4670         (bit_CMOV): Likewise.
4671         (index_CX8): Likewise.
4672         (index_CMOV): Likewise.
4673         (index_I586): Likewise.
4674         (index_I686): Likewise.
4675         (reg_CX8): Likewise.
4676         (reg_CMOV): Likewise.
4677         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
4678         available at compile-time.
4679         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
4680         available at compile-time.
4681         * sysdeps/x86/init-arch.h (USE_I586): New macro.
4682         (USE_I686): Likewise.
4684 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4686         * sysdeps/i386/bcopy.S: New file.
4687         * sysdeps/i386/bzero.S: Likewise.
4688         * sysdeps/i386/memcpy.S: Likewise.
4689         * sysdeps/i386/memmove.S: Likewise.
4690         * sysdeps/i386/mempcpy.S: Likewise.
4691         * sysdeps/i386/memset.S: Likewise.
4692         * sysdeps/i386/bzero.c: Removed.
4693         * sysdeps/i386/memset.c: Likewise.
4694         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
4695         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
4696         * sysdeps/i386/i586/memset_chk.S: Likewise.
4697         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
4698         * sysdeps/i386/memcpy_chk.S: Here.
4699         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
4700         * sysdeps/i386/memmove_chk.S: Here.
4701         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
4702         * sysdeps/i386/mempcpy_chk.S: Likewise.
4703         * sysdeps/i386/i686/memset_chk.S: Moved to ...
4704         * sysdeps/i386/memset_chk.S: Likewise.
4706 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
4708         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
4709         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
4710         file, move DIAG_POP_NEEDS_COMMENT to end of file.
4711         * soft-fp/fmadf4.c: Ditto.
4712         * soft-fp/fmatf4.c: Ditto.
4714 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4716         * sysdeps/i386/i586/Implies: Removed.
4717         * sysdeps/i386/i686/Implies: Likewise.
4719 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4721         * sysdeps/i386/i486/strlen.S: Moved to ...
4722         * sysdeps/i386/strlen.S: Here.
4724 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4726         * sysdeps/i386/i486/strcat.S: Moved to ...
4727         * sysdeps/i386/strcat.S: Here.
4729 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4731         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
4732         * sysdeps/i386/pthread_spin_trylock.S: Here.
4733         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
4734         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
4736 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4738         * sysdeps/i386/i486/string-inlines.c: Moved to ...
4739         * sysdeps/i386/string-inlines.c: Here.
4741 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4743         * sysdeps/i386/i486/htonl.S: Moved ...
4744         * sysdeps/i386/htonl.S: here.
4746 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4748         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
4749         * sysdeps/i386/bits/atomic.h: Here.
4751 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4753         * sysdeps/i386/i486/Versions: Removed.
4755 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4757         [BZ #2898]
4758         * misc/mktemp.c: Add mkdtemp to the link_warning message.
4759         Based on patch by Aurelien Jarno.
4761 2015-08-26  Stan Shebs  <stanshebs@google.com>
4763         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
4764         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4766 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4768         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
4769         * sysdeps/powerpc/dl-procinfo.c:
4770         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
4771         feature so it shows when LD_SHOW_AUXV=1.
4773 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4775         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4776         (__arch_compare_and_exchange_val_32_acq): Remove and use common
4777         definition.  ISA 2.07B no longer requires full sync.
4779 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
4781         [BZ #18863]
4782         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
4783         (si_call_addr): Define.
4784         (si_syscall): Define.
4785         (si_arch): Define.
4787 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4789         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
4790         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
4791         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
4792         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4793         (__memset_zero_constant_len_parameter): New.
4794         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
4795         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4796         (__memset_zero_constant_len_parameter): Don't define if
4797         __memset_chk or USE_AS_BZERO are defined.
4799         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
4800         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
4801         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
4803         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
4804         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
4805         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
4806         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
4807         comments.
4808         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
4809         -mno-mmx for $(all-rtld-routines).
4810         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
4811         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
4812         i386.
4814 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4816         * sysdeps/generic/unwind.h
4817         (_Unwind_Word): Use __mode__(__unwind_word__)
4818         instead of __mode__(__word__).
4819         (_Unwind_Sword): Likewise.
4821         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4822         (MAX_NEEDED_INPUT): New define.
4823         (MAX_NEEDED_OUTPUT): New define.
4825         * NEWS: New item for IBM z13 string optimizations.
4827         * sysdeps/s390/multiarch/memrchr-c.c: New File.
4828         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
4829         * sysdeps/s390/multiarch/memrchr.c: Likewise.
4830         * sysdeps/s390/multiarch/Makefile
4831         (sysdep_routines): Add memrchr functions.
4832         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4833         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
4835         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
4836         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
4837         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
4838         * sysdeps/s390/multiarch/Makefile
4839         (sysdep_routines): Add wmemcmp functions.
4840         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4841         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
4842         * benchtests/bench-wmemcmp.c: New File.
4843         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
4845         * sysdeps/s390/multiarch/wmemset-c.c: New File.
4846         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
4847         * sysdeps/s390/multiarch/wmemset.c: Likewise.
4848         * sysdeps/s390/multiarch/Makefile
4849         (sysdep_routines): Add wmemset functions.
4850         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4851         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
4852         * wcsmbs/wmemset.c: Use WMEMSET if defined.
4853         * string/test-memset.c: Add wmemset support.
4854         * wcsmbs/test-wmemset.c: New File.
4855         * wcsmbs/Makefile (strop-tests): Add wmemset.
4856         * benchtests/bench-memset.c: Add wmemset support.
4857         * benchtests/bench-wmemset.c: New File.
4858         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
4860         * sysdeps/s390/multiarch/memccpy-c.c: New File.
4861         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
4862         * sysdeps/s390/multiarch/memccpy.c: Likewise.
4863         * sysdeps/s390/multiarch/Makefile
4864         (sysdep_routines): Add memccpy functions.
4865         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4866         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
4867         * string/memccpy.c: Use MEMCCPY if defined.
4869         * sysdeps/s390/multiarch/memchr-vx.S: New File.
4870         * sysdeps/s390/multiarch/memchr.c: Likewise.
4871         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
4872         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
4873         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4874         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
4875         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
4876         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4877         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
4878         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4879         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
4880         and rawmemchr functions.
4881         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4882         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
4883         and wmemchr.
4884         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
4885         * string/test-memchr.c: Add wmemchr support.
4886         * wcsmbs/test-wmemchr.c: New File.
4887         * wcsmbs/Makefile (strop-tests): Add wmemchr.
4888         * benchtests/bench-memchr.c: Add wmemchr support.
4889         * benchtests/bench-wmemchr.c: New File.
4890         * benchtests/Makefile (wcsmbs-bench): wmemchr.
4892         * sysdeps/s390/multiarch/strcspn-c.c: New File.
4893         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
4894         * sysdeps/s390/multiarch/strcspn.c: Likewise.
4895         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
4896         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
4897         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
4898         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
4899         wcscspn functions.
4900         * sysdeps/s390/multiarch/ifunc-impl-list.c
4901         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
4902         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
4903         * string/test-strcspn.c: Add wcscspn support.
4904         * wcsmbs/test-wcscspn.c: New File.
4905         * wcsmbs/Makefile (strop-tests): Add wcscspn.
4906         * benchtests/bench-strcspn.c: Add wcscspn support.
4907         * benchtests/bench-wcscspn.c: New File.
4908         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
4910         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
4911         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
4912         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4913         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
4914         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
4915         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4916         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
4917         wcspbrk functions.
4918         * sysdeps/s390/multiarch/ifunc-impl-list.c
4919         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
4920         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
4921         * string/test-strpbrk.c: Add wcspbrk support.
4922         * wcsmbs/test-wcspbrk.c: New File.
4923         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
4924         * benchtests/bench-strpbrk.c: Add wcspbrk support.
4925         * benchtests/bench-wcspbrk.c: New File.
4926         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
4928         * sysdeps/s390/multiarch/strspn-c.c: New File.
4929         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
4930         * sysdeps/s390/multiarch/strspn.c: Likewise.
4931         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
4932         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
4933         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4934         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
4935         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
4936         wcsspn functions.
4937         * sysdeps/s390/multiarch/ifunc-impl-list.c
4938         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
4939         * string/test-strspn.c: Add wcsspn support.
4940         * wcsmbs/test-wcsspn.c: New File.
4941         * wcsmbs/Makefile (strop-tests): Add wcsspn.
4942         * benchtests/bench-strspn.c: Add wcsspn support.
4943         * benchtests/bench-wcsspn.c: New File.
4944         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
4946         * sysdeps/s390/multiarch/strrchr-c.c: New File.
4947         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
4948         * sysdeps/s390/multiarch/strrchr.c: Likewise.
4949         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
4950         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
4951         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
4952         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
4953         wcsrchr functions.
4954         * sysdeps/s390/multiarch/ifunc-impl-list.c
4955         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
4956         * benchtests/bench-wcsrchr.c: New File.
4957         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
4959         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
4960         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
4961         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
4962         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
4963         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
4964         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
4965         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
4966         wcschrnul functions.
4967         * sysdeps/s390/multiarch/ifunc-impl-list.c
4968         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
4969         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
4970         * string/test-strchr.c: Add wcschrnul support.
4971         * wcsmbs/test-wcschrnul.c: New File.
4972         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
4973         * benchtests/bench-strchr.c: Add wcschrnul support.
4974         * benchtests/bench-wcschrnul.c: New File.
4975         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
4977         * sysdeps/s390/multiarch/strchr-c.c: New File.
4978         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
4979         * sysdeps/s390/multiarch/strchr.c: Likewise.
4980         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
4981         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
4982         * sysdeps/s390/multiarch/wcschr.c: Likewise.
4983         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
4984         wcschr functions.
4985         * sysdeps/s390/multiarch/ifunc-impl-list.c
4986         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
4987         * string/strchr.c (STRCHR): Define and use macro.
4988         * benchtests/bench-wcschr.c: New File.
4989         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
4991         * sysdeps/s390/multiarch/strncmp-c.c: New File.
4992         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
4993         * sysdeps/s390/multiarch/strncmp.c: Likewise.
4994         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
4995         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
4996         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
4997         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
4998         wcsncmp functions.
4999         * sysdeps/s390/multiarch/ifunc-impl-list.c
5000         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
5001         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
5002         * benchtests/bench-strncmp.c: Add wcsncmp support.
5003         * benchtests/bench-wcsncmp.c: New File.
5004         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
5006         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
5007         * sysdeps/s390/multiarch/strcmp.c: Likewise.
5008         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
5009         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
5010         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5011         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
5012         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5013         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
5014         wcscmp functions.
5015         * sysdeps/s390/multiarch/ifunc-impl-list.c
5016         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
5017         * string/strcmp.c (STRCMP): Define and use macro.
5018         * benchtests/bench-wcscmp.c: New File.
5019         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
5020         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
5021         instead of _HAVE_STRING_ARCH_memchr.
5023         * sysdeps/s390/multiarch/strncat-c.c: New File.
5024         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
5025         * sysdeps/s390/multiarch/strncat.c: Likewise.
5026         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
5027         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
5028         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
5029         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
5030         wcsncat functions.
5031         * sysdeps/s390/multiarch/ifunc-impl-list.c
5032         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
5033         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
5034         * string/test-strncat.c: Add wcsncat support.
5035         * wcsmbs/test-wcsncat.c: New File.
5036         * wcsmbs/Makefile (strop-tests): Add wcsncat.
5037         * benchtests/bench-strncat.c: Add wcsncat support.
5038         * benchtests/bench-wcsncat.c: New File.
5039         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
5041         * sysdeps/s390/multiarch/strcat-c.c: New File.
5042         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
5043         * sysdeps/s390/multiarch/strcat.c: Likewise.
5044         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
5045         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
5046         * sysdeps/s390/multiarch/wcscat.c: Likewise.
5047         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
5048         wcscat functions.
5049         * sysdeps/s390/multiarch/ifunc-impl-list.c
5050         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
5051         * string/strcat.c (STRCAT): Define and use macro.
5052         * wcsmbs/wcscat.c: Use WCSCAT if defined.
5053         * string/test-strcat.c: Add wcscat support.
5054         * wcsmbs/test-wcscat.c: New File.
5055         * wcsmbs/Makefile (strop-tests): Add wcscat.
5056         * benchtests/bench-strcat.c: Add wcscat support.
5057         * benchtests/bench-wcscat.c: New File.
5058         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
5060         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
5061         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
5062         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5063         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
5064         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
5065         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
5066         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
5067         wcpncpy functions.
5068         * sysdeps/s390/multiarch/ifunc-impl-list.c
5069         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
5070         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
5071         * string/test-stpncpy.c: Add wcpncpy support.
5072         * wcsmbs/test-wcpncpy.c: New File.
5073         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
5074         * benchtests/bench-stpncpy.c: Add wcpncpy support.
5075         * benchtests/bench-wcpncpy.c: New File.
5076         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
5078         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
5079         * sysdeps/s390/multiarch/strncpy.c: Likewise.
5080         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
5081         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
5082         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
5083         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
5084         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5085         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
5086         wcsncpy functions.
5087         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
5088         * sysdeps/s390/multiarch/ifunc-impl-list.c
5089         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
5090         * string/test-strncpy.c: Add wcsncpy support.
5091         * wcsmbs/test-wcsncpy.c: New File.
5092         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
5093         * benchtests/bench-strncpy.c: Add wcsncpy support.
5094         * benchtests/bench-wcsncpy.c: New File.
5095         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
5097         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
5098         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
5099         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5100         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
5101         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
5102         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
5103         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
5104         wcpcpy functions.
5105         * string/stpcpy.c: Use STPCPY if defined.
5106         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
5107         * sysdeps/s390/multiarch/ifunc-impl-list.c
5108         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
5109         * string/test-stpcpy.c: Add wcpcpy support.
5110         * wcsmbs/test-wcpcpy.c: New File.
5111         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
5112         * benchtests/bench-stpcpy.c: Add wcpcpy support.
5113         * benchtests/bench-wcpcpy.c: New File.
5114         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
5116         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
5117         * sysdeps/s390/multiarch/strcpy.c: Likewise.
5118         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
5119         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
5120         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
5121         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
5122         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5123         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
5124         wcscpy functions.
5125         * sysdeps/s390/multiarch/ifunc-impl-list.c
5126         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
5127         * benchtests/bench-wcscpy.c: New File.
5128         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
5130         * sysdeps/s390/multiarch/strnlen-c.c: New File.
5131         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
5132         * sysdeps/s390/multiarch/strnlen.c: Likewise.
5133         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
5134         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
5135         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
5136         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
5137         wcsnlen functions.
5138         * sysdeps/s390/multiarch/ifunc-impl-list.c
5139         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
5140         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
5141         * string/test-strnlen.c: Add wcsnlen support.
5142         * wcsmbs/test-wcsnlen.c: New File.
5143         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
5144         * benchtests/bench-strnlen.c: Add wcsnlen support.
5145         * benchtests/bench-wcsnlen.c: New File.
5146         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
5148         * sysdeps/s390/multiarch/Makefile: New File.
5149         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
5150         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
5151         * sysdeps/s390/multiarch/strlen.c: Likewise.
5152         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
5153         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
5154         * sysdeps/s390/multiarch/wcslen.c: Likewise.
5155         * string/strlen.c (STRLEN): Define and use macro.
5156         * sysdeps/s390/multiarch/ifunc-impl-list.c
5157         (IFUNC_VX_IMPL): New macro function.
5158         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
5159         * benchtests/Makefile (wcsmbs-bench): New variable.
5160         (string-bench-all): Added wcsmbs-bench.
5161         * benchtests/bench-wcslen.c: New File.
5163         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
5164         s390_vx_libc_ifunc2): New macro function.
5166         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
5167         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
5168         assembler support.
5169         * sysdeps/s390/configure: Regenerated.
5171         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
5172         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
5174         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
5175         * sysdeps/s390/dl-procinfo.h: Add vector capability.
5176         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
5178         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5179         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
5180         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
5181         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
5182         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
5183         (memcmp, bcmp): Use __memcmp_default as alias source.
5184         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
5185         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
5186         Rename to __memcmp_default.
5187         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
5188         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
5189         (memcpy): Use __memcpy_default as alias source.
5190         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
5191         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
5192         Rename to __memcpy_default.
5193         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
5194         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
5195         (memset): Use __memset_default as alias source.
5196         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
5197         * sysdeps/s390/s390-32/memset.S (__memset_g5):
5198         Rename to __memset_default.
5199         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
5200         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
5201         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
5202         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
5203         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
5204         (memcmp, bcmp): Use __memcmp_default as alias source.
5205         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
5206         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
5207         Rename to __memcmp_default.
5208         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
5209         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
5210         (memcpy): Use __memcpy_default as alias source.
5211         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
5212         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
5213         Rename to __memcpy_default.
5214         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
5215         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
5216         (memset): Use __memset_default as alias source.
5217         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
5218         * sysdeps/s390/s390-64/memset.S (__memset_z900):
5219         Rename to __memset_default.
5220         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
5221         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
5223         [BZ #18610]
5224         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
5225         __ieee_instruction_pointer to __unused.
5226         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
5227         __ieee_instruction_pointer.
5228         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
5229         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
5230         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5231         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
5232         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
5233         Mark dxc-field as reserved.
5235 2015-08-25  Roland McGrath  <roland@hack.frob.com>
5237         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
5238         if the weak reference is not null.
5240 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5242         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
5244         [BZ #11214]
5245         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
5247 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5249         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
5250         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
5251         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
5252         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
5253         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
5254         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
5255         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
5256         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
5257         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
5258         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
5259         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
5260         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
5261         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
5262         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
5263         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
5264         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
5265         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
5266         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
5268 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5270         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
5271         register other than r0 for tabort, it has special meaning.
5272         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
5273         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
5274         transaction before starting syscall.
5276 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5278         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
5280 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5282         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
5284         * sysdeps/x86_64/rtld-memcmp.c: Removed.
5285         * sysdeps/x86_64/rtld-memset.S: Likewise.
5286         * sysdeps/x86_64/rtld-strchr.S: Likewise.
5287         * sysdeps/x86_64/rtld-strlen.S: Likewise.
5288         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
5289         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5291         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
5293 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
5295         * debug/strcpy_chk.c: Improve performance.
5296         * debug/stpcpy_chk.c: Likewise.
5297         * sysdeps/x86_64/strcpy_chk.S: Remove.
5298         * sysdeps/x86_64/stpcpy_chk.S: Remove.
5300         [BZ #18240]
5301         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
5303 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5305         [BZ #15128]
5306         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
5307         ifuncmain8.
5308         (modules-names): Add ifuncmod8.
5309         ($(objpfx)ifuncmain8): New rule.
5310         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
5311         <cpuid.h>.
5312         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
5313         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
5314         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
5315         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
5316         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
5317         * sysdeps/x86_64/dl-trampoline.h: Likewise.
5318         * sysdeps/x86_64/ifuncmain8.c: New file.
5319         * sysdeps/x86_64/ifuncmod8.c: Likewise.
5320         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
5321         Removed.
5322         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
5323         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
5324         Change rtld_savespace_sse to __glibc_unused2.
5325         (RTLD_CHECK_FOREIGN_CALL): Removed.
5326         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
5327         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
5328         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
5330 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
5332         * sysdeps/aarch64/bzero.S (__bzero): Remove.
5334 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
5336         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
5337         Unconditionally set __fpcr to avoid uninialized warning.
5338         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
5340 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5342         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
5343         is corrupt.
5345         * malloc/arena.c (arena_get2): Drop unused argument.
5346         (arena_lock): Adjust.
5347         (arena_get_retry): Likewise.
5349 2015-08-24  Andreas Schwab  <schwab@suse.de>
5351         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
5352         Don't define.
5353         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5354         (__ASSUME_IPC64): Don't undef.
5355         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
5356         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5357         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5358         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
5359         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
5360         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
5361         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
5362         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
5363         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
5364         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
5365         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
5366         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
5367         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
5368         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
5369         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
5370         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
5371         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
5372         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
5373         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
5374         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
5375         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
5377 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
5379         * manual/Makefile (install): Only build manual when perl is available.
5381 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5383         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
5384         '#undef memcpy' by '#undef memchr'.
5386 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5388         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
5389         memchr not point to the internal __GI_memchr implementation.
5391 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
5393         * timezone/Makefile (CFLAGS-zdump.c): Remove
5394         -Wno-strict-prototypes.
5395         (CFLAGS-zic.c): Likewise.
5396         (CFLAGS-ialloc.c): Likewise.
5397         (CFLAGS-scheck.c): Likewise.
5399         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
5400         -Wno-error=undef.
5402 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5404         * i386/i686/multiarch/strcasestr-c.c: Removed.
5405         * x86_64/multiarch/strcasestr.c: Likewise.
5406         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5407         Remove strcasestr.
5409 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
5411         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
5413         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
5414         variables for high and low parts before possibly modifying them.
5416 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5418         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
5419         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
5420         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
5421         of "multiarch/init-arch.h".
5422         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
5423         * sysdeps/x86/init-arch.h: This.
5425 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5427         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
5428         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
5430 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
5432         [BZ #17787]
5433         * manual/macros.texi: Add twoexp macro.
5434         * manual/filesys.texi: Fix exponents.
5435         * manual/llio.texi: Likewise.
5436         * manual/stdio.texi: Likewise.
5438 2015-08-20  Florian Weimer  <fweimer@redhat.com>
5440         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
5441         incorrect use.
5443 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
5445         [BZ #18370]
5446         * math/s_csqrt.c (__csqrt): Force underflow exception for results
5447         whose real or imaginary part has small absolute value.
5448         * math/s_csqrtf.c (__csqrtf): Likewise.
5449         * math/s_csqrtl.c (__csqrtl): Likewise.
5450         * math/auto-libm-test-in: Add more tests of csqrt.
5451         * math/auto-libm-test-out: Regenerated.
5452         * sysdeps/i386/fpu/libm-test-ulps: Update.
5454 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5456         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
5457         __ppc_set_ppr_very_low): New functions.
5458         * manual/platform.texi: Add documentation about
5459         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
5461 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
5463         * string/stpncpy.c (stpncpy): Improve performance using
5464         __strnlen/memcpy/memset.
5466 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5468         [BZ #18796]
5469         * scripts/test-installation.pl: Don't add -lmvec to build options if
5470         libmvec wasn't built.
5472 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
5474         [BZ #14341]
5475         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
5476         case when there is a gap between DT_REL and DT_JMPREL sections.
5477         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
5478         (LDFLAGS-tst-split-dynreloc): New.
5479         (tst-split-dynreloc-ENV): Likewise.
5480         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
5481         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
5483 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5485         [BZ #18822]
5486         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
5487         attribute_hidden.
5488         (__xstat64_conv): Likewise.
5489         (__xstat32_conv): Likewise.
5491 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5493         [BZ #18822]
5494         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
5495         Don't load %ebx when calling __setcontext.  Call __setcontext
5496         with HIDDEN_JUMPTARGET.
5497         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
5498         libc_hidden_def.
5500 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5502         * sysdeps/i386/i686/Makefile
5503         [$(subdir) == string] (sysdep_routines): Moved to ...
5504         * sysdeps/i386/Makefile: Here.
5505         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
5506         * sysdeps/i386/cacheinfo.c: Here.
5507         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
5508         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
5509         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
5510         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
5512 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5514         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
5515         __i586__ is defined.
5516         (HAS_I686): Defined to 1 if __i686__ is defined.
5518 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
5520         * elf/Makefile [$(have-z-execstack) = yes]
5521         (CPPFLAGS-tst-execstack.c): New variable.
5523         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
5524         conditional to [defined UTMPX || _HAVE_UT_TYPE].
5525         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
5526         UTMPX || _HAVE_UT_TV].
5527         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
5528         UTMPX || _HAVE_UT_TV - 0].
5530 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
5532         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
5533         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
5534         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
5536 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5538         * sysdeps/powerpc/dl-procinfo.c:
5539         (_dl_powerpc_cap_flags): Added missing strings for some
5540         hwcap features.
5541         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
5543 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
5545         Port the 0x7efe...feff pattern to GCC 6.
5546         See Steve Ellcey's bug report in:
5547         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
5548         * string/memrchr.c (MEMRCHR):
5549         * string/rawmemchr.c (RAWMEMCHR):
5550         * string/strchr.c (strchr):
5551         * string/strchrnul.c (STRCHRNUL):
5552         Rewrite code to avoid issues with signed shift overflow.
5554 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
5556         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
5557         whether cpuid is available only if HAS_CPUID is 0.
5558         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
5559         (HAS_I586): Likewise.
5560         (HAS_I686): Likewise.
5562 2015-08-18  Zack Weinberg  <zackw@panix.com>
5564         * misc/Versions (libc): Add GLIBC_2.23.
5566 2015-08-18  Alan Modra  <amodra@gmail.com>
5568         [BZ #18421]
5569         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
5570         .Lp__global.
5571         (_start): Load %dp via .Lp__global.
5572         [!SHARED]: Use .section .rodata.
5574 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5576         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
5577         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
5579 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5581         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
5582         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
5584 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5586         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
5587         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
5589 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5591         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
5592         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
5594 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5596         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
5597         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
5599 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5601         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
5602         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
5604 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5606         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
5608 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5610         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
5611         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
5612         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5613         (__ASSUME_LWS_CAS): Delete.
5615 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5617         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
5618         * sysdeps/hppa/configure: Regenerated.
5619         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
5620         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
5621         * sysdeps/hppa/nptl/tls.h: Likewise.
5623 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
5625         [BZ #18823]
5626         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
5627         for scaling up small arguments.
5628         * math/s_csqrtf.c (__csqrtf): Likewise.
5629         * math/s_csqrtl.c (__csqrtl): Likewise.
5630         * math/auto-libm-test-in: Add more tests of csqrt.
5631         * math/auto-libm-test-out: Regenerated.
5633 2015-08-17  Andreas Schwab  <schwab@suse.de>
5635         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
5636         version set GLIBC_2.19.
5638 2015-08-16  Zack Weinberg  <zackw@panix.com>
5640         [BZ #18681]
5641         * misc/regexp.h: This interface is no longer supported.
5642         Remove all contents, leaving only an #error directive.
5643         * misc/regexp.c (loc1, loc2, locs, step, advance):
5644         Demote to compatibility symbols.
5646 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
5648         [BZ #18084]
5649         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
5650         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
5651         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5652         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
5653         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
5654         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
5655         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
5656         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
5657         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5659 2015-08-15  Zack Weinberg  <zackw@panix.com>
5661         [BZ #18795]
5662         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
5663         buffer length is known to be too large, not if it's known to be
5664         small enough.
5665         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
5666         overflow at runtime, involving a length parameter, twice: once
5667         with a compile-time constant length parameter, once without.
5669 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
5671         [BZ #18824]
5672         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
5673         scaling x * y up instead of down.
5674         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5675         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5676         * math/auto-libm-test-in: Add more tests of fma.
5677         * math/auto-libm-test-out: Regenerated.
5679 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5681         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5683 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5685         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
5686         unnecessary movq.
5687         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
5688         Likewise.
5690 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
5692         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5693         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
5694         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
5695         and tgamma.
5696         * math/auto-libm-test-out: Regenerated.
5697         * sysdeps/i386/fpu/libm-test-ulps: Update.
5698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5700         [BZ #16520]
5701         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
5702         (__tanh): Force underflow exception for arguments with small
5703         absolute value.
5704         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
5705         (__tanhf): Force underflow exception for arguments with small
5706         absolute value.
5707         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
5708         (__tanhl): Force underflow exception for arguments with small
5709         absolute value.
5710         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
5711         (__tanhl): Force underflow exception for arguments with small
5712         absolute value.
5713         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
5714         (__tanhl): Force underflow exception for arguments with small
5715         absolute value.
5716         * math/auto-libm-test-in: Add more tests of tanh.
5717         * math/auto-libm-test-out: Regenerated.
5718         * sysdeps/i386/fpu/libm-test-ulps: Update.
5720 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5722         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
5723         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
5725 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5727         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
5728         <cpuid.h>.
5730 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5732         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
5733         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
5735 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5737         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
5738         Remove $(objpfx)init-arch.o.
5739         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
5740         init-arch.
5741         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
5742         (INIT_ARCH_EXT): Defined as empty.
5743         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
5744         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
5745         __init_cpu_features call.  Replace HAS_XXX with
5746         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5747         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
5748         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
5749         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
5750         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
5751         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
5752         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
5753         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
5754         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
5755         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
5756         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
5757         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
5758         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
5759         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
5760         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
5761         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
5762         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
5763         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
5764         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
5765         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
5766         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
5767         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
5768         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
5769         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
5770         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
5771         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
5772         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
5773         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
5774         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
5775         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
5776         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
5777         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
5778         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
5779         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
5780         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
5781         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
5783 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5785         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
5786         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5787         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5788         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5789         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
5790         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
5791         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
5792         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
5793         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
5794         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
5795         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
5796         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
5797         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5798         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5799         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5800         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5801         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5802         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5803         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5804         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5805         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5806         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5807         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5808         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5809         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5810         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5811         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5812         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5813         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5814         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5815         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5816         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5817         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5818         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5819         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5820         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5821         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5822         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5823         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5824         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5825         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5826         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5827         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5829 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5831         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
5832         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5833         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5834         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5835         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5836         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
5837         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5838         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
5839         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5840         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5841         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5842         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
5843         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
5844         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
5845         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
5846         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
5847         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
5848         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
5849         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
5850         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
5851         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5852         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
5853         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
5854         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5855         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5856         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
5857         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
5858         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
5859         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5860         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5861         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5862         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5863         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5864         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5865         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5866         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5867         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5868         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5869         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5870         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5871         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5872         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5873         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5875 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5877         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
5878         (dl_platform_init): Call init_cpu_features.
5879         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
5880         * sysdeps/i386/i686/cacheinfo.c
5881         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
5882         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
5883         * sysdeps/i386/i686/multiarch/Versions: Removed.
5884         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
5885         Removed.
5886         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
5887         * sysdeps/unix/sysv/linux/x86/Makefile
5888         (libpthread-sysdep_routines): Remove init-arch.
5889         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
5890         <sysdeps/x86_64/dl-procinfo.c> instead of
5891         sysdeps/generic/dl-procinfo.c>.
5892         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
5893         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
5894         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
5895         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
5896         [$(subdir) == elf] (tests-static): Add
5897         tst-get-cpu-features-static.
5898         * sysdeps/x86/Versions: New file.
5899         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
5900         * sysdeps/x86/cpu-features.c: Likewise.
5901         * sysdeps/x86/cpu-features.h: Likewise.
5902         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
5903         * sysdeps/x86/libc-start.c: Likewise.
5904         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5905         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
5906         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
5907         * sysdeps/x86_64/dl-procinfo.c: Likewise.
5908         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
5909         Assume USE_MULTIARCH is defined and don't check it.
5910         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
5911         (is_amd): Likewise.
5912         (max_cpuid): Likewise.
5913         (intel_check_word): Likewise.
5914         (__cache_sysconf): Don't call __init_cpu_features.
5915         (__x86_preferred_memory_instruction): Removed.
5916         (init_cacheinfo): Don't call __init_cpu_features. Replace
5917         __cpu_features with GLRO(dl_x86_cpu_features).
5918         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
5919         (dl_platform_init): Call init_cpu_features.
5920         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
5921         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
5922         * sysdeps/x86_64/multiarch/Versions: Removed.
5923         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
5924         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
5925         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
5926         Removed.
5927         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
5929 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5931         [BZ #18820]
5932         * libio/Makefile (test-fmemopen-mem): New test.
5933         * libio/test-fmemopen.c (do_bz18820): New test.
5934         * libio/fmemopen.c (__fmemopen): Fix memory leak.
5935         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
5937 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5939         [BZ #16734]
5940         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
5941         (FREE_BUF): Delete.
5942         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
5943         * libio/genops.c (_IO_setb): Use malloc and free directly.
5944         (_IO_default_doallocate, _IO_default_finish): Likewise.
5945         ( _IO_unbuffer_all): Likewise.
5946         ( libc_freeres_fn): Likewise.
5947         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5948         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5949         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
5950         (_IO_wdefault_doallocate): Likewise.
5952 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5954         [BZ #18086]
5955         * sysdeps/posix/nice.c (nice): Restore old errno.
5956         * posix/tst-nice.c (do_test): Add test for BZ #18086.
5958 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
5960         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
5962 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5964         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
5965         __bcopy and add a weak_alias to bcopy.
5966         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
5967         for static build.
5969         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
5970         cleanup macro usage.
5971         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
5972         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
5973         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5974         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
5975         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5976         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
5977         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
5978         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
5979         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5980         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
5981         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5982         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
5983         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5984         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
5985         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5986         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
5987         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
5988         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
5989         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
5991         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
5992         libc_hidden_def.
5993         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
5995         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
5996         (sysdep_routines): Add strstr-ppc64.
5997         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
5999 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
6001         [BZ #18778]
6002         * elf/Makefile (tests): Add Add tst-nodelete2.
6003         (modules-names): Add tst-nodelete2mod.
6004         (tst-nodelete2mod.so-no-z-defs): New.
6005         ($(objpfx)tst-nodelete2): Likewise.
6006         ($(objpfx)tst-nodelete2.out): Likewise.
6007         (LDFLAGS-tst-nodelete2): Likewise.
6008         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
6009         out of loop through all loaded libraries.
6010         * elf/tst-nodelete2.c: New file.
6011         * elf/tst-nodelete2mod.c: Likewise.
6012         * elf/tst-znodelete-zlib.cc: Delete.
6014 2015-08-11  Andreas Schwab  <schwab@suse.de>
6016         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
6017         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
6018         (__openat64_nocancel): Likewise.
6020 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
6022         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
6023         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
6024         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
6025         * math/auto-libm-test-out: Regenerated.
6026         * sysdeps/i386/fpu/libm-test-ulps: Update.
6027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6029 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
6031         [BZ #18790]
6032         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
6033         threshold for returning +/- 1.
6034         * math/auto-libm-test-in: Add more tests of tanh.
6035         * math/auto-libm-test-out: Regenerated.
6036         * sysdeps/i386/fpu/libm-test-ulps: Update.
6038 2015-08-10  Andreas Schwab  <schwab@suse.de>
6040         [BZ #18781]
6041         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
6042         MORE_OFLAGS to oflag.
6043         * io/test-lfs.c (do_test): Test openat64.
6045 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
6047         [BZ #18789]
6048         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
6049         smaller threshold for returning the argument.
6050         * math/auto-libm-test-in: Add more tests of sinh.
6051         * math/auto-libm-test-out: Regenerated.
6052         * sysdeps/i386/fpu/libm-test-ulps: Update.
6054 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
6056         [BZ #18674]
6057         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
6058         break.
6060 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6062         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
6063         (generated): Don't add $(addprefix z.,$(tzfiles)).
6065 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6067         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
6068         * scripts/sysd-rules.awk: Likewise.
6070 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6072         * iconvdata/tst-tables.sh: Change echo -n to printf.
6073         * nss/db-Makefile: Likewise.
6074         * posix/tst-getconf.sh: Likewise.
6075         * stdio-common/tst-unbputc.sh: Likewise.
6077 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6079         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
6080         MADV_*_PAGES defines behind this feature check.
6082 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
6084         [BZ #18480]
6085         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
6086         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
6087         Define.
6088         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
6089         LOAD_REGS_5, LOAD_REGS_6): Update.
6090         (INTERNAL_SYSCALL): Update using new LOAD defines.
6091         (INTERNAL_SYSCALL_NCS): Likewise.
6092         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
6094 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6096         [BZ #16734]
6097         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
6099 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6101         [BZ #17905]
6102         * catgets/Makefile (tst-catgets-mem): New test.
6103         * catgets/catgets.c (catopen): Don't use unbounded alloca.
6104         * catgets/open_catalog.c (__open_catalog): Likewise.
6105         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
6107 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
6109         [BZ #18787]
6110         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
6111         clobber registers.
6112         (atomic_compare_and_exchange_val_acq): Use register asms to assign
6113         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
6114         Cast return to __typeof (oldval).
6116 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
6118         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
6119         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
6120         and delete sys/syscall.h include.
6122 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
6124         [BZ #16517]
6125         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
6126         (tan): Force underflow exception for arguments with small absolute
6127         value.
6128         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
6129         (__kernel_tanf): Force underflow exception for arguments with
6130         small absolute value.
6131         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
6132         (__kernel_tanl): Force underflow exception for arguments with
6133         small absolute value.
6134         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
6135         (__kernel_tanl): Force underflow exception for arguments with
6136         small absolute value.
6137         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
6138         (__kernel_tanl): Force underflow exception for arguments with
6139         small absolute value.
6140         * math/auto-libm-test-in: Add more tests of tan.
6141         * math/auto-libm-test-out: Regenerated.
6143 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6145         Fix sysdeps/i386/fpu/s_scalbn.S build
6147         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
6149 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
6151         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
6153 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6155         Fix gcrt0.o compilation
6157         When static-start-installed-name is different from
6158         start-installed-name, we must not use the shared objects.
6160         * csu/Makefile
6161         (extra-objs): Add gmon-start.o when building shared library and
6162         $(static-start-installed-name) is different from
6163         $(start-installed-name).
6164         $(objpfx)g$(static-start-installed-name): When building shared
6165         library and $(static-start-installed-name) is different from
6166         $(static-start-installed-name), revert to non-shared rule,
6167         i.e. using $(objpfx)% and gmon-start.o.
6169 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
6171         [BZ #16519]
6172         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
6173         (__ieee754_sinh): Force underflow exception for arguments with
6174         small absolute value.
6175         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
6176         (__ieee754_sinhf): Force underflow exception for arguments with
6177         small absolute value.
6178         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
6179         (__ieee754_sinhl): Force underflow exception for arguments with
6180         small absolute value.
6181         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
6182         (__ieee754_sinhl): Force underflow exception for arguments with
6183         small absolute value.
6184         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
6185         (__ieee754_sinhl): Force underflow exception for arguments with
6186         small absolute value.
6187         * math/auto-libm-test-in: Add more tests of sinh.
6188         * math/auto-libm-test-out: Regenerated.
6189         * sysdeps/i386/fpu/libm-test-ulps: Update.
6191 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6193         * libio/oldfileops.c: Include unistd.h.
6195 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
6197         * stdlib/isomac.c: Include ctype.h.
6199 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
6201         * dirent/tst-seekdir.c (main): Converted to ...
6202         (do_test): ... this.
6203         (TEST_FUNCTION): New macro.
6204         Include test-skeleton.c.
6205         * elf/tst-dlmodcount.c (main): Converted to ...
6206         (do_test): ... this.
6207         (TEST_FUNCTION): New macro.
6208         Include test-skeleton.c.
6209         * elf/tst-order-main.c (main): Converted to ...
6210         (do_test): ... this.
6211         (TEST_FUNCTION): New macro.
6212         Include test-skeleton.c.
6213         * elf/tst-pie2.c (main): Converted to ...
6214         (do_test): ... this.
6215         (TEST_FUNCTION): New macro.
6216         Include test-skeleton.c.
6217         * inet/tst-ether_aton.c (main): Converted to ...
6218         (do_test): ... this.
6219         (TEST_FUNCTION): New macro.
6220         Include test-skeleton.c.
6221         * misc/tst-mntent.c (main): Converted to ...
6222         (do_test): ... this.
6223         (TEST_FUNCTION): New macro.
6224         Include test-skeleton.c.
6225         * misc/tst-tsearch.c (main): Converted to ...
6226         (do_test): ... this.
6227         (TEST_FUNCTION): New macro.
6228         Include test-skeleton.c.
6229         * posix/tst-regexloc.c (main): Converted to ...
6230         (do_test): ... this.
6231         (TEST_FUNCTION): New macro.
6232         Include test-skeleton.c.
6233         * resolv/tst-aton.c (main): Converted to ...
6234         (do_test): ... this.
6235         (TEST_FUNCTION): New macro.
6236         Include test-skeleton.c.
6237         * stdio-common/test-fwrite.c (main): Converted to ...
6238         (do_test): ... this.
6239         (TEST_FUNCTION): New macro.
6240         Include test-skeleton.c.
6241         * stdio-common/tst-ferror.c (main): Converted to ...
6242         (do_test): ... this.
6243         (TEST_FUNCTION): New macro.
6244         Include test-skeleton.c.
6245         * stdio-common/tst-printf.c (main): Converted to ...
6246         (do_test): ... this.
6247         (TEST_FUNCTION): New macro.
6248         Include test-skeleton.c.
6249         * stdio-common/tst-printfsz.c (main): Converted to ...
6250         (do_test): ... this.
6251         (TEST_FUNCTION): New macro.
6252         Include test-skeleton.c.
6253         * stdlib/tst-strtod.c (main): Converted to ...
6254         (do_test): ... this.
6255         (TEST_FUNCTION): New macro.
6256         Include test-skeleton.c.
6257         * string/tst-strlen.c (main): Converted to ...
6258         (do_test): ... this.
6259         (TEST_FUNCTION): New macro.
6260         Include test-skeleton.c.
6261         * string/tst-svc.c (main): Converted to ...
6262         (do_test): ... this.
6263         (TEST_FUNCTION): New macro.
6264         Include test-skeleton.c.
6265         * time/tst-strptime.c (main): Converted to ...
6266         (do_test): ... this.
6267         (TEST_FUNCTION): New macro.
6268         Include test-skeleton.c.
6269         * timezone/tst-timezone.c (main): Converted to ...
6270         (do_test): ... this.
6271         (TEST_FUNCTION): New macro.
6272         Include test-skeleton.c.
6274 2015-08-05  Zack Weinberg  <zackw@panix.com>
6276         * misc/regexp.h: Update comments.
6278 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
6280         [BZ #18635]
6281         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
6282         before return label.
6284 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6286         [BZ #18661]
6287         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
6288         when calling __errno_location.
6289         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
6290         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
6292 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6294         [BZ #18661]
6295         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
6296         (__lll_timedwait_tid): Align stack to 16 bytes when calling
6297         __gettimeofday.
6299 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6301         [BZ #18661]
6302         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6303         (__start_context): Don't use pop to restore %rdi so that stack
6304         is aligned to 16 bytes when calling __setcontext.
6306 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6308         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
6309         only for libc.
6310         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6312 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6314         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
6315         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
6316         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
6318 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6320         * string/memccpy.c (memccpy):
6321         Improve performance by using memchr/memcpy/__mempcpy.
6323 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6325         * string/strncpy.c (strncpy):
6326         Improve performance by using __strnlen/memcpy.
6328 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6330         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6331         Optimize to avoid an unnecessary FPCR read.
6333 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6335         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6336         Optimize to reduce FPCR/FPSR accesses.
6338 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6340         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
6341         dead->data[category] != NULL.
6343 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
6345         [BZ #18647]
6346         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
6347         and |x| close to 1, use absolute value of x when computing log.
6348         * math/auto-libm-test-in: Add more tests of pow.
6349         * math/auto-libm-test-out: Regenerated.
6351 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6353         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
6354         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
6355         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
6357 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
6359         [BZ #18525]
6360         * locales/km_KH: Remove timezone definition.
6361         * locales/lo_LA: Likewise.
6362         * locales/my_MM: Likewise.
6363         * locales/nan_TW@latin: Likewise.
6364         * locales/th_TH: Likewise.
6365         * locales/uk_UA: Likewise.
6367 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
6369         [BZ #18265]
6370         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
6371         (wcsncat): Likewise.
6372         (wcscmp): Likewise.
6373         (wcsncmp): Likewise.
6375 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6377         * test-skeleton.c (usage): New function.
6378         (main): Call usage when opt is '?'.
6380 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6382         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
6383         before first use.
6385 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6387         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
6388         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
6389         in there too.
6391 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
6393         * version.h (RELEASE): Set to "development".
6394         (VERSION): Set to "2.22.90"
6396         * version.h (RELEASE): Set to "stable".
6397         (VERSION): Set to "2.22"
6398         * include/features.h (__GLIBC_MINOR__): Set to 22.
6400 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
6402         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
6403         Restructure macro to avoid "value computed is not used" warning.
6404         (atomic_compare_and_exchange_val_acq): Likewise.
6406 2015-08-04  Andreas Schwab  <schwab@suse.de>
6408         [BZ #18635]
6409         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
6410         ret.
6411         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
6413 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
6415         * po/pl.po: Updated translation.
6416         * po/uk.po: Likewise.
6417         * po/fi.po: Likewise.
6418         * po/ko.po: Likewise.
6419         * po/ru.po: Likewise.
6420         * po/vi.po: Likewise.
6422 2015-07-31  Zack Weinberg  <zackw@panix.com>
6424         [BZ #18681]
6425         * regexp.h: Add unconditional #warning stating that this header
6426         will be removed soon.  Revise banner comment to match.
6427         (compile): Consistently use ERROR instead of RETURN to report
6428         errors (partial fix for bz#18681).
6429         * regexp.c: Don't include regexp.h. Remove some unnecessary
6430         declarations.
6432 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
6434         * po/libc.pot: Regenerated.
6436 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6438         [BZ #18740]
6439         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
6440         float-vlen4-arch-ext-cflags): Removed.
6441         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
6442         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
6444 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6446         [BZ #14113]
6447         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
6448         aligned to __aligned__.
6449         (pthread_cond_t, pthread_rwlock_t): Likewise.
6451 2015-07-30  Torvald Riegel  <triegel@redhat.com>
6453         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
6455 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6457         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
6458         (struct sigaction): Change sa_flags from a long to an int, and add
6459         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
6461 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6463         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
6464         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
6465         sysdeps/generic/sysdep.h include.
6466         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
6467         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
6468         sysdeps/hppa/sysdep.h.
6469         (ENTRY, PSEUDO): Undefine before defining.
6471 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6473         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
6474         from scratch to use INTERNAL_SYSCALL.
6476 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
6478         [BZ #18078]
6479         * scripts/check-localplt.awk: Support alternate relocations.
6480         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
6481         sections.
6482         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
6483         malloc entries with + REL R_386_GLOB_DAT.
6484         * sysdeps/x86_64/localplt.data: New file.
6486 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
6488         [BZ #18731]
6489         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
6490         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6491         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6493 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6495         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
6497 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6499         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
6500         directly in terms of __sync_fetch_and_add and delete (int) cast.
6502 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6504         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
6505         the -D_ASM_IA64_CURRENT_H flag.
6507 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6509         [BZ #18641]
6510         * pwd/pwd.h (putpwent): Delete __nonnull markings.
6512 2015-07-27  Andreas Schwab  <schwab@suse.de>
6514         * conform/conformtest.pl (checknamespace): Filter out string
6515         literals while tokenizing.
6517 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6519         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6520         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
6521         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6523 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6525         * nptl/tst-join7mod.c: Add #include <string.h>.
6527 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6529         * sysdeps/nios2/libm-test-ulps: Update.
6531 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6533         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
6534         Fix order of arguments to the rt_sigprocmask syscall.
6535         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
6536         Likewise.
6538 2015-07-24  Roland McGrath  <roland@hack.frob.com>
6540         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
6542 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6544         [BZ #18457]
6545         * nptl/Makefile (tests): New test case tst-join7.
6546         (modules-names): New test case module tst-join7mod.
6547         * nptl/tst-join7.c: New file.
6548         * nptl/tst-join7mod.c: New file.
6549         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
6550         all translation units in libc.so, libpthread.so and rtld.
6552 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6556 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
6558         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
6559         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
6560         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
6561         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
6562         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
6563         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
6564         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
6565         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
6566         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
6567         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
6568         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
6569         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
6570         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
6571         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
6572         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
6573         implementation.
6575 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6577         [BZ #17711]
6578         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6579         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
6580         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6581         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6582         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
6583         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6585 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6587         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
6588         instead of just saying load lock in the comments.
6590 2015-07-23  Roland McGrath  <roland@hack.frob.com>
6592         * sysdeps/unix/Subdirs: Moved ...
6593         * sysdeps/posix/Subdirs: ... here.
6594         * login/pty.h (struct termios, struct winsize): Add forward decls.
6595         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
6596         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
6597         * sysdeps/arm/nacl/libc.abilist: Updated.
6598         * sysdeps/nacl/libutil.abilist: New file.
6600         * bits/signum.h: Update comments to mention 1003.1-2013 too.
6601         (SIGWINCH): New macro.
6603         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
6604         * sysdeps/arm/nacl/libc.abilist: Add it.
6606 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6608         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
6610 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6612         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6613         Swap __glibc_reserved0 and sa_flags order.
6615 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6617         [BZ #18657]
6618         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
6619         are pending TLS destructor calls.
6620         * include/link.h (struct link_map): Add concurrency note for
6621         L_TLS_DTOR_COUNT.
6622         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6623         Don't touch the link map flag.  Atomically increment
6624         l_tls_dtor_count.
6625         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
6626         Avoid taking the load lock and don't touch the link map flag.
6627         * stdlib/tst-tls-atexit-nodelete.c: New test case.
6628         * stdlib/Makefile (tests): Use it.
6629         * stdlib/tst-tls-atexit.c (do_test): dlopen
6630         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
6631         to allow tst-tls-atexit-nodelete test case to use it.
6633 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6635         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
6636         to bits/types.h.
6637         (msgqnum_t): New typedef.
6638         (msglen_t): Likewise.
6639         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
6640         and msg_qbytes type to msglen_t.
6642 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6644         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
6645         pad0 to __glibc_reserved0.
6646         (struct stat64): Likewise.
6648 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6650         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6651         Change sa_flags from a long to an int and add __glibc_reserved0 before
6652         it for padding.
6654 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6656         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
6657         anonymous by deleting "siginfo" name.
6659 2015-07-21  Roland McGrath  <roland@hack.frob.com>
6661         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
6662         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
6663         rather than __nacl_irt_filename.
6664         * sysdeps/nacl/xstat.c (__xstat): Likewise.
6666         * NEWS: New item for arm-nacl port.
6667         * sysdeps/arm/nacl/libc.abilist: New file.
6668         * sysdeps/nacl/ld.abilist: New file.
6669         * sysdeps/nacl/libBrokenLocale.abilist: New file.
6670         * sysdeps/nacl/libanl.abilist: New file.
6671         * sysdeps/nacl/libcrypt.abilist: New file.
6672         * sysdeps/nacl/libdl.abilist: New file.
6673         * sysdeps/nacl/libm.abilist: New file.
6674         * sysdeps/nacl/libpthread.abilist: New file.
6675         * sysdeps/nacl/libresolv.abilist: New file.
6676         * sysdeps/nacl/librt.abilist: New file.
6678 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
6680         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
6681         __startcontext to initialize the new context.
6682         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
6683         up CFI directive to forbid further backtracing.
6685 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
6687         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
6688         reference.
6689         * charmaps/ANSI_X3.4-1968: Likewise.
6690         * charmaps/BS_4730: Likewise.
6691         * charmaps/BS_VIEWDATA: Likewise.
6692         * charmaps/CP1250: Likewise.
6693         * charmaps/CP1251: Likewise.
6694         * charmaps/CP1252: Likewise.
6695         * charmaps/CP1253: Likewise.
6696         * charmaps/CP1254: Likewise.
6697         * charmaps/CP1255: Likewise.
6698         * charmaps/CP1256: Likewise.
6699         * charmaps/CSN_369103: Likewise.
6700         * charmaps/EBCDIC-DK-NO: Likewise.
6701         * charmaps/GB_1988-80: Likewise.
6702         * charmaps/GREEK-CCITT: Likewise.
6703         * charmaps/GREEK7: Likewise.
6704         * charmaps/INIS-8: Likewise.
6705         * charmaps/ISIRI-3342: Likewise.
6706         * charmaps/ISO_2033-1983: Likewise.
6707         * charmaps/ISO_5427-EXT: Likewise.
6708         * locales/POSIX: Likewise.
6709         * locales/ar_SA: Likewise.
6710         * locales/be_BY: Likewise.
6711         * locales/be_BY@latin: Likewise.
6712         * locales/ca_ES: Likewise.
6713         * locales/cs_CZ: Likewise.
6714         * locales/da_DK: Likewise.
6715         * locales/de_BE: Likewise.
6716         * locales/de_CH: Likewise.
6717         * locales/de_LU: Likewise.
6718         * locales/en_AU: Likewise.
6719         * locales/en_BW: Likewise.
6720         * locales/en_CA: Likewise.
6721         * locales/en_DK: Likewise.
6722         * locales/en_GB: Likewise.
6723         * locales/en_IE: Likewise.
6724         * locales/en_NZ: Likewise.
6725         * locales/en_ZA: Likewise.
6726         * locales/en_ZW: Likewise.
6727         * locales/es_AR: Likewise.
6728         * locales/es_BO: Likewise.
6729         * locales/es_CL: Likewise.
6730         * locales/es_CO: Likewise.
6731         * locales/es_DO: Likewise.
6732         * locales/es_EC: Likewise.
6733         * locales/es_ES: Likewise.
6734         * locales/es_HN: Likewise.
6735         * locales/es_MX: Likewise.
6736         * locales/es_PA: Likewise.
6737         * locales/es_PE: Likewise.
6738         * locales/es_PY: Likewise.
6739         * locales/es_SV: Likewise.
6740         * locales/es_US: Likewise.
6741         * locales/es_UY: Likewise.
6742         * locales/es_VE: Likewise.
6743         * locales/et_EE: Likewise.
6744         * locales/fa_IR: Likewise.
6745         * locales/fo_FO: Likewise.
6746         * locales/fr_CA: Likewise.
6747         * locales/fr_CH: Likewise.
6748         * locales/gv_GB: Likewise.
6749         * locales/he_IL: Likewise.
6750         * locales/hr_HR: Likewise.
6751         * locales/id_ID: Likewise.
6752         * locales/is_IS: Likewise.
6753         * locales/it_CH: Likewise.
6754         * locales/iw_IL: Likewise.
6755         * locales/kl_GL: Likewise.
6756         * locales/ko_KR: Likewise.
6757         * locales/kw_GB: Likewise.
6758         * locales/lg_UG: Likewise.
6759         * locales/lt_LT: Likewise.
6760         * locales/lv_LV: Likewise.
6761         * locales/mi_NZ: Likewise.
6762         * locales/nhn_MX: Likewise.
6763         * locales/nl_BE: Likewise.
6764         * locales/pl_PL: Likewise.
6765         * locales/sk_SK: Likewise.
6766         * locales/sl_SI: Likewise.
6767         * locales/sv_FI: Likewise.
6768         * locales/tl_PH: Likewise.
6769         * locales/tr_TR: Likewise.
6770         * locales/vi_VN: Likewise.
6772 2015-07-21  Khem Raj  <raj.khem@gmail.com>
6774         [BZ #17475]
6775         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
6776         of tu_IN and bh_IN.
6778 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
6780         [BZ #18694]
6781         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
6782         bits/wordsize.h.
6783         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
6785 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6787         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
6788         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
6789         (spawn_thread): New function.
6790         (load): Rename to reg_dtor_and_close.  Move dlopen to...
6791         (do_test): ... here.  Use IS_LOADED to test for its
6792         availability.
6794 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
6796         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6798 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
6800         [BZ #18696]
6801         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
6802         si_addr_bnd.
6803         (si_lower): New.
6804         (si_upper): Likewise.
6806 2015-07-16  David S. Miller  <davem@davemloft.net>
6808         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6810 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6812         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
6813         buffer.
6814         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
6815         fail output information.
6817 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
6820         and strstr-ppc64..
6821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6822         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
6823         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
6824         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
6825         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
6827 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6829         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6830         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6831         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6832         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6834 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6836         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
6837         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
6838         rtld_hidden_proto.
6839         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
6841 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6843         * tst-nodelete-opened.c (do_test): Add comment to clarify how
6844         the test can fail.
6846         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
6848         [BZ #18676]
6849         * elf/tst-nodelete-opened.c: New test case.
6850         * elf/tst-nodelete-opened-lib.c: New test case module.
6851         * elf/Makefile (tests, modules-names): Use them.
6852         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
6853         early.
6855 2015-07-15  David S. Miller  <davem@davemloft.net>
6857         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
6858         futex-intenal.h
6859         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
6860         * sysdeps/sparc/sparc64/Makefile: Likewise.
6861         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
6862         Remove space from macro define.
6863         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
6865 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
6867         [BZ #17475]
6868         * locale/iso-639.def: Update Bhili and Tulu language codes as
6869         per iso639-3.
6871 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
6873         * elf/tst-leaks1.c (main): Converted to ...
6874         (do_test): ... this.
6875         (TEST_FUNCTION): New macro.
6876         Include test-skeleton.c.
6877         * localedata/tst-langinfo.c (main): Converted to ...
6878         (do_test): ... this.
6879         (TEST_FUNCTION): New macro.
6880         Include test-skeleton.c.
6881         * math/test-fpucw.c (main): Converted to ...
6882         (do_test): ... this.
6883         (TEST_FUNCTION): New macro.
6884         Include test-skeleton.c.
6885         * math/test-tgmath.c (main): Converted to ...
6886         (do_test): ... this.
6887         (TEST_FUNCTION): New macro.
6888         Include test-skeleton.c.
6889         * math/test-tgmath2.c (main): Converted to ...
6890         (do_test): ... this.
6891         (TEST_FUNCTION): New macro.
6892         Include test-skeleton.c.
6893         * setjmp/tst-setjmp.c (main): Converted to ...
6894         (do_test): ... this.
6895         (TEST_FUNCTION): New macro.
6896         Include test-skeleton.c.
6897         * stdio-common/tst-sscanf.c (main): Converted to ...
6898         (do_test): ... this.
6899         (TEST_FUNCTION): New macro.
6900         Include test-skeleton.c.
6901         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
6902         (do_test): ... this.
6903         (TEST_FUNCTION): New macro.
6904         Include test-skeleton.c.
6906         * elf/tst-audit9.c (main): Converted to ...
6907         (do_test): ... this.
6908         (TEST_FUNCTION): New macro.
6909         Include test-skeleton.c.
6911 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
6913         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
6915 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6917         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
6918         New variable.
6920 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6922         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6924 2015-07-14  Roland McGrath  <roland@hack.frob.com>
6926         * sysdeps/generic/dl-fileid.h: New file.
6927         * sysdeps/posix/dl-fileid.h: New file.
6928         * sysdeps/nacl/dl-fileid.h: New file.
6929         * include/link.h: Include <dl-fileid.h>.
6930         (struct link_map): Replace l_dev and l_ino with l_file_id.
6931         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
6932         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
6933         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
6935 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6937         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
6939 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6941         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
6942         Add iff $CXX is set.
6943         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
6944         Likewise.
6945         (tst-nodelete-zmodiff): Likewise.
6946         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
6948 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6950         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
6952 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6954         * sysdeps/aarch64/fpu/math_private.h
6955         (define math_opt_barrier): Add AArch64 version.
6956         (math_force_eval): Likewise.
6958 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6960         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
6962 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6964         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
6965         %ld with %jd and cast to intmax_t.
6966         (do_test_length_zero): Likewise.
6968 2015-07-10  Roland McGrath  <roland@hack.frob.com>
6970         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
6972 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
6974         * sysdeps/tile/libm-test-ulps: Regenerated.
6976         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
6977         Comment out the whole function, not just its body.
6979 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6981         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
6982         locks.
6984         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
6986 2015-07-10  Torvald Riegel  <triegel@redhat.com>
6988         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
6989         (sem_assume_only_signals_cause_futex_EINTR): Remove.
6991 2015-07-10  Torvald Riegel  <triegel@redhat.com>
6993         * sysdeps/nptl/futex-internal.h: New file.
6994         * sysdeps/nacl/futex-internal.h: New file.
6995         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
6996         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
6997         error checking.
6998         (setxid_unmark_thread): Likewise.
6999         (__nptl_setxid): Likewise.
7000         (__wait_lookup_done): Likewise.
7001         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
7002         * nptl/nptl-init.c (sighandler_setxid): Likewise.
7003         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
7004         * nptl/pthread_once.c (clear_once_control): Likewise.
7005         (__pthread_once_slow): Likewise.
7006         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7007         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
7008         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
7009         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7010         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
7011         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
7012         Likewise.
7013         (__pthread_rwlock_rdlock): Likewise.
7014         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7015         Likewise.
7016         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7017         Likewise.
7018         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7019         Likewise.
7020         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
7021         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
7022         Likewise.
7023         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
7024         __ASSUME_PRIVATE_FUTEX check.
7025         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
7026         Check that shared futexes are supported.
7027         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
7028         wrappers with error checking.
7029         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
7030         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
7031         * nptl/pthread_barrierattr_setpshared.c
7032         (pthread_barrierattr_setpshared): Check that shared futexes are
7033         supported.
7034         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
7035         Likewise.
7036         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
7037         Likewise.
7038         * nptl/sem_init.c (futex_private_if_supported): Remove.
7039         (__new_sem_init): Adapt and check that shared futexes are supported.
7040         * nptl/sem_open.c (sem_open): Likewise.
7041         * nptl/sem_post.c (futex_wake): Remove.
7042         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
7043         (do_futex_wait): Use futex wrappers with error checking.
7044         * nptl/sem_wait.c: Include lowlevellock.h.
7045         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
7046         Use futex_supports_pshared.
7047         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
7048         Use futex wrappers with error checking.
7049         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
7050         Likewise.
7051         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
7052         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
7053         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
7054         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
7055         (futex_wake): Likewise.
7056         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
7057         (do_futex_wait): Use futex wrappers with error checking.
7058         (__new_sem_wait_slow): Update EINTR handling.
7059         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
7061 2015-07-09  Martin Sebor  <msebor@redhat.com>
7063         [BZ #18435]
7064         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
7065         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
7066         * nptl/Makefile (test-xfail-tst-once5): Define.
7068 2015-07-09  Roland McGrath  <roland@hack.frob.com>
7070         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
7071         * elf/dl-minimal.c: For readability, reorder some definitions and
7072         introduce more page breaks.  Include <stdio.h>.
7073         (__libc_fatal): New function.
7075         * include/unistd.h: Add rtld_hidden_proto for _exit.
7076         * posix/_exit.c: Add rtld_hidden_def.
7077         * sysdeps/mach/hurd/_exit.c: Likewise.
7078         * sysdeps/nacl/_exit.c: Likewise.
7079         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
7080         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
7082 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
7084         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
7085         bndmov encoding with zero displacement.
7087 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7088             H.J. Lu  <hongjiu.lu@intel.com>
7090         [BZ #18134]
7091         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
7092         * sysdeps/i386/configure: Regenerated.
7093         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7094         (_dl_runtime_profile): Save and restore Intel MPX return bound
7095         registers when calling _dl_call_pltexit.  Add
7096         PRESERVE_BND_REGS_PREFIX before return.
7097         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
7098         (LRV_BND1_OFFSET): Likewise.
7099         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
7100         lrv_bnd1.
7101         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
7102         typo in bndmov encoding.
7103         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
7104         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
7105         branch instructions to preserve bounds.
7107 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7110         [GLIBC_2.22]: Add fmemopen.
7112 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7114         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
7115         returns an error, also try to use host port from __mach_host_self for
7116         the __vm_wire call.
7117         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
7119 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7121         [BZ #18400]
7122         [BZ #18648]
7123         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
7124         Fix pr_uid and pr_gid members.
7125         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
7126         definition to elf_greg_t.
7128 2015-07-08  Roland McGrath  <roland@hack.frob.com>
7130         [BZ #18383]
7131         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
7132         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
7133         * sysdeps/arm/configure: Regenerated.
7134         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
7135         (test-xfail-tst-tlsalign-static): Variable removed.
7137         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
7138         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
7139         rather than explicit 'ln -s'.
7141         * resolv/rpc/netdb.h: New file.
7142         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
7144 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7146         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
7147         length buffers.
7148         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7149         test-skeleton.c.
7151         [BZ #6544]
7152         [BZ #11216]
7153         [BZ #12836]
7154         [BZ #13151]
7155         [BZ #13152]
7156         [BZ #14292]
7157         * include/stdio.h (fmemopen): Remove hidden prototype.
7158         (__fmemopen): Add new hidden prototype.
7159         * libio/Makefile: Add oldfmemopen object.
7160         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
7161         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
7162         compliance.
7163         * libio/oldfmemopen.c: New file: old fmemopen implementation for
7164         symbol compatibility.
7165         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
7166         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
7167         fmemopen.
7168         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
7169         on append and read mode.
7170         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
7171         fmemopen.
7172         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
7173         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
7174         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
7175         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
7176         Likewise.
7177         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7178         [GLIBC_2.22]: Likewise.
7179         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
7180         Likewise.
7181         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
7182         Likewise.
7183         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7184         [GLIBC_2.22]: Likewise.
7185         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7186         [GLIBC_2.22]: Likewise.
7187         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7188         [GLIBC_2.22]: Likewise.
7189         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7190         [GLIBC_2.22]: Likewise.
7191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7192         [GLIBC_2.22]: Likewise.
7193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7194         [GLIBC_2.22]: Likewise.
7195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7196         [GLIBC_2.22]: Likewise.
7197         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
7198         Likewise.
7199         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
7200         Likewise.
7201         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
7202         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7203         [GLIBC_2.22]: Likewise.
7204         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7205         [GLIBC_2.22]: Likewise.
7206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7207         [GLIBC_2.22]: Likewise.
7208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7209         [GLIBC_2.22]: Likewise.
7210         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
7211         Likewise.
7212         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
7213         Likewise.
7214         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
7215         Likewise.
7216         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
7217         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
7219 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
7221         [BZ #18643]
7222         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
7223         IPV6_PATHMTU, and IPV6_DONTFRAG.
7225 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
7227         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
7228         and _IO_UNBUFFERED.
7229         * libio/oldfileops.c: Likewise.
7230         * libio/wfileops.c: Likewise.
7232 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
7234         * nscd/selinux.c: Delete selinux/flask.h include.
7236 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
7238         [BZ #18641]
7239         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
7240         (putpwent): Likewise.
7241         (getpwnam): Likewise.
7242         (getpwent_r): Likewise.
7243         (getpwuid_r): Likewise.
7244         (getpwnam_r): Likewise.
7245         (fgetpwent_r): Likewise.
7247 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
7249         [BZ #18557]
7250         * inet/rcmd.c (__validuser2_sa): Check user first to
7251         short-circuit host check.
7253 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
7254             Mikhail Ilin  <m.ilin@samsung.com>
7256         [BZ #17833]
7257         * elf/Makefile (tests): Add tst-nodelete.
7258         (modules-names): Add tst-nodelete-uniquemod.
7259         (tst-nodelete-uniquemod.so-no-z-defs): New.
7260         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
7261         (tst-nodelete-zmod.so-no-z-defs): Likewise.
7262         ($(objpfx)tst-nodelete): Likewise.
7263         ($(objpfx)tst-nodelete.out): Likewise.
7264         (LDFLAGS-tst-nodelete): Likewise.
7265         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
7266         * elf/dl-close.c (_dl_close_worker): Add a parameter to
7267         implement forced object deletion.
7268         (_dl_close): Pass false to _dl_close_worker.
7269         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
7270         * elf/tst-nodelete.cc: New file.
7271         * elf/tst-nodeletelib.cc: Likewise.
7272         * elf/tst-znodeletelib.cc: Likewise.
7273         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
7275 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7277         [BZ #18508]
7278         * stdlib/Makefile ($(objpfx)tst-makecontext3):
7279         Depend on $(libdl).
7280         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
7281         is not called infinitely times.
7282         (backtrace_helper): New function.
7283         (trace_arg): New struct.
7284         (st1): Enlarge stack size.
7285         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7286         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
7287         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7288         Likewise.
7290 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7292         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7294 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7296         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
7297         Include sys/types.h instead of bits/types.h.
7298         Remove inclusion of bits/wordsize.h.
7300 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7302         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
7303         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
7304         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
7305         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
7306         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
7307         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
7309 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7311         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
7312         link-defines.sym.
7313         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
7314         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
7315         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
7316         and LR_SIZE.
7317         * sysdeps/i386/link-defines.sym: New file.
7319 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7321         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
7322         (modules-names): Add tst-auditmod3a tst-auditmod3b.
7323         ($(objpfx)tst-audit3): New rule.
7324         ($(objpfx)tst-audit3.out): Likewise.
7325         * sysdeps/i386/tst-audit3.c: New file.
7326         * sysdeps/i386/tst-audit3.h: Likewise.
7327         * sysdeps/i386/tst-auditmod3a.c: Likewise.
7328         * sysdeps/i386/tst-auditmod3b.c: Likewise.
7330 2015-07-07  Torvald Riegel  <triegel@redhat.com>
7332         [BZ #18633]
7333         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
7334         pointer in C code.
7335         (__strcat_c): Likewise.
7336         (__strcat_g): Likewise.
7338 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
7340         [BZ #18592]
7341         * misc/sbrk.c: Set errno to ENOMEM on overflow.
7343 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
7345         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
7346         New function.  (__ieee754_sqrtf): New function.
7347         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
7348         New function.
7349         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
7350         New function.
7352 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
7354         * sysdeps/ieee754/support.c: Remove unused file.
7356 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7358         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
7359         registers instead of d ones so the layout is kernel abi compatible.
7360         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
7361         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
7362         Likewise.
7364 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7366         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7368 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
7370         [BZ #18619]
7371         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
7372         and return argument in case of subnormal argument.
7374 2015-07-01  Martin Sebor  <msebor@redhat.com>
7376         [BZ #18435]
7377         * nptl/Makefile: Add tst-once5.cc.
7378         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
7379         Remove macro redefinitions.
7380         * nptl/tst-once5.cc: New test.
7382 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
7384         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7386         * sysdeps/arm/libm-test-ulps: Regenerated.
7388         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7389         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7391 2015-06-30  Torvald Riegel  <triegel@redhat.com>
7393         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
7394         lll_lock_wait_private and lll_futex_wake probes.
7396         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
7397         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
7398         Likewise.
7399         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
7400         atomic_spin_nop.
7401         * sysdeps/x86_64/bits/atomic.h: Likewise.
7402         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
7403         to atomic_spin_nop and move ...
7404         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
7405         ... here and ...
7406         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
7407         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7408         atomic_spin_nop instead of BUSY_WAIT_NOP.
7409         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
7410         Likewise.
7411         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
7412         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
7413         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
7414         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
7415         instead of atomic_delay.
7417 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
7419         [BZ #18613]
7420         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
7421         X_ADJ not X when adjusting exponent.
7422         (__ieee754_gamma_r): Do intermediate computations in
7423         round-to-nearest then adjust overflowing and underflowing results
7424         as needed.
7425         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
7426         of X_ADJ not X when adjusting exponent.
7427         (__ieee754_gammaf_r): Do intermediate computations in
7428         round-to-nearest then adjust overflowing and underflowing results
7429         as needed.
7430         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
7431         log of X_ADJ not X when adjusting exponent.
7432         (__ieee754_gammal_r): Do intermediate computations in
7433         round-to-nearest then adjust overflowing and underflowing results
7434         as needed.  Use 1.0L not 1.0f as numerator of division.
7435         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
7436         log of X_ADJ not X when adjusting exponent.
7437         (__ieee754_gammal_r): Do intermediate computations in
7438         round-to-nearest then adjust overflowing and underflowing results
7439         as needed.  Use 1.0L not 1.0f as numerator of division.
7440         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
7441         of X_ADJ not X when adjusting exponent.
7442         (__ieee754_gammal_r): Do intermediate computations in
7443         round-to-nearest then adjust overflowing and underflowing results
7444         as needed.  Use 1.0L not 1.0f as numerator of division.
7445         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
7446         to auto-libm-test-in.
7447         (tgamma_test): Use ALL_RM_TEST.
7448         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
7449         tests of tgamma with spurious-overflow.
7450         * math/auto-libm-test-out: Regenerated.
7451         * math/gen-libm-have-vector-test.sh: Do not check for START.
7452         * sysdeps/i386/fpu/libm-test-ulps: Update.
7453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7455         [BZ #18612]
7456         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
7457         arguments, just return 0.5 times the argument, with underflow
7458         forced as needed.
7459         * math/auto-libm-test-in: Add more tests of j1.
7460         * math/auto-libm-test-out: Regenerated.
7462         [BZ #16559]
7463         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
7464         (__ieee754_j1): Force underflow exception for small results.
7465         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7466         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
7467         (__ieee754_j1f): Force underflow exception for small results.
7468         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7469         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7470         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7471         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
7472         (__ieee754_j1l): Force underflow exception for small results.
7473         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7474         * math/auto-libm-test-in: Add more tests of j1 and jn.
7475         * math/auto-libm-test-out: Regenerated.
7477         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
7478         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
7479         (PF_MPLS): Likewise.
7480         (AF_IB): Likewise.
7481         (AF_MPLS): Likewise.
7482         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
7483         value and macro.
7484         (MS_RMT_MASK): Include MS_LAZYTIME.
7486 2015-06-26  Mel Gorman  <mgorman@suse.de>
7488         [BZ #18502]
7489         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
7490         already minimal.
7492 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
7494         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
7495         (DT_MIPS_NUM): Update.
7496         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
7497         DT_MIPS_RLD_MAP_REL.
7499 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
7501         [BZ #16559]
7502         [BZ #18602]
7503         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
7504         round-to-nearest internally then recompute results that
7505         underflowed to zero in the original rounding mode.
7506         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7507         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7508         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7509         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
7510         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
7511         * sysdeps/i386/fpu/libm-test-ulps: Update.
7512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7514 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
7516         * NEWS: Fixed description of link with vector math library.
7518 2015-06-25  Andreas Schwab  <schwab@suse.de>
7520         [BZ #18549]
7521         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
7522         * libio/test-fmemopen.c (do_test): Add test for it.
7524 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
7526         [BZ #17841]
7527         * Makeconfig (no-pie-ldflag): New.
7528         (+link): Set to $(+link-pie) if default to PIE.
7529         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
7530         * config.make.in (build-pie-default): New.
7531         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
7532         is default.  AC_SUBST.
7533         * configure: Regenerated.
7534         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
7536 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7538         * nptl/descr.h (struct pthread): Change type of field setxid_futex
7539         to 'unsigned int'.
7541         * resolv/gai_misc.h (struct waitlist): Change type of field
7542         counterp to 'volatile unsigned int *'.
7543         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
7544         FUTEXADDR and OLDVAL.
7545         * resolv/getaddrinfo_a.c (getaddrinfo_a):
7546         Give local variable TOTAL type 'volatile unsigned int'.
7547         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7548         * resolv/gai_suspend.c (gai_suspend):
7549         Give local variable CNTR type 'unsigned int'.
7551         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
7552         counterp to 'volatile unsigned int *'.
7553         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
7554         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
7555         (aio_suspend): Give local variable CNTR type 'unsigned int'.
7556         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
7557         Give local variable TOTAL type 'volatile unsigned int'.
7558         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7560 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7562         [BZ #18383]
7563         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
7564         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
7565         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
7566         comment for i386/x86-64.
7567         (test-xfail-tst-tlsalign-extern-static): Removed.
7569 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7571         * math/test-double.h: New file.
7572         * math/test-float.h: Likewise.
7573         * math/test-ldouble.h: Likewise.
7574         * math/test-math-inline.h: Likewise.
7575         * math/test-math-no-inline.h: Likewise.
7576         * math/test-math-scalar.h: Likewise.
7577         * math/test-math-vector.h: Likewise.
7578         * math/test-vec-loop.h: Remove file.  Contents moved into
7579         test-math-vector.h.
7580         * math/libm-test.inc (MATHCONST): Do not document macro.
7581         * math/test-double.c: Include test-double.h, test-math-no-inline.h
7582         and test-math-scalar.h.
7583         (FUNC): Remove macro.
7584         (FUNC_TEST): Likewise.
7585         (FLOAT): Likewise.
7586         (MATHCONST): Likewise.
7587         (PRINTF_EXPR): Likewise.
7588         (PRINTF_XEXPR): Likewise.
7589         (PRINTF_NEXPR): Likewise.
7590         (TEST_DOUBLE): Likewise.
7591         (TEST_MATHVEC): Likewise.
7592         (__NO_MATH_INLINES): Likewise.
7593         * math/test-float.c: Include test-float.h, test-math-no-inline.h
7594         and test-math-scalar.h.
7595         (FUNC): Remove macro.
7596         (FUNC_TEST): Likewise.
7597         (FLOAT): Likewise.
7598         (MATHCONST): Likewise.
7599         (PRINTF_EXPR): Likewise.
7600         (PRINTF_XEXPR): Likewise.
7601         (PRINTF_NEXPR): Likewise.
7602         (TEST_FLOAT): Likewise.
7603         (TEST_MATHVEC): Likewise.
7604         (__NO_MATH_INLINES): Likewise.
7605         * math/test-idouble.c: Include test-double.h, test-math-inline.h
7606         and test-math-scalar.h.
7607         (FUNC): Remove macro.
7608         (FUNC_TEST): Likewise.
7609         (FLOAT): Likewise.
7610         (MATHCONST): Likewise.
7611         (PRINTF_EXPR): Likewise.
7612         (PRINTF_XEXPR): Likewise.
7613         (PRINTF_NEXPR): Likewise.
7614         (TEST_DOUBLE): Likewise.
7615         (TEST_MATHVEC): Likewise.
7616         (TEST_INLINE): Likewise.
7617         (__NO_MATH_INLINES): Likewise.
7618         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
7619         test-math-scalar.h.
7620         (FUNC): Remove macro.
7621         (FUNC_TEST): Likewise.
7622         (FLOAT): Likewise.
7623         (MATHCONST): Likewise.
7624         (PRINTF_EXPR): Likewise.
7625         (PRINTF_XEXPR): Likewise.
7626         (PRINTF_NEXPR): Likewise.
7627         (TEST_FLOAT): Likewise.
7628         (TEST_MATHVEC): Likewise.
7629         (TEST_INLINE): Likewise.
7630         (__NO_MATH_INLINES): Likewise.
7631         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
7632         and test-math-scalar.h.
7633         (FUNC): Remove macro.
7634         (FUNC_TEST): Likewise.
7635         (FLOAT): Likewise.
7636         (MATHCONST): Likewise.
7637         (PRINTF_EXPR): Likewise.
7638         (PRINTF_XEXPR): Likewise.
7639         (PRINTF_NEXPR): Likewise.
7640         (TEST_LDOUBLE): Likewise.
7641         (TEST_MATHVEC): Likewise.
7642         (TEST_INLINE): Likewise.
7643         (__NO_MATH_INLINES): Likewise.
7644         * math/test-ldouble.c: Include test-ldouble.h,
7645         test-math-no-inline.h and test-math-scalar.h.
7646         (FUNC): Remove macro.
7647         (FUNC_TEST): Likewise.
7648         (FLOAT): Likewise.
7649         (MATHCONST): Likewise.
7650         (PRINTF_EXPR): Likewise.
7651         (PRINTF_XEXPR): Likewise.
7652         (PRINTF_NEXPR): Likewise.
7653         (TEST_LDOUBLE): Likewise.
7654         (TEST_MATHVEC): Likewise.
7655         (__NO_MATH_INLINES): Likewise.
7656         * math/test-double-vlen2.h: Include test-double.h,
7657         test-math-no-inline.h and test-math-vector.h.
7658         (FLOAT): Remove macro.
7659         (FUNC): Likewise.
7660         (MATHCONST): Likewise.
7661         (PRINTF_EXPR): Likewise.
7662         (PRINTF_XEXPR): Likewise.
7663         (PRINTF_NEXPR): Likewise.
7664         (TEST_DOUBLE): Likewise.
7665         (TEST_MATHVEC): Likewise.
7666         (__NO_MATH_INLINES): Likewise.
7667         (CNCT): Likewise.
7668         (CONCAT): Likewise.
7669         (WRAPPER_NAME): Likewise.
7670         (WRAPPER_DECL): Likewise.
7671         (WRAPPER_DECL_ff): Likewise.
7672         (WRAPPER_DECL_fFF): Likewise.
7673         (VECTOR_WRAPPER): Likewise.
7674         (VECTOR_WRAPPER_ff): Likewise.
7675         (VECTOR_WRAPPER_fFF): Likewise.
7676         (VEC_LEN): New macro.
7677         * math/test-double-vlen4.h: Include test-double.h,
7678         test-math-no-inline.h and test-math-vector.h.
7679         (FLOAT): Remove macro.
7680         (FUNC): Likewise.
7681         (MATHCONST): Likewise.
7682         (PRINTF_EXPR): Likewise.
7683         (PRINTF_XEXPR): Likewise.
7684         (PRINTF_NEXPR): Likewise.
7685         (TEST_DOUBLE): Likewise.
7686         (TEST_MATHVEC): Likewise.
7687         (__NO_MATH_INLINES): Likewise.
7688         (CNCT): Likewise.
7689         (CONCAT): Likewise.
7690         (WRAPPER_NAME): Likewise.
7691         (WRAPPER_DECL): Likewise.
7692         (WRAPPER_DECL_ff): Likewise.
7693         (WRAPPER_DECL_fFF): Likewise.
7694         (VECTOR_WRAPPER): Likewise.
7695         (VECTOR_WRAPPER_ff): Likewise.
7696         (VECTOR_WRAPPER_fFF): Likewise.
7697         (VEC_LEN): New macro.
7698         * math/test-double-vlen8.h: Include test-double.h,
7699         test-math-no-inline.h and test-math-vector.h.
7700         (FLOAT): Remove macro.
7701         (FUNC): Likewise.
7702         (MATHCONST): Likewise.
7703         (PRINTF_EXPR): Likewise.
7704         (PRINTF_XEXPR): Likewise.
7705         (PRINTF_NEXPR): Likewise.
7706         (TEST_DOUBLE): Likewise.
7707         (TEST_MATHVEC): Likewise.
7708         (__NO_MATH_INLINES): Likewise.
7709         (CNCT): Likewise.
7710         (CONCAT): Likewise.
7711         (WRAPPER_NAME): Likewise.
7712         (WRAPPER_DECL): Likewise.
7713         (WRAPPER_DECL_ff): Likewise.
7714         (WRAPPER_DECL_fFF): Likewise.
7715         (VECTOR_WRAPPER): Likewise.
7716         (VECTOR_WRAPPER_ff): Likewise.
7717         (VECTOR_WRAPPER_fFF): Likewise.
7718         (VEC_LEN): New macro.
7719         * math/test-float-vlen4.h: Include test-float.h,
7720         test-math-no-inline.h and test-math-vector.h.
7721         (FLOAT): Remove macro.
7722         (FUNC): Likewise.
7723         (MATHCONST): Likewise.
7724         (PRINTF_EXPR): Likewise.
7725         (PRINTF_XEXPR): Likewise.
7726         (PRINTF_NEXPR): Likewise.
7727         (TEST_FLOAT): Likewise.
7728         (TEST_MATHVEC): Likewise.
7729         (__NO_MATH_INLINES): Likewise.
7730         (CNCT): Likewise.
7731         (CONCAT): Likewise.
7732         (WRAPPER_NAME): Likewise.
7733         (WRAPPER_DECL): Likewise.
7734         (WRAPPER_DECL_ff): Likewise.
7735         (WRAPPER_DECL_fFF): Likewise.
7736         (VECTOR_WRAPPER): Likewise.
7737         (VECTOR_WRAPPER_ff): Likewise.
7738         (VECTOR_WRAPPER_fFF): Likewise.
7739         (VEC_LEN): New macro.
7740         * math/test-float-vlen8.h: Include test-float.h,
7741         test-math-no-inline.h and test-math-vector.h.
7742         (FLOAT): Remove macro.
7743         (FUNC): Likewise.
7744         (MATHCONST): Likewise.
7745         (PRINTF_EXPR): Likewise.
7746         (PRINTF_XEXPR): Likewise.
7747         (PRINTF_NEXPR): Likewise.
7748         (TEST_FLOAT): Likewise.
7749         (TEST_MATHVEC): Likewise.
7750         (__NO_MATH_INLINES): Likewise.
7751         (CNCT): Likewise.
7752         (CONCAT): Likewise.
7753         (WRAPPER_NAME): Likewise.
7754         (WRAPPER_DECL): Likewise.
7755         (WRAPPER_DECL_ff): Likewise.
7756         (WRAPPER_DECL_fFF): Likewise.
7757         (VECTOR_WRAPPER): Likewise.
7758         (VECTOR_WRAPPER_ff): Likewise.
7759         (VECTOR_WRAPPER_fFF): Likewise.
7760         (VEC_LEN): New macro.
7761         * math/test-float-vlen16.h: Include test-float.h,
7762         test-math-no-inline.h and test-math-vector.h.
7763         (FLOAT): Remove macro.
7764         (FUNC): Likewise.
7765         (MATHCONST): Likewise.
7766         (PRINTF_EXPR): Likewise.
7767         (PRINTF_XEXPR): Likewise.
7768         (PRINTF_NEXPR): Likewise.
7769         (TEST_FLOAT): Likewise.
7770         (TEST_MATHVEC): Likewise.
7771         (__NO_MATH_INLINES): Likewise.
7772         (CNCT): Likewise.
7773         (CONCAT): Likewise.
7774         (WRAPPER_NAME): Likewise.
7775         (WRAPPER_DECL): Likewise.
7776         (WRAPPER_DECL_ff): Likewise.
7777         (WRAPPER_DECL_fFF): Likewise.
7778         (VECTOR_WRAPPER): Likewise.
7779         (VECTOR_WRAPPER_ff): Likewise.
7780         (VECTOR_WRAPPER_fFF): Likewise.
7781         (VEC_LEN): New macro.
7782         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
7783         test-vec-loop.h.
7784         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7785         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7786         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7787         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7788         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7789         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7790         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7792 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7794         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
7795         (__getlogin_r): ... this.
7797 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7799         [BZ #18594]
7800         * math/s_ccosh.c (__ccosh): Compare with least normal value
7801         instead of comparing class with FP_SUBNORMAL.
7802         * math/s_ccoshf.c (__ccoshf): Likewise.
7803         * math/s_ccoshl.c (__ccoshl): Likewise.
7804         * math/s_cexp.c (__cexp): Likewise.
7805         * math/s_cexpf.c (__cexpf): Likewise.
7806         * math/s_cexpl.c (__cexpl): Likewise.
7807         * math/s_csin.c (__csin): Likewise.
7808         * math/s_csinf.c (__csinf): Likewise.
7809         * math/s_csinh.c (__csinh): Likewise.
7810         * math/s_csinhf.c (__csinhf): Likewise.
7811         * math/s_csinhl.c (__csinhl): Likewise.
7812         * math/s_csinl.c (__csinl): Likewise.
7813         * math/s_ctan.c (__ctan): Likewise.
7814         * math/s_ctanf.c (__ctanf): Likewise.
7815         * math/s_ctanh.c (__ctanh): Likewise.
7816         * math/s_ctanhf.c (__ctanhf): Likewise.
7817         * math/s_ctanhl.c (__ctanhl): Likewise.
7818         * math/s_ctanl.c (__ctanl): Likewise.
7819         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
7820         csin, csinh, ctan and ctanh.
7821         * math/auto-libm-test-out: Regenerated.
7822         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
7823         * sysdeps/i386/fpu/libm-test-ulps: Update.
7824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7826 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7828         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
7829         return value is wrong, print the expected value too.
7831 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7833         [BZ #18585]
7834         * elf/readlib.c (is_gdb_python_file): New.
7835         (process_file): Don't issue errors on filenames with -gdb.py
7836         suffix.
7838 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7840         * math/auto-libm-test-in: Add more tests of csin and csinh.
7841         * math/auto-libm-test-out: Regenerated.
7842         * math/libm-test.inc (csin_test_data): Remove tests moved to
7843         auto-libm-test-in.
7844         (csinh_test_data): Likewise.
7846         [BZ #18593]
7847         * math/s_csin.c (__csin): Negate before rather than after possibly
7848         overflowing multiplication.
7849         * math/s_csinf.c (__csinf): Likewise.
7850         * math/s_csinh.c (__csinh): Likewise.
7851         * math/s_csinhf.c (__csinhf): Likewise.
7852         * math/s_csinhl.c (__csinhl): Likewise.
7853         * math/s_csinl.c (__csinl): Likewise.
7854         * math/auto-libm-test-in: Add some tests of csin and csinh.
7855         * math/auto-libm-test-out: Regenerated.
7856         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
7857         (csinh_test_data): Likewise.
7858         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7860         [BZ #18586]
7861         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
7862         underflow exception for small results.
7864 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7866         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7867         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
7868         variable and included header.
7869         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
7870         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
7871         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
7872         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
7873         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
7874         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
7875         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
7876         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
7877         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
7878         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
7879         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
7880         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
7881         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
7882         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
7883         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
7884         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
7886 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7888         [BZ #16526]
7889         [BZ #16538]
7890         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
7891         (__sin): Force underflow exception for arguments with small
7892         absolute value.
7893         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
7894         (__kernel_sinf): Force underflow exception for arguments with
7895         small absolute value.
7896         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
7897         (__kernel_sincosl): Force underflow exception for arguments with
7898         small absolute value.
7899         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
7900         (__kernel_sinl): Force underflow exception for arguments with
7901         small absolute value.
7902         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
7903         (__kernel_sincosl): Force underflow exception for arguments with
7904         small absolute value.
7905         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
7906         (__kernel_sinl): Force underflow exception for arguments with
7907         small absolute value.
7908         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
7909         (__kernel_sinl): Force underflow exception for arguments with
7910         small absolute value.
7911         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
7912         (__kernel_sinf): Force underflow exception for arguments with
7913         small absolute value.
7914         * math/auto-libm-test-in: Add more tests of sin and sincos.
7915         * math/auto-libm-test-out: Regenerated.
7917         [BZ #18245]
7918         [BZ #18583]
7919         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
7920         (__kernel_standard_l): Use feholdexcept and fesetenv around
7921         conversion to double instead of special-casing overflow and
7922         underflow.
7923         * math/libm-test.inc (fmod_test_data): Add more tests.
7924         (remainder_test_data): Likewise.
7925         (sqrt_test_data): Likewise.
7927 2015-06-23  Torvald Riegel  <triegel@redhat.com>
7929         [BZ #17403]
7930         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
7931         atomic_read_barrier, atomic_write_barrier): Define.
7932         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
7933         atomic_read_barrier, atomic_write_barrier): Define.
7935 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7937         * math/Makefile [$(PERL) != no]
7938         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
7939         dependency on libm-test.stmp below the inclusion of Rules.
7941 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
7943         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7944         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
7945         and included header.
7946         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
7947         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
7948         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
7949         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
7950         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
7951         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
7952         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
7953         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
7954         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
7955         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
7956         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
7957         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
7958         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
7959         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
7960         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
7961         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
7962         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
7963         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
7964         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
7966 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7968         [BZ #18371]
7969         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
7970         intermediate but not final result might underflow.
7971         * math/s_csqrtf.c (__csqrtf): Likewise.
7972         * math/s_csqrtl.c (__csqrtl): Likewise.
7973         * math/auto-libm-test-in: Add more tests of csqrt.
7974         * math/auto-libm-test-out: Regenerated.
7975         * sysdeps/i386/fpu/libm-test-ulps: Update.
7977         [BZ #18219]
7978         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
7979         threshold on absolute value of exponent for which scaling is used.
7980         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7981         * math/auto-libm-test-in: Add more tests of exp2.
7982         * math/auto-libm-test-out: Regenerated.
7984 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
7986         [BZ #17977]
7987         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
7988         when initializing interface list, based on the bug analysis
7989         and the patch proposed by Eric Newton.
7990         * resolv/tst-res_hconf_reorder.c: New test.
7991         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
7992         tst-res_hconf_reorder.
7993         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
7994         and $(shared-thread-library).
7995         (tst-res_hconf_reorder-ENV): New variable.
7997         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
7998         in comment.
8000 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
8002         [BZ #16353]
8003         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
8004         (__expm1): Force underflow exception for arguments with small
8005         absolute value.
8006         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
8007         (__expm1f): Force underflow exception for arguments with small
8008         absolute value.
8009         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
8010         (__expm1): Force underflow exception for arguments with small
8011         absolute value.
8012         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
8013         (__expm1f): Force underflow exception for arguments with small
8014         absolute value.
8015         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8016         Check for small arguments before calling __expm1.
8017         * math/auto-libm-test-in: Do not mark underflow exceptions as
8018         possibly missing for bug 16353.
8019         * math/auto-libm-test-out: Regenerated.
8021 2015-06-22  Andreas Schwab  <schwab@suse.de>
8023         [BZ #18513]
8024         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
8025         PTR queries.
8027 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
8029         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
8031         * string/strcoll_l.c: Remove unused struct element idxnow.
8033 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
8035         [BZ #18569]
8036         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
8037         underflow and return argument in case of subnormal argument.
8038         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8039         Likewise.
8040         * math/auto-libm-test-in: Add more tests of expm1.
8041         * math/auto-libm-test-out: Regenerated.
8043         [BZ #16361]
8044         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
8045         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
8046         tiny results.
8047         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
8048         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
8049         tiny results.
8050         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
8051         mark underflow exceptions as possibly missing for bug 16361.
8052         * math/auto-libm-test-out: Regenerated.
8054 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
8056         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
8057         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
8058         Remove variable.
8059         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8060         (test-xfail-XOPEN2K8/utmpx.h/conform).
8062         * conform/conformtest.pl ($xerrors): New variable.
8063         (note_error): New function.
8064         (compiletest): New argument $xfail.  Use not_error.
8065         (runtest): Likewise.
8066         (top level): Handle xfail- lines.  Update calls to compiletest and
8067         runtest.  Handle xfail- and optional- in headers listed with
8068         allow-header.
8069         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
8070         (O_EXEC): Likewise.
8071         (O_SEARCH): Likewise.
8072         * conform/data/stropts.h-data (ioctl): Likewise.
8073         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
8074         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
8075         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
8076         (msghdr.msg_controllen): Likewise.
8077         (cmsghdr.cmsg_len): Likewise.
8078         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
8079         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
8080         variable.
8081         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8082         (test-xfail-XPG4/stropts.h/conform): Likewise.
8083         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8084         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8085         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8086         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8087         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8088         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8089         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8090         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8091         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8092         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8093         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8094         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8095         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8096         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8097         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8098         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8099         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8100         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8101         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8103 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8105         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
8106         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
8107         definitions for proper unfolding of __MATHDECL_VEC.
8109 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8111         * benchtests/bench-strcoll.c:
8112         Include string.h.
8113         (main): Remove unused variable res.
8115 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8117         * timezone/Makefile (%/UTC %/Universal):
8118         Generate test-result files for UTC and Universal.
8120 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8122         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8124 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
8126         [BZ #16350]
8127         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
8128         for arguments with small absolute value.
8129         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
8130         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
8131         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
8132         (__asinh): Force underflow exception for arguments with small
8133         absolute value.
8134         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
8135         (__asinhf): Force underflow exception for arguments with small
8136         absolute value.
8137         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
8138         (__asinhl): Force underflow exception for arguments with small
8139         absolute value.
8140         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
8141         (__asinhl): Force underflow exception for arguments with small
8142         absolute value.
8143         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
8144         (__asinhl): Force underflow exception for arguments with small
8145         absolute value.
8146         * math/auto-libm-test-in: Do not mark underflow exceptions as
8147         possibly missing for bug 16350.
8148         * math/auto-libm-test-out: Regenerated.
8150         * include/bits/ipc.h: Remove file.
8151         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
8152         variable.
8153         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8154         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8155         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8156         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8157         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8158         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8159         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8160         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8161         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8163         * math/auto-libm-test-in: Remove spurious underflow allowance for
8164         tests of cexp.
8165         * math/auto-libm-test-out: Regenerated.
8167         [BZ #18558]
8168         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
8169         unconditional definition.
8170         (MCAST_BLOCK_SOURCE): Likewise.
8171         (MCAST_UNBLOCK_SOURCE): Likewise.
8172         (MCAST_LEAVE_GROUP): Likewise.
8173         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8174         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8175         (MCAST_MSFILTER): Likewise.
8176         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
8177         Remove variable.
8178         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8179         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8180         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8181         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8182         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8184 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
8186         * NEWS: Mention addition of x86_64 vector sincosf.
8187         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
8188         * math/test-float-vlen4.h: Likewise.
8189         * math/test-float-vlen8.h: Likewise.
8190         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8191         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
8192         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8193         * sysdeps/x86_64/fpu/Versions: New versions added.
8194         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8195         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8196         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8197         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
8198         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8199         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
8200         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8201         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
8202         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8203         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
8204         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
8205         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
8206         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
8207         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
8208         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
8209         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
8210         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
8211         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8212         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8213         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8214         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8215         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8216         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8217         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8219         * NEWS: Mention addition of x86_64 vector sincos.
8220         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
8221         * math/math.h (__MATHDECL_VEC): New macro.
8222         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
8223         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
8224         declaration under condition.
8225         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
8226         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
8227         TEST_VEC_LOOP change.
8228         * math/test-double-vlen4.h: Likewise.
8229         * math/test-double-vlen8.h: Likewise.
8230         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
8231         * math/test-float-vlen4.h: Likewise.
8232         * math/test-float-vlen8.h: Likewise.
8233         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8234         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
8235         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8236         * sysdeps/x86_64/fpu/Versions: New versions added.
8237         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8238         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8239         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8240         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
8241         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
8242         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
8243         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
8244         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
8245         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
8246         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
8247         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
8248         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
8249         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
8250         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
8251         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
8252         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
8253         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
8254         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8255         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8256         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8257         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8258         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8259         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8260         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8262         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8263         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8264         redirections for powf.
8265         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8266         * sysdeps/x86_64/fpu/Versions: New versions added.
8267         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8268         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8269         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8270         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
8271         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
8272         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
8273         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
8274         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
8275         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
8276         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
8277         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
8278         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
8279         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
8280         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
8281         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
8282         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
8283         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
8284         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8285         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8286         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8287         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8288         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8289         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8290         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8291         * math/test-float-vlen16.h: Fixed 2 argument macro.
8292         * math/test-float-vlen4.h: Likewise.
8293         * math/test-float-vlen8.h: Likewise.
8294         * NEWS: Mention addition of x86_64 vector powf.
8296 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
8298         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8299         and redefine.
8300         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8301         and redefine.
8302         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
8303         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8304         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8306         [BZ #18553]
8307         * resource/getpriority.c (getpriority): Rename to __getpriority
8308         and define as weak alias of __getpriority.
8309         * resource/setpriority.c (setpriority): Rename to __setpriority
8310         and define as weak alias of __setpriority.
8311         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
8312         __getpriority and define as weak alias of __getpriority.
8313         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
8314         __setpriority and define as weak alias of __setpriority.
8315         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
8316         strong name.
8317         (setpriority): Use __setpriority as strong name.
8318         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
8319         __getpriority and define as weak alias of __getpriority.
8320         * include/sys/resource.h (__getpriority): Declare.  Use
8321         libc_hidden_proto.
8322         (__setpriority): Likewise.
8323         (getpriority): Don't use libc_hidden_proto.
8324         (setpriority): Likewise.
8325         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
8326         getpriority.  Call __setpriority instead of setpriority.
8327         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
8328         Remove variable.
8330         [BZ #18547]
8331         * misc/getttyent.c (getttynam): Rename to __getttynam and define
8332         as weak alias of __getttynam.  Use prototype function definition.
8333         Call __setttyent, __getttyent and __endttyent instead of
8334         setttyent, getttyent and endttyent.
8335         (getttyent): Rename to __getttyent and define as weak alias of
8336         __getttyent.  Call __setttyent instead of setttyent.  Call
8337         __fgets_unlocked instead of fgets_unlocked.
8338         (setttyent): Rename to __setttyent and define as weak alias of
8339         __setttyent.
8340         (endttyent): Rename to __endttyent and define as weak alias of
8341         __endttyent.
8342         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
8343         (__setttyent): Likewise.
8344         (__endttyent): Likewise.
8345         (getttyent): Don't use libc_hidden_proto.
8346         (setttyent): Likewise.
8347         (endttyent): Likewise.
8348         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
8349         __endttyent instead of setttyent, getttyent and endttyent.
8350         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
8351         Remove variable.
8353         [BZ #18546]
8354         * socket/recv.c (__recv): Use libc_hidden_def.
8355         * socket/socket.c (__socket): Likewise.
8356         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8357         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8358         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
8359         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
8360         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
8361         libc_hidden_def.
8362         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
8363         libc_hidden_weak.
8364         * include/sys/socket.h (__socket): Do not use attribute_hidden.
8365         Use libc_hidden_proto.
8366         (__recv): Likewise.
8367         * socket/Versions (libc): Export __recv and __socket at version
8368         GLIBC_PRIVATE.
8369         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
8370         instead of recv.
8371         (init_mq_netlink): Call __socket instead of socket.
8372         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
8373         Remove variable.
8375         [BZ #18545]
8376         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
8377         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
8378         hidden_weak.
8379         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
8380         define as alias of __mq_timedsend.  Use hidden_weak.
8381         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
8382         __mq_timedsend as strong name.
8383         (mq_timedreceive): Use __mq_timedreceive as strong name.
8384         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
8385         (__mq_timedreceive): Likewise.
8386         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
8387         __mq_timedreceive instead of mq_timedreceive.
8388         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
8389         instead of mq_timedsend.
8390         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
8391         Remove variable.
8393         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
8394         hidden_def and hidden_weak instead of libc_hidden_def and
8395         libc_hidden_weak.
8396         (top level): Refer to hidden_def in comment.
8397         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
8398         macro.  Use it instead of libc_hidden_def.
8399         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
8400         specify __GI_* name explicitly.
8401         (mq_timedreceive): Likewise.
8402         (mq_setattr): Likewise.
8404         [BZ #18544]
8405         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
8406         __pthread_barrier_init and define as weak alias of
8407         __pthread_barrier_init.
8408         * sysdeps/sparc/nptl/pthread_barrier_init.c
8409         (pthread_barrier_init): Likewise.
8410         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
8411         __pthread_barrier_wait and define as weak alias of
8412         __pthread_barrier_wait.
8413         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8414         (pthread_barrier_wait): Likewise.
8415         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8416         (pthread_barrier_wait): Likewise.
8417         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
8418         (pthread_barrier_wait): Likewise.
8419         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
8420         (pthread_barrier_wait): Likewise.
8421         * nptl/Versions (libpthread): Export __pthread_barrier_init and
8422         __pthread_barrier_wait at version GLIBC_PRIVATE.
8423         * include/pthread.h (__pthread_barrier_init): Declare.
8424         (__pthread_barrier_wait): Likewise.
8425         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
8426         Call __pthread_barrier_wait instead of pthread_barrier_wait.
8427         (helper_thread): Likewise.
8428         (init_mq_netlink): Call __pthread_barrier_init instead of
8429         pthread_barrier_init.
8431         [BZ #18542]
8432         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
8433         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
8434         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
8435         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
8436         vswscanf.
8437         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
8438         Remove variable.
8440         [BZ #18540]
8441         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
8442         strong alias of _IO_fflush.  Use libc_hidden_def.
8443         * libio/iofflush_u.c (fflush_unlocked): Rename to
8444         __fflush_unlocked and define as weak alias of __fflush_unlocked.
8445         Use libc_hidden_weak.
8446         * include/stdio.h (__fflush_unlocked): Declare.  Use
8447         libc_hidden_proto.
8448         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
8449         fflush_unlocked.
8450         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
8451         Remove variable.
8453         [BZ #18539]
8454         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
8455         define as weak alias of __addseverity.
8456         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
8457         Remove variable.
8458         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8459         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8460         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8462         [BZ #18536]
8463         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
8464         (__tfind): Likewise.
8465         (__tdelete): Likewise.
8466         (__twalk): Likewise.
8467         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
8468         __twalk to GLIBC_PRIVATE.
8469         * include/search.h (__tsearch): Use libc_hidden_proto.
8470         (__tfind): Likewise.
8471         (__tdelete): Likewise.
8472         (__twalk): Likewise.
8473         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
8474         Call __tdelete instead of tdelete.
8475         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
8476         tfind.  Call __tsearch instead of tsearch.
8477         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
8478         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
8479         Remove variable.
8480         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8482         [BZ #18534]
8483         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
8484         (dprintf): Define as a weak alias of __dprintf, not a strong
8485         alias.
8486         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
8487         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
8488         dprintf.
8489         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
8490         Remove variable.
8491         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8492         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8494         [BZ #18533]
8495         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
8496         not a strong alias.
8497         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
8498         Remove variable.
8500         [BZ #18532]
8501         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
8502         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
8503         (in6addr_loopback): Rename to __in6addr_loopback and define as
8504         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
8505         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
8506         libc_hidden_proto.
8507         (__in6addr_any): Likewise.
8508         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
8509         in6addr_any.
8510         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
8511         variable.
8512         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8514 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8516         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
8517         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
8518         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8519         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8520         redirections for pow.
8521         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8522         * sysdeps/x86_64/fpu/Versions: New versions added.
8523         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8524         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8525         build of SSE, AVX2 and AVX512 IFUNC versions.
8526         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
8527         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
8528         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
8529         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
8530         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
8531         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
8532         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
8533         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
8534         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
8535         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
8536         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
8537         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
8538         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
8539         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
8540         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8541         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8542         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8543         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8544         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8545         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8546         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8547         * NEWS: Mention addition of x86_64 vector pow.
8549         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8550         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8551         redirections for expf.
8552         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8553         * sysdeps/x86_64/fpu/Versions: New versions added.
8554         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8555         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8556         build of SSE, AVX2 and AVX512 IFUNC versions.
8557         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
8558         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
8559         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
8560         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
8561         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
8562         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
8563         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
8564         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
8565         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
8566         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
8567         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
8568         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
8569         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
8570         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8571         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8572         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8573         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8574         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8575         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8576         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8577         * NEWS: Mention addition of x86_64 vector expf.
8579         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
8580         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
8581         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8582         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8583         redirections for exp.
8584         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8585         * sysdeps/x86_64/fpu/Versions: New versions added.
8586         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8587         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8588         build of SSE, AVX2 and AVX512 IFUNC versions.
8589         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
8590         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
8591         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
8592         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
8593         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
8594         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
8595         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
8596         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
8597         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
8598         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
8599         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
8600         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
8601         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
8602         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8603         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8604         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8605         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8606         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8607         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8608         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8609         * NEWS: Mention addition of x86_64 vector exp.
8611         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8612         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8613         redirections for logf.
8614         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8615         * sysdeps/x86_64/fpu/Versions: New versions added.
8616         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8617         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8618         build of SSE, AVX2 and AVX512 IFUNC versions.
8619         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
8620         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
8621         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
8622         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
8623         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
8624         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
8625         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
8626         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
8627         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
8628         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
8629         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
8630         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
8631         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
8632         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8633         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8634         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8635         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8636         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8637         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8638         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8639         * NEWS: Mention addition of x86_64 vector logf.
8641         * bits/libm-simd-decl-stubs.h: Added stubs for log.
8642         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
8643         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8644         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8645         redirections for log.
8646         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8647         * sysdeps/x86_64/fpu/Versions: New versions added.
8648         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8649         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8650         build of SSE, AVX2 and AVX512 IFUNC versions.
8651         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
8652         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
8653         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
8654         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
8655         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
8656         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
8657         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
8658         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
8659         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
8660         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
8661         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
8662         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
8663         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
8664         test.
8665         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8666         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8667         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8668         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8669         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8670         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8671         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8672         * NEWS: Mention addition of x86_64 vector log.
8674 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8676         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
8677         cfi_adjust_cfa_offset argument.
8678         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
8679         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
8681         [BZ #18034]
8682         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
8683         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
8684         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
8685         ordering using ldar.
8686         (_dl_tlsdesc_dynamic): Likewise.
8687         (_dl_tlsdesc_return_lazy): Likewise.
8688         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
8689         relaxed atomics instead of volatile and synchronize with release store.
8690         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
8691         volatile.
8692         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8694 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
8696         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8697         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
8698         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8699         * sysdeps/x86_64/fpu/Versions: New versions added.
8700         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8701         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8702         build of SSE, AVX2 and AVX512 IFUNC versions.
8703         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
8704         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
8705         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
8706         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
8707         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
8708         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
8709         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
8710         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
8711         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
8712         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
8713         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
8714         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
8715         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
8716         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8717         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8718         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8719         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8720         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8721         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8722         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8723         * NEWS: Mention addition of x86_64 vector sinf.
8725 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
8727         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
8728         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
8729         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
8730         Remove variable.
8731         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8732         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8734 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8736         [BZ #18530]
8737         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
8738         strong alias of _IO_fputs.  Use libc_hidden_def.
8739         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
8740         and define as weak alias of __fputs_unlocked.  Use
8741         libc_hidden_weak.
8742         * include/stdio.h (__fputs_unlocked): Declare.  Use
8743         libc_hidden_proto.
8744         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
8745         fputs_unlocked.
8747         [BZ #18529]
8748         * resolv/netdb.h [__USE_POSIX]: Change condition to
8749         [__USE_XOPEN2K].
8750         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
8751         not expect.
8752         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
8753         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
8754         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
8755         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
8756         [XPG4 || UNIX98] (AI_ALL): Likewise.
8757         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
8758         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
8759         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
8760         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
8761         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
8762         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
8763         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
8764         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
8765         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
8766         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
8767         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
8768         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
8769         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
8770         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
8771         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
8772         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8773         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8774         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
8775         [XPG4 || UNIX98] (gai_strerror): Likewise.
8776         [XPG4 || UNIX98] (getaddrinfo): Likewise.
8777         [XPG4 || UNIX98] (getnameinfo): Likewise.
8779         [BZ #18528]
8780         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
8781         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
8782         __USE_XOPEN2K8].
8783         (getgrent): Likewise.
8784         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
8785         expect.
8786         [XPG3 || POSIX2008] (endgrent): Likewise.
8787         [XPG3] (setgrent): Likewise.
8788         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
8789         variable.
8790         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8792         [BZ #18527]
8793         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
8794         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
8795         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
8796         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
8797         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
8798         * include/unistd.h (__getlogin_r): Declare.  Use
8799         libc_hidden_proto.
8800         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
8801         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
8802         variable.
8803         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8804         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8805         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8807 2015-06-12  Martin Sebor  <msebor@redhat.com>
8809         [BZ #18512]
8810         * Makerules (check-install-supported): New target.
8811         (install): Add check-install-supported as a dependency.
8812         * manual/install.texi (Installing the C Library): Document
8813         that overriding prefix and exec_prefix is not supported.
8814         Mention DESTDIR.
8815         * INSTALL: Regenerate from the above.
8817 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8819         [BZ #18519]
8820         * posix/Versions (libc): Export __libc_pread at version
8821         GLIBC_PRIVATE.
8822         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
8823         instead of pread.
8824         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
8825         variable.
8827         [BZ #18522]
8828         * misc/efgcvt_r.c
8829         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
8830         (cvt_symbol): Use weak_alias instead of strong_alias.
8831         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
8832         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
8833         Remove variable.
8834         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8835         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8837         [BZ #18520]
8838         * inet/herrno.c (h_errno): Rename to __h_errno.
8839         (__libc_h_errno): Define as alias of __h_errno not h_errno.
8840         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
8841         to __h_errno instead of h_errno.
8842         * nptl/herrno.c (h_errno): Rename to __h_errno.
8843         (__h_errno_location): Refer to __h_errno not h_errno.
8844         * resolv/Versions (h_errno): Rename to __h_errno.
8845         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
8846         Remove variable.
8847         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8849 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
8851         * configure.ac: More strict check for AVX512 assembler support.
8852         * configure: Regenerated.
8854         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
8855         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
8856         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8857         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
8858         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8859         * sysdeps/x86_64/fpu/Versions: New versions added.
8860         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8861         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8862         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8863         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
8864         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
8865         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
8866         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
8867         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
8868         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
8869         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
8870         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
8871         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
8872         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
8873         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
8874         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
8875         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
8876         test.
8877         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8878         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8879         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8880         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8881         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8882         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8883         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8884         * NEWS: Mention addition of x86_64 vector sin.
8886 2015-06-11  Florian Weimer  <fweimer@redhat.com>
8888         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
8889         comment.
8891 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8893         [BZ #18479]
8894         * nptl/pt-interp.c: New file.
8895         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
8896         Add pt-interp.
8897         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
8898         $(common-objpfx)runtime-linker.h.
8900 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
8902         * Makeconfig (+interp): Remove unused variable.
8903         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
8904         only.  Depend on $(common-objpfx)runtime-linker.h instead of
8905         $(elf-objpfx)runtime-linker.h.
8906         ($(elf-objpfx)runtime-linker.h): Rename to
8907         $(common-objpfx)runtime-linker.h and move ...
8908         * Makerules [$(build-shared) = yes]: ... here.
8909         * elf/interp.c: Include <runtime-linker.h> instead of
8910         <elf/runtime-linker.h>.
8912 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8914         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
8915         (__gettimeofday_syscall): Remove vsyscall fallback.
8916         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
8917         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
8918         Add syscall fallback function.
8919         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
8920         if vDSO is not present.
8921         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
8922         fallback function.
8923         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
8924         present.
8925         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
8926         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8928 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
8930         [BZ #18497]
8931         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
8932         of wcscmp.
8933         (wcscmp): Define as weak alias of WCSCMP.
8934         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
8935         wcscoll.
8936         (USE_HIDDEN_DEF): Define.
8937         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
8938         __wcscoll.  Don't use libc_hidden_weak.
8939         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
8940         wcscmp.
8941         * sysdeps/i386/i686/multiarch/wcscmp-c.c
8942         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
8943         __GI_wcscmp.
8944         (weak_alias): Undefine and redefine.
8945         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
8946         __wcscmp and define as weak alias of __wcscmp.
8947         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
8948         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
8949         (__wcscoll): Likewise.
8950         (wcscmp): Don't use libc_hidden_proto.
8951         (wcscoll): Likewise.
8952         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
8953         wcscoll.
8954         * posix/regexec.c (check_node_accept_bytes): Likewise.
8955         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
8956         variable.
8957         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8958         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8960         [BZ #18507]
8961         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
8962         __fstatvfs and define as weak alias of __fstatvfs.  Use
8963         libc_hidden_weak.
8964         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
8965         and define as weak alias of __statvfs.  Use libc_hidden_weak.
8966         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
8967         Define as alias of __fstatvfs, not fstatvfs.
8968         (fstatvfs64): Likewise.
8969         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
8970         Define as alias of __statvfs, not statvfs.
8971         (statvfs64): Likewise.
8972         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
8973         Remove variable.
8975 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8978         (HAVE_GETCPU_VSYSCALL): Define.
8979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8980         (HAVE_GETCPU_VSYSCALL): Likewise.
8981         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
8982         * sysdeps/unix/sysv/linux/sched_getcpu.c
8983         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
8984         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
8985         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
8986         prototype.
8987         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8988         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
8989         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
8990         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
8991         Define.
8992         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
8993         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8994         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
8995         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8997 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
8999         * sysdeps/x86_64/fpu/Makefile: New file.
9000         * sysdeps/x86_64/fpu/Versions: New file.
9001         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
9002         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
9003         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
9004         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
9005         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
9006         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
9007         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
9008         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
9009         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
9010         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
9011         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
9012         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
9013         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
9014         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9015         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9016         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
9017         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
9018         * sysdeps/x86_64/configure.ac: Options for libmvec build.
9019         * sysdeps/x86_64/configure: Regenerated.
9020         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
9021         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
9022         * manual/install.texi (Configuring and compiling): Document
9023         --disable-mathvec.
9024         * INSTALL: Regenerated.
9025         * NEWS: Mention addition of libmvec and x86_64 vector cos.
9027         * math/Makefile: Added rules for vector tests.
9028         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
9029         declaration under condition.
9030         * math/test-double-vlen2.h: New file.
9031         * math/test-double-vlen4.h: New file.
9032         * math/test-double-vlen8.h: New file.
9033         * math/test-vec-loop.h: Added initialization macro.
9034         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
9035         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
9036         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
9037         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
9038         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
9039         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
9040         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
9041         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
9042         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
9043         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
9044         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
9046         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9047         * sysdeps/x86_64/fpu/Versions: New versions added.
9048         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
9049         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
9050         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
9051         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
9052         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
9053         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
9054         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
9055         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
9056         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
9057         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
9058         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
9059         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
9060         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
9061         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9062         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9063         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9064         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
9065         * NEWS: Mention addition of x86_64 vector cosf.
9067         * math/Makefile: Added CFLAGS for new tests.
9068         * math/test-float-vlen16.h: New file.
9069         * math/test-float-vlen4.h: New file.
9070         * math/test-float-vlen8.h: New file.
9071         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
9072         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
9073         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9074         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
9075         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
9076         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
9077         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
9078         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
9079         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
9080         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
9081         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
9083 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
9085         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
9086         * locale/programs/ld-ctype.c: Likewise.
9088 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
9090         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
9091         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
9092         bit_ZMM16_31_state): New macro.
9093         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9094         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
9096 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
9098         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
9100 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
9102         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
9104 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
9106         [BZ #18498]
9107         * libio/memstream.c (open_memstream): Rename to __open_memstream
9108         and define as weak alias of __open_memstream.
9109         * include/stdio.h (__open_memstream): Declare.  Use
9110         libc_hidden_proto.
9111         (open_memstream): Don't use libc_hidden_proto.
9112         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
9113         open_memstream.
9114         * posix/getopt.c (_getopt_internal_r): Likewise.
9115         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
9116         variable.
9117         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9118         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9119         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9121         [BZ #18496]
9122         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
9123         instead of wcrtomb.
9125         [BZ #18483]
9126         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
9127         [__USE_XOPEN2K8].  Remove redundant #endif.
9128         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
9129         Remove redundant #if.
9130         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
9131         Remove variable.
9132         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9133         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9135         [BZ #18495]
9136         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
9137         (__iswlower): Likewise.
9138         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
9139         (__iswlower): Likewise.
9140         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
9141         instead of towlower.
9142         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
9143         instead of iswlower.  Call __towupper instead of towupper.
9144         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
9145         instead of iswalnum.
9147 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9149         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
9150         errors to stderr.
9152 2015-06-05  Florian Weimer  <fweimer@redhat.com>
9154         [BZ #15661]
9155         [BZ #17322]
9156         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
9157         Check for overflow properly.  Check for O_APPEND.  Ignore large
9158         file system block sizes.  Add comments about problems.
9159         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
9160         * manual/filesys.texi (Storage Allocation): New node.
9162 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9164         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
9165         cancellable syscalls.
9166         (SYS_ify): Add guard to no redefine it.
9167         (INLINE_SYSCALL): Likewise.
9168         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
9169         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
9170         SYSCALL_CANCEL instead.
9171         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
9172         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9173         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9174         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9175         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9176         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
9177         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
9178         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
9179         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9180         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9181         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
9182         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
9183         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
9184         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
9185         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
9186         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9187         Likewise.
9188         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9189         (__libc_pread64): Likewise.
9190         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
9191         (__libc_preadv): Likewise.
9192         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
9193         (__libc_readv64): Likewise.
9194         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9195         (__libc_pwrite): Likewise.
9196         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9197         (__libc_pwrite64): Likewise.
9198         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
9199         (__libc_pwritev): Likewise.
9200         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
9201         (__libc_pwritev64): Likewise.
9202         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
9203         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9204         (sync_file_range): Likewise.
9205         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
9206         Likewise.
9207         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
9208         Likewise.
9209         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9210         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9211         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9212         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9213         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9214         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9215         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9216         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
9217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9218         Likewise.
9219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9220         (__libc_read64): Likewise.
9221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
9222         Likewise.
9223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
9224         Likewise.
9225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
9226         Likewise.
9227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
9228         Likewise.
9229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9230         (__libc_pread64): Likewise.
9231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
9232         Likewise.
9233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9234         (__libc_pwrite64): Likewise.
9235         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
9236         (sync_file_range): Likewise.
9237         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
9238         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9239         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9240         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
9241         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
9242         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9243         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9244         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
9245         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
9246         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9247         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9248         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9249         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9250         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9251         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
9252         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9253         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9254         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9255         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9256         Likewise.
9257         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
9258         Likewise.
9259         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
9260         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
9261         Likewise.
9262         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
9263         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
9264         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
9265         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
9266         Likewise.
9267         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
9268         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
9269         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
9270         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
9271         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
9273 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
9275         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
9276         Include dl-vdso.
9277         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
9278         Use VDSO routines for gettimeofday, clock_gettime if
9279         available.
9280         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
9281         Declare VDSO symbols.
9282         * sysdeps/unix/sysv/linux/arm/sysdep.h:
9283         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
9284         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9285         * sysdeps/unix/sysv/linux/arm/Versions: Add
9286         __vdso_clock_gettime.
9288 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9290         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
9291         be an inline implementation regardless of library is built within.
9292         (open_not_cancel_2): Likewise.
9293         (__read_nocancel): Likewise.
9294         (__write_nocancel): Likewise.
9295         (openat_not_cancel): Likewise.
9296         (openat_not_cancel_3): Likewise.
9297         (openat64_not_cancel): Likewise.
9298         (openat64_not_cancel_3): Likewise.
9299         (__close_nocancel): Likewise.
9300         (pause_not_cancel): Likewise.
9301         (nanosleep_not_cancel): Likewise.
9302         (sigsuspend_not_cancel): Likewise.
9304 2015-06-04  Torvald Riegel  <triegel@redhat.com>
9306         [BZ #14958]
9307         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
9308         wake-up.
9309         (__pthread_rwlock_rdlock_slow): Likewise.
9310         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9311         Likewise.
9312         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9313         Likewise.
9314         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
9315         * nptl/tst-rwlock16.c: New file.
9316         * nptl/Makefile (tests): Add new test.
9318 2015-06-04  Torvald Riegel  <triegel@redhat.com>
9320         [BZ #18324]
9321         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
9322         missing wake-up of readers.
9323         * nptl/tst-rwlock15.c: New file.
9324         * nptl/Makefile (tests): Add new test.
9326 2015-06-03  Roland McGrath  <roland@hack.frob.com>
9328         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
9329         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
9330         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
9331         and __nacl_supply_interface_rtld.
9332         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
9333         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
9334         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
9335         Add __nacl_supply_interface_rtld.
9336         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
9338 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
9340         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
9341         isfinite.
9342         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9343         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
9345 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
9347         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
9348         __signbit* with standard C99 macros.
9349         * math/e_exp10l.c: Likewise.
9350         * math/e_exp2l.c: Likewise.
9351         * math/e_scalb.c: Likewise.
9352         * math/e_scalbf.c: Likewise.
9353         * math/e_scalbl.c: Likewise.
9354         * math/s_ldexp.c: Likewise.
9355         * math/s_ldexpf.c: Likewise.
9356         * math/s_ldexpl.c: Likewise.
9357         * math/w_atan2.c: Likewise.
9358         * math/w_atan2f.c: Likewise.
9359         * math/w_atan2l.c: Likewise.
9360         * math/w_cosh.c: Likewise.
9361         * math/w_coshf.c: Likewise.
9362         * math/w_coshl.c: Likewise.
9363         * math/w_exp10.c: Likewise.
9364         * math/w_exp10f.c: Likewise.
9365         * math/w_exp10l.c: Likewise.
9366         * math/w_exp2.c: Likewise.
9367         * math/w_exp2f.c: Likewise.
9368         * math/w_exp2l.c: Likewise.
9369         * math/w_fmod.c: Likewise.
9370         * math/w_fmodf.c: Likewise.
9371         * math/w_fmodl.c: Likewise.
9372         * math/w_hypot.c: Likewise.
9373         * math/w_hypotf.c: Likewise.
9374         * math/w_hypotl.c: Likewise.
9375         * math/w_jnl.c: Likewise.
9376         * math/w_lgamma.c: Likewise.
9377         * math/w_lgamma_r.c: Likewise.
9378         * math/w_lgammaf.c: Likewise.
9379         * math/w_lgammaf_r.c: Likewise.
9380         * math/w_lgammal.c: Likewise.
9381         * math/w_lgammal_r.c: Likewise.
9382         * math/w_pow.c: Likewise.
9383         * math/w_powf.c: Likewise.
9384         * math/w_powl.c: Likewise.
9385         * math/w_remainder.c: Likewise.
9386         * math/w_remainderf.c: Likewise.
9387         * math/w_remainderl.c: Likewise.
9388         * math/w_scalb.c: Likewise.
9389         * math/w_scalbf.c: Likewise.
9390         * math/w_scalbl.c: Likewise.
9391         * math/w_scalbln.c: Likewise.
9392         * math/w_scalblnf.c: Likewise.
9393         * math/w_scalblnl.c: Likewise.
9394         * math/w_sinh.c: Likewise.
9395         * math/w_sinhf.c: Likewise.
9396         * math/w_sinhl.c: Likewise.
9397         * math/w_tgamma.c: Likewise.
9398         * math/w_tgammaf.c: Likewise.
9399         * math/w_tgammal.c: Likewise.
9400         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9401         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
9402         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9403         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9404         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9405         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9406         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9407         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9408         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9409         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9410         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9411         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9412         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9413         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9414         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9415         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9416         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9417         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9418         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9419         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9420         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9421         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9422         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9423         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9424         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9425         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9426         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9427         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9428         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9429         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9430         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
9431         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
9432         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
9433         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
9434         * stdio-common/printf_fp.c: Likewise.
9435         * stdio-common/printf_fphex.c: Likewise.
9436         * stdio-common/printf_size.c: Likewise.
9438 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
9440         [BZ #18470]
9441         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
9442         strnlen.
9443         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
9444         Remove variable.
9445         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9446         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9447         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9448         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9449         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9450         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9451         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9452         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9453         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9454         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9456         [BZ #18468]
9457         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
9458         weak alias of __wmemchr.  Use libc_hidden_weak.
9459         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
9460         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
9461         instead of wmemchr.
9463 2015-06-02  Roland McGrath  <roland@hack.frob.com>
9465         [BZ #18383]
9466         * elf/tst-tlsalign-extern.c: New file.
9467         * elf/tst-tlsalign-extern-static.c: New file.
9468         * elf/tst-tlsalign-vars.c: New file.
9469         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
9470         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
9471         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
9472         ($(objpfx)tst-tlsalign-extern-static): Likewise.
9473         (test-xfail-tst-tlsalign-extern-static): New variable.
9475 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
9477         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
9478         Use variable name _sc_err instead of err.
9479         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
9480         instead of ret.
9481         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
9482         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
9483         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
9484         (INLINE_SYSCALL): Likewise.
9486         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
9487         * include/string.h (__strnlen): Use libc_hidden_proto.
9488         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
9489         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
9490         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
9491         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
9492         (libc_hidden_def): Undefine and redefine.
9493         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
9494         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
9495         __GI_strnlen.
9496         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
9497         libc_hidden_def.
9498         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
9500         [BZ #18469]
9501         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
9502         weak alias of __towlower.  Use libc_hidden_weak.
9503         (towupper): Rename to __towupper and define as weak alias of
9504         __towupper.  Use libc_hidden_weak.
9505         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
9506         (__towupper): Likewise.
9507         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
9508         __towlower instead of towlower.
9510 2015-06-02  Roland McGrath  <roland@hack.frob.com>
9512         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
9513         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
9515 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9517         * sysdeps/aarch64/libm-test-ulps: Update.
9519 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9521         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
9522         Define.
9523         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9524         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9525         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9526         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9527         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
9528         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
9529         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
9531 2015-06-01  Martin Sebor  <msebor@redhat.com>
9533         [BZ #18116]
9534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9535         (__setcontext): Use extended four-operand version of mtsf whenever
9536         possible.
9537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9538         (__novec_swapcontext): Likewise.
9540 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9542         * benchtests/scripts/compare_bench.py: New file.
9543         * benchtests/scripts/import_bench.py (mean): New function.
9544         (split_list): Likewise.
9545         (do_for_all_timings): Likewise.
9546         (compress_timings): Likewise.
9548         * benchtests/scripts/import_bench.py: New file.
9549         * benchtests/scripts/validate_benchout.py: Import import_bench
9550         instead of jsonschema.
9551         (validate_bench): Remove function.
9552         (main): Use import_bench.
9554 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
9556         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
9557         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
9559 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9563 2015-05-28  Roland McGrath  <roland@hack.frob.com>
9565         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
9566         set THREAD_SELF->tid to a magic value and futex-wake it.
9567         Pass its address to the thread_exit system call.
9568         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
9569         bit is clear.
9570         * sysdeps/nacl/lowlevellock.h: New file.
9571         * sysdeps/nacl/lll_timedwait_tid.c: New file.
9573         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
9574         Add TIMEOUT to current time, don't subtract it.
9576 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
9578         [BZ #2981]
9579         [BZ #18422]
9580         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
9581         ($(objpfx)tst-audit2.out): Also depend on
9582         $(objpfx)tst-auditmod9b.so.
9583         * elf/tst-audit2.c: Include <dlfcn.h>.
9584         (calloc_called): New.
9585         (calloc): Allow to be called more than once.
9586         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
9588 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
9590         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
9591         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
9593 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
9595         * stdlib/monetary.h: Fix comment.
9597 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
9599         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
9600         Avoid using variables in #defines that might cause shadowing.
9601         (INTERNAL_VSYSCALL_CALL): Likewise.
9603 2015-05-26  Roland McGrath  <roland@hack.frob.com>
9605         * sysdeps/nacl/lll_timedlock_wait.c: New file.
9607         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
9608         * nptl/lll_timedlock_wait.c: ... to this new file.
9609         * nptl/Makefile (libpthread-routines): Add it.
9610         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
9611         * nptl/lll_timedwait_tid.c: ... to this new file.
9612         * nptl/Makefile (libpthread-routines): Add it.
9613         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
9614         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
9615         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
9616         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
9617         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
9618         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
9619         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
9620         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
9621         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
9622         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
9624 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9626         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
9627         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9628         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
9629         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
9630         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9631         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9632         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9633         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9634         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9635         * sysdeps/unix/sysv/linux/tile/sysdep.h
9636         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9637         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
9638         using vDSO syscall macro.
9640 2015-05-26  Andriy Rysin  <arysin@gmail.com>
9642         [BZ #17293]
9643         * uk_UA: Fix sorting order for Ukrainian locale
9645 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
9647         * stdlib/monetary.h: Fix comment.
9649 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9651         [BZ #18234]
9652         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
9653         st_mtim and st_ctim members.
9654         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
9655         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
9656         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
9657         (struct stat64): Likewise.
9658         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
9659         (struct stat64): Likewise.
9660         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
9661         (struct stat64): Likewise.
9663 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9665         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
9666         Define and include sysdep-vdso.h.
9667         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
9668         Likewise.
9669         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
9670         Likewise.
9671         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
9672         Define with VDSO_SYMBOL and use PTR_MANGLE.
9673         (__vdso_clock_gettime): Likewise.
9674         (__vdso_clock_getres): Likewise.
9675         (_libc_vdso_platform_setup): Likewise.
9676         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9677         Likewise.
9678         (_libc_vdso_platform_setup): Likewise.
9679         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
9680         Likewise.
9681         (__vdso_clock_gettime): Likewise.
9682         (__vdso_clock_getres): Likewise.
9683         (__vdso_get_tbfreq): Likewise.
9684         (__vdso_getcpu): Likewise.
9685         (__vdso_time): Likewise.
9686         (__vdso_sigtramp_rt64): Likewise.
9687         (__vdso_signtramp32): Likewise.
9688         (__vdso_sigtramp_rt32): Likewise.
9689         (_libc_vdso_platform_setup): Likewise.
9690         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
9691         Likewise.
9692         (__vdso_clock_gettime): Likewise.
9693         (__vdso_clock_getres): Likewise.
9694         (_libc_vdso_platform_setup): Likewise.
9695         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
9696         Likewise.
9697         (__vdso_clock_gettime): Likewise.
9698         (_libc_vdso_platform_setup): Likewise.
9699         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9700         Likewise.
9701         (__vdso_getcpu): Likewise.
9702         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
9703         Use VDSO_SYMBOL macro to define.
9704         (__vdso_clock_gettime): Likewise.
9705         (__vdso_clock_getres): Likewise.
9706         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
9707         Likewise.
9708         (__vdso_clock_gettime): Likewise.
9709         (__vdso_clock_getres): Likewise.
9710         (__vdso_get_tbfreq): Likewise.
9711         (__vdso_getcpu): Likewise.
9712         (__vdso_time): Likewise.
9713         (__vdso_sigtramp_rt64): Likewise.
9714         (__vdso_signtramp32): Likewise.
9715         (__vdso_sigtramp_rt32): Likewise.
9716         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
9717         Likewise.
9718         (__vdso_clock_gettime): Likewise.
9719         (__vdso_clock_getres): Likewise.
9720         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
9721         Likewise.
9722         (__vdso_clock_gettime): Likewise.
9723         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9724         Likewise.
9725         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
9726         macro.
9727         (INTERNAL_VSYSCALL): Likewise.
9728         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
9729         Remove macro.
9730         (INTERNAL_VSYSCALL): Likewise.
9731         (INTERNAL_VSYSCALL_NCS): Likewise.
9732         (INTERNAL_VSYSCALL_CALL): New macro.
9733         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
9734         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
9735         Likewise.
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/powerpc/powerpc32/sysdep.h
9741         (INLINE_VSYSCALL): Remove macro.
9742         (INTERNAL_VSYSCALL): Remove macro.
9743         (INTERNAL_VSYSCALL_NCS): Remove macro.
9744         (INTERNAL_VSYSCALL_CALL): New macro.
9745         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
9746         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
9747         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9748         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
9749         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9751         (INLINE_VSYSCALL): Remove macro.
9752         (INTERNAL_VSYSCALL): Likewise.
9753         (INTERNAL_VSYSCALL_NCS): Likewise.
9754         (INTERNAL_VSYSCALL_CALL): New macro.
9755         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
9756         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
9757         PTR_DEMANGLE on vDSO pointer.
9758         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9759         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
9760         macro.
9761         (INTERNAL_SYSCALL): Likewise.
9762         (INTERNAL_VSYSCALL_NCS): Remove macro.
9763         (INTERNAL_VSYSCALL_CALL): New macro.
9764         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
9765         Remove macro.
9766         (INTERNAL_VSYSCALL): Likewise.
9767         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
9768         sysdep-vdso.h instead of libc-vdso.h.
9769         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
9770         definition.
9771         (INLINE_VSYSCALL): Likewise.
9772         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
9773         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
9774         definition.
9775         (INLINE_VSYSCALL): Likewise.
9776         (INTERNAL_VSYSCALL): Likewise.
9777         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9778         * sysdeps/unix/sysv/linux/timespec_get.c
9779         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9780         (timespec_get): Use ANSI prototype.
9781         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
9782         and definition for Linux.
9784 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9786         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
9787         * include/libc-symbols.h: libmvec_hidden_* macro series added.
9789 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9791         [BZ #2981]
9792         [BZ #18410]
9793         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
9794         for missing DT_PLTRELSZ.
9796 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
9798         Remove obsolete aliases that broke 'locale -a'
9799         [BZ #18412]
9800         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
9801         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
9802         breaking some applications that use 'locale -a' output.
9803         Change the encoding of this file from Latin-1 to ASCII to avoid
9804         other potential problems with people grepping this file.
9806 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9808         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
9809         -fasynchronous-unwind-tables.
9810         (CFLAGS-sendto.c): Likewise.
9811         (CFLAGS-sendmsg.c): Likewise.
9812         (CFLAGS-connect.c): Likewise.
9813         (CFLAGS-recvmsg.c): Likewise.
9814         (CFLAGS-recvfrom.c): Likewise.
9815         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
9816         (SOCKETCALL): New macro: non-cancellable socketcall.
9817         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
9818         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
9819         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
9820         * sysdeps/unix/sysv/linux/accept.c: New file.
9821         * sysdeps/unix/sysv/linux/bind.c: Likewise.
9822         * sysdeps/unix/sysv/linux/connect.c: Likewise.
9823         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
9824         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
9825         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
9826         * sysdeps/unix/sysv/linux/listen.c: Likewise.
9827         * sysdeps/unix/sysv/linux/recv.c: Likewise.
9828         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
9829         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9830         * sysdeps/unix/sysv/linux/send.c: Likewise.
9831         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9832         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
9833         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
9834         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
9835         * sysdeps/unix/sysv/linux/socket.c: Likewise.
9836         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
9837         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
9838         prototype.
9839         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
9840         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9841         instead of __internal_xxx function.
9842         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
9843         prototype.
9844         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
9845         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9846         instead of __internal_xxx function.
9847         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
9848         prototype.
9849         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
9850         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9851         instead of __internal_xxx function.
9852         * sysdeps/unix/sysv/linux/accept.S: Remove file.
9853         * sysdeps/unix/sysv/linux/bind.S: Likewise.
9854         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9855         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
9856         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
9857         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
9858         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
9859         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
9860         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
9861         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
9862         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
9863         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9864         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
9865         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
9866         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
9867         * sysdeps/unix/sysv/linux/listen.S: Likewise.
9868         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
9869         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
9870         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
9871         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
9872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
9873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
9874         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9875         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9876         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9877         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
9878         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9879         * sysdeps/unix/sysv/linux/send.S: Likewise.
9880         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9881         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9882         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
9883         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
9884         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
9885         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
9886         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9887         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
9888         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
9889         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
9890         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
9891         socketcall is implemented in GLIBC.
9893 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9895         * soft-fp/fmadf4.c: Include <libc-internal.h>.
9896         (__fma): Ignore uninitialized warnings around packing.
9897         * soft-fp/fmasf4.c: Include <libc-internal.h>.
9898         (__fmaf): Ignore uninitialized warnings around packing.
9899         * soft-fp/fmatf4.c: Include <libc-internal.h>.
9900         (__fmal): Ignore uninitialized warnings around packing.
9902         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
9903         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9904         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
9905         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9907         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
9908         switch statement into default case.
9909         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
9911         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
9912         a conditional in forcing "inexact".
9913         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9914         Likewise.
9916 2015-05-22  Roland McGrath  <roland@hack.frob.com>
9918         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9919         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
9920         for each INTERNAL_SYSCALL use.
9922 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9924         [BZ #438]
9925         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
9926         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
9927         variable.
9929         [BZ #18444]
9930         * string/basename.c (basename): Rename to __basename and define as
9931         weak alias of __basename.  Use libc_hidden_weak.
9932         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
9933         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
9934         __basename instead of basename.
9935         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
9936         Remove variable.
9937         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9939 2015-05-18  Florian Weimer  <fweimer@redhat.com>
9941         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
9942         (_IO_JUMPS_FILE_plus): New.
9943         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
9944         _IO_CAST_FIELD_ACCESS.
9945         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
9946         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
9947         * libio/freopen.c (freopen): Likewise.
9948         * libio/freopen64.c (freopen64): Likewise.
9949         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
9950         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
9951         * libio/iofwide.c (_IO_fwide): Likewise.
9952         * libio/memstream.c (open_memstream): Likewise.
9953         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9954         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9955         * libio/oldiopopen.c (_IO_old_popen): Likewise.
9957 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
9959         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
9960         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
9961         NADJ.
9962         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
9963         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
9964         NADJ.
9965         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
9966         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
9967         NADJ.
9969         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
9970         (p == 4) case.
9972         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
9973         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
9974         Remove variable.
9975         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9976         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9977         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9979 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9981         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
9982         Adjust jump table label generation macros.
9984 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9986         * stdio-common/vfprintf.c (vfprintf): Move local variables
9987         args_malloced, specs, specs_malloced, and the code after
9988         do_positional to the printf_positional function.
9989         (printf_positional): New function.
9991 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9993         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
9994         function.
9995         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
9996         STEP4_TABLE, process_arg): Move macro definitions
9997         out of the vfprintf function.  (Cosmetic change only.)
9999 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
10001         * benchtests/Makefile (stdio-common-bench): Define.
10002         (benchset): Add stdio-common-bench.
10003         * sprintf-inputs: New file.
10004         * sprintf-source.c: New file.
10006 2015-05-21  Andreas Schwab  <schwab@suse.de>
10008         [BZ #13028]
10009         [BZ #17053]
10010         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
10011         of struct __res_state.
10012         * resolv/res_send.c (__libc_res_nsend): Likewise.
10013         (get_nsaddr): New function.
10014         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
10015         statp directly.
10017 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
10019         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
10020         -D_POSIX_C_SOURCE=199506L.
10022         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
10024         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
10025         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
10026         Do not mention otherwise.
10027         [POSIX] (_XOPEN_VERSION): Do not expect.
10028         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
10029         [POSIX] (_POSIX2_C_BIND): Likewise.
10030         [POSIX] (_POSIX2_VERSION): Likewise.
10031         [POSIX] (_XOPEN_XPG2): Likewise.
10032         [POSIX] (_XOPEN_XPG3): Likewise.
10033         [POSIX] (_XOPEN_XPG4): Likewise.
10034         [POSIX] (_XOPEN_UNIX): Likewise.
10035         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
10036         [POSIX] (_POSIX_BARRIERS): Likewise.
10037         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
10038         [POSIX] (_POSIX_CPUTIME): Likewise.
10039         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
10040         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
10041         [POSIX] (_POSIX_SHELL): Likewise.
10042         [POSIX] (_POSIX_SPAWN): Likewise.
10043         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
10044         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
10045         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
10046         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
10047         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
10048         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
10049         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
10050         [POSIX] (_XBS5_LP64_OFF64): Likewise.
10051         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
10052         [POSIX] (_POSIX_TIMEOUTS): Likewise.
10053         [POSIX] (_POSIX2_PBS): Likewise.
10054         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
10055         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
10056         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
10057         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
10058         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
10059         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
10060         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
10061         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
10062         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
10063         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
10064         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
10065         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
10066         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
10067         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
10068         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
10069         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
10070         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
10071         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
10072         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
10073         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
10074         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
10075         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
10076         [POSIX] (_SC_2_C_BIND): Likewise.
10077         [POSIX] (_SC_2_C_VERSION): Likewise.
10078         [POSIX] (_SC_2_PBS): Likewise.
10079         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
10080         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
10081         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
10082         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
10083         [POSIX] (_SC_2_PBS_TRACK): Likewise.
10084         [POSIX] (_SC_ATEXIT_MAX): Likewise.
10085         [POSIX] (_SC_BARRIERS): Likewise.
10086         [POSIX] (_SC_BASE): Likewise.
10087         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
10088         [POSIX] (_SC_DEVICE_IO): Likewise.
10089         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
10090         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
10091         [POSIX] (_SC_FD_MGMT): Likewise.
10092         [POSIX] (_SC_FIFO): Likewise.
10093         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
10094         [POSIX] (_SC_FILE_LOCKING): Likewise.
10095         [POSIX] (_SC_FILE_SYSTEM): Likewise.
10096         [POSIX] (_SC_IOV_MAX): Likewise.
10097         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
10098         [POSIX] (_SC_NETWORKING): Likewise.
10099         [POSIX] (_SC_PAGE_SIZE): Likewise.
10100         [POSIX] (_SC_PASS_MAX): Likewise.
10101         [POSIX] (_SC_PIPE): Likewise.
10102         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
10103         [POSIX] (_SC_REGEXP): Likewise.
10104         [POSIX] (_SC_SHELL): Likewise.
10105         [POSIX] (_SC_SIGNALS): Likewise.
10106         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
10107         [POSIX] (_SC_SPIN_LOCKS): Likewise.
10108         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
10109         [POSIX] (_SC_USER_GROUPS): Likewise.
10110         [POSIX] (_SC_USER_GROUPS_R): Likewise.
10111         [POSIX] (_SC_STREAMS): Likewise.
10112         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
10113         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
10114         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
10115         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
10116         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
10117         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
10118         [POSIX] (_PC_FILESIZEBITS): Likewise.
10119         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
10120         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
10121         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
10122         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
10123         [POSIX] (uid_t): Likewise.
10124         [POSIX] (gid_t): Likewise.
10125         [POSIX] (off_t): Likewise.
10126         [POSIX] (pid_t): Likewise.
10127         [POSIX] (cuserid): Allow.
10128         (_SC_2_CHAR_TERM): Require constant.
10129         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
10130         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
10131         variable.
10133 2015-05-20  Roland McGrath  <roland@hack.frob.com>
10135         * sysdeps/nacl/pthread-pids.h: New file.
10136         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
10137         (create_thread): Use __nacl_get_tid to initialize PD->tid.
10139         * nptl/pthread-pids.h: New file.
10140         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
10141         * nptl/nptl-init.c: Include <pthread-pids.h>.
10142         (__pthread_initialize_minimal_internal):
10143         Call __pthread_initialize_pids instead of set_tid_address syscall.
10145         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
10146         * sysdeps/posix/usleep.c: ... here.
10148 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10150         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
10151         call_pselect6 object.
10152         [$(subdir) = io]: Remove call_sync_file_range object.
10153         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
10154         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
10155         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
10156         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
10158 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
10160         * math/s_cproj.c: Add include "math_private.h".
10161         * math/s_cprojf.c: Likewise.
10162         * math/s_cprojl.c: Likewise.
10164 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
10166         [BZ #18244]
10167         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
10168         high mantissa bit when testing whether P is a NaN.
10169         * math/libm-test.inc (remainder_test_data): Add more tests.
10170         (remquo_test_data): Likewise.
10172         [BZ #18049]
10173         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
10174         below -32, return the argument, with underflow if subnormal.
10175         * math/auto-libm-test-in: Add more tests of atanh.
10176         * math/auto-libm-test-out: Regenerated.
10178 2015-05-19  Roland McGrath  <roland@hack.frob.com>
10180         [BZ #18434]
10181         * nptl/tst-sem15.c: New file.
10182         * nptl/Makefile (tests): Add it.
10183         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
10184         s/<</>>/ to fix typo in EOVERFLOW check.
10185         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
10187 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10189         * manual/strings.texi (envz_remove): Fix typo in safety
10190         annotations.
10192 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
10193             Steve Ellcey  <sellcey@imgtec.com>
10195         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
10196         in order to avoid strict alias warnings.
10197         (iruserok_af): Ditto for ra.
10199 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
10201         [BZ #17581]
10202         * malloc/hooks.c
10203         (magicbyte): Convert to a function and avoid returning 0x01.
10204         (mem2mem_check): Avoid using a length byte equal to the magic byte.
10205         (mem2chunk_check): Fix unsigned comparisons to zero.
10206         Hoist defs of sz and magic.
10208 2015-05-19  Richard Henderson  <rth@redhat.com>
10210         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
10212         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10214 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10216         [BZ #16159]
10217         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
10218         * malloc/arena.c (arena_lock): Check if arena is corrupt.
10219         (reused_arena): Find a non-corrupt arena.
10220         (heap_trim): Pass arena to unlink.
10221         * malloc/hooks.c (malloc_check_get_size): Pass arena to
10222         malloc_printerr.
10223         (top_check): Likewise.
10224         (free_check): Likewise.
10225         (realloc_check): Likewise.
10226         * malloc/malloc.c (malloc_printerr): Add arena argument.
10227         (unlink): Likewise.
10228         (munmap_chunk): Adjust.
10229         (ARENA_CORRUPTION_BIT): New macro.
10230         (arena_is_corrupt): Likewise.
10231         (set_arena_corrupt): Likewise.
10232         (sysmalloc): Use mmap if there are no usable arenas.
10233         (_int_malloc): Likewise.
10234         (__libc_malloc): Don't fail if arena_get returns NULL.
10235         (_mid_memalign): Likewise.
10236         (__libc_calloc): Likewise.
10237         (__libc_realloc): Adjust for additional argument to
10238         malloc_printerr.
10239         (_int_free): Likewise.
10240         (malloc_consolidate): Likewise.
10241         (_int_realloc): Likewise.
10242         (_int_memalign): Don't touch corrupt arenas.
10243         * malloc/tst-malloc-backtrace.c: New test case.
10245         * Makefile (summarize-tests): Fix return value on success.
10247         * manual/string.texi (Envz Functions): Add envz_remove.
10249 2015-05-18  Roland McGrath  <roland@hack.frob.com>
10251         * sysdeps/posix/opendir.c: Include <stdbool.h>.
10252         (invalid_name): New function, broken out of ...
10253         (__opendirat): ... here.  Call it.
10254         (need_isdir_precheck): New function, broken out of ...
10255         (__opendirat): ... here.  Call it.
10256         Use __fxstatat64, not __xstatat64.
10257         (opendir_oflags): New function, broken out of ...
10258         (__opendirat): ... here.  Call it.
10259         (opendir_tail): New function, broken out of ...
10260         (__opendirat): ... here.  Call it.
10261         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
10262         opendir_tail, rather than punting to __opendirat.
10263         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
10265 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10267         * .gitignore: Ignore generated *.pyc.
10269 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
10271         * include/stdio.h: Define __need_wint_t.
10272         * test-skeleton.c: Avoid `for' loop initial declaration.
10273         * nptl/tst-initializers1.c: Use test-skeleton.c.
10275 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10277         [BZ #18418]
10278         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
10280 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
10282         [BZ #16352]
10283         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
10284         (__ieee754_atanh): Force underflow exception for results with
10285         small absolute value.
10286         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
10287         (__ieee754_atanhf): Force underflow exception for results with
10288         small absolute value.
10289         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
10290         (__ieee754_atanh): Force underflow exception for results with
10291         small absolute value.
10292         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
10293         (__ieee754_atanhf): Force underflow exception for results with
10294         small absolute value.
10295         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
10296         (__ieee754_atanhl): Force underflow exception for results with
10297         small absolute value.
10298         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
10299         (__ieee754_atanhl): Force underflow exception for results with
10300         small absolute value.
10301         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
10302         (__ieee754_atanhl): Force underflow exception for results with
10303         small absolute value.
10304         * math/auto-libm-test-in: Do not allow missing underflow
10305         exceptions from atanh.
10306         * math/auto-libm-test-out: Regenerated.
10308         [BZ #18221]
10309         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
10310         2**-28 as threshold for returning x or +/- 1/x.
10311         * math/auto-libm-test-in: Add more tests of tan.
10312         * math/auto-libm-test-out: Regenerated.
10314         [BZ #18220]
10315         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10316         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
10317         * math/auto-libm-test-in: Add another test of lgamma.
10318         * math/auto-libm-test-out: Regenerated.
10320 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
10322         * stdio-common/printf_fp.c (___printf_fp): Use abs.
10323         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
10324         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
10325         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
10326         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
10327         (ADD2A): Use fabs.  (SUB2A): Use fabs.
10328         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
10329         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
10330         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
10331         (log1): Use fabs.  (my_log2): Use fabs.
10332         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
10333         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
10334         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
10335         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
10336         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
10337         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
10338         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
10339         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
10340         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
10341         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
10342         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
10344 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
10346         [BZ #18217]
10347         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
10348         as threshold for returning 1 - x.
10349         * math/auto-libm-test-in: Add more tests of erfc.
10350         * math/auto-libm-test-out: Regenerated.
10352 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
10354         [BZ #18196]
10355         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
10356         threshold for large arguments.
10357         * math/auto-libm-test-in: Add another test of atan.
10358         * math/auto-libm-test-out: Regenerated.
10360         [BZ #16339]
10361         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
10362         (__log1p): Force underflow exception for results with small
10363         absolute value.
10364         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
10365         (__log1pf): Force underflow exception for results with small
10366         absolute value.
10367         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
10368         (__log1p): Force underflow exception for results with small
10369         absolute value.
10370         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
10371         (__log1pf): Force underflow exception for results with small
10372         absolute value.
10373         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
10374         (__log1pl): Force underflow exception for results with small
10375         absolute value.
10376         * math/auto-libm-test-in: Do not allow missing underflow
10377         exceptions from log1p.
10378         * math/auto-libm-test-out: Regenerated.
10380 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
10381             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10383         [BZ #16704]
10384         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
10386 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
10388         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
10389         (libmvec): New variable.
10390         * configure.ac: Added option for mathvec build.
10391         * configure: Regenerated.
10392         * mathvec/Depend: New file.
10393         * mathvec/Makefile: New file.
10394         * shlib-versions: Added libmvec.
10395         * math/Makefile: Added rule for libm.so installation.
10397         * bits/math-vector.h: New file.
10398         * bits/libm-simd-decl-stubs.h: New header.
10399         * math/Makefile (headers): Added new header
10400         libm-simd-decl-stubs.h.
10401         * math/math.h (__MATHCALL_VEC): New macro.
10403         * math/gen-libm-have-vector-test.sh: Script generates series of macros
10404         for conditions in testing functions.
10405         * math/Makefile: Added call of libm-have-vector-test.sh.
10406         * math/libm-test.inc (HAVE_VECTOR): New macros.
10408         * math/libm-test.inc: START refactored.
10409         * math/test-double.c (TEST_MATHVEC): Add define.
10410         * math/test-float.c: Likewise.
10411         * math/test-idouble.c: Likewise.
10412         * math/test-ifloat.c: Likewise.
10413         * math/test-ildoubl.c: Likewise.
10414         * math/test-ldouble.c: Likewise.
10415         * sysdeps/generic/math-tests-arch.h
10416         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
10417         architecture check.
10419         * math/test-double.c (FUNC_TEST): New macro.
10420         * math/test-float.c: Likewise.
10421         * math/test-idouble.c: Likewise.
10422         * math/test-ifloat.c: Likewise.
10423         * math/test-ildoubl.c: Likewise.
10424         * math/test-ldouble.c: Likewise.
10425         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
10427 2015-05-13  Roland McGrath  <roland@hack.frob.com>
10429         * sysdeps/nacl/fdopendir.c: New file.
10431         * dirent/scandir-tail.c: New file.
10432         * dirent/scandir64-tail.c: New file.
10433         * dirent/Makefile (routines): Add them.
10434         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
10435         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
10436         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
10437         [!SCANDIR] (SCANDIR_TAIL): New macro.
10438         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
10439         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
10440         (SCANDIRAT): Macro removed.
10441         (SCANDIR_TAIL): New macro.
10442         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
10443         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
10444         (SCANDIRAT): Just call __opendirat and __scandir_tail.
10445         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
10446         (READDIR): Macro removed.
10447         (SCANDIR_TAIL): New macro.
10448         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
10449         (SCANDIR_TAIL): New macro.
10451         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
10452         * dirent/scandir-cancel.c: ... to this new file.
10453         * dirent/Makefile (routines): Add it.
10454         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
10455         * sysdeps/unix/sysv/linux/i386/scandir64.c
10456         (SKIP_SCANDIR_CANCEL): Macro removed.
10457         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
10459         * dirent/tst-scandir.c: New file.
10460         * dirent/tst-scandir64.c: New file.
10461         * dirent/Makefile (tests): Add them.
10463 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
10465         [BZ #18409]
10466         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
10468 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10470         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
10471         list.
10473 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
10475         * benchtests/bench-strcoll.c: New benchmark.
10476         * benchtests/Makefile: Generate locales and run benchmark.
10477         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
10478         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10479         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
10480         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
10481         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
10482         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
10483         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
10484         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
10485         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
10486         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
10487         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
10488         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
10489         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
10490         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
10491         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
10492         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
10493         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
10494         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
10495         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
10496         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
10497         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
10498         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
10499         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
10500         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
10502 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
10504         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
10505         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10507 2015-05-12  Roland McGrath  <roland@hack.frob.com>
10509         * posix/uname-values.h: New file.
10510         * posix/uname.c: Include that instead of <config-name.h>.
10511         * sysdeps/nacl/uname-values.h: New file.
10512         * sysdeps/arm/nacl/uname-values.h: New file.
10514 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
10516         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
10517         splitting into fields.
10519 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
10521         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
10522         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
10523         * locale/localeinfo.h: Add enum collation_encoding_type.
10524         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
10525         * programs/ld-collate.c (collate_output): Add encoding type info.
10526         * string/strcoll_l.c (STRDIFF): New function.
10527         * (STRCOLL): Use STRDIFF to skip over equal prefix.
10528         * wcsmbs/wcscoll_l.c: Define STRDIFF.
10530 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
10532         [BZ #18397]
10533         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
10534         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
10535         <fpu_control.h> instead of <math/fpu_control.c>.
10536         * sysdeps/mips/mips32/fpu/Makefile: New file.
10538 2015-05-11  Andreas Schwab  <schwab@suse.de>
10540         [BZ #18007]
10541         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
10542         nss_endgrent.
10543         (_nss_compat_endgrent): Call nss_endgrent.
10544         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
10545         nss_endpwent.
10546         (_nss_compat_endpwent): Call nss_endpwent.
10547         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
10548         needent, call nss_setspent only if non-zero.
10549         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
10550         (internal_endspent): Don't call nss_endspent.
10551         (_nss_compat_endspent): Call nss_endspent.
10552         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
10553         Remove.  All uses removed.
10554         (internal_setent): Remove parameter stayopen, add parameter
10555         stream.  Use it instead of global variable.
10556         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
10557         (internal_endent, internal_getent): Add parameter stream.  Use it
10558         instead of global variable.
10559         (CONCAT(_nss_files_end,ENTNAME))
10560         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
10561         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
10562         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
10563         uses removed.
10564         (internal_setent, internal_endent): Add parameter stream.  Use it
10565         instead of global variable.
10566         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
10567         stream.
10568         (get_next_alias): Add parameter stream.
10569         (_nss_files_getaliasent_r): Pass global stream.
10570         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
10571         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
10572         (_nss_files_gethostbyname4_r): Pass local stream to
10573         internal_setent, internal_getent and internal_endent.  Remove
10574         locking.
10576 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10578         * tst-strfmon1.c (tests): Update expected currency symbol.
10580 2015-05-08  Roland McGrath  <roland@hack.frob.com>
10582         * sysdeps/nacl/gethostname.c: New file.
10584 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
10586         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
10587         and sinh.
10588         * math/auto-libm-test-out: Regenerated.
10589         * sysdeps/i386/fpu/libm-test-ulps: Update.
10590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10592 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
10594         [BZ #18125]
10595         * stdlib/tst-setcontext3.c: New file.
10596         * stdlib/tst-setcontext3.sh: New file.
10597         * stdlib/Makefile (tests): Add tst-setcontext3.
10598         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
10599         to verify test program created output file.
10600         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
10601         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
10602         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
10603         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
10605 2015-05-06  Roland McGrath  <roland@hack.frob.com>
10607         [BZ #18383]
10608         * elf/tst-tlsalign.c: New file.
10609         * elf/tst-tlsalign-static.c: New file.
10610         * elf/tst-tlsalign-lib.c: New file.
10611         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
10612         (tests-static): Add tst-tlsalign-static.
10613         (modules-names): Add tst-tlsalign-lib.
10614         (test-xfail-tst-tlsalign): New variable.
10615         (test-xfail-tst-tlsalign-static): New variable.
10617         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
10618         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
10620 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
10622         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
10623         csqrt, erfc, sin and sincos.
10624         * math/auto-libm-test-out: Regenerated.
10625         * sysdeps/i386/fpu/libm-test-ulps: Update.
10626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10628 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10630         * sysdeps/aarch64/libm-test-ulps: Update.
10632 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
10634         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
10635         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
10636         * math/auto-libm-test-out: Regenerated.
10637         * sysdeps/i386/fpu/libm-test-ulps: Update.
10638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10640 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10642         [BZ #18265]
10643         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
10644         (wcsncpy): Likewise.
10646 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10648         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10649         Assume __ASSUME_FALLOCATE is always true.
10650         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10651         (__posix_fallocate64_l64): Likweise.
10652         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
10653         (posix_fallocate): Likewise.
10654         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
10655         (__posix_fallocate64_l64): Likewise.
10656         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10657         [!__ASSUME_FALLOCATE]: Add comment.
10659 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10661         * sysdeps/unix/sysv/linux/i386/Makefile
10662         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
10663         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
10664         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
10665         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10666         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10667         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
10668         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
10670 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
10672         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
10673         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
10674         tgamma.
10675         * math/auto-libm-test-out: Regenerated.
10676         * sysdeps/i386/fpu/libm-test-ulps: Update.
10677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10679 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10681         * math/auto-libm-test-in: Add more tests of tgamma.
10682         * math/auto-libm-test-out: Regenerated.
10683         * sysdeps/i386/fpu/libm-test-ulps: Update.
10684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10686         * math/auto-libm-test-in: Add more tests of tanh.
10687         * math/auto-libm-test-out: Regenerated.
10688         * sysdeps/i386/fpu/libm-test-ulps: Update.
10689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10691         * math/auto-libm-test-in: Add more tests of tan.
10692         * math/auto-libm-test-out: Regenerated.
10693         * sysdeps/i386/fpu/libm-test-ulps: Update.
10694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10696         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
10697         * math/auto-libm-test-out: Regenerated.
10698         * sysdeps/i386/fpu/libm-test-ulps: Update.
10699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10701         * math/auto-libm-test-in: Add another test of pow.
10702         * math/auto-libm-test-out: Regenerated.
10703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10705         * math/auto-libm-test-in: Add more tests of lgamma.
10706         * math/auto-libm-test-out: Regenerated.
10707         * sysdeps/i386/fpu/libm-test-ulps: Update.
10708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10710         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
10711         log1p.
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 2015-05-01  Mark Wielaard  <mjw@redhat.com>
10718         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
10719         Elf64_Chdr structs and ELFCOMPRESS constants.
10721 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10723         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
10724         expm1.
10725         * math/auto-libm-test-out: Regenerated.
10726         * sysdeps/i386/fpu/libm-test-ulps: Update.
10727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10729         * math/auto-libm-test-in: Add more tests of erf and erfc.
10730         * math/auto-libm-test-out: Regenerated.
10731         * sysdeps/i386/fpu/libm-test-ulps: Update.
10732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10734 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10736         * config.h.in (HAVE_AARCH64_BE): Add.
10738 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
10740         * math/auto-libm-test-in: Add more tests of csqrt.
10741         * math/auto-libm-test-out: Regenerated.
10742         * sysdeps/i386/fpu/libm-test-ulps: Update.
10743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10745         * math/auto-libm-test-in: Add more tests of cosh and sinh.
10746         * math/auto-libm-test-out: Regenerated.
10747         * sysdeps/i386/fpu/libm-test-ulps: Update.
10748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10750         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
10752 2015-04-29  Roland McGrath  <roland@hack.frob.com>
10754         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
10755         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
10757         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
10758         (euidaccess, eaccess): Define as weak aliases.
10760         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
10761         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
10762         but __suseconds_t is often 'long int' so some sources assume that
10763         type is being used (e.g. they use %ld to print tv_usec).
10765 2015-04-29  Florian Weimer  <fweimer@redhat.com>
10767         [BZ #18007]
10768         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
10769         (CVE-2014-8121)
10770         * nss/tst-nss-getpwent.c: New file.
10771         * nss/Makefile (tests): Add new test.
10773 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
10775         [BZ #18346]
10776         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
10777         exponents less than 48 as cases where high part of mantissa needs
10778         examining to determine whether argument is integral.
10779         * math/libm-test.inc (round_test_data): Add more tests.
10781 2015-04-28  Mark Wielaard  <mjw@redhat.com>
10783         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
10785 2015-04-27  David S. Miller  <davem@davemloft.net>
10787         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
10788         __tls_get_addr.
10789         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10791 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
10793         [BZ#18333]
10794         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
10796 2015-04-27  Florian Weimer  <fweimer@redhat.com>
10798         [BZ#18333]
10799         * time/tzset.c (parse_tzname): Return error on memory allocation
10800         failure.
10801         * test-skeleton.c (struct temp_name_list): Change type of name
10802         member to non-const.
10803         (add_temp_file): Create a copy of the file name.
10804         (delete_temp_files): Deallocate memory.
10805         (create_temp_file): Add comment.
10807 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10809         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
10810         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
10812 2015-04-24  Roland McGrath  <roland@hack.frob.com>
10814         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
10815         * sysdeps/arm/configure: Regenerated.
10817 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10819         [BZ #17715]
10820         * time/tzfile.c (__tzfile_read): Check for large values of
10821         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
10822         * time/tzset.c (__tzstring_len): New function, based on the old
10823         __tzstring function.
10824         (__tzstring): Call __tzstring_len.
10825         (parse_tzname): New helper function extracted from
10826         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
10827         the input string.
10828         (parse_offset): New helper function extracted from
10829         __tzset_parse_tz.  Replace switch with fallthrough with
10830         initialization before sscanf.
10831         (parse_rule): Likewise.
10832         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
10833         new-style function definition.
10834         * timezone/Makefile (tests): Add tst-tzset.
10835         (tst-tzset.out): Dependencies on time zone files.
10836         (tst-tzset-ENV): Set TZDIR.
10837         (testdata/XT%): Copy crafted time zone files.
10838         * timezone/README: Mention crafted time zone files.
10839         * timezone/testdata/XT1, timezone/testdata/XT2,
10840         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
10841         files.
10842         * timezone/tst-tzset.c: New test.
10844 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10846         * Makeconfig (+gccwarn): Remove -Winline.
10848 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10850         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
10852 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10854         * NEWS: Mention sysconf() cache information support for s390.
10855         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
10857 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
10859         * math/k_casinh.c (__kernel_casinh): Use __copysign.
10860         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
10861         (__nearbyint): Likewise.
10862         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
10863         (copysignl): Likewise.
10865 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
10867         [BZ #18287]
10868         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
10869         based on padding.  (CVE-2015-1781)
10871 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10873         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
10874         libc-vdso.h.
10875         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
10876         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
10877         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
10878         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10879         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10880         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
10881         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
10882         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10883         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10884         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
10885         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10886         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10887         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
10888         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
10889         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10890         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
10891         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
10892         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
10893         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
10894         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
10895         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
10896         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
10897         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
10899 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
10901         * stdlib/setenv.c (__add_to_environ):
10902         Dump core quickly if setenv (..., NULL, ...) is called.
10903         This time, do it the right way, and pacify GCC with a pragma.
10905 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10907         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
10908         IMAP->l_prev cannot be null, and #if out the code for the contrary
10909         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
10910         believe that NS (&_dl_ns[NSID]) could point outside the array.
10912         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
10913         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
10914         before using NSID as an index.
10916 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
10918         [BZ #17825]
10919         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
10920         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
10921         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
10923 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10925         Add preliminary port to Google Native Client on ARM.
10926         * abi-tags (.*-.*-nacl.*): New entry.
10927         * sysdeps/arm/nacl: New directory.
10928         * sysdeps/nacl: New directory.
10930 2015-04-16  David S. Miller  <davem@davemloft.net>
10932         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
10933         lowlevellock-futex.h
10935 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
10937         * sysdeps/tile/configure.ac: New file.
10938         * sysdeps/tile/configure: Regenerated.
10940 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10942         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
10943         conditionals for weak_alias and libc_hidden_weak.
10944         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
10945         libc_hidden_weak and weak_alias.
10946         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
10947         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
10948         and weak_alias for static one.
10950 2015-04-15  David S. Miller  <davem@davemloft.net>
10952         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10954 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10956         [BZ #18206]
10957         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
10958           Use signed comparision instead of substraction to avoid
10959           overflow bug.
10960         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
10961           Take the sign of ret.
10962         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
10963           Do not expect precise return values. Only the sign matters.
10964         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
10965         * wcsmbs/test-wcsncmp.c: New File.
10966         * string/test-strncmp.c: Add wcsncmp support.
10968 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10970         [BZ #6792]
10971         * math/w_log1p.c: New file.
10972         * math/w_log1pf.c: Likewise.
10973         * math/w_log1pl.c: Likewise.
10974         * math/Makefile (libm-calls): Add w_log1p.
10975         * math/s_log1pl.c (log1pl): Remove weak_alias.
10976         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
10977         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
10978         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
10979         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
10980         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
10981         [NO_LONG_DOUBLE] (log1pl): Likewise.
10982         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
10983         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
10984         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
10985         (log1p): Remove long_double_symbol.
10986         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
10987         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
10988         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
10989         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
10990         remove weak_alias for corresponding log1p function.
10991         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
10992         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10993         * sysdeps/ia64/fpu/w_log1p.c: New file.
10994         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
10995         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
10996         * math/libm-test.inc (log1p_test_data): Add errno expectations.
10998 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
11000         [BZ #18247]
11001         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
11002         decimal exponent by 1.
11003         * stdlib/tst-strtod-round-data: Add more tests.
11004         * stdlib/tst-strtod-round.c (tests): Regenerated.
11006 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
11008         * math/auto-libm-test-in: Add more tests of clog and clog10.
11009         * math/auto-libm-test-out: Regenerated.
11010         * sysdeps/i386/fpu/libm-test-ulps: Update.
11011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11013 2015-04-09  Roland McGrath  <roland@hack.frob.com>
11015         * Makeconfig (module-cppflags): Exclude all .v.i files.
11016         (skip-module-cppflags): Variable removed.
11018         * configure.ac (libc_config_ok): Initialize before reading
11019         preconfigure scripts, not after.
11020         * configure: Regenerated.
11022         * test-skeleton.c (TIMEOUT): Move #define to top level.
11023         (main): Grok environment variable TEST_DIRECT.  If set, print
11024         test expectation details into that file and then behave as if
11025         given --direct.
11027 2015-04-09  Florian Weimer  <fweimer@redhat.com>
11029         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
11030         warning on 32-bit.
11032 2015-04-08  David S. Miller  <davem@davemloft.net>
11034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11036 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
11038         * math/auto-libm-test-in: Add more tests of atanh.
11039         * math/auto-libm-test-out: Regenerated.
11040         * sysdeps/i386/fpu/libm-test-ulps: Update.
11041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11043         * math/auto-libm-test-in: Add more tests of atan.
11044         * math/auto-libm-test-out: Regenerated.
11045         * sysdeps/i386/fpu/libm-test-ulps: Update.
11046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11048 2015-04-08  Florian Weimer  <fweimer@redhat.com>
11050         * elf/pldd.c (main): Rewrite to use struct
11051         scratch_buffer instead of extend_alloca.
11052         * elf/pldd-xx.c (find_maps): Likewise.
11053         * grp/initgroups.c: Include <scratch_buffer.h> instead of
11054         <alloca.h>.
11055         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
11056         scratch_buffer instead of extend_alloca.
11057         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
11058         grp/compat-initgroups.c.
11059         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
11060         Rewrite to use struct scratch_buffer instead of extend_alloca.
11061         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
11062         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11064 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
11066         * math/auto-libm-test-in: Add more tests of cbrt.
11067         * math/auto-libm-test-out: Regenerated.
11068         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11070         * math/auto-libm-test-in: Add more tests of cabs.
11071         * math/auto-libm-test-out: Regenerated.
11072         * sysdeps/i386/fpu/libm-test-ulps: Update.
11073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11075         [BZ #18210]
11076         [BZ #18211]
11077         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
11078         (__ieee754_atan2): Set FE_TONEAREST mode for internal
11079         computations.
11080         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
11081         clog10.
11082         * math/auto-libm-test-out: Regenerated.
11083         * sysdeps/i386/fpu/libm-test-ulps: Update.
11084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11086         [BZ #18197]
11087         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
11088         (atan): Set FE_TONEAREST mode for internal computations.
11089         * math/auto-libm-test-in: Add more tests of atan.
11090         * math/auto-libm-test-out: Regenerated.
11092 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
11094         [BZ #17930]
11095         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
11097 2015-04-07  Florian Weimer  <fweimer@redhat.com>
11099         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
11101 2015-04-07  Florian Weimer  <fweimer@redhat.com>
11103         * include/scratch_buffer.h: New file.
11104         * malloc/scratch_buffer_grow.c: Likewise.
11105         * malloc/scratch_buffer_grow_preserve.c: Likewise.
11106         * malloc/scratch_buffer_set_array_size.c: Likewise.
11107         * malloc/tst-scratch_buffer.c: Likewise.
11108         * malloc/Makefile (routines): Add scratch_buffer_grow.
11109         (tests): Add test case.
11110         * malloc/Versions (GLIBC_PRIVATE): Export
11111         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
11112         __libc_scratch_buffer_set_array_size.
11114 2015-04-06  Richard Henderson  <rth@redhat.com>
11116         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
11117         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11119         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
11120         unsigned int before printing.
11122 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11124         [BZ #17596]
11125         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
11126         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11128 2015-04-02  Florian Weimer  <fweimer@redhat.com>
11130         * include/libc-internal.h (libc_max_align_t): Define.
11132 2015-04-02  Andreas Schwab  <schwab@suse.de>
11134         [BZ #16850]
11135         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
11137 2015-04-02  Mel Gorman  <mgorman@suse.de>
11139         [BZ #17195]
11140         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
11141         as well as the main arena.
11143 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11145         [BZ #18185]
11146         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
11147         sharing L2 cache to 2 for Silvermont/Knights Landing.
11149 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11151         [BZ #17711]
11152         * config.make.in (have-protected-data): New.
11153         * configure.ac: Check linker support for protected data symbol.
11154         * configure: Regenerated.
11155         * elf/Makefile (modules-names): Add tst-protected1moda and
11156         tst-protected1modb if $(have-protected-data) is yes.
11157         (tests): Add tst-protected1a and tst-protected1b if
11158         $(have-protected-data) is yes.
11159         ($(objpfx)tst-protected1a): New.
11160         ($(objpfx)tst-protected1b): Likewise.
11161         (tst-protected1modb.so-no-z-defs): Likewise.
11162         * elf/tst-protected1a.c: New file.
11163         * elf/tst-protected1b.c: Likewise.
11164         * elf/tst-protected1mod.h: Likewise.
11165         * elf/tst-protected1moda.c: Likewise.
11166         * elf/tst-protected1modb.c: Likewise.
11168 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11170         [BZ #17711]
11171         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
11172         indicates it is called from do_lookup_x on relocation against
11173         protected data, skip the data definion in the executable from
11174         copy reloc.
11175         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
11176         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
11177         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
11178         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
11179         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
11180         otherwise to 0.
11181         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
11182         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
11183         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
11184         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
11185         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
11186         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
11188 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
11190         * sysdeps/nptl/pthread.h: Remove duplicate definition of
11191         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
11193 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
11195         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
11196         THREAD_SETMEM_NC.
11197         * sysdeps/x86_64/nptl/tls.h: Ditto.
11199 2015-03-27  Roland McGrath  <roland@hack.frob.com>
11201         * dlfcn/tststatic.c (main): Converted to ...
11202         (do_test): ... this.
11203         (TEST_FUNCTION): New macro.
11204         Include test-skeleton.c.
11206 2015-03-26  Alan Modra  <amodra@gmail.com>
11208         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
11209         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
11210         zero for undefined weak.
11211         (elf_machine_plt_conflict): Similarly.
11213 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
11215         * math/auto-libm-test-in: Add more tests of acosh, asinh and
11216         atanh.
11217         * math/auto-libm-test-out: Regenerated.
11218         * sysdeps/i386/fpu/libm-test-ulps: Update.
11219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11221         * math/auto-libm-test-in: Add another test of asin.
11222         * math/auto-libm-test-out: Regenerated.
11223         * sysdeps/i386/fpu/libm-test-ulps: Update.
11224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11226         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
11227         Remove macro.
11228         (LLL_EBX_REG): Likewise.
11229         (LLL_ENTER_KERNEL): Likewise.
11231         * math/auto-libm-test-in: Add more tests of asin.
11232         * math/auto-libm-test-out: Regenerated.
11233         * sysdeps/i386/fpu/libm-test-ulps: Update.
11234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11236         [BZ #18138]
11237         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
11238         libc_do_syscall_args): New structure.
11239         (INTERNAL_SYSCALL_MAIN_0): New macro.
11240         (INTERNAL_SYSCALL_MAIN_1): Likewise.
11241         (INTERNAL_SYSCALL_MAIN_2): Likewise.
11242         (INTERNAL_SYSCALL_MAIN_3): Likewise.
11243         (INTERNAL_SYSCALL_MAIN_4): Likewise.
11244         (INTERNAL_SYSCALL_MAIN_5): Likewise.
11245         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
11246         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
11247         Replace conditional definitions by conditional definitions of ....
11248         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
11249         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
11250         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
11251         (libpthread-sysdep_routines): Add libc-do-syscall.
11252         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
11253         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
11254         to __NR_futex not 240.
11256 2015-03-25  Alan Modra  <amodra@gmail.com>
11258         * NEWS: Advertise TLS optimization.
11259         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
11260         (DT_PPC_NUM): Increment.
11261         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
11262         (CHECK_STATIC_TLS): Use here.
11263         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
11264         TLS descriptors.
11265         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11266         * sysdeps/powerpc/dl-tls.c: New file.
11267         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
11268         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
11269         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
11270         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
11271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
11272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11275 2015-03-25  Alan Modra  <amodra@gmail.com>
11277         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
11278         for overlapping .opd entries" to "support...".
11279         * sysdeps/powerpc/powerpc64/configure: Regenerate
11281 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
11283         * math/auto-libm-test-in: Add more tests of acos.
11284         * math/auto-libm-test-out: Regenerated.
11285         * sysdeps/i386/fpu/libm-test-ulps: Update.
11286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11288         * math/auto-libm-test-in: Add more tests of expm1.
11289         * math/auto-libm-test-out: Regenerated.
11290         * sysdeps/i386/fpu/libm-test-ulps: Update.
11291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11293 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
11295         * math/auto-libm-test-in: Add more tests of cosh and sinh.
11296         * math/auto-libm-test-out: Regenerated.
11297         * sysdeps/i386/fpu/libm-test-ulps: Update.
11298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11300         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11303         * math/auto-libm-test-in: Add more tests of log2.
11304         * math/auto-libm-test-out: Regenerated.
11305         * sysdeps/i386/fpu/libm-test-ulps: Update.
11306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11308 2015-03-23  Roland McGrath  <roland@hack.frob.com>
11310         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
11311         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
11312         _IO_IS_APPENDING bit in READ_WRITE instead.
11314 2015-03-23  Florian Weimer  <fweimer@redhat.com>
11316         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
11317         (__determine_cpumask_size): Replace extend_alloca with a
11318         variable-length array.  Do not treat res == 0 as an error.
11320 2015-03-23  Florian Weimer  <fweimer@redhat.com>
11322         [BZ #18100]
11323         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
11324         and integer overflow.
11325         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
11326         (main): Add integer overflow tests.
11327         * manual/pattern.texi (Calling Wordexp): Document additional use
11328         for WRDE_SYNTAX.
11330 2015-03-23  Alan Modra  <amodra@gmail.com>
11332         * config.h.in: Remove HAVE_ASM_PPC_REL16.
11333         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
11334         and false branch of conditional.
11335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11336         Likewise.
11338 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
11340         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
11341         libc-modules.h
11342         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
11343         unused declaration of _hurd_intr_rpc_msg_in_trap.
11344         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
11345         defined instead of whether it is non-zero.
11346         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
11347         input constraint instead of both input and output constraint.  Use ecx
11348         clobber instead of %ecx.
11349         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
11350         mutex_unlock): Use a statement expression instead of an expression list.
11351         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
11352         type to vm_size_t instead of vm_address_t.
11353         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
11354         defined instead of whether it is non-zero.
11355         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
11356         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
11357         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
11358         comparisons with mapaddr.
11359         * nscd/nscd-client.h: Include <time.h>.
11360         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
11361         9th parameter to __vm_region instead of int.
11362         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
11363         * scripts/check-local-headers.sh (exclude): Add device/,
11364         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
11365         cthreads.h.
11367 2015-03-19  Roland McGrath  <roland@hack.frob.com>
11369         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
11370         to account for alignment padding.
11371         * sysdeps/arm/memmove.S: Likewise.
11373 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
11375         * sysdeps/unix/sysv/linux/generic/README: New file.
11377 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
11379         [BZ #18138]
11380         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
11381         (futex_abstimed_wait)
11382         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
11383         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
11384         of lll_futex_timed_wait.
11386 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
11388         [BZ #17542]
11389         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
11391 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
11393         [BZ #17090]
11394         [BZ #17620]
11395         [BZ #17621]
11396         [BZ #17628]
11397         * NEWS: Update.
11398         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
11399         entries with Static TLS too.  Skip entries past the end of the
11400         allocated DTV, from Alan Modra.
11401         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
11402         Static TLS DTV entry set up from...
11403         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
11404         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
11405         * nptl/allocatestack.c (init_one_static_tls): ... and here...
11406         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
11407         for Static TLS.
11408         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
11409         that the slot we find is associated with the given map before
11410         using its generation count.
11411         * nptl_db/db_info.c: Include ldsodefs.h.
11412         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
11413         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
11414         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
11415         (link_map::l_tls_offset): New struct field.
11416         (dtv_t::counter): Likewise.
11417         (rtld_global): New struct.
11418         (_rtld_global): New rtld variable.
11419         (dl_tls_dtv_slotinfo_list): New rtld global field.
11420         (dtv_slotinfo_list): New struct.
11421         (dtv_slotinfo): Likewise.
11422         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
11423         (td_lookup): Rename to...
11424         (td_mod_lookup): ... this.  Use new mod parameter instead of
11425         LIBPTHREAD_SO.
11426         * nptl_db/td_thr_tlsbase.c: Include link.h.
11427         (dtv_slotinfo_list, dtv_slotinfo): New functions.
11428         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
11429         addresses even if the DTV is out of date or missing them.
11430         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
11431         index zero-length arrays.
11432         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
11433         (td_lookup): Make it a macro implemented in terms of...
11434         (td_mod_lookup): ... this declaration.
11435         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
11436         (DB_MAIN_VARIABLE): Likewise.
11438 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
11440         [BZ #18134]
11441         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11443 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
11445         * stdlib/setenv.c (__add_to_environ): Revert previous change.
11447 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
11449         [BZ #18128]
11450         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
11451         (atomic_add, atomic_increment_and_test)
11452         (atomic_decrement_and_test): Fix 64-bit arithmetic.
11454 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
11456         * stdlib/setenv.c (__add_to_environ):
11457         Dump core quickly if setenv (..., NULL, ...) is called.
11459 2015-03-13  Roland McGrath  <roland@hack.frob.com>
11461         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
11462         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
11463         all the necessary asm magic in one place.
11464         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
11465         using those.
11467 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
11469         [BZ #14906]
11470         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
11471         traced file mtime. Use consistent log message.
11472         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
11473         (register_traced_file): Call install_watches. Always set mtime.
11474         (invalidate_cache): Iterate over all trace files. Call install_watches.
11475         (inotify_check_files): Don't inline. Handle watching parent
11476         directories and configuration file movement in and out.
11477         (handle_inotify_events): New function.
11478         (main_loop_poll): Call handle_inotify_events.
11479         (main_loop_epoll): Likewise.
11480         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
11481         (struct traced_file): Use array of inotify fds. Add parent directory,
11482         and basename.
11483         (struct database_dyn): Remove unused file_mtime.
11484         (init_traced_file): New inline function.
11485         (define_traced_file): New macro.
11486         * nss/nss_db/db-init.c: Use define_traced_file.
11487         (_nss_db_init): Use init_traced_file.
11488         * nss/nss_files/files-init.c: Use define_traced_file.
11489         (_nss_files_init): Use init_traced_file.
11491 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
11493         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
11494         [_LIBC]: Do not include <stdlib.h>.
11495         [!_LIBC] (abort): Remove declaration.
11496         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
11497         _FP_STATIC_ASSERT instead of conditionally calling abort.
11498         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
11499         (_FP_EXTEND_CNAN): Likewise.
11500         (FP_TRUNC): Likewise.
11501         (__FP_CLZ): Likewise.
11502         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
11504 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
11506         * manual/string.texi (XPG basename): Fix prototype.
11508 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11510         [BZ #18080]
11511         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
11512         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
11513         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
11514         (__setcontext): Likewise.
11515         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
11516         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
11517         Call rt_sigprocmask syscall one time to set new signal mask
11518         and retrieve the current signal mask instead of two calls.
11519         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
11520         (__swapcontext): Likewise.
11521         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
11522         * stdlib/tst-setcontext2.c: New file.
11524 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11526         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11528 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
11530         [BZ #18093]
11531         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
11532         the wrong size.
11534 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11536         [BZ #18043]
11537         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
11539 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11541         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
11542         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
11543         Remove define.
11544         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
11545         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
11546         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
11547         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
11548         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
11549         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
11550         define.
11551         * nptl_db/td_symbol_list.c (td_lookup): Remove
11552         HAVE_ASM_GLOBAL_DOT_NAME code.
11553         * sysdeps/powerpc/powerpc64/configure.ac: Remove
11554         HAVE_ASM_GLOBAL_DOT_NAME check.
11555         * sysdeps/powerpc/powerpc64/configure: Regenerate.
11556         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
11557         (DOT_LABEL): Remove define.
11558         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
11559         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
11560         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
11561         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
11562         (__TLS_GET_ADDR): Likewise.
11563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
11564         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
11566 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
11568         [BZ #18111]
11569         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
11570         (_FPU_SETCW): Initialize cw from fpsr before storing.
11571         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
11572         (fesetexceptflag): Rewrite using fpu_control.h.
11573         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
11575 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
11577         [BZ #18110]
11578         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
11579         asms.
11580         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11582 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
11584         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
11585         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
11586         abort.
11587         (_FP_FMA): Likewise.
11588         (_FP_DIV): Likewise.
11590 2015-03-10  Roland McGrath  <roland@hack.frob.com>
11592         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
11593         with 0 in that case.
11594         * Makefile (summarize-tests): New canned sequence, factored out of
11595         commands for targets tests and xtests.  Display summary lines that
11596         don't start with PASS: or XFAIL: rather than ones that do start with
11597         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
11598         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
11599         do start with ERROR: or FAIL:.
11600         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
11601         (except for [$(build-shared) = yes]).
11602         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
11603         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
11604         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
11605         * nptl/Makefile: Revert 2015-03-04 changes.
11606         [$(CXX) empty] (tests-unsupported): New variable.
11607         * debug/Makefile: Likewise.
11609         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
11610         gnulib file.  Replace __attribute with __attribute__ throughout.
11612 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
11614         * sysdeps/hppa/fpu/libm-test-ulps: Update.
11616 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11618         [BZ #18104]
11619         * math/auto-libm-test-in: Add another test of pow.
11620         * math/auto-libm-test-out: Regenerated.
11622 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11624         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
11625         $(config-cflags-nofma).
11627 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11629         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
11630         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
11631         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
11632         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
11633         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
11634         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
11635         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
11636         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
11637         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
11638         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
11639         Add comment on closing #endif.
11641 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11643         * posix/wordexp.c (CHAR_IN_SET): New macro.
11644         (parse_param): Use it.
11646 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11648         * sysdeps/powerpc/fpu/libm-test-ulps: update.
11650 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11652         [BZ #18043]
11653         * posix/wordexp.c (parse_param): Fix buffer overflow.
11654         * posix/wordexp-test.c (test_case): Add test case.
11656 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11658         [BZ #18042]
11659         * posix/wordexp.c (parse_backtick): Fix off-by-one.
11660         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
11662 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11664         [BZ #18043]
11665         * posix/wordexp-test.c (test_case): Add test for BZ #18043
11666         (do_bz18043): Delete.
11667         (at_page_end): New.
11668         (testit): Refactor to have words at the edge of unreadable page.
11670 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11672         [BZ #16734]
11673         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
11674         Cleanup read-only streams as well.
11675         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
11677 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11679         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
11680         <bits/libc-lockP.h>
11682 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
11684         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
11685         on [__KERNEL__].
11686         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
11687         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
11688         * soft-fp/op-common.h (_FP_DECL): Likewise.
11690 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11692         * elf/ifuncdep2.c (global): Replace
11693         __attribute__((visibility("protected"))) with
11694         asm (".protected global").
11695         * elf/ifuncmod1.c (global): Likewise.
11696         * elf/ifuncmod5.c (global): Likewise.
11698 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
11700         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
11701         <asm/sfp-machine.h> instead of <sfp-machine.h>.
11703 2015-03-06  Roland McGrath  <roland@hack.frob.com>
11705         * manual/install.texi (Configuring and compiling):
11706         Document test-wrapper-env-only.
11707         * INSTALL: Regenerated.
11709 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11711         [BZ #18043]
11712         * posix/wordexp.c (parse_param): Fix buffer overflow.
11713         * posix/wordexp-test.c (do_bz18043): Add test case.
11715 2015-03-06  Vincent Bernat  <vincent@bernat.im>
11717         * time/tst-strptime2.c (do_test): Ensure failing tests are
11718         reported correctly.
11719         * time/tst-strptime3.c (do_test): Likewise.
11721 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
11723         Fix aio_error thread-safety.
11724         * sysdeps/pthread/aio_error.c: New file
11725         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
11726         synchronization.
11728 2015-03-06  Florian Weimer  <fweimer@redhat.com>
11730         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
11731         (group_number, vfprintf): Use it.
11732         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
11733         (JUMP, REF): Use it.
11734         (WORK_BUFFER_SIZE): New enum constant.
11735         (process_arg, vfprintf): Use it.
11737 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
11739         * manual/errno.texi (Error Messages): Complete example function
11740         by adding missing #define.
11741         (program_invocation_name): Add statement indicating GNU
11742         extension and reference which header file declares the variable.
11743         (program_invocation_short_name): Likewise.
11745 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
11747         * manual/errno.texi (Error Messages): Delete strerror ISO C89
11748         compatibility note.
11750 2015-03-05  Roland McGrath  <roland@hack.frob.com>
11752         * Makeconfig (test-wrapper-env-only): New variable.
11753         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
11754         then use that with $(test-wrapper-env-only) rather than using
11755         $(test-wrapper-env) $(run-program-env) $($*-ENV).
11757 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
11759         [BZ #18082]
11760         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
11761         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
11762         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
11763         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
11764         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
11765         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
11766         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
11767         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
11768         Likewise.
11769         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
11770         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
11771         Likewise.
11772         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
11773         Likewise.
11774         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
11775         Likewise.
11776         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
11777         Likewise.
11778         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
11779         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
11780         Likewise.
11781         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
11782         Likewise.
11783         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
11784         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
11786 2015-03-04  Roland McGrath  <roland@hack.frob.com>
11788         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
11789         (ETH_ALEN): New macro.
11790         (struct ether_addr): Use it for length of ether_addr_octet.
11792         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
11793         (setdb): Don't call __nss_configure_lookup for "rpc".
11794         (do_test): Don't call test_rpc.
11795         (output_rpcent, test_rpc): Functions moved ...
11796         * sunrpc/test-rpcent.c: ... to this new file.
11797         * sunrpc/Makefile (tests): Add it.
11799         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
11800         __xpg_sigpause.
11801         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
11802         * nptl/tst-signal6.c: Likewise.
11803         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
11804         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
11806         * configure.ac (libc_cv_cxx_link_ok): New check.
11807         Reset CXX to empty if it fails to link.
11808         * configure: Regenerated.
11809         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
11810         bug-atexit3-lib only if $(CXX) is nonempty.
11811         * nptl/Makefile (tests): Likewise for tst-cancel24.
11812         (tests, tests-static): Likewise for tst-cancel24-static.
11813         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
11814         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
11815         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
11816         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
11818 2015-03-04  Andreas Schwab  <schwab@suse.de>
11820         [BZ #17631]
11821         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
11822         for non-GCC compilers.
11823         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11824         Likewise.
11826 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11828         [BZ #17776]
11829         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
11830         integer before bitwise and assembly operations.
11831         (feclearexcept): Likewise.
11832         * math/test-fenvinline.c: New file.
11833         * math/Makefile: Add test-fenvinline test.
11835 2015-03-03  Alan Modra  <amodra@gmail.com>
11837         [BZ #16512]
11838         * scripts/localplt.awk: Strip off symbol version.
11839         * NEWS: Mention bug fix.
11841 2015-03-02  Roland McGrath  <roland@hack.frob.com>
11843         * sysdeps/pthread/timer_routines.c
11844         (timer_free_list, thread_free_list, thread_active_list): Make static.
11846 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
11848         [BZ #17779]
11849         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11850         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11851         Undefine.
11852         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11853         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11854         Likewise.
11855         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11856         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11857         Likewise.
11859 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
11861         [BZ #18036]
11862         * posix/fnmatch_loop.c (END): Detect invalid pattern.
11863         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
11865 2015-03-02  Andreas Schwab  <schwab@suse.de>
11867         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
11868         variable name.
11870 2015-03-02  Florian Weimer  <fweimer@redhat.com>
11872         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
11873         Return error status.
11875 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
11877         [BZ #15969]
11878         * locale/findlocale.c (_nl_find_locale): Introduce const
11879         version of loc_name and drop unsafe type casts.
11881 2015-02-27  Roland McGrath  <roland@hack.frob.com>
11883         * dlfcn/tststatic2.c (main): Converted to ...
11884         (do_test): ... this.
11885         (TEST_FUNCTION): New macro.
11886         Include test-skeleton.c.
11888 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
11890         [BZ #17711]
11891         * elf/Makefile (tests): Add vismain only if PIE is enabled.
11892         (tests-pie): Add vismain.
11893         (CFLAGS-vismain.c): New.
11894         * elf/vismain.c: Add comments for PIE requirement.
11896 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11898         [BZ #18046]
11899         [BZ #18047]
11900         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
11901         0x1p-56L as threshold for just returning the argument.
11902         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
11903         0x1p-32L as threshold for just returning the argument.
11904         * math/auto-libm-test-in: Add more tests of atanh.
11905         * math/auto-libm-test-out: Regenerated.
11906         * sysdeps/i386/fpu/libm-test-ulps: Update.
11907         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
11909 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11911         * string/bcopy.c (bcopy): Call memmove for performance.
11913 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11915         * string/bzero.c (__bzero): Call memset for performance.
11917 2015-02-27  John David Anglin  <dave.anglin@bell.net>
11919         [BZ #18068]
11920         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
11921         to 00100000.
11923 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11925         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
11927 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
11929         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
11930         (__kernel_standard): Use CSTR macro when setting exc.name.
11931         * sysdeps/ieee754/Makefile [$(subdir) = math]
11932         (CFLAGS-k_standard.c): Remove variable.
11934         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
11935         setting p and q from "else if" to "else".
11936         (qzero): Likewise.
11937         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
11938         (qone): Likewise.
11939         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
11940         (qzerof): Likewise.
11941         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
11942         (qonef): Likewise.
11943         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
11944         (qzero): Likewise.
11945         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
11946         (qone): Likewise.
11948         [BZ #18038]
11949         [BZ #18039]
11950         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
11951         return pi/2 for arguments below 0x1p-113L.
11952         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
11953         return pi/2 for arguments below 0x1p-106L.
11954         * math/auto-libm-test-in: Add more tests of acos.
11955         * math/auto-libm-test-out: Regenerated.
11957         [BZ #16351]
11958         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
11959         (MO): New macro.
11960         (__ieee754_asin): Force underflow exception for results with small
11961         absolute value.
11962         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
11963         (MO): New macro.
11964         (__ieee754_asinf): Force underflow exception for results with
11965         small absolute value.
11966         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
11967         (__ieee754_asin): Force underflow exception for results with small
11968         absolute value.
11969         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
11970         (__ieee754_asinf): Force underflow exception for results with
11971         small absolute value.
11972         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
11973         (__ieee754_asinl): Force underflow exception for results with
11974         small absolute value.
11975         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
11976         (__ieee754_asinl): Force underflow exception for results with
11977         small absolute value.
11978         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
11979         (__ieee754_asinl): Force underflow exception for results with
11980         small absolute value.
11981         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11982         Include <math.h>.
11983         * math/auto-libm-test-in: Do not mark underflow exceptions as
11984         possibly missing for bug 16351.
11985         * math/auto-libm-test-out: Regenerated.
11987         [BZ #18030]
11988         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
11989         of power of 2 down when low part has opposite sign.
11990         * math/libm-test.inc (logb_test_data): Add more tests.
11992 2015-02-26  Andreas Schwab  <schwab@suse.de>
11994         [BZ #18032]
11995         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
11996         over collating symbol inside a bracket expression.  Minor cleanup.
11997         * posix/tst-fnmatch3.c (do_test): Add test case.
11999 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
12001         [BZ #18029]
12002         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
12003         Adjust exponent of power of 2 down when low part has opposite
12004         sign.
12005         * math/libm-test.inc (ilogb_test_data): Add more tests.
12007 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
12009         [BZ #15969]
12010         * locale/findlocale.c (_nl_find_locale): Fix constness error in
12011         the previous change.
12013         [BZ #15969]
12014         * locale/findlocale.c (_nl_find_locale): Retry archive search
12015         after alias expansion.
12017 2015-02-25  Roland McGrath  <roland@hack.frob.com>
12019         * iconv/tst-iconv3.c (main): Converted to ...
12020         (do_test): ... this.
12021         (TEST_FUNCTION): New macro.
12022         Include test-skeleton.c.
12024         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
12025         (convert): Make function static.
12026         (test_unalign): Likewise.  Add const to argument pointee types.
12027         (main): Replace with static function do_test.
12028         Print "Succeeded." only if RET is zero.
12029         (TEST_FUNCTION): New macro.
12030         Include test-skeleton.c.
12032         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
12033         returns a null pointer.
12035 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12037         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
12038         to __memcpy_ppc only for static builds.
12040 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
12042         [BZ #18020]
12043         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
12044         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
12045         * math/auto-libm-test-in: Add more tests of asinh.
12046         * math/auto-libm-test-out: Regenerated.
12047         * sysdeps/i386/fpu/libm-test-ulps: Update.
12048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12050 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
12052         [BZ #15850]
12053         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
12054         and ip6_mtuinfo definitions here.
12055         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
12056         in this define too.  Update comment.
12058 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
12060         * elf/sprof.c (load_shobj): Tweak error message to match others.
12062 2015-02-24  Kevin Easton  <kevin@guarana.org>
12064         [BZ #16145] (partial fix)
12065         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
12066         to reduce lock contention.
12068 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
12070         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
12071         (struct timex): Update time comment.
12072         (ADJ_SETOFFSET): Define.
12074 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
12076         [BZ #18019]
12077         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12078         2**56 not 2**28 as threshold for log (2x) formula.
12079         * math/auto-libm-test-in: Add more tests of acosh.
12080         * math/auto-libm-test-out: Regenerated.
12081         * sysdeps/i386/fpu/libm-test-ulps: Update.
12082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12084 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
12086         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
12087         parenthesis around the buf assignment.
12088         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
12090 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
12092         [BZ #16783]
12093         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
12094         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
12095         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
12096         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12097         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12098         * math/libm-test.inc (scalb_test_data): Add more tests.
12100 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12102         [BZ #17916]
12103         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
12104         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
12106 2015-02-24  Eric Rannaud  <e@nanocritical.com>
12108         [BZ #17523]
12109         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
12110         * io/bits/fcntl2.h (open): Use it.
12111         (openat): Likewise.
12112         * io/open.c (__libc_open): Likewise.
12113         * io/open64.c (__libc_open64): Likewise.
12114         * io/open64_2.c (__open64_2): Likewise.
12115         * io/open_2.c (__open_2): Likewise.
12116         * io/openat.c (__openat): Likewise.
12117         * io/openat64.c (__openat64): Likewise.
12118         * io/openat64_2.c (__openat64_2): Likewise.
12119         * io/openat_2.c (__openat_2): Likewise.
12120         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
12121         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12122         * sysdeps/posix/open64.c (__libc_open64): Likewise.
12123         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12124         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12125         (__open_nocancel): Likewise.
12126         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12127         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12128         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
12130 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12132         [BZ #14841]
12133         * resolv/gethnamaddr.c (getanswer): Skip logging if
12134         RES_USE_DNSSEC is set.
12135         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12137 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
12139         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
12141 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
12143         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12144         201304L, for Unicode 7.
12146 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
12148         [BZ #17836]
12149         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
12150         shared library.  Add gmon-start.os otherwise.
12151         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
12152         $(objpfx)gmon-start.os if builing shared library.
12153         ($(objpfx)g$(static-start-installed-name)): Likewise.
12155 2015-02-23  Andreas Schwab  <schwab@suse.de>
12157         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
12159 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12161         [BZ #17269]
12162         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
12163         (enlarge_userbuf): Likewise.
12165 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
12167         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
12168         * math/atest-exp.c (TIMEOUT): Adjust to 200.
12169         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
12170         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
12172 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
12174         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
12175         expression inside statement expression.
12177 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12179         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
12180         <sysdeps/nptl/lowlevellock.h> and remove macros and
12181         functions that are now defined there.
12182         (SYS_futex): Remove.
12183         (lll_compare_and_swap): Remove.
12184         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
12186 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
12188         [BZ #17999]
12189         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
12190         instead of scandirat.
12191         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
12192         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
12193         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
12194         __scandirat.
12195         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
12196         (__scandirat): Declare.  Use libc_hidden_proto.
12197         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
12198         Remove variable.
12199         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12201 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
12203         [BZ #15319]
12204         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
12205         (MO): New macro.
12206         (__ieee754_atan2): For results with small absolute value, force
12207         underflow exception and remove excess range and precision from
12208         return value.
12209         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
12210         (MO): New macro.
12211         (__ieee754_atan2f): For results with small absolute value, force
12212         underflow exception and remove excess range and precision from
12213         return value.
12214         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
12215         (MO): New macro.
12216         (__atan): For results with small absolute value, force underflow
12217         exception and remove excess range and precision from return value.
12218         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
12219         (MO): New macro.
12220         (__atanf): For results with small absolute value, force underflow
12221         exception and remove excess range and precision from return value.
12222         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
12223         <math.h>.
12224         (__ieee754_atan2): Force underflow exception for results with
12225         small absolute value.
12226         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
12227         <math_private.h>.
12228         (atan): Force underflow exception for results with small absolute
12229         value.
12230         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
12231         (__atanf): Force underflow exception for results with small
12232         absolute value.
12233         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
12234         <math.h>.
12235         (__atanl): Force underflow exception for results with small
12236         absolute value.
12237         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
12238         (__atanl): Force underflow exception for results with small
12239         absolute value.
12240         * sysdeps/x86/fpu/bits/mathinline.h
12241         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
12242         (__ieee754_atan2): Only define inline for long double.
12243         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12244         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
12245         * math/auto-libm-test-in: Do not mark underflow exceptions as
12246         possibly missing for bug 15319.  Add more tests of atan2.
12247         * math/auto-libm-test-out: Regenerated.
12248         * math/libm-test.inc (casin_test_data): Do not mark underflow
12249         exceptions as possibly missing for bug 15319.
12250         (casinh_test_data): Likewise.
12251         * sysdeps/i386/fpu/libm-test-ulps: Update.
12253 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
12255         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
12256         * sysdeps/mips/bits/endian.h: Fix comments.
12258 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
12260         [BZ #17996]
12261         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
12262         (hdestroy_r): Likewise.
12263         (hsearch_r): Likewise.
12264         (__hcreate_r): Declare and use libc_hidden_proto.
12265         (__hdestroy_r): Likewise.
12266         (__hsearch_r): Likewise.
12267         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
12268         (hcreate): Call __hcreate_r instead of hcreate_r.
12269         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
12270         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
12271         as weak alias of __hcreate_r.
12272         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
12273         __hdestroy_r.
12274         (hsearch_r): Rename to __hsearch_r and define as weak alias of
12275         __hsearch_r.
12276         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
12277         Remove variable.
12278         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12279         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12280         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12281         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12283 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12285         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
12286         arena_lock into a single arena_get.
12288 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
12290         * dl-reloc.c: Inlucde libc-internal.h.
12291         (_dl_try_allocate_static_tls): Call ALIGN_UP.
12292         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
12293         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
12294         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
12295         (grow_heap): Likewise.
12296         * malloc/malloc.c: Include libc-internal.h.
12297         (do_check_malloc): Call powerof2.
12298         (sysmalloc): Use pagesize. Call ALIGN_UP.
12299         (systrim): Use pagesize.
12300         (mremap_chunk): Use pagesize. Call ALIGN_UP.
12301         (__libc_valloc): Use pagesize.
12302         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
12304 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
12306         [BZ #17991]
12307         * include/sys/resource.h (__getrlimit64): Declare.  Use
12308         libc_hidden_proto.
12309         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
12310         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
12311         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
12312         getrlimit64.
12313         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
12314         __getrlimit64.
12315         [!getrlimit64] (getrlimit64): Define as weak alias of
12316         __getrlimit64.  Use libc_hidden_weak.
12317         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
12318         using __getrlimit64 not __new_getrlimit64.
12319         (__GI_getrlimit64): Likewise.
12320         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
12321         Likewise.
12322         (__GI_getrlimit64): Likewise.
12323         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
12324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
12325         (getrlimit): Add __getrlimit64 alias.
12326         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
12327         Likewise.
12328         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
12329         Remove variable.
12330         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12331         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12333 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
12335         * libio/fileops.c: Add missing sys/mman.h
12336         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
12338 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
12340         * manual/math.texi (Errors in Math Functions): Clarify goals
12341         regarding inexact and underflow exceptions.
12343 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
12345         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
12346         * sysdeps/mips/memset.S: Ditto.
12348 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
12350         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
12352 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12354         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
12355         (__v1longjmp): Remove versioned symbol.
12356         (__v1siglongjmp): Remove alias and versioned symbol.
12357         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
12358         (__v2siglongjmp): Likewise.
12360 2015-02-16  Torvald Riegel  <triegel@redhat.com>
12362         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
12364 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
12366         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
12368 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
12370         [BZ #17987]
12371         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
12372         zero result does not depend on the sign resulting from
12373         subtraction.
12374         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12375         Likewise.
12376         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
12377         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
12378         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12379         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
12380         * math/libm-test.inc (remquo_test_data): Add more tests.
12382 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
12384         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
12385         Problem reported by J William Piggott.
12387 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
12389         [BZ #17978]
12390         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
12391         products 4 * y and 2 * y where those would overflow.
12392         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12393         Likewise.
12394         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
12395         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
12396         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12397         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
12398         * math/libm-test.inc (remquo_test_data): Add more tests.
12400         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
12402         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
12403         [defined _COMPILING_NEWLIB].
12404         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
12405         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
12407         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
12408         [!defined __mips_isa_rev || __mips_isa_rev < 6].
12410 2015-02-16  Torvald Riegel  <triegel@redhat.com>
12412         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
12413         acquired.
12415 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
12417         [BZ #17792]
12418         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
12419         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
12420         HOST_STACK_END_ADDR): Likewise.
12422 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
12424         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
12425         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
12426         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
12428 2015-02-13  Roland McGrath  <roland@hack.frob.com>
12430         * sysdeps/generic/c++-types.data: New file.
12431         * sysdeps/generic/ld.abilist: New file.
12432         * sysdeps/generic/libBrokenLocale.abilist: New file.
12433         * sysdeps/generic/libanl.abilist: New file.
12434         * sysdeps/generic/libc.abilist: New file.
12435         * sysdeps/generic/libcrypt.abilist: New file.
12436         * sysdeps/generic/libdl.abilist: New file.
12437         * sysdeps/generic/libm.abilist: New file.
12438         * sysdeps/generic/libpthread.abilist: New file.
12439         * sysdeps/generic/libresolv.abilist: New file.
12440         * sysdeps/generic/librt.abilist: New file.
12442 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
12444         [BZ #17569]
12445         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12446         Compute absolute value of x as modified by fmod, not original
12447         value of x.
12448         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
12449         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
12450         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
12451         RUN_TEST_ffI_f1_mod8.
12452         (remquo_test_data): Add more tests.
12454 2015-02-13  Roland McGrath  <roland@hack.frob.com>
12456         * sysdeps/init_array/pt-crti.S: New file.
12458 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
12460         [BZ #17967]
12461         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
12462         __builtin_fmaf instead of relying on contraction of a * b + c.
12464 2015-02-12  J William Piggott  <elseifthen@gmx.com>
12466         [BZ #17969]
12467         * manual/time.texi: correct the zoneinfo path in the TZ Variable
12468         node.
12470 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
12472         [BZ #17964]
12473         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
12474         __builtin_fma instead of relying on contraction of a * b + c.
12476 2015-02-12  Roland McGrath  <roland@hack.frob.com>
12478         * Makeconfig (ASFLAGS): Add -Werror=undef.
12479         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
12480         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
12481         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
12483         * Makeconfig (after-link): New variable.
12484         (+link-pie, +link-pie-tests): Use it.
12485         (+link-static, +link-static-tests): Likewise.
12486         (+link, +link-tests): Likewise.
12487         * Makerules (build-module, build-module-asneeded): Likewise.
12488         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
12489         Likewise.
12490         * elf/Makefile ($(objpfx)ld.so): Likewise.
12492 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
12494         [BZ #17965]
12495         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
12496         both struct timeval and struct timespec.
12498 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
12500         [BZ #16560]
12501         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12502         and redefine.
12503         (__ieee754_exp2l): Do not multiply small fractional parts by
12504         M_LN2l.
12505         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
12506         small argument.
12507         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12508         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12509         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
12510         * math/auto-libm-test-in: Add more tests of exp2.
12511         * math/auto-libm-test-out: Regenerated.
12513 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12515         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
12516         unaligned path.
12518 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12520         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
12521         little endian.
12523 2015-02-12  Andreas Schwab  <schwab@suse.de>
12525         [BZ #15790]
12526         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12527         Filter out elision flags from value returned in kind.
12528         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
12529         * nptl/tst-pthread-mutexattr.c: New file.
12531 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12533         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
12534         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
12535         into gnu-gnu, and update comment to refer to abi-tags.
12537 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
12539         [BZ #15467]
12540         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
12541         (__sincos): Set errno to EDOM for infinite argument.
12542         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
12543         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
12544         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
12545         (__sincosl): Set errno to EDOM for infinite argument.
12546         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
12547         (__sincosl): Set errno to EDOM for infinite argument.
12548         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
12549         (__sincosl): Set errno to EDOM for infinite argument.
12550         * math/libm-test.inc (sincos_test_data): Test errno setting.
12552 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
12554         * string/strxfrm_l.c: Remove #define STRCMP.
12555         * string/strcoll_l.c: Remove #define STRLEN.
12556         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
12557         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
12559 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
12561         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
12562         * sysdeps/mips/mips32/sfp-machine.h: ... here.
12563         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
12564         * sysdeps/mips/mips64/Makefile: ... here.
12565         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
12566         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
12567         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
12568         * sysdeps/mips/mips64/sfp-machine.h: ... here.
12569         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
12570         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
12571         * sysdeps/mips/mips64/n64/Implies: Likewise.
12573 2015-02-10  Roland McGrath  <roland@hack.frob.com>
12575         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
12576         <sys/time.h>, <string.h>, and <errno.h>.
12577         (dest_offset, dest_address, value, zero): Remove unused variables.
12578         (ldouble): Remove typedef.
12579         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
12580         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
12581         1).  Fix code style.
12582         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
12583         (check): Function removed.
12584         (CHECK): New macro.
12585         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
12586         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
12587         Don't call set_sigaction_FP and remove_sigaction_FP here.
12588         (ldouble_test): Just use 'long double' as macro argument, no need for
12589         the 'ldouble' typedef.
12590         (do_test): Set up SIGFPE handler at start, using plain signal rather
12591         than sigaction.  Fix code style.
12593 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
12595         [BZ #17949]
12596         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
12597         jump label.
12599 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12601         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
12602         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12604         * sysdeps/powerpc/configure.ac: Remove file.
12605         * sysdeps/powerpc/configure: Likewise.
12607         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12608         [sysdep_routines]: Remove wordcopy-power6 object.
12609         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12610         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
12611         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
12612         (__memmove_ppc32): Likewise.
12613         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
12614         file.
12615         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
12616         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
12617         Remove preprocessor.
12619         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12620         [sysdep_routines]: Remove wide chars objects.
12621         [wcsmbs]: New rule for wide char objects.
12623         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12624         Remove wordcopy-power6 obejct.
12625         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
12626         Use local call for wordcopy and memcpy symbols.
12627         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
12628         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
12629         implementation for loader.
12630         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
12632         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12633         Remove wordcopy-power7 object.
12634         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
12635         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
12636         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
12637         (_wordcopy_fwd_dest_aligned): Likewise.
12638         (_wordcopy_bwd_aligned): Likewise.
12639         (_wordcopy_bwd_dest_aligned): Likewise.
12641         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
12642         Rewrite to call __memmove_ppc instead of include default
12643         implementation.
12645         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12646         Remove wide chars objects.
12647         [wcsmbs]: New rule for wide char objects.
12649 2015-02-09  Andreas Schwab  <schwab@suse.de>
12651         [BZ #17912]
12652         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12653         in terms of __O_DIRECTORY.
12655 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12657         * time/getdate.c: Include <stdbool.h>.
12658         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
12659         call PTR_MANGLE.
12660         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
12661         PTR_DEMANGLE.
12663 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
12665         Add ersatz _Static_assert on older C hosts
12666         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
12667         pre-C11 C platform that is not known to support _Static_assert.
12669 2015-02-07  Richard Braun  <rbraun@sceen.net>
12671         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
12672         sigstate.
12673         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
12675 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12677         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
12678         priority against unexistent AIO_PRIO_DELTA_MAX.
12679         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
12680         instead of int.
12681         * misc/fchflags.c (fchflags): Likewise.
12682         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
12683         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
12684         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
12685         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
12686         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
12687         Declare macros.
12688         [__USE_MISC] (chflags, fchflags): Declare functions.
12689         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
12690         EINVAL when nfds is greater than FD_SETSIZE.
12691         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
12692         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
12693         45.
12694         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
12695         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
12696         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
12697         MACH_RCV_TIMED_OUT.
12698         * hurd/hurd/signal.h (_hurd_self_sigstate,
12699         _hurd_critical_section_lock, _hurd_critical_section_unlock):
12700         Explicit casts from void *.
12701         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
12702         * abi-tags: Rename gnu-gnu os into gnu.
12704         [BZ #4719]
12705         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
12706         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
12707         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
12708         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
12709         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
12710         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
12712         [BZ #17944]
12713         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
12714         duplicates ADDR->sun_path with sockaddr LEN limitation.
12715         * sysdeps/mach/hurd/connect.c: Include <string.h>
12716         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
12717         * sysdeps/mach/hurd/sendmsg.c: Likewise.
12718         * sysdeps/mach/hurd/sendto.c: Likewise.
12719         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
12720         implementing it by hand.
12722 2015-02-06  Roland McGrath  <roland@hack.frob.com>
12724         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
12725         Use sfi_breg on ldr.
12726         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
12727         Likewise.
12729         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
12730         it's defined.
12731         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
12732         Test SIGSETXID only if it's defined.
12734         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
12736         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
12737         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
12739         * nptl/tst-align2.c: Moved ...
12740         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
12741         * nptl/Makefile (tests): Remove tst-align2.
12742         * sysdeps/unix/sysv/linux/Makefile
12743         [$(subdir) = nptl] (tests): Add tst-align-clone.
12744         * nptl/tst-getpid1.c: Moved ...
12745         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
12746         * nptl/tst-getpid2.c: Moved ...
12747         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
12748         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
12749         * sysdeps/unix/sysv/linux/Makefile
12750         [$(subdir) = nptl] (tests): ... here.
12751         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
12752         * sysdeps/unix/sysv/linux/Makefile
12753         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
12755         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
12756         Drop trailing \n from perror argument.  Use return rather than exit.
12758         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
12759         on [SA_SIGINFO].
12760         * nptl/tst-cancel21.c (do_test): Likewise.
12761         * debug/tst-backtrace6.c: Include <signal.h> first thing.
12762         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
12763         [!SA_SIGINFO]: Make it a stub test.
12765         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
12766         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
12768         * posix/tst-getlogin.c: Move to ...
12769         * login/tst-getlogin.c: ... here.
12770         * posix/Makefile (tests): Move tst-getlogin to ...
12771         * login/Makefile (tests): ... here.
12773         * libio/tst-atime.c (do_test): Move local variables SV and E
12774         inside [ST_NOATIME] conditional.
12776         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
12778         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
12780         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
12781         (wait_code): New function replaces macro.
12782         Call nanosleep rather than syscall.
12784         * nptl/pt-system.c: Rewritten.  Put everything under
12785         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12786         Use IFUNC to redirect when possible.
12788         * nptl/pt-longjmp.c: Rewritten.  Put everything under
12789         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12790         Use IFUNC to redirect when possible.
12792         * nptl/pt-fork.c: Rewritten.  Put everything under
12793         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12794         Use IFUNC to redirect when possible.
12795         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
12797         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
12798         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
12799         unconditionally nowadays.  This included the only reference to
12800         __vdso_clock_gettime that appears outside libc proper.
12801         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
12802         Remove version set (containing only __vdso_clock_gettime).
12803         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12804         Add attribute_hidden.
12805         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12806         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
12807         libc_hidden_data_def.
12808         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12809         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12811         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
12812         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
12813         setrpcent, and getrpcport to ...
12814         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
12815         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
12816         getrpcbynumber_r, and getrpcent_r to ...
12817         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
12818         * inet/getrpcbyname.c: Moved ...
12819         * sunrpc/getrpcbyname.c: ... here.
12820         * inet/getrpcbyname_r.c: Moved ...
12821         * sunrpc/getrpcbyname_r.c: ... here.
12822         * inet/getrpcbynumber.c: Moved ...
12823         * sunrpc/getrpcbynumber.c: ... here.
12824         * inet/getrpcbynumber_r.c: Moved ...
12825         * sunrpc/getrpcbynumber_r.c: ... here.
12826         * inet/getrpcent.c: Moved ...
12827         * sunrpc/getrpcent.c: ... here.
12828         * inet/getrpcent_r.c: Moved ...
12829         * sunrpc/getrpcent_r.c: ... here.
12830         * inet/Makefile (routines): Move those to ...
12831         * sunrpc/Makefile (routines): ... here.
12832         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
12833         the $(subdirs) list.
12834         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
12835         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
12836         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
12837         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
12839         * elf/Makefile (routines): Include $(all-dl-routines), not just
12840         $(dl-routines).
12841         (rtld-routines): Likewise.  Use = rather than :=.
12842         * sysdeps/aarch64/Makefile [$(subdir) = elf]
12843         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
12844         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
12845         * sysdeps/arm/Makefile: Likewise.
12846         * sysdeps/i386/Makefile: Likewise.
12847         * sysdeps/x86_64/Makefile: Likewise.
12848         * sysdeps/hppa/Makefile [$(subdir) = elf]
12849         (sysdep_routines, sysdep-rtld-routines): Don't add
12850         $(sysdep-dl-routines) to these.
12851         * sysdeps/ia64/Makefile: Likewise.
12852         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
12853         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
12854         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
12855         Don't add dl-static to these; sysdep-dl-routines alone is enough.
12856         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
12857         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
12858         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
12859         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
12860         * sysdeps/powerpc/Makefile [$(subdir) = elf]
12861         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
12862         these; sysdep-dl-routines alone is enough.
12864 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
12866         [BZ #17932]
12867         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
12868         where multiplication results in zero and third argument is finite
12869         and nonzero.
12870         * math/auto-libm-test-in: Add more tests of fma.
12871         * math/auto-libm-test-out: Regenerated.
12873         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
12874         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
12875         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
12876         (_FP_CMP_EQ): Likewise.
12877         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
12879         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
12880         extra argument CHECK_NAN.  Redefine as wrapper around
12881         _FP_EXTEND_CNAN.
12883 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
12885         * version.h (RELEASE): Set to "stable".
12886         (VERSION): Set to "2.21"
12887         * include/features.h (__GLIBC_MINOR__): Set to 21.
12889         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
12891 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12892             Paul Eggert  <eggert@cs.ucla.edu>
12894         [BZ #16618]
12895         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
12896         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
12897         size in bytes. Store needed elements in wpmax. Use needed size
12898         in bytes for extend_alloca.
12900 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
12902         * manual/install.texi: Latest tested versions are GCC 4.9.2,
12903         binutls 2.25, and texinfo 5.2.
12904         * INSTALL: Regenerate.
12905         * sysdeps/nios2/configure: Regenerate.
12906         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
12907         * manual/contrib.texi: Update.
12908         * po/be.po: Update.
12909         * po/bg.po: Update.
12910         * po/ca.po: Update.
12911         * po/cs.po: Update.
12912         * po/da.po: Update.
12913         * po/de.po: Update.
12914         * po/el.po: Update.
12915         * po/eo.po: Update.
12916         * po/es.po: Update.
12917         * po/fi.po: Update.
12918         * po/fr.po: Update.
12919         * po/gl.po: Update.
12920         * po/hr.po: Update.
12921         * po/hu.po: Update.
12922         * po/ia.po: Update.
12923         * po/id.po: Update.
12924         * po/it.po: Update.
12925         * po/ja.po: Update.
12926         * po/ko.po: Update.
12927         * po/lt.po: Update.
12928         * po/nb.po: Update.
12929         * po/nl.po: Update.
12930         * po/pl.po: Update.
12931         * po/pt_BR.po: Update.
12932         * po/ru.po: Update.
12933         * po/rw.po: Update.
12934         * po/sk.po: Update.
12935         * po/sl.po: Update.
12936         * po/sv.po: Update.
12937         * po/tr.po: Update.
12938         * po/uk.po: Update.
12939         * po/vi.po: Update.
12940         * po/zh_CN.po: Update.
12941         * po/zh_TW.po: Update.
12943         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
12944         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
12945         * sysdeps/hppa/dl-irel.h: Remove #warning.
12946         * sysdeps/hppa/entry.h: Provide prototype for
12947         __canonicalize_funcptr_for_compare and cast argument.
12948         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
12949         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
12950         * sysdeps/hppa/sotruss-lib.c: New file.
12951         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
12952         (atomic_compare_and_exchange_val_acq): Use __typeof__.
12953         (atomic_compare_and_exchange_bool_acq): Likewise.
12954         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
12955         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
12957         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
12958         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
12959         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
12961 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
12963         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
12964         called function in non-PIC case.
12966 2015-01-31  David S. Miller  <davem@davemloft.net>
12968         * sysdeps/sparc/sparc32/bits/atomic.h
12969         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
12970         unlock not after it.
12971         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
12972         volatile register usage warnings from the compiler.
12974         * sysdeps/sparc/nptl/sem_init.c: Delete.
12975         * sysdeps/sparc/nptl/sem_post.c: Delete.
12976         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
12977         * sysdeps/sparc/nptl/sem_wait.c: Delete.
12978         * sysdeps/sparc/sparc32/sem_init.c: New file.
12979         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
12980         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
12981         padding explicitly initialized.
12982         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
12983         padding for in-semaphore spinlock.
12984         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
12985         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
12986         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
12987         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
12988         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
12989         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
12990         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
12991         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
12992         version.
12993         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
12994         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
12996 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
12998         [BZ #17801]
12999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13000         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
13001         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
13002         New.
13003         (index_AVX_Fast_Unaligned_Load): Likewise.
13004         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
13005         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
13006         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
13007         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
13008         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
13009         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
13010         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
13011         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
13012         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
13014 2015-01-29  Andreas Schwab  <schwab@suse.de>
13016         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
13018 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
13020         [BZ #17892]
13021         * nscd/nscd_stat.c (send_stats): Initialize DATA.
13023 2015-01-28  Martin Sebor  <msebor@redhat.com>
13025         * math/README.libm-test: Clarify. Add "How to read the test output."
13027 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
13029         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
13030         Define to 0.
13032 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
13034         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
13035         (__HAVE_64B_ATOMICS): Define to 0.
13037 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13039         [BZ #17885]
13040         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
13041         value to set as new flag.
13043         [BZ #16576]
13044         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
13045         and use _ARCH_PPCSQ instead.
13046         (__ieee754_sqrt): Likewise.
13047         (__ieee754_sqrtf): Likewise.
13048         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
13049         _ARCH_PPCSQ is defined.
13050         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
13051         fsqrt instruction.
13052         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
13053         _ARCH_PPCSQ is defined.
13054         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
13055         fsqrts instruction.
13056         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
13058 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13060         * iconv/loop.c: Suppress array out of bound warning caused by GCC
13061         bug (GCC BZ #64739).
13063 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
13065         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
13066         Mark _retval as used.
13067         (lll_futex_wake_unlock): Likewise.
13068         (lll_futex_timed_wait_requeue_pi): Likewise.
13070         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13071         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
13072         register variables.
13074         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
13075         libm_hidden_def.
13077         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
13078         (__bswap_64): Mark as __always_inline.
13080 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
13082         [BZ #15378]
13083         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
13084         when none of the search directories exist.
13086 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13088         [BZ #17869]
13089         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
13090         power8 in .machine directive.
13092         [BZ #17868]
13093         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
13094         set dependency from opd value.
13096 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
13098         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13099         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
13100         architecture.
13102 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
13104         [BZ #17870]
13105         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
13106         with uint64_t.
13107         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
13108         (uint64_t) 1.
13109         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
13110         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
13111         Replace 1UL with (uint64_t) 1.
13112         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
13113         int with uint64_t.
13115 2015-01-23  Roland McGrath  <roland@hack.frob.com>
13117         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
13118         (if_freenameindex): Likewise.
13120         * resource/getrlimit64.c: Add missing libc_hidden_def.
13122 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
13124         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
13125         __label__.
13126         (_FP_FMA): Likewise.
13127         (_FP_TO_INT_ROUND): Likewise.
13128         (_FP_FROM_INT): Likewise.
13130 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13132         [BZ #16418]
13133         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
13134         Make code racy and cancel safe.
13136 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
13138         * sysdeps/arm/unwind-resume.h: Fix copyright year.
13139         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
13140         attribution.
13142         * pwd/tst-getpw.c: Rewrite.
13144         [BZ #17702]
13145         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
13146         (modules-names): Add moddummy1 and moddummy2.
13147         ($(objpfx)tst-rec-dlopen): Define.
13148         * dlfcn/moddummy1.c: New file.
13149         * dlfcn/moddummy2.c: New file.
13150         * dlfcn/tst-rec-dlopen.c: New file.
13151         * elf/dl-cache.c (_dl_load_cache_lookup):
13152         Return char*. Copy result with alloca/strcpy/strdup.
13153         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
13154         returns char*. Free cached. If not saving realname
13155         free cached.
13156         * elf/dl-open.c (dl_open_worker): Do not assert that
13157         _r_debug->r_state is RT_CONSISTENT.
13158         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
13159         returns char*.
13161 2015-01-21  Torvald Riegel  <triegel@redhat.com>
13162             Carlos O'Donell  <carlos@redhat.com>
13164         [BZ #12674]
13165         * nptl/sem_waitcommon.c: New file.
13166         * nptl/sem_wait.c: Include sem_waitcommon.c.
13167         (__sem_wait_cleanup, do_futex_wait): Remove.
13168         (__new_sem_wait): Adapt.
13169         (__new_sem_trywait): New function.
13170         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
13171         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
13172         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
13173         (sem_timedwait): Adapt.
13174         * nptl/sem_post.c (__new_sem_post): Adapt.
13175         (futex_wake): New function.
13176         (__old_sem_post): Add release MO fence.
13177         * nptl/sem_open.c (sem_open): Adapt.
13178         * nptl/sem_init.c (__new_sem_init): Adapt.
13179         (futex_private_if_supported): New function.
13180         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
13181         (__old_sem_getvalue): Add using previous code.
13182         * sysdeps/nptl/internaltypes.h: Adapt.
13183         * nptl/tst-sem13.c (do_test): Adapt.
13184         * nptl/tst-sem11.c (main): Adapt.
13185         * nptl/sem_trywait.c: Remove.
13186         * nptl/DESIGN-sem.txt: Remove.
13187         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
13188         (gen-as-const-headers): Remove structsem.sym.
13189         * nptl/structsem.sym: Remove.
13190         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
13191         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
13192         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
13193         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
13194         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
13195         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
13196         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
13197         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
13198         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
13199         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
13200         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
13201         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
13202         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
13203         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
13204         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
13205         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
13206         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
13207         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
13208         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
13209         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
13210         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
13211         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
13213 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
13215         * INSTALL: Regenerated.
13217         * po/libc.pot: Regenerated.
13219 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
13220             Sandra Loosemore  <sandra@codesourcery.com>
13221             Andrew Jenner  <andrew@codesourcery.com>
13222             Joseph Myers  <joseph@codesourcery.com>
13223             Nathan Sidwell  <nathan@codesourcery.com>
13225         * NEWS: Mention new Nios II port.
13226         * sysdeps/nios2/Implies: New file.
13227         * sysdeps/nios2/Makefile: New file.
13228         * sysdeps/nios2/Subdirs: New file.
13229         * sysdeps/nios2/Versions: New file.
13230         * sysdeps/nios2/__longjmp.S: New file.
13231         * sysdeps/nios2/abort-instr.h: New file.
13232         * sysdeps/nios2/backtrace.c: New file.
13233         * sysdeps/nios2/bits/endian.h: New file.
13234         * sysdeps/nios2/bits/fenv.h: New file.
13235         * sysdeps/nios2/bits/link.h: New file.
13236         * sysdeps/nios2/bits/setjmp.h: New file.
13237         * sysdeps/nios2/bsd-_setjmp.S: New file.
13238         * sysdeps/nios2/bsd-setjmp.S: New file.
13239         * sysdeps/nios2/configure: New generated file.
13240         * sysdeps/nios2/configure.ac: New file.
13241         * sysdeps/nios2/crti.S: New file.
13242         * sysdeps/nios2/crtn.S: New file.
13243         * sysdeps/nios2/dl-init.c: New file.
13244         * sysdeps/nios2/dl-machine.h: New file.
13245         * sysdeps/nios2/dl-sysdep.h: New file.
13246         * sysdeps/nios2/dl-tls.h: New file.
13247         * sysdeps/nios2/dl-trampoline.S: New file.
13248         * sysdeps/nios2/gccframe.h: New file.
13249         * sysdeps/nios2/gmp-mparam.h: New file.
13250         * sysdeps/nios2/jmpbuf-offsets.h: New file.
13251         * sysdeps/nios2/jmpbuf-unwind.h: New file.
13252         * sysdeps/nios2/ldsodefs.h: New file.
13253         * sysdeps/nios2/libc-tls.c: New file.
13254         * sysdeps/nios2/libm-test-ulps: New file.
13255         * sysdeps/nios2/machine-gmon.h: New file.
13256         * sysdeps/nios2/math-tests.h: New file.
13257         * sysdeps/nios2/math_private.h: New file.
13258         * sysdeps/nios2/memusage.h: New file.
13259         * sysdeps/nios2/nptl/Makefile: New file.
13260         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
13261         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
13262         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
13263         * sysdeps/nios2/nptl/pthreaddef.h: New file.
13264         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
13265         * sysdeps/nios2/nptl/tls.h: New file.
13266         * sysdeps/nios2/preconfigure: New file.
13267         * sysdeps/nios2/s_fma.c: New file.
13268         * sysdeps/nios2/s_fmaf.c: New file.
13269         * sysdeps/nios2/setjmp.S: New file.
13270         * sysdeps/nios2/sfp-machine.h: New file.
13271         * sysdeps/nios2/sotruss-lib.c: New file.
13272         * sysdeps/nios2/stackguard-macros.h: New file.
13273         * sysdeps/nios2/stackinfo.h: New file.
13274         * sysdeps/nios2/start.S: New file.
13275         * sysdeps/nios2/sysdep.h: New file.
13276         * sysdeps/nios2/tls-macros.h: New file.
13277         * sysdeps/nios2/tst-audit.h: New file.
13278         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
13279         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
13280         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
13281         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
13282         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
13283         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
13284         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
13285         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
13286         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
13287         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
13288         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
13289         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
13290         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
13291         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
13292         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
13293         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
13294         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
13295         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
13296         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
13297         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
13298         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
13299         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
13300         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
13301         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
13302         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
13303         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
13304         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
13305         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
13306         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
13307         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
13308         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
13309         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
13310         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
13311         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
13312         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
13313         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
13314         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
13315         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
13316         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
13317         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
13318         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
13319         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
13320         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
13321         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
13323 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13325         [BZ #17844]
13326         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
13327         (getutent): Use weak_alias in non SHARED case
13328         and default_symbol_version in SHARED case.
13329         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
13330         (getutent_r, pututline): Likewise.
13331         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
13332         (getutid): Likewise.
13333         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
13334         (getutid_r): Likewise.
13335         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
13336         (getutline): Likewise.
13337         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
13338         (getutline_r): Likewise.
13339         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
13340         (updwtmp): Likewise.
13342 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13344         [BZ #17848]
13345         * sysdeps/s390/s390-32/memcmp.S
13346         (memcmp_g5): Rename to __memcmp_g5.
13347         * sysdeps/s390/s390-32/memcpy.S
13348         (memcpy_g5): Rename to __memcpy_g5.
13349         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13350         (memcpy_mvcle) Rename to __memcpy_mvcle.
13351         * sysdeps/s390/s390-32/memset.S
13352         (memset_g5): Rename to __memset_g5.
13353         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13354         (IFUNC_RESOLVE): Prefix ifunc-resolve function
13355         and use prefixed functions.
13356         * sysdeps/s390/s390-32/multiarch/memcmp.S
13357         (memcmp_z196): Rename to __memcmp_z196.
13358         (memcmp_z10): Rename to __memcmp_z10.
13359         (memcmp): Set alias to __memcmp_g5.
13360         (bcmp): Set alias to __memcmp_g5.
13361         * sysdeps/s390/s390-32/multiarch/memcpy.S
13362         (memcpy_z196): Rename to __memcpy_z196.
13363         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13364         (memcpy_z10): Rename to __memcpy_z10.
13365         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13366         (memcpy): Set alias to __memcpy_g5.
13367         * sysdeps/s390/s390-32/multiarch/memset.S
13368         (memset_z196): Rename to __memset_z196.
13369         Jump to __memset_mvcle instead of memset_mvcle.
13370         (memset_z10): Rename to __memset_z10.
13371         Jump to __memset_mvcle instead of memset_mvcle.
13372         (memset_mvcle) Rename to __memset_mvcle.
13373         (memset): Set alias to __memset_g5.
13374         * sysdeps/s390/s390-64/memcmp.S
13375         (memcmp_z900): Rename to __memcmp_z900.
13376         * sysdeps/s390/s390-64/memcpy.S
13377         (memcpy_z900): Rename to __memcpy_z900.
13378         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13379         (memcpy_mvcle) Rename to __memcpy_mvcle.
13380         * sysdeps/s390/s390-64/memset.S
13381         (memset_z900): Rename to __memset_z900.
13382         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
13383         (IFUNC_RESOLVE): Prefix ifunc-resolve function
13384         and use prefixed functions.
13385         * sysdeps/s390/s390-64/multiarch/memcmp.S
13386         (memcmp_z196): Rename to __memcmp_z196.
13387         (memcmp_z10): Rename to __memcmp_z10.
13388         (memcmp): Set alias to __memcmp_z900.
13389         (bcmp): Set alias to __memcmp_z900.
13390         * sysdeps/s390/s390-64/multiarch/memcpy.S
13391         (memcpy_z196): Rename to __memcpy_z196.
13392         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13393         (memcpy_z10): Rename to __memcpy_z10.
13394         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13395         (memcpy): Set alias to __memcpy_z900.
13396         * sysdeps/s390/s390-64/multiarch/memset.S
13397         (memset_z196): Rename to __memset_z196.
13398         Jump to __memset_mvcle instead of memset_mvcle.
13399         (memset_z10): Rename to __memset_z10.
13400         Jump to __memset_mvcle instead of memset_mvcle.
13401         (memset_mvcle) Rename to __memset_mvcle.
13402         (memset): Set alias to __memset_z900.
13404 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
13406         [BZ #17748]
13407         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
13408         __fesetenv instead of fesetenv.
13410 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13412         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
13413         macro.
13415 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13417         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
13418         regression on LE.
13420         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
13421         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
13422         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13423         strncmp-power8 object.
13424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13425         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
13426         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
13427         * NEWS: Update.
13429 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13430             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13432         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
13433         trailing byte check.
13435 2015-01-13  David S. Miller  <davem@davemloft.net>
13437         * include/signal.h (__sigreturn): Guard with __USE_MISC.
13439 2015-01-13  Roland McGrath  <roland@hack.frob.com>
13441         * login/logout.c (logout): Use memset rather than bzero.
13442         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
13443         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
13444         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
13445         (_gethtbyaddr): Likewise.
13446         * locale/programs/simple-hash.c (bcopy): Macro removed.
13448 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13450         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13451         Add strcmp-power8 object.
13452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13453         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
13454         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
13455         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
13456         __strcmp_power8 implementation.
13457         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
13458         * NEWS: Update.
13460         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13461         Add strncpy-power8 and stpncpy-power8 objects.
13462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13463         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
13464         implementations.
13465         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
13466         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
13467         __stpncpy_power8 implementation.
13468         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
13469         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
13470         __strncpy_power8 implementation.
13471         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
13472         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
13473         * NEWS: Update.
13475         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
13476         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
13477         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
13479         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13480         strncat-power8 object.
13481         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
13482         __strcat_power8 implementation.
13483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13484         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
13485         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
13486         optimized strcat for power8.
13488         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13489         strcpy-power8 and stpcpy-power8 objects.
13490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13491         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
13492         implementations.
13493         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
13494         multiarch stpcpy implementation for POWER8.
13495         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
13496         multiarch strcpy implementation for POWER8.
13497         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
13498         __strcpy_power8 function.
13499         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
13500         stpcpy for POWER8.
13501         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
13502         strcpy for POWER8.
13503         * NEWS: Update.
13505 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
13507         [BZ #16009]
13508         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
13509         weights and rules. Use do_xfrm_cached if data fits in cache,
13510         do_xfrm otherwise.  Moved former main loop to...
13511         * (do_xfrm_cached): New function.
13512         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
13513         find_idx, find_position and stack_push.
13514         * (find_idx): New function.
13515         * (find_position): Likewise.
13516         * localedata/sort-test.sh: Added test run for do_xfrm.
13517         * localedata/xfrm-test.c (main): Added command line option
13518         -nocache to run the test with strings that are too large for
13519         the STRXFRM cache.
13521 2015-01-13  Torvald Riegel  <triegel@redhat.com>
13523         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
13524         variable to lll_futex_wake call, not the value itself.
13526 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
13528         [BZ #17803]
13529         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
13530         twom64.  Adjust value to 0x1p-64L.
13531         (__scalblnl): Only return standard underflowing result for K <=
13532         -64 not K <= -63; adjust exponent for underflowing result by 64
13533         not 63.
13534         * math/libm-test.inc (scalbn_test_data): Add more tests.
13535         (scalbln_test_data): Likewise.
13537         [BZ #17834]
13538         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
13539         0x1p63L.
13540         (__scalblnl): Get new exponent of adjusted subnormal value from ES
13541         not HX.
13542         * math/libm-test.inc (scalbn_test_data): Add more tests.
13543         (scalbln_test_data): Likewise.
13545 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13546             Stefani Seibold  <stefani@seibold.net>
13548         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
13549         (sysdep_routines): Add dl-vdso here, ...
13550         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
13551         (sysdep_routines): ... not here.
13552         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
13553         fallback when vDSO is not presented.
13554         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13555         Define with libc_hidden_proto/libc_hidden_data_def definitions.
13556         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
13557         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
13558         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
13559         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
13560         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
13561         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
13562         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
13563         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
13564         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
13565         fallback configurable symbol when vDSO is not available.
13566         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
13567         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
13568         be able to redefine fallback symbol when vDSO is not available.
13569         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
13570         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
13572 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13574         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
13575         (TLS_INIT_TP): Add tm_capable initialization.
13576         (TLS_DEFINE_INIT_TP): Likewise.
13577         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
13578         TCB.
13579         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
13580         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
13581         calculation.
13582         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
13583         transactoion is lock elision is built and TCB tm_capable is set.
13584         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
13585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13586         (INTERNAL_SYSCALL_NCS): Likewise.
13587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13588         (INTERNAL_SYSCALL_NCS): Likewise.
13589         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
13591         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
13592         for powerpc.
13593         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13594         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
13595         and remove it for 32 bits case.
13596         [pthread_rwlock_t] (__rwelision): New field for lock elision.
13597         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
13598         initialization.
13599         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
13600         Disable lock elision with rdlocks if elision is not available.
13602         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
13603         (sysdep_routines): Add lock elision objects.
13604         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13605         [pthread_mutex_t] (__spins): Rework to add lock elision field.
13606         [pthread_mutex_t] (__elision): Add field.
13607         [__PTHREAD_SPINS]: Adjust to init lock elision field.
13608         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
13609         elision definitions for powerpc.
13610         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
13611         implementation of lock elision for powerpc.
13612         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
13613         implementation of timed lock elision for powerpc.
13614         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
13615         implementation of trylock with lock elision for powerpc.
13616         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
13617         implementaion of unlock for lock elision for powerpc.
13618         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
13619         automatic enable lock elision for mutexes.
13620         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
13621         transaction execution definitions for powerpc.
13622         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
13623         definitions.
13624         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
13625         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
13626         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
13627         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
13628         * NEWS: Update.
13630 2015-01-09  Roland McGrath  <roland@hack.frob.com>
13632         * sysdeps/posix/shm-directory.c: Use <> rather than ""
13633         for #include of <shm-directory.h>.
13635 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
13637         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
13638         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
13640 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
13642         [BZ #17791]
13643         * NEWS: Mention bug fix.
13644         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
13645         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
13646         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
13648 2015-01-09  Torvald Riegel <triegel@redhat.com>
13650         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
13652 2015-01-09  Torvald Riegel <triegel@redhat.com>
13654         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
13656 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13658         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
13659         pointer and cast to uintptr_t.
13661 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13663         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
13664         removed.
13665         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
13667 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13669         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
13670         of 0.
13672 2015-01-08  Roland McGrath  <roland@hack.frob.com>
13674         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
13675         <nptl/pthreadP.h> instead.
13676         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
13678         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
13679         already defined.
13680         [__SIGRTMIN] (init): Function removed.
13681         [__SIGRTMIN] (initialized): Variable removed.
13682         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
13683         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
13684         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
13685         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
13686         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
13687         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
13688         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
13689         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
13690         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
13691         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
13692         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
13693         * sysdeps/nptl/allocrtsig.c: New file.
13694         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
13695         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
13696         * sysdeps/generic/testrtsig.h: File removed.
13698         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
13699         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
13701         * nptl/nptl-init.c (pthread_functions): Conditionalize
13702         .ptr__nptl_setxid initialization on [SIGSETXID].
13704         * sysdeps/nptl/sys/procfs.h: New file.
13705         * nptl_db/Makefile (headers): Add it.
13706         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
13708         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
13709         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
13710         * nptl/pthread_attr_setaffinity.c: Include it.
13711         * nptl/pthread_setattr_default_np.c: Likewise.
13712         * nptl/check-cpuset.h: New file.
13714 2015-01-08  Richard Henderson  <rth@redhat.com>
13716         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
13717         (CFLAGS-tst-execstack-prog.c): Likewise.
13718         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
13720 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
13721             Sandra Loosemore  <sandra@codesourcery.com>
13722             Andrew Jenner  <andrew@codesourcery.com>
13723             Joseph Myers  <joseph@codesourcery.com>
13724             Nathan Sidwell  <nathan@codesourcery.com>
13726         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
13727         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
13728         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
13729         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
13730         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
13731         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
13732         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
13733         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
13734         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
13735         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
13736         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
13737         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
13738         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
13739         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
13740         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
13741         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
13742         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
13744 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13746         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
13747         timespec struct member in syscall macro.
13748         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13749         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
13750         first timeval struct member in syscall macro.
13751         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
13753 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
13755         [BZ #17748]
13756         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
13757         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
13758         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
13759         __feupdateenv and define as weak alias of __feupdateenv.  Use
13760         libm_hidden_weak.
13761         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
13762         libm_hidden_def.
13763         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
13764         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
13765         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13766         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
13767         libm_hidden_def.
13768         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
13769         __feupdateenv and define as weak alias of __feupdateenv.  Use
13770         libm_hidden_weak.
13771         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
13772         libm_hidden_def.
13773         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
13774         __feupdateenv and define as weak alias of __feupdateenv.  Use
13775         libm_hidden_weak.
13776         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
13777         libm_hidden_def.
13778         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13779         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13780         (__feupdateenv): Likewise.
13781         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
13782         __feupdateenv and define as weak alias of __feupdateenv.  Use
13783         libm_hidden_weak.
13784         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13785         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
13786         libm_hidden_def.
13787         * sysdeps/tile/math_private.h (__feupdateenv): New inline
13788         function.
13789         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
13790         libm_hidden_def.
13791         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
13792         __feupdateenv instead of feupdateenv.
13793         (default_libc_feupdateenv_test): Likewise.
13794         (libc_feresetround_ctx): Likewise.
13796 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13798         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
13799         prototype.
13801 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
13803         * posix/regcomp.c (parse_bracket_exp): Initialize type to
13804         COLL_SYM in a couple of places to avoid uninitialized variable
13805         wanings on tilegx gcc 4.8.2.
13807 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13809         * sysdeps/aarch64/strcpy.S: New file.
13810         * sysdeps/aarch64/stpcpy.S: New file.
13811         * NEWS: Updated.
13813 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13815         * sysdeps/aarch64/strrchr.S: New file.
13816         * NEWS: Updated.
13818 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
13820         [BZ #17658]
13821         * stdlib/setenv.c: Fix memory leak when setting large,
13822         duplicate string.
13824 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
13826         [BZ #17273]
13827         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
13828         and tabs from buffer before parsing fstab entry.
13829         * misc/tst-mntent.c (main): Add test for mount entry with
13830         trailing spaces and tabs.
13832 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
13834         [BZ #17748]
13835         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
13836         * math/fesetround.c (fesetround): Rename to __fesetround and
13837         define as weak alias of __fesetround.  Use libm_hidden_weak.
13838         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
13839         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
13840         * sysdeps/arm/fesetround.c (fesetround): Likewise.
13841         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
13842         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
13843         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
13844         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
13845         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
13846         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
13847         __fesetround_inline.
13848         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
13849         __fesetround_inline instead of __fesetround.
13850         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
13851         __fesetround and define as weak alias of __fesetround.  Use
13852         libm_hidden_weak.  Call __fesetround_inline instead of
13853         __fesetround.
13854         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
13855         __fesetround and define as weak alias of __fesetround.  Use
13856         libm_hidden_weak.
13857         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
13858         Likewise.
13859         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
13860         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13861         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
13862         * sysdeps/tile/math_private.h (__fesetround): New inline function.
13863         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
13864         __fesetround and define as weak alias of __fesetround.  Use
13865         libm_hidden_weak.
13866         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
13867         __fesetround instead of fesetround.
13868         (default_libc_feholdexcept_setround): Likewise.
13869         (libc_feholdsetround_ctx): Likewise.
13870         (libc_feholdsetround_noex_ctx): Likewise.
13872         [BZ #17748]
13873         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
13874         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
13875         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13876         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13877         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13878         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
13879         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13880         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13881         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13882         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13883         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13884         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13885         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13886         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13887         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
13888         libm_hidden_def.
13889         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
13890         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
13891         Likewise.
13892         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13893         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13894         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13895         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13896         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
13897         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13898         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13899         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
13900         __fesetenv instead of fesetenv.
13901         (libc_feresetround_noex_ctx): Likewise.
13902         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
13903         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13904         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
13905         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
13906         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
13907         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
13908         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13909         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13910         (__feupdateenv): Likewise.
13911         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13912         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13913         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13914         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
13916 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13918         [BZ #17806]
13919         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
13920         addresses have been freed.
13922 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13924         * resolv/res_init.c (__res_vinit): Improve comments about nserv
13925         and nservall.
13927 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
13929         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
13930         Clean up check_pf allocation pattern. addresses
13932 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13934         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
13935         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
13936         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
13937         * nptl/pthread_exit.c (__pthread_exit): Likewise.
13938         * nptl/pthread_join.c (pthread_join): Likewise.
13939         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
13940         * sysdeps/posix/waitid.c (__waitid): Likewise.
13941         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13942         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13943         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13944         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13945         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13946         Likewise.
13947         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13948         (__libc_pread64): Likewise.
13949         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13950         (__libc_pwrite): Likewise.
13951         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13952         (__libc_pwrite64): Likewsie.
13953         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13954         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13955         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13956         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13957         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13958         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13959         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13961         Likewise.
13962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13963         (__libc_pread64): Likewise.
13964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
13965         Likewise.
13966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13967         (__libc_pwrite64): Likewise.
13968         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13969         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13970         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
13971         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13972         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13973         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13974         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
13975         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13976         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13977         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13978         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
13979         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13980         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13981         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
13982         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13983         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13984         Likewise.
13986 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
13988         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
13989         (CFLAGS-test-double.c): Likewise.
13990         (CFLAGS-test-ldouble.c): Likewise.
13991         (CPPFLAGS-test-ifloat.c): Likewise.
13992         (CPPFLAGS-test-idouble.c): Likewise.
13993         (CPPFLAGS-test-ildoubl.c): Likewise.
13994         (CFLAGS-test-test-fenv.c): Remove variable.
13995         (CFLAGS-test-misc.c): Likewise.
13997 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
13999         [BZ #17797]
14000         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
14001         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
14002         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
14003         CLOCKS_PER_SEC == 1000000.
14004         * time/clocktest.c (main): Replace %ld with %jd and cast to
14005         intmax_t.
14007 2015-01-05  Roland McGrath  <roland@hack.frob.com>
14009         * sysdeps/generic/unwind-resume.h: New file.
14010         * sysdeps/gnu/unwind-resume.c: Include it.
14011         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
14012         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
14013         argument list.
14014         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
14015         global rather than static.
14016         (_Unwind_Resume): Update user.
14017         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
14018         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
14019         rather than static.  Add __attribute__ ((cold)).
14020         (_Unwind_Resume, __gcc_personality_v0): Update callers.
14021         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14022         * sysdeps/arm/arm-unwind-resume.S: New file.
14023         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
14024         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
14025         * sysdeps/arm/Makefile [$(subdir) = csu]
14026         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
14027         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14028         Add rt-arm-unwind-resume.
14029         [$(subdir) = nptl]
14030         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14031         Add pt-arm-unwind-resume.
14032         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
14033         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
14035 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14037         [BZ #17748]
14038         * include/fenv.h (__feholdexcept): Declare.  Use
14039         libm_hidden_proto.
14040         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
14041         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
14042         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14043         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
14044         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
14045         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
14046         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
14047         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14048         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
14049         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
14050         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14051         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
14052         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
14053         (feholdexcept): Likewise.
14054         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14055         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14056         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14057         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14058         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
14059         __feholdexcept instead of feholdexcept.
14060         (default_libc_feholdexcept_setround): Likewise.
14062 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14064         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
14065         to avoid using stl/str to align destination.
14067 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14069         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
14071 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14073         [BZ #17796]
14074         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
14075         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
14076         Define as weak alias not strong alias.
14078 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14080         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
14081         bltzal with addiupc.
14082         (RTLD_START): Ditto.
14084 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
14086         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
14087         for __vdso_* functions in declarations.
14088         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
14089         definitions.
14090         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
14091         INTERNAL_VSYSCALL): Use struct return types to check for error.
14093         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
14094         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
14095         function with cast from llround().
14096         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
14097         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14098         Define.
14100 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14102         [BZ #17793]
14103         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
14104         Define as weak alias not strong alias.
14106         [BZ #17635]
14107         * ctype/ctype-c99.c: New file.  isblank implementation moved from
14108         ...
14109         * ctype/ctype-extn.c: ... here.
14110         (__isblank_l): Move to ...
14111         * ctype/ctype-c99_l.c: ... here.  New file.
14112         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
14113         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
14114         Remove variable.
14115         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14116         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14117         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14118         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14119         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14121         [BZ #17777]
14122         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
14123         (posix_fadvise64): Define as weak alias not strong alias.
14124         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14125         (posix_fallocate64): Likewise.
14126         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
14127         Remove variable.
14128         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14129         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14130         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14131         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14132         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14134 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
14136         [BZ #16191]
14137         * NEWS: Mention bug fix.
14138         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
14139         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
14140         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
14141         (HOST_STACK_END_ADDR): Likewise.
14143 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
14145         [BZ #17748]
14146         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
14147         * math/fegetround.c (fegetround): Rename to __fegetround and
14148         define as weak alias of __fegetround.  Use libm_hidden_weak.
14149         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
14150         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
14151         * sysdeps/arm/fegetround.c (fegetround): Likewise.
14152         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
14153         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14154         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
14155         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
14156         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
14157         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14158         Undefine after rather than before function definition; use
14159         parentheses around function name in definition.
14160         (__fegetround): Also undefine macro after function definition.
14161         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
14162         __fegetround and define as weak alias of __fegetround.  Use
14163         libm_hidden_weak.  Do not undefine as macro.
14164         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14165         Likewise.
14166         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
14167         __fegetround and define as weak alias of __fegetround.  Use
14168         libm_hidden_weak.
14169         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14170         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14171         * sysdeps/tile/math_private.h (__fegetround): New inline function.
14172         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
14173         __fegetround and define as weak alias of __fegetround.  Use
14174         libm_hidden_weak.
14175         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
14176         __fegetround instead of fegetround.
14178         [BZ #17782]
14179         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
14180         Condition macro definition on [__USE_MISC].
14182         [BZ #17781]
14183         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
14184         (struct sigaction): Change type of sa_flags field to int.
14186         [BZ #17780]
14187         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
14188         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
14189         __glibc_reserved0.
14191         * nptl/version.c (banner): Use single year in copyright notice.
14193         * NEWS: Update copyright dates.
14194         * catgets/gencat.c (print_version): Likewise.
14195         * csu/version.c (banner): Likewise.
14196         * debug/catchsegv.sh: Likewise.
14197         * debug/pcprofiledump.c (print_version): Likewise.
14198         * debug/xtrace.sh (do_version): Likewise.
14199         * elf/ldconfig.c (print_version): Likewise.
14200         * elf/ldd.bash.in: Likewise.
14201         * elf/pldd.c (print_version): Likewise.
14202         * elf/sotruss.sh: Likewise.
14203         * elf/sprof.c (print_version): Likewise.
14204         * iconv/iconv_prog.c (print_version): Likewise.
14205         * iconv/iconvconfig.c (print_version): Likewise.
14206         * locale/programs/locale.c (print_version): Likewise.
14207         * locale/programs/localedef.c (print_version): Likewise.
14208         * login/programs/pt_chown.c (print_version): Likewise.
14209         * malloc/memusage.sh (do_version): Likewise.
14210         * malloc/memusagestat.c (print_version): Likewise.
14211         * malloc/mtrace.pl: Likewise.
14212         * manual/libc.texinfo: Likewise.
14213         * nptl/version.c (banner): Likewise.
14214         * nscd/nscd.c (print_version): Likewise.
14215         * nss/getent.c (print_version): Likewise.
14216         * nss/makedb.c (print_version): Likewise.
14217         * posix/getconf.c (main): Likewise.
14218         * scripts/test-installation.pl: Likewise.
14219         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14221 2015-01-02  Will Newton  <will.newton@linaro.org>
14223         * sysdeps/arm/armv7/configure: Removed.
14224         * sysdeps/arm/armv7/configure.ac: Likewise.
14226 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
14228         * All files with FSF copyright notices: Update copyright dates
14229         using scripts/update-copyrights.
14230         * intl/plural.c: Regenerated.
14231         * locale/programs/charmap-kw.h: Likewise.
14232         * locale/programs/locfile-kw.h: Likewise.
14234 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14236         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
14238 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
14240         [BZ #17748]
14241         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
14242         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
14243         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
14244         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
14245         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14246         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
14247         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14248         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
14249         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14250         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14251         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14252         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14253         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14254         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14255         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
14256         libm_hidden_def.
14257         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
14258         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
14259         Likewise.
14260         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14261         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14262         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14263         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14264         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
14265         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
14266         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
14267         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
14268         __fegetenv instead of fegetenv.
14269         (libc_feholdsetround_noex_ctx): Likewise.
14271 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
14273         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
14274         (Elf_MIPS_ABIFlags_v0): New structure.
14275         (EF_MIPS_FP64): Define.
14276         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
14277         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
14278         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
14279         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
14280         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
14281         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
14282         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
14283         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
14284         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
14285         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
14286         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
14287         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
14288         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
14289         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
14290         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
14291         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
14292         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
14293         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
14294         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
14295         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
14296         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
14297         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
14298         field.
14299         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
14300         EF_MIPS_FP64.
14301         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
14302         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
14303         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
14304         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
14305         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
14306         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
14307         * sysdeps/mips/tst-abi-interlink.c: Likewise.
14308         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
14309         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
14310         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
14311         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
14312         record the current FP ABI extension.
14313         (mips-mode-switch): Define to show if kernel headers support mode
14314         switching.
14315         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14316         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
14317         supported SYSV ABI version to 3.
14318         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
14319         feature.
14321 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14322             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14324         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
14325         path.
14326         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
14328 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
14330         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
14331         __fegetround and redefine to call __fegetround.  Remove condition
14332         on [!__NO_MATH_INLINES].
14333         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
14334         function.
14335         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
14336         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14337         Remove macro.
14338         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
14339         instead of <fenv_libc.h>.
14340         (__llrintl): Call fegetround instead of __fegetround.
14341         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
14342         instead of <fenv_libc.h>.
14343         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14344         (__lrintl): Call fegetround instead of __fegetround.
14345         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
14346         instead of <fenv_libc.h>.
14347         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14348         (__rintl): Call fegetround instead of __fegetround.
14350 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14352         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
14353         arrays.
14355 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
14357         [BZ #17775]
14358         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
14359         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
14360         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
14362 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14364         * sysdeps/i386/tls-macros.h: Include <features.h>.
14365         (TLS_LE): Use non-PIC version for GCC >= 5.0.
14366         (TLS_IE): Likewise.
14367         (TLS_LD): Likewise.
14368         (TLS_GD): Likewise.
14369         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
14370         define for GCC >= 5.0.
14372 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
14374         * math/test-fenv.c (test_single_exception, set_single_exc,
14375         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
14376         feexcp_mask_test, feenable_test, fe_single_test): Add
14377         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
14378         case where they are not used.
14379         * math/libm-test.inc: Likewise.
14380         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
14381         unused in the absence of FP rounding/exception support.
14382         * stdio-common/tst-printf-round.c: Likewise.
14383         * stdlib/tst-strtod-round.c: Likewise.
14384         * stdlib/tst-strtod-underflow.c: Likewise.
14386 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
14388         [BZ #17723]
14389         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
14390         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
14391         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14392         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14393         libm_hidden_weak.
14394         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
14395         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
14396         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
14397         libm_hidden_def.
14398         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14399         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14400         libm_hidden_weak.
14401         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
14402         Likewise.
14403         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
14404         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14405         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14406         libm_hidden_weak.
14407         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
14408         libm_hidden_def.
14409         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14410         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
14411         (__feraiseexcept): Likewise.
14412         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14413         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14414         libm_hidden_weak.
14415         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
14416         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
14417         libm_hidden_def.
14418         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
14419         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
14420         Use libm_hidden_def.
14421         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
14422         libm_hidden_def.
14423         (feraiseexcept): Define as weak not strong alias.  Use
14424         libm_hidden_weak.
14425         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
14426         New inline function.  Factored out of ...
14427         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
14428         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
14429         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
14430         feraiseexcept.
14431         * math/w_acos.c (__acos): Likewise.
14432         * math/w_asin.c (__asin): Likewise.
14433         * math/w_ilogb.c (__ilogb): Likewise.
14434         * math/w_j0.c (y0): Likewise.
14435         * math/w_j1.c (y1): Likewise.
14436         * math/w_jn.c (yn): Likewise.
14437         * math/w_log.c (__log): Likewise.
14438         * math/w_log10.c (__log10): Likewise.
14439         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
14440         * sysdeps/aarch64/fpu/math_private.h
14441         (libc_feupdateenv_test_aarch64): Likewise.
14442         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
14443         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
14444         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
14445         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
14446         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
14447         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
14448         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
14449         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14450         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14451         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14453 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
14455         [BZ #17732]
14456         * io/test-utime.c (main): Replace %ld with %jd and cast to
14457         intmax_t.
14458         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
14459         * nptl/tst-mutex5.c: Include <stdint.h>.
14460         (do_test): Replace %ld with %jd and cast to intmax_t.
14461         * posix/tst-regex.c (run_test): Likewise.
14462         (run_test_backwards): Likewise.
14463         * rt/tst-clock.c: Include <stdint.h>.
14464         (clock_test): Replace %ld with %jd and cast to intmax_t.
14465         * rt/tst-cpuclock1.c: Include <stdint.h>.
14466         (do_test): Replace %lu with %ju and cast to uintmax_t.
14467         * rt/tst-cpuclock2.c: Include <stdint.h>.
14468         (do_test): Replace %lu with %ju and cast to uintmax_t.
14469         * rt/tst-mqueue1.c: Include <stdint.h>.
14470         (check_attrs): Replace %ld with %jd and cast to intmax_t.
14471         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
14472         intmax_t.
14473         * rt/tst-mqueue4.c (do_test): Likewise.
14474         * rt/tst-timer4.c: Include <stdint.h>.
14475         (check_ts): Replace %ld with %jd and cast to intmax_t.
14476         (do_test): Likewise.
14477         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
14478         and cast to intmax_t.
14479         * sysdeps/pthread/tst-timer.c (main): Likewise.
14480         * time/clocktest.c (main): Likewise.
14481         * time/tst-posixtz.c (do_test): Likewise.
14482         * timezone/tst-timezone.c (main): Likewise.
14484 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14485             H.J. Lu  <hongjiu.lu@intel.com>
14487         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
14488         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
14489         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
14490         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
14491         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
14492         version if bit_Fast_Unaligned_Load is set.
14493         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14494         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14495         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14496         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14497         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14498         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14499         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14500         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
14501         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
14502         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
14503         to 4.
14504         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
14505         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
14506         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
14507         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
14509 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
14511         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
14512         instead of #if to avoid a Wundef warning.
14513         * stdlib/tst-limits.c (do_test): Likewise.
14515         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
14516         parallel other exception macros.
14517         (fegetenv): Convert from macro to extern inline so that it applies
14518         retroactively to inline functions already seen by the compiler.
14519         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
14521         * posix/Makefile (before-compile): Use $(objpfx) for
14522         posix-conf-vars-def.h.
14524 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14526         * posix/getconf.c (main): Use size_t for type of I.
14527         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
14528         NSPEC.
14530         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
14531         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
14532         * posix/posix-envs.def: Likewise.
14533         * sysdeps/posix/sysconf.c: Likewise.
14534         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
14535         (specs): Remove array.
14536         * scripts/gen-posix-conf-vars.awk: Support generation of specs
14537         array.
14539         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
14540         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
14541         (__sysconf): Use CONF_IS_* macros.
14543         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
14544         ($(objpfx)posix-conf-vars-def.h): New target.
14545         * posix/posix-conf-vars.list: New file.
14546         * posix/posix-conf-vars.h: New file.
14547         * posix/confstr.c: Include posix-conf-vars.h.
14548         (confstr): Use CONF_IS_* macros.
14549         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
14550         CONF_IS_* macros.
14551         * scripts/gen-posix-conf-vars.awk: New file.
14553 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
14555         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
14556         fegetround): Add no-op macros to avoid linknamespace issues.
14558         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
14559         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
14561         * sysdeps/unix/sysv/linux/tile/sysdep.h
14562         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
14563         assembly-specific section to avoid a redefinition warning.
14565         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
14566         long before casting to pointer to avoid a cast warning.
14568 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
14570         * sysdeps/tile/tilegx/Implies: New file.
14572 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
14574         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
14576 2014-12-23  Florian Weimer  <fweimer@redhat.com>
14578         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
14580 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14582         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
14583         not define.
14584         * sysdeps/unix/sysv/linux/utimes.c: Do not include
14585         <kernel-features.h>.
14586         (__utimes) [__NR_utimes]: Make code unconditional.
14587         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
14588         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14589         (__ASSUME_UTIMES): Do not undefine.
14590         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14591         (__ASSUME_UTIMES): Likewise.
14592         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14593         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
14594         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
14595         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
14597 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14599         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
14601 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
14603         [BZ #17747]
14604         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
14605         alias to weak alias for j0l, y0l.
14606         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
14607         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
14609         [BZ #17746]
14610         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
14611         conversion.
14613 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14615         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
14616         to zero if not already defined.
14618 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14620         [BZ #17724]
14621         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
14622         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
14623         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
14624         (char *) casts added.
14625         * sysdeps/ieee754/k_standardf.c: New file.
14626         * sysdeps/ieee754/k_standardl.c: Likewise.
14627         * math/Makefile (libm-support): Remove k_standard.
14628         (libm-calls): Add k_standard.
14630 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14632         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14633         Optimize to avoid an unnecessary FPCR read.
14635 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14637         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14638         Optimize to reduce FPCR/FPSR accesses.
14640 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14642         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
14643         Call libc_fetestexcept_aarch64.
14645 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14647         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
14648         Call libc_fesetround_aarch64.
14650 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14652         [BZ #17733]
14653         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
14654         (__bind): Do not define as weak alias.
14655         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
14656         define.
14657         (__getsockname): Do not define as weak alias.
14659 2014-12-22  Will Newton  <will.newton@linaro.org>
14661         * manual/install.texi: Document that we require bison 2.7
14662         or above.
14663         * INSTALL: Regenerate.
14664         * configure.ac: Use AC_CHECK_PROG_VER instead of
14665         AC_PATH_PROG when checking for bison and check for
14666         version 2.7 or above.
14667         * configure: Regenerate.
14669 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
14671         [BZ #17745]
14672         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
14673         * sysdeps/tile/ffsll.c (ffsll): To here.
14675         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
14677 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14679         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
14680         if not defined.
14681         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
14682         definition.
14683         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14684         hidden ___tls_get_addr.
14685         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14686         hidden __tls_get_addr.
14687         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
14688         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
14689         Likewise.
14691 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
14693         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
14694         _dl_init call.
14696 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14698         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
14699         from "call _dl_init@PLT".
14700         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
14702 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
14704         * manual/search.texi: (Array Sort Function): Clarify stable sorting
14705         guarantees.
14707 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
14709         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
14711 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14713         [BZ #17744]
14714         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
14715         strnlen.
14717 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14719         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
14720         of multu on MIPSr6.
14721         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
14722         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
14723         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
14724         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
14725         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
14727 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14729         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
14730         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
14731         (PTR_SUBU): Use subu for mips32r6/mips64r6.
14732         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
14733         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
14734         mips32r6/mips64r6.
14735         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
14737 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
14739         * string/strncat.c (STRNCAT): Simplify implementation.
14741 2014-12-19  David S. Miller  <davem@davemloft.net>
14743         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
14744         access the quad as both a long double and as a series of 4 words.
14746         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
14747         link_map->l_info array access.
14749 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14751         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
14753         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
14754         * math/atest-exp2.c (TIMEOUT): Likewise.
14755         * math/atest-sincos.c (TIMEOUT): Likewise.
14757 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14759         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
14760         -Wno-error with -fno-builtin-lround.
14762 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14764         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
14765         Contains futex constants and functions moved over from ...
14766         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
14767         <lowlevellock-futex.h>.
14768         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14769         (lll_timedwait_tid): Add comments and parentheses around macro
14770         arguments.
14772 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14774         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
14775         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
14776         (__lll_private_flag): Remove.
14777         (lll_futex_wait): Likewise.
14778         (lll_futex_timed_wait): Likewise.
14779         (lll_futex_wake): Likewise.
14780         (lll_futex_requeue): Likewise.
14781         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14782         (__lll_timedwait_tid): Spell out argument names.
14783         (lll_timedwait_tid): Add comments and parentheses around macro
14784         arguments.
14785         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
14786         LLL_SHARED and LLL_PRIVATE usable from assembly code.
14788 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14790         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
14791         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
14792         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14793         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
14794         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
14795         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
14796         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
14797         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
14798         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
14799         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
14800         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
14801         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
14802         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
14803         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
14804         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
14805         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
14806         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
14807         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
14808         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
14810 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14812         * sysdeps/x86_64/x32/Makefile: New file.
14814 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14816         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
14817         1L with (mp_limb_t) 1.
14819 2014-12-17  Roland McGrath  <roland@hack.frob.com>
14821         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
14822         * nptl/libc_pthread_init.c: ... here.
14823         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
14824         * nptl/register-atfork.c: ... here.
14826         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
14827         Use pthread_sigmask rather than INTERNAL_SYSCALL.
14828         Use assert_perror to check its return value.
14829         (__gai_create_helper_thread): Likewise.
14831         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
14833         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
14835 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
14837         [BZ #17725]
14838         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
14839         __profil_counter.
14840         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
14841         Likewise.
14842         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
14843         Likewise.
14844         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
14845         Likewise.
14846         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
14847         (profil_counter): Likewise.
14848         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
14849         (profil_counter): Likewise.
14850         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
14851         Likewise.
14852         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
14853         Likewise.
14854         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
14855         (profil_counter): Likewise.
14856         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
14857         Likewise.
14858         [!__profil_counter] (profil_counter): Define as weak alias of
14859         __profil_counter.
14860         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
14861         (profil_counter): Rename to __profil_counter.
14862         [!__profil_counter] (profil_counter): Define as weak alias of
14863         __profil_counter.
14864         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
14865         (profil_counter): Rename to __profil_counter.
14866         [!__profil_counter] (profil_counter): Define as weak alias of
14867         __profil_counter.
14868         * sysdeps/posix/profil.c: Update comment referring to
14869         profil_counter.
14870         (__profil): Use __profil_counter instead of profil_counter.
14871         * sysdeps/posix/sprofil.c (profil_counter): Rename to
14872         __profil_counter.  Use __profil_counter_ushort and
14873         __profil_counter_uint in definitions.
14874         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
14875         instead of profil_counter_uint and profil_counter_ushort.
14877         [BZ #17722]
14878         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
14879         define as weak alias of __inet_makeaddr.
14880         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
14881         as weak alias of __inet_addr.
14882         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
14883         as weak alias of __inet_pton.  Use libc_hidden_weak.
14884         * include/arpa/inet.h (__inet_pton): Declare.  Use
14885         libc_hidden_proto.
14886         (inet_makeaddr): Don't use libc_hidden_proto.
14887         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
14888         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
14889         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
14890         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
14891         Remove variable.
14892         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14893         (test-xfail-POSIX/time.h/linknamespace): Likewise.
14895 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
14897         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
14899 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14901         * stdio-common/bug-vfprintf-nargs.c (do_test):
14902         Cast value to intptr_t to avoid format warning
14903         for usage with PRIdPTR printing macro.
14905 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14907         * libio/tst-widetext.c (do_test):
14908         Use format type %td instead of %Zd for ptrdiff_t
14909         in order to avoid format warning.
14911 2014-12-17  Andreas Schwab  <schwab@suse.de>
14913         * nscd/mem.c (gc): Add size_t cast to match printf format.
14915 2014-12-16  Roland McGrath  <roland@hack.frob.com>
14917         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
14918         (init): Apply PTR_MANGLE to pointers before storing them.
14919         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
14920         before using them.
14922 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
14924         [BZ #17719]
14925         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
14926         define as weak alias of __memrchr.
14927         (__memrchr): Do not define as strong alias of memrchr.
14928         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
14929         Remove variable.
14930         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14931         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14932         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14934         [BZ #17717]
14935         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
14936         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
14937         (if_indextoname): Rename to __if_indextoname and define as weak
14938         alias of __if_indextoname.  Use libc_hidden_weak.
14939         (if_freenameindex): Rename to __if_freenameindex and define as
14940         weak alias of __if_freenameindex.
14941         (if_nameindex): Rename to __if_nameindex and define as weak alias
14942         of __if_nameindex.
14943         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
14944         __if_nametoindex and define as weak alias of __if_nametoindex.
14945         Use libc_hidden_weak.
14946         (if_freenameindex): Rename to __if_freenameindex and define as
14947         weak alias of __if_freenameindex.
14948         (if_nameindex): Rename to __if_nameindex and define as weak alias
14949         of __if_nameindex.
14950         (if_indextoname): Rename to __if_indextoname and define as weak
14951         alias of __if_indextoname.  Use libc_hidden_weak.
14952         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
14953         __if_nametoindex and define as weak alias of __if_nametoindex.
14954         Use libc_hidden_weak.
14955         (if_freenameindex): Rename to __if_freenameindex and define as
14956         weak alias of __if_freenameindex.  Use libc_hidden_weak.
14957         (if_nameindex_netlink): Use __if_freenameindex instead of
14958         if_freenameindex.
14959         (if_nameindex): Rename to __if_nameindex and define as weak alias
14960         of __if_nameindex.  Use libc_hidden_weak.
14961         (if_indextoname): Rename to __if_indextoname and define as weak
14962         alias of __if_indextoname.  Use libc_hidden_weak.
14963         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
14964         libc_hidden_proto.
14965         [!_ISOMAC] (__if_freenameindex): Likewise.
14966         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
14967         if_nametoindex.
14968         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
14969         variable.
14970         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14971         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14972         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14973         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14974         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14975         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14976         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14978         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
14979         Remove variable.
14980         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14981         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14983 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14985         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
14986         subscript above bounds'
14988         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
14989         bounds.
14991 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
14993         * libio/tst-fopenloc.c: Use test-skeleton.c.
14995         * stdlib/tst-bsearch.c: Use test-skeleton.c.
14996         (entry): Rename to ITEM.
14997         (do_test, comp): Adjust.
14999         * stdio-common/tst-fseek.c: Use test-skeleton.c.
15001 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15003         * string/tester.c: Include <libc-internal.h>.
15004         (test_memset): Ignore -Wmemset-transposed-args.
15006 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15008         * misc/tst-mntent2.c (do_test): Fix warning.
15010 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15012         * elf/tst-unique4lib.cc(a): Mark as used.
15014 2014-12-16  Florian Weimer  <fweimer@redhat.com>
15016         [BZ #17630]
15017         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
15018         names.
15020 2014-12-16  Allan McRae  <allan@archlinux.org>
15022         * stdio-common/Makefile (tests): Re-add bug26.
15024 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
15026         [BZ #17657]
15027         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
15028         static array.
15030 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
15032         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
15033         (__lll_lock_wait): Likewise.
15034         (__lll_timedlock_wait): Likewise.
15035         (__lll_timedwait_tid): Likewise.
15036         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
15037         (__lll_robust_timedlock_wait): Likewise.
15038         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
15039         (lll_cond_trylock): Likewise.
15040         (__lll_lock): Likewise.
15041         (__lll_robust_lock): Likewise.
15042         (__lll_cond_lock): Likewise.
15043         (lll_robust_cond_lock): Likewise.
15044         (__lll_timedlock): Likewise.
15045         (__lll_robust_timedlock): Likewise.
15046         (__lll_unlock): Likewise.
15047         (__lll_robust_unlock): Likewise.
15048         (lll_wait_tid): Likewise.
15049         (lll_timedwait_tid): Likewise.
15051 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15053         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
15055 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15057         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
15059 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
15061         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
15062         * stdio-common/tst-sprintf.c: Likewise.
15064 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15066         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
15068 2014-12-15  Jeff Law  <law@redhat.com>
15070         [BZ #16617]
15071         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
15072         on the heap.  (CVE-2012-3406)
15073         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
15074         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
15075         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
15077 2014-12-15  Will Newton  <will.newton@linaro.org>
15079         * manual/install.texi: Bump required version of texinfo
15080         to 4.7 from 4.5.
15081         * INSTALL: Regenerated.
15082         * configure.ac: Check for makeinfo version 4.7 and above.
15083         * configure: Regenerated.
15085 2014-12-12  Roland McGrath  <roland@hack.frob.com>
15087         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
15088         PREFIX, string constant to insert between directory and name.
15089         * sysdeps/posix/shm_open.c: Update caller.
15090         * sysdeps/posix/shm_unlink.c: Likewise.
15091         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
15092         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
15093         (SEM_SHM_PREFIX): New macro.
15094         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
15095         [$(have-thread-library) = no].
15096         * nptl/Makefile (libpthread-routines): Add shm-directory.
15097         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
15098         * sysdeps/nptl/shm-directory.h: New file.
15099         * sysdeps/posix/shm-directory.c
15100         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
15101         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15102         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
15103         INTERNAL_SYSCALL.
15104         (__where_is_shmfs): Function removed.
15105         (mountpoint, defaultmount, defaultdir, __namedsem_once):
15106         Variables removed.
15107         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
15108         Use SHM_GET_NAME.
15109         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
15111         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
15112         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
15113         unconditional for use inside libpthread.
15114         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
15116 2014-12-12  Roland McGrath  <roland@hack.frob.com>
15118         * nptl/pthread_getaffinity.c: New file.
15119         * nptl/pthread_setaffinity.c: New file.
15120         * nptl/pthread_getname.c: New file.
15121         * nptl/pthread_setname.c: New file.
15123         * nptl/pthread_create.c (START_THREAD_DEFN)
15124         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
15126 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15127             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15129         * resolv/res_send.c (send_vc): Disable warning resplen may
15130         be used uninitialized.
15132 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15134         * nptl/tst-mutex6.c
15135         (ATTR_NULL): New define checks ATTR against NULL.
15136         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
15137         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
15139 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
15141         [BZ #17581]
15142         * malloc/hooks.c
15143         (mem2mem_check): Revert my previous change.
15144         (malloc_check_get_size): Revert my previous change.
15145         (mem2chunk_check): Revert my previous change.
15147 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15149         * sysdeps/posix/shm-directory.c: New file.
15150         * sysdeps/posix/shm-directory.h: New file.
15151         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
15152         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
15153         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
15154         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
15155         Transmute EPERM to EACCES.
15156         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
15157         from ...
15158         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
15159         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
15161 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15163         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
15164         pointer and cast to uintptr_t.
15165         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
15166         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
15167         Add cast to avoid warning.
15168         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
15170 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
15172         * nptl/semaphore.h: Move to ...
15173         * sysdeps/pthread/semaphore.h: ... here.
15174         * Makefile (installed-headers): Change nptl/semaphore.h to
15175         sysdeps/pthread/semaphore.h.
15177 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15179         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
15180         generated error format strings.
15182         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
15183         -Wformat-extra-args warnings for scanf formats.
15184         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
15185         test of zero-length format (duh).
15186         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
15187         corner-case scanf format test.
15188         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
15189         generated fprintf format string.
15190         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
15191         corner-case sprintf format tests.
15192         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
15193         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
15194         -Wformat-extra-args warnings throughout.
15195         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
15196         (CFLAGS-scanf4.c): Likewise.
15197         (CFLAGS-scanf7.c): Likewise.
15198         (CFLAGS-tst-sprintf.c): Likewise.
15199         (CFLAGS-tst-printf.c): Likewise.
15200         (CFLAGS-tst-printfsz.c): Likewise.
15202 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
15204         * include/cpio.h: New file.
15205         * include/fmtmsg.h: Likewise.
15207         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
15208         corresponding format argument to size_t.
15209         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
15210         arguments.
15211         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
15212         corresponding format argument to size_t.
15213         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
15214         arguments.
15215         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
15216         corresponding format argument to size_t.
15217         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
15218         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
15219         (CFLAGS-tst-mbswcs2.c): Likewise.
15220         (CFLAGS-tst-mbswcs3.c): Likewise.
15221         (CFLAGS-tst-mbswcs4.c): Likewise.
15222         (CFLAGS-tst-mbswcs5.c): Likewise.
15223         (CFLAGS-tst-trans.c): Likewise
15225 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15227         * posix/regexbug1.c (main): Use "%s" format with regerror results,
15228         rather than assuming they won't contain any '%'s.
15230 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
15232         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
15233         inhibit_loop_to_libcall to avoid recursive calls.
15234         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
15235         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
15237 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
15239         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
15240         prototype.
15242 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
15244         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
15245         integer value instead of boolean.
15247 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
15249         * malloc/malloc.c: Fix powerof2 check.
15251 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15253         * locale/programs/locfile.h (maybe_swap_uint32):
15254         Remove inline and add unused attribute.
15256 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15258         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
15259         Truncating assembler expression to a .long expression.
15261 2014-12-11  Andreas Schwab  <schwab@suse.de>
15263         * elf/rtld.c (struct map_args): Constify str member.
15264         (do_preload): Constify fname argument.
15266 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15268         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
15269         constants definition.
15271 2014-12-11  Andreas Schwab  <schwab@suse.de>
15273         [BZ #16657]
15274         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
15275         FORCE_ELISION instead of DO_ELISION.
15276         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
15277         Remove.
15278         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
15279         Likewise.
15281         * iconvdata/gconv-modules: Remove duplicate entry.
15283 2014-12-11  Will Newton  <will.newton@linaro.org>
15285         Merge gettext 0.19.3 into intl/.
15287         This involves a number of cosmetic changes to comments
15288         and ANSI function definitions and prototypes throughout
15289         all the files. The gettext copyright header is used but
15290         with the date ranges taken from the glibc copy.
15292         * NEWS: Add gettext merge to 2.21.
15293         * intl/bindtextdom.c: Switch to gettext copyright.
15294         Use ANSI definitions and prototypes.
15295         Use gl_* locking primitives rather than __libc_* ones.
15296         Use __builtin_expect rather than __glibc_likely/unlikely.
15297         * intl/dcgettext.c: Switch to gettext copyright.
15298         Use ANSI definitions and prototypes.
15299         * intl/dcigettext.c: Switch to gettext copyright.
15300         Use ANSI definitions and prototypes.
15301         (INTDIV0_RAISES_SIGFPE): New define.
15302         Use gl_* locking primitives rather than __libc_* ones.
15303         Include eval-plural.h instead of plural-eval.c.
15304         Use __builtin_expect rather than __glibc_likely/unlikely.
15305         * intl/dcngettext.c: Switch to gettext copyright.
15306         Use ANSI definitions and prototypes.
15307         * intl/dgettext.c: Likewise.
15308         * intl/dngettext.c: Likewise.
15309         * intl/plural-eval.c: Renamed to...
15310         * intl/eval-plural.h: ...this.
15311         * intl/explodename.c: Switch to gettext copyright.
15312         Use ANSI definitions and prototypes.
15313         (_nl_explode_name): Use strchr instead of __rawmemchr.
15314         * intl/finddomain.c: Switch to gettext copyright.
15315         Use ANSI definitions and prototypes.
15316         Use gl_* locking primitives rather than __libc_* ones.
15317         (_nl_find_domain): Use malloc rather than alloca for
15318         allocation of temporary locale name.
15319         * intl/gettext.c: Switch to gettext copyright.
15320         Use ANSI definitions and prototypes.
15321         * intl/gettextP.h: Switch to gettext copyright.
15322         Use ANSI definitions and prototypes.
15323         Use gl_* locking primitives rather than __libc_* ones.
15324         * intl/gmo.h: Switch to gettext copyright.
15325         (struct sysdep_string): Move struct segment_pair outside of
15326         struct definition.
15327         * intl/hash-string.c: Use ANSI definitions and prototypes.
15328         * intl/hash-string.h: Switch to gettext copyright.
15329         Use ANSI definitions and prototypes.
15330         * intl/l10nflist.c: Switch to gettext copyright.
15331         Use ANSI definitions and prototypes.
15332         (_nl_normalize_codeset): Avoid integer overflow.
15333         * intl/loadinfo.h: Switch to gettext copyright.
15334         Use ANSI definitions and prototypes.
15335         (LIBINTL_DLL_EXPORTED): New define.
15336         (PATH_SEPARATOR): New define.
15337         * intl/loadmsgcat.c: Switch to gettext copyright.
15338         * intl/localealias.c: Switch to gettext copyright.
15339         Use ANSI definitions and prototypes.
15340         (_nl_expand_alias): Use PATH_SEPARATOR.
15341         * intl/ngettext.c: Switch to gettext copyright.
15342         Use ANSI definitions and prototypes.
15343         * intl/plural-exp.c: Likewise.
15344         * intl/plural-exp.h: Switch to gettext copyright.
15345         Use ANSI definitions and prototypes.
15346         (struct expression): Move definition of enum operator outside
15347         of struct definition.
15348         * intl/plural.c: Regenerate.
15349         * intl/plural.y: Switch to gettext copyright.
15350         Use ANSI definitions and prototypes.
15351         Port to bison 3.0.
15352         * intl/textdomain.c: Switch to gettext copyright.
15353         Use ANSI definitions and prototypes.
15354         Use gl_* locking primitives rather than __libc_* ones.
15356 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
15358         * debug/warning-nop.c: Add used atrribute.
15360 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15362         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
15364         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
15365         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
15366         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
15368 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15369             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15371         [BZ #17634]
15372         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
15373         Undefine after defining function.  Define as weak alias of
15374         __wcschr.  Use libc_hidden_weak.
15375         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
15376         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
15377         (libc_hidden_def): Also define __GI___wcschr alias.
15378         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
15379         __wcschr and define as weak alias of __wcschr.
15380         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
15381         __wcschr.
15382         [!WCSCHR] (DEFAULT_WCSCHR): Define.
15383         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
15384         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
15385         libc_hidden_weak.  Do not use libc_hidden_def.
15386         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
15387         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
15388         __GI___wcschr alias.
15389         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
15390         [IS_IN (libc)] (wcschr): Define as macro expanding to
15391         __redirect_wcschr.
15392         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
15393         [IS_IN (libc)] (__wcschr_power6): Likewise.
15394         [IS_IN (libc)] (__wcschr_power7): Likewise.
15395         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
15396         instead of wcschr.
15397         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
15398         __libc_wcschr.
15399         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
15400         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
15401         __wcschr and define as weak alias of __wcschr.  Use
15402         libc_hidden_builtin_def.
15403         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
15404         as weak alias of __wcschr.  Use libc_hidden_weak.
15405         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
15406         wcschr.
15407         * time/era.c (_nl_init_era_entries): Likewise.
15408         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
15409         variable.
15410         (test-xfail-XPG3/time.h/linknamespace): Likewise.
15411         (test-xfail-XPG4/time.h/linknamespace): Likewise.
15413 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15415         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
15416         format for long int variable.
15418 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
15420         [BZ #10672]
15421         * manual/search.texi: (Array Sort Function): Remove claim how to make
15422         qsort stable.
15424 2014-12-10  Andreas Schwab  <schwab@suse.de>
15426         [BZ #12847]
15427         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
15428         user-controlled locks.
15430 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
15432         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
15433         register.
15435 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15437         * configure.ac (--disable-werror): New configure option.
15438         (enable_werror): New AC_SUBST.
15439         * configure: Regenerated.
15440         * config.make.in (enable-werror): New variable.
15441         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
15442         -Wno-error=undef.
15443         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
15444         * manual/install.texi (Configuring and compiling): Document
15445         --disable-werror.
15446         * INSTALL: Regenerated.
15447         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
15448         (CFLAGS-tst-chk2.c): Likewise.
15449         (CFLAGS-tst-chk3.c): Likewise.
15450         (CFLAGS-tst-chk4.cc): Likewise.
15451         (CFLAGS-tst-chk5.cc): Likewise.
15452         (CFLAGS-tst-chk6.cc): Likewise.
15453         (CFLAGS-tst-lfschk1.c): Likewise.
15454         (CFLAGS-tst-lfschk2.c): Likewise.
15455         (CFLAGS-tst-lfschk3.c): Likewise.
15456         (CFLAGS-tst-lfschk4.cc): Likewise.
15457         (CFLAGS-tst-lfschk5.cc): Likewise.
15458         (CFLAGS-tst-lfschk6.cc): Likewise.
15460         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
15461         (main): Disable -Wdeprecated-declarations around calls to
15462         register_printf_function.
15464         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
15465         (do_test): Disable -Wdiv-by-zero around some calls to
15466         fwrite_unlocked and fread_unlocked.
15468         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
15469         (DIAG_POP_NEEDS_COMMENT): Likewise.
15470         (_DIAG_STR1): Likewise.
15471         (_DIAG_STR): Likewise.
15472         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
15473         * stdio-common/bug21.c: Include <libc-internal.h>.
15474         (do_test): Disable -Wformat around call to sscanf.
15475         * stdio-common/scanf14.c: Include <libc-internal.h>.
15476         (main): Disable -Wformat around some calls to scanf functions.
15478 2014-12-09  Torvald Riegel  <triegel@redhat.com>
15480         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
15482 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15484         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
15485         stack variable alignment.
15487 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
15489         [BZ #17682]
15490         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
15491         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
15492         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
15493         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
15494         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
15495         __getrlimit instead of getrlimit.
15496         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
15497         __gettimeofday instead of gettimeofday.
15498         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15499         Likewise.
15500         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15501         Likewise.
15502         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15503         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
15504         Remove variable.
15505         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
15506         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
15508 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15510         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
15511         for wide-character tests.
15513 2014-12-04  Roland McGrath  <roland@hack.frob.com>
15515         * io/openat64.c: #include <libc-internal.h>
15516         (__openat64): Prototypify.  Use ignore_value on MODE.
15517         * io/openat.c: Likewise.
15518         * misc/reboot.c: #include <libc-internal.h>
15519         (reboot): Prototypify.  Use ignore_value on HOWTO.
15520         * misc/ptrace.c: #include <libc-internal.h>
15521         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
15523 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
15525         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
15526         XPG4, UNIX98 and XOPEN2K.
15527         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
15528         Remove variable.
15529         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
15531 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15533         * libio/fileops.c: Use ISO C style for function definitions.
15534         * libio/iofopen.c: Likewise.
15535         * libio/wfileops.c: Likewise.
15537         [BZ #17653]
15538         * libio/fileops.c (_IO_new_file_underflow): Unset cached
15539         offset on EOF.
15540         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15541         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
15542         (fgets_func): Function pointer to fgets and fgetws.
15543         (do_ftell_test): Add test to verify ftell value after read
15544         EOF.
15545         (do_test): Set fgets_func.
15547         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
15548         O_TRUNC flag for w and w+ modes.
15549         (do_rewind_test): Likewise.
15550         (do_ftell_test): Likewise.
15551         (do_write_test): Likewise.
15553         [BZ #17647]
15554         * libio/fileops.c (do_ftell): Seek only when there are
15555         unflushed writes.
15556         * libio/wfileops.c (do_ftell_wide): Likewise.
15557         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
15558         test case.
15559         (do_one_test): Call it.
15561 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
15563         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
15564         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
15565         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
15566         Remove variable.
15567         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
15568         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
15569         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
15571 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15573         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
15574         Remove variable.
15575         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
15577         [BZ #17668]
15578         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
15579         as weak alias of __getifaddrs.  Use libc_hidden_weak.
15580         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15581         __freeifaddrs.  Use libc_hidden_weak.
15582         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
15583         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
15584         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15585         __freeifaddrs.  Use libc_hidden_weak.
15586         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
15587         __getifaddrs and define as weak alias of __getifaddrs.  Use
15588         libc_hidden_weak.
15589         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15590         __freeifaddrs.  Use libc_hidden_weak.
15591         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
15592         Remove variable.
15593         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
15594         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
15596 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15598         [BZ #17601]
15599         * sysdeps/mips/start.S (__start): Use indirect jump to call
15600         __libc_start_main.
15602 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15604         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
15606         * nptl/tst-mutex1.c: Include <stdbool.h>.
15607         [!ATTR] (ATTR_NULL): New macro.
15608         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
15609         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
15610         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
15612         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
15613         to char *.
15615         [BZ #17665]
15616         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
15617         Change conditional to [__USE_MISC].
15619         [BZ #17664]
15620         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
15621         fgets_unlocked.
15622         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
15623         __fgets_unlocked.
15624         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
15625         fgets_unlocked.
15626         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
15627         Remove variable.
15628         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
15629         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
15630         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
15631         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
15632         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
15633         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
15634         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
15635         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
15636         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
15638         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
15640 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15642         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15643         Remove strpbrk objects.
15644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15645         (__libc_ifunc_impl_list): Remove strpbrk implementation.
15646         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
15647         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
15648         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
15649         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
15651         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15652         Remove strcspn objects.
15653         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15654         (__libc_ifunc_impl_list): Remove strcspn implementation.
15655         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
15656         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
15657         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
15658         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
15660         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15661         Remove strspn objetcs.
15662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15663         (__libc_ifunc_impl_list): Remove strspn implementation.
15664         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
15665         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
15666         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
15667         * sysdeps/powerpc/powerpc64/strspn.S: New file.
15669 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
15671         [BZ #17581]
15672         * malloc/hooks.c
15673         (mem2mem_check): Add a terminator to the chain of checking blocks.
15674         (malloc_check_get_size): Use it here.
15675         (mem2chunk_check): Ditto.
15677 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15679         * sysdeps/powerpc/powerpc64/strtok.S: New file.
15680         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
15682 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
15684         * bits/ioctl-types.h: Indent preprocessor directives correctly.
15686         * nptl/nptl-init.c: Include libc-internal.h.
15687         (__pthread_initialize_minimal_internal): Use ROUND_UP.
15689         * elf/ldconfig.c (search_dir): Expand comment.
15691 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
15693         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
15694         variable.
15695         (linknamespace-symlist-stdlibs-tests): Likewise.
15696         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
15697         instead of $(objpfx)symlist-stdlibs.
15698         (linknamespace-libs-isoc): New variable.
15699         (linknamespace-libs): Use $(linknamespace-libs-isoc).
15700         (linknamespace-libs-ISO): New variable.
15701         (linknamespace-libs-ISO99): Likewise.
15702         (linknamespace-libs-ISO11): Likewise.
15703         (linknamespace-libs-XPG3): Likewise.
15704         (linknamespace-libs-XPG4): Likewise.
15705         (linknamespace-libs-POSIX): Likewise.
15706         (linknamespace-libs-UNIX98): Likewise.
15707         (linknamespace-libs-XOPEN2K): Likewise.
15708         (linknamespace-libs-POSIX2008): Likewise.
15709         (linknamespace-libs-XOPEN2K8): Likewise.
15710         ($(objpfx)symlist-stdlibs): Replace by
15711         $(linknamespace-symlist-stdlibs-tests).  Use
15712         $(linknamespace-libs-$*) as set of libraries.
15713         ($(linknamespace-header-tests)): Update dependencies.  Use
15714         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
15715         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
15716         * conform/linknamespace.pl: Remove comment about considering
15717         definitions of symbols from irrelevant libraries.
15719 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
15721         [BZ #13862]
15722         * elf/dl-tls.c: Include <atomic.h>.
15723         (oom): Remove #ifdef SHARED/#endif.
15724         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
15725         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
15726         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
15727         big enough.
15728         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
15729         * nptl/Makefile (tests): Add tst-stack4.
15730         (modules-names): Add tst-stack4mod.
15731         ($(objpfx)tst-stack4): New.
15732         (tst-stack4mod.sos): Likewise.
15733         ($(objpfx)tst-stack4.out): Likewise.
15734         ($(tst-stack4mod.sos)): Likewise.
15735         (clean): Likewise.
15736         * nptl/tst-stack4.c: New file.
15737         * nptl/tst-stack4mod.c: Likewise.
15739 2014-11-27  J. Brown  <jb999@gmx.de>
15741         * sysdeps/x86/bits/string.h: Add recent CPUs.
15743 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15745         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
15746         sigblock.
15748         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
15749         feof.
15751         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
15752         variable.
15754 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15756         * nscd/connections.c: Include libc-internal.h because of macro
15757         usage ignore_value.
15759 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15761         * string/bits/string3.h (__warn_memset_zero_len): Don't
15762         declare for gcc newer than 5.0.
15763         (memset): Don't test for zero-length __LEN for gcc newer than
15764         5.0.
15766 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15768         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
15769         size_t for %zu format.
15771         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
15772         difference, not %ju.
15774 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15776         * include/libc-internal.h (ignore_value): New macro.
15777         * nscd/connections.c (restart): Wrap calls to setuid and setgid
15778         with ignore_value.
15780         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
15781         definition.
15783         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
15784         pthread_cleanup_push to void *.
15786         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
15787         Undefine.
15789         [BZ #16619]
15790         [BZ #16740]
15791         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
15792         instead of 1L << 52.
15794         * libio/bug-rewind.c (do_test): Check fwscanf return values.
15795         * libio/bug-rewind2.c (do_test): Likewise.
15797         * debug/test-stpcpy_chk-ifunc.c: Remove file.
15798         * debug/test-strcpy_chk-ifunc.c: Likewise.
15799         * wcsmbs/test-wcschr-ifunc.c: Likewise.
15800         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15801         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15802         * wcsmbs/test-wcslen-ifunc.c: Likewise.
15803         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15804         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15805         * Rules [$(multi-arch) = no] (tests): Do not filter out
15806         $(tests-ifunc).
15807         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
15808         * debug/Makefile (tests-ifunc): Remove variable.
15809         (tests): Do not add $(tests-ifunc).
15810         * wcsmbs/Makefile (tests-ifunc): Remove variable.
15811         (tests): Do not add $(tests-ifunc).
15812         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
15813         [TEST_IFUNC]: Remove conditionals.
15814         * string/test-string.h (TEST_IFUNC): Remove macro.
15815         [TEST_IFUNC]: Remove conditionals.
15817         * string/test-strchr.c [!WIDE] (L): New macro.
15818         [WIDE] (L): Likewise.
15819         (check1): Use CHAR instead of char.  Use L on string and character
15820         constants.
15822 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
15824         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
15825         tests.
15826         * sysdeps/powerpc/bits/atomic.h
15827         (__arch_atomic_exchange_and_add_32_acq): Add definition.
15828         (__arch_atomic_exchange_and_add_32_rel): Likewise.
15829         (atomic_exchange_and_add_acq): Likewise.
15830         (atomic_exchange_and_add_rel): Likewise.
15831         * sysdeps/powerpc/powerpc32/bits/atomic.h
15832         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15833         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15834         * sysdeps/powerpc/powerpc64/bits/atomic.h
15835         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15836         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15838 2014-11-26  Torvald Riegel  <triegel@redhat.com>
15840         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
15841         Change synchronization of __sched_fifo_min_prio and
15842         __sched_fifo_max_prio.
15843         * nptl/pthread_mutexattr_getprioceiling.c
15844         (pthread_mutexattr_getprioceiling): Likewise.
15845         * nptl/pthread_mutexattr_setprioceiling.c
15846         (pthread_mutexattr_setprioceiling): Likewise.
15847         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
15848         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
15849         Likewise.
15851 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15853         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
15854         void.
15856 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15858         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
15859         third argument const.
15861 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
15863         fnmatch: work around GCC compiler warning bug with uninit var
15864         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
15865         This works around a bug with x86-64 GCC 4.9.2 and earlier
15866         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
15867         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
15868         used uninitialized in this function [-Wmaybe-uninitialized]".
15870 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15872         * posix/bug-regex31.c (main): Return RES not 0.
15874 2014-11-25  Anton Blanchard <anton@samba.org>
15876         * sysdeps/powerpc/bits/atomic.h
15877         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
15879 2014-11-24  Sterling Augustine  <saugustine@google.com>
15881         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
15883 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
15885         [BZ #17608]
15886         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
15888 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
15890         [BZ #17633]
15891         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
15892         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
15893         variable.
15894         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
15895         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
15897 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15899         * string/strncpy.c (strncpy): Improve performance by using memset.
15901 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15903         * string/strcpy.c (strcpy):
15904         Improve performance by using strlen and memcpy.
15906 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
15908         * string/strcoll_l.c (get_next_seq): __always_inline.
15909         * string/strcoll_l.c (do_compare): __always_inline.
15911 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15913         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
15914         defined.
15915         * include/mqueue.h: Likewise.
15916         * include/stdlib.h: Likewise.
15918         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
15919         (get_null_defines): Adjust.
15920         * sunrpc/Makefile: Adjust comment.
15921         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
15922         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
15923         (CFLAGS-interp.c): Likewise.
15924         (CFLAGS-ldconfig.c): Likewise.
15925         (CPPFLAGS-.os): Likewise.
15926         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15927         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
15928         * extra-modules.mk (extra-modules.mk): Likewise.
15929         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
15930         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
15931         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
15932         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
15933         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
15934         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
15935         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
15936         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
15937         * iconvdata/Makefile (CPPFLAGS): Likewise.
15938         (cpp-srcs-left): Add libof for all iconvdata routines.
15939         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
15940         * include/assert.h: Likewise.
15941         * include/ctype.h: Likewise.
15942         * include/errno.h: Likewise.
15943         * include/libc-symbols.h: Likewise.
15944         * include/math.h: Likewise.
15945         * include/netdb.h: Likewise.
15946         * include/resolv.h: Likewise.
15947         * include/stdio.h: Likewise.
15948         * include/stdlib.h: Likewise.
15949         * include/string.h: Likewise.
15950         * include/sys/stat.h: Likewise.
15951         * include/wctype.h: Likewise.
15952         * intl/l10nflist.c: Likewise.
15953         * libidn/idn-stub.c: Likewise.
15954         * libio/libioP.h: Likewise.
15955         * nptl/libc_multiple_threads.c: Likewise.
15956         * nptl/pthreadP.h: Likewise.
15957         * posix/regex_internal.h: Likewise.
15958         * resolv/res_hconf.c: Likewise.
15959         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
15960         * sysdeps/arm/memmove.S: Likewise.
15961         * sysdeps/arm/sysdep.h: Likewise.
15962         * sysdeps/generic/_itoa.h: Likewise.
15963         * sysdeps/generic/symbol-hacks.h: Likewise.
15964         * sysdeps/gnu/errlist.awk: Likewise.
15965         * sysdeps/gnu/errlist.c: Likewise.
15966         * sysdeps/i386/i586/memcpy.S: Likewise.
15967         * sysdeps/i386/i586/memset.S: Likewise.
15968         * sysdeps/i386/i686/memcpy.S: Likewise.
15969         * sysdeps/i386/i686/memmove.S: Likewise.
15970         * sysdeps/i386/i686/mempcpy.S: Likewise.
15971         * sysdeps/i386/i686/memset.S: Likewise.
15972         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15973         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15974         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
15975         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
15976         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15977         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15978         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
15979         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15980         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15981         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15982         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15983         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15984         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15985         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15986         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15987         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15988         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
15989         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
15990         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
15991         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15992         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15993         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15994         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15995         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15996         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15997         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15998         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
15999         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16000         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
16001         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16002         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16003         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16004         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16005         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16006         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16007         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16008         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16009         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16010         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16011         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16012         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16013         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16014         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16015         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16016         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16017         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16018         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
16019         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
16020         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16021         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16022         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16023         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
16024         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
16025         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16026         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16027         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
16028         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16029         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
16030         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
16031         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16032         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16033         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16034         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
16035         * sysdeps/nptl/bits/libc-lock.h: Likewise.
16036         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
16037         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
16038         * sysdeps/posix/closedir.c: Likewise.
16039         * sysdeps/posix/opendir.c: Likewise.
16040         * sysdeps/posix/readdir.c: Likewise.
16041         * sysdeps/posix/rewinddir.c: Likewise.
16042         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
16043         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
16044         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16045         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16046         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16047         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
16048         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
16049         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
16050         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16051         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
16052         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16053         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16054         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16055         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
16056         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
16057         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
16058         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16059         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16060         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
16061         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
16062         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16063         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
16064         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
16065         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16066         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
16067         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
16068         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
16069         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16070         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16071         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
16072         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
16073         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
16074         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
16075         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
16076         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
16077         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
16078         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16079         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16080         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
16081         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
16082         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
16083         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
16084         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16085         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
16086         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
16087         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
16088         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
16089         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16090         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
16091         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
16092         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
16093         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16094         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16095         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16096         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16097         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
16098         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
16099         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16100         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16101         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
16102         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
16103         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16104         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16105         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16106         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
16107         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
16108         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
16109         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
16110         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
16111         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
16112         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
16113         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16114         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
16115         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16116         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16117         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
16118         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
16119         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16120         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
16121         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
16122         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16123         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16124         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
16125         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
16126         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16127         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
16128         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
16129         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16130         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16131         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16132         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
16133         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
16134         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
16135         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16136         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16137         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
16138         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16139         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16140         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
16141         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
16142         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16143         * sysdeps/unix/alpha/sysdep.S: Likewise.
16144         * sysdeps/unix/alpha/sysdep.h: Likewise.
16145         * sysdeps/unix/make-syscalls.sh: Likewise.
16146         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16147         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16148         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16149         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
16150         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16151         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16152         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
16153         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16154         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16155         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
16156         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16157         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16158         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16159         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
16160         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16161         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16162         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16163         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16164         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
16165         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16166         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16167         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16168         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16169         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16170         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16171         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16172         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
16174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16175         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
16176         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16177         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16178         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16179         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16180         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16181         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16182         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16183         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16184         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16185         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16186         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16187         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16188         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16189         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16190         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16191         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16192         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16193         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16194         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16195         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16196         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16197         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16198         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16199         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16200         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16201         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16202         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16203         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16204         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
16205         * sysdeps/x86_64/memcpy.S: Likewise.
16206         * sysdeps/x86_64/memmove.c: Likewise.
16207         * sysdeps/x86_64/memset.S: Likewise.
16208         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
16209         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16210         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16211         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
16212         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
16213         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16214         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16215         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16216         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16217         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16218         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16219         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16220         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
16221         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16222         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16223         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
16224         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16225         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16226         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16227         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16228         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
16229         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16230         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16231         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16232         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16233         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16234         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16235         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
16236         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16237         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16238         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
16239         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16240         * sysdeps/x86_64/strcmp.S: Likewise.
16242         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
16244         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
16245         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
16246         * elf/rtld-Rules: Likewise.
16247         * elf/setup-vdso.h: Likewise.
16248         * include/assert.h: Likewise.
16249         * include/bits/stdlib-float.h: Likewise.
16250         * include/errno.h: Likewise.
16251         * include/sys/stat.h: Likewise.
16252         * include/unistd.h: Likewise.
16253         * sysdeps/aarch64/setjmp.S: Likewise.
16254         * sysdeps/alpha/setjmp.S: Likewise.
16255         * sysdeps/arm/__longjmp.S: Likewise.
16256         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
16257         * sysdeps/arm/setjmp.S: Likewise.
16258         * sysdeps/arm/sysdep.h: Likewise.
16259         * sysdeps/generic/_itoa.h: Likewise.
16260         * sysdeps/generic/dl-sysdep.h: Likewise.
16261         * sysdeps/generic/ldsodefs.h: Likewise.
16262         * sysdeps/i386/dl-tls.h: Likewise.
16263         * sysdeps/i386/setjmp.S: Likewise.
16264         * sysdeps/m68k/setjmp.c: Likewise.
16265         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
16266         * sysdeps/mach/hurd/opendir.c: Likewise.
16267         * sysdeps/posix/getcwd.c: Likewise.
16268         * sysdeps/posix/opendir.c: Likewise.
16269         * sysdeps/posix/profil.c: Likewise.
16270         * sysdeps/powerpc/dl-procinfo.h: Likewise.
16271         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16272         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16273         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16274         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16275         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
16276         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16277         * sysdeps/s390/dl-tls.h: Likewise.
16278         * sysdeps/s390/s390-32/setjmp.S: Likewise.
16279         * sysdeps/s390/s390-64/setjmp.S: Likewise.
16280         * sysdeps/sh/sh3/setjmp.S: Likewise.
16281         * sysdeps/sh/sh4/setjmp.S: Likewise.
16282         * sysdeps/unix/alpha/sysdep.h: Likewise.
16283         * sysdeps/unix/arm/sysdep.S: Likewise.
16284         * sysdeps/unix/i386/sysdep.S: Likewise.
16285         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16286         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16287         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16288         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16289         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16290         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
16291         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16292         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16293         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16294         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
16295         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16296         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16297         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16300         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16301         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16302         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16303         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16304         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16305         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16306         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16307         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16308         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16309         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16310         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16311         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16312         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16313         * sysdeps/x86_64/setjmp.S: Likewise.
16315         * include/math.h: Use IS_IN instead of IS_IN_libm.
16316         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
16317         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16318         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16319         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16320         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16321         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16322         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16323         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16324         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16325         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16326         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
16327         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
16328         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
16329         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
16330         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
16331         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
16332         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
16333         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
16334         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
16335         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
16336         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
16337         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
16338         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
16339         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
16340         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
16341         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16342         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
16343         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
16344         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
16345         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
16346         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
16347         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16348         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
16350         Likewise.
16351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16352         Likewise.
16353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
16354         Likewise.
16355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
16356         Likewise.
16357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
16358         Likewise.
16359         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16360         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
16361         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16362         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16363         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16364         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
16366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
16370         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
16371         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
16372         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16373         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16374         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16375         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16376         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16377         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16378         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16379         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
16380         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
16381         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
16382         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
16383         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
16384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16385         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
16387         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
16388         * nptl/pthreadP.h: Likewise.
16389         * nptl_db/structs.def: Likewise.
16390         * sysdeps/arm/sysdep.h: Likewise.
16391         * sysdeps/nptl/bits/libc-lock.h: Likewise.
16392         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
16393         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
16394         * sysdeps/unix/alpha/sysdep.h: Likewise.
16395         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16396         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16397         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16398         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16399         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16400         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16401         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16402         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16403         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16404         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16405         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16406         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16407         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16408         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
16410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16411         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16412         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16413         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16414         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16415         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16416         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16417         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16418         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16419         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16420         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16422         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
16423         * nptl/pthreadP.h: Likewise.
16424         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16425         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16426         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16427         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16428         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16429         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16430         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16431         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16432         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16433         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16434         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16435         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16437         Likewise.
16438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16439         Likewise.
16440         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16441         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16442         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16443         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16444         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16445         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16446         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16447         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16449         * dlfcn/dladdr.c: Use IS_IN.
16450         * dlfcn/dladdr1.c: Likewise.
16451         * dlfcn/dlclose.c: Likewise.
16452         * dlfcn/dlerror.c: Likewise.
16453         * dlfcn/dlinfo.c: Likewise.
16454         * dlfcn/dlmopen.c: Likewise.
16455         * dlfcn/dlopen.c: Likewise.
16456         * dlfcn/dlsym.c: Likewise.
16457         * dlfcn/dlvsym.c: Likewise.
16459         * include/ifaddrs.h: Use IS_IN.
16460         * inet/check_pf.c: Likewise.
16461         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16462         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
16464         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
16465         IS_IN_ldconfig.
16466         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
16467         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
16469         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
16470         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
16471         IS_IN (libc).
16473         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
16475         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
16476         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16477         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
16478         * include/libc-symbols.h (IS_IN_LIB): New macro.
16479         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
16480         * include/netdb.h: Likewise.
16481         * include/stap-probe.h: Remove all uses of IN_LIB.
16483         * Makeconfig (module-cppflags-real): Define MODULE_NAME
16484         instead of IN_MODULE.
16485         * include/libc-symbols.h (IN_MODULE): Define using
16486         MODULE_NAME.
16487         (PASTE_NAME, PASTE_NAME1): New macros.
16488         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
16489         of IN_LIB.
16490         (STAP_PROBE_ASM): Likewise.
16492 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16494         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
16495         __mach_init in dlopened libc.
16497 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
16499         * sysdeps/arm/preconfigure.ac: Delete EABI check.
16500         * sysdeps/arm/preconfigure: Regenerate.
16502 2014-11-21  Roland McGrath  <roland@hack.frob.com>
16504         * nptl/pthread_create.c (__pthread_create_2_1): Set
16505         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
16506         when copying values from IATTR into PD.
16508 2014-11-21  Will Newton  <will.newton@linaro.org>
16509             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
16511         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
16512         Refactor inline-asm.  Also add comment.
16514         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
16515         ElfW macro instead of hardcoded Elf64 types.
16516         (la_aarch64_gnu_pltenter): Likewise.
16517         * sysdeps/aarch64/dl-machine.h
16518         (elf_machine_runtime_setup): Use ElfW(Addr).
16520         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
16521         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
16522         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
16523         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
16524         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
16525         (R_AARCH64_TLS_DTPMOD64): Rename to ..
16526         (R_AARCH64_TLS_DTPMOD): This.
16527         (R_AARCH64_TLS_DTPREL64): Rename to ...
16528         (R_AARCH64_TLS_DTPREL): This.
16529         (R_AARCH64_TLS_TPREL64): Rename to ...
16530         (R_AARCH64_TLS_TPREL): This.
16531         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
16532         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
16533         R_AARCH64_TLS_TPREL64.
16534         (elf_machine_rela): Likewise.
16536 2014-11-21  Torvald Riegel  <triegel@redhat.com>
16538         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
16539         by setting it to 0.  64b atomics are not supported currently.
16541 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16543         [BZ #16469]
16544         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
16545         search domain names.
16547 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16549         [BZ #16469]
16550         * NEWS: Update.
16551         * resolv/res_query.c (__libc_res_nquerydomain): Retain
16552         trailing dot.
16553         * posix/tst-getaddrinfo5.c: New.
16554         * posix/Makefile (tests): Add it.
16556 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16558         [BZ #14498]
16559         * NEWS: Fixed.
16560         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
16561         after parsing line but before break_if_match.
16562         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
16563         if there is a protocol mismatch.
16565 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
16567         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
16568         because the potential race is on the user-supplied stream.
16570 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16572         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
16573         string literal if not passed a buffer.
16574         * manual/job.texi (ctermid): Update reasoning, note deviation
16575         from posix, suggest mtasurace when not passed a buffer, for
16576         future non-preliminary safety notes.
16578 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16580         * manual/users.texi (cuserid): Fix MT-Safety note for the case
16581         of not passing it a buffer.
16582         Reported by Peng Haitao.
16584 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16586         * manual/Makefile ($(objpfx)stamp-summary): Require
16587         check-safety.sh to pass.
16588         * manual/check-safety.sh: Wish for verification that every
16589         @deftypefn and @deftypefun is followed by a @safety remark.
16591 2014-11-20  Roland McGrath  <roland@hack.frob.com>
16593         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
16595         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
16596         PTHREAD_CANCEL_ASYNCHRONOUS.
16597         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
16598         send SIGCANCEL.
16600         * nptl/default-sched.h: New file.
16601         * sysdeps/unix/sysv/linux/default-sched.h: New file.
16602         * nptl/pthread_create.c: Include it.
16603         (__pthread_create_2_1): Use collect_default_sched instead of making
16604         Linux syscalls here directly.
16606 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16608         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
16609         __pthread_once): Use C11 atomics.
16611 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16613         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
16615 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16617         * include/atomic.h (__atomic_link_error, __atomic_check_size,
16618         atomic_thread_fence_acquire, atomic_thread_fence_release,
16619         atomic_thread_fence_seq_cst, atomic_load_relaxed,
16620         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
16621         atomic_compare_exchange_weak_relaxed,
16622         atomic_compare_exchange_weak_acquire,
16623         atomic_compare_exchange_weak_release,
16624         atomic_exchange_acquire, atomic_exchange_release,
16625         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
16626         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
16627         atomic_fetch_and_acquire,
16628         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
16630 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16632         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
16633         USE_ATOMIC_COMPILER_BUILTINS): Define.
16634         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
16635         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16636         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
16637         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16638         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
16639         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16640         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
16641         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16642         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
16643         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16644         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
16645         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16646         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
16647         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16648         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
16649         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16650         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16651         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16652         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16653         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16654         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
16655         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16656         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16657         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16658         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
16659         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16660         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16661         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16662         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
16663         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16664         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
16665         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16666         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
16667         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16668         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16669         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16670         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
16671         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16672         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
16673         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16675 2014-11-19  Roland McGrath  <roland@hack.frob.com>
16677         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
16678         the sched_priority value here.  It was already checked when the user
16679         called pthread_attr_setschedparam.
16681         * nptl/tst-bad-schedattr.c: New file.
16682         * nptl/Makefile (tests): Add it.
16684 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
16685             Florian Weimer  <fweimer@redhat.com>
16686             Joseph Myers  <joseph@codesourcery.com>
16687             Adam Conrad  <adconrad@0c3.net>
16688             Andreas Schwab  <schwab@suse.de>
16689             Brooks  <bmoses@google.com>
16691         [BZ #17625]
16692         * wordexp-test.c (__dso_handle): Add prototype.
16693         (__register_atfork): Likewise.
16694         (__app_register_atfork): New function.
16695         (registered_forks): New global.
16696         (register_fork): New function.
16697         (test_case): Add 3 new tests for WRDE_CMDSUB.
16698         (main): Call __app_register_atfork.
16699         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
16700         fork count is non-zero fail the test.
16701         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
16702         is set.
16703         (parse_dollars): Remove check for WRDE_NOCMD.
16704         (parse_dquote): Likewise.
16706 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16708         * Makeconfig (built-modules): List non-library modules to be
16709         built.
16710         (module-cppflags): Include libc-modules.h for
16711         everything except shlib-versions.v.i.
16712         (CPPFLAGS): Use it.
16713         (before-compile): Add libc-modules.h.
16714         ($(common-objpfx)libc-modules.h,
16715         $(common-objpfx)libc-modules.stmp): New targets.
16716         (common-generated): Add libc-modules.h and libc-modules.stmp.
16717         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
16718         * include/libc-symbols.h: Don't include libc-modules.h.
16719         * include/libc-modules.h: Remove file.
16720         * scripts/gen-libc-modules.awk: New script to generate
16721         libc-modules.h.
16722         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
16723         Depend on libc-modules.stmp.
16725         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
16727         * Makeconfig (in-module): Get value of libof set for the
16728         translation unit.
16729         (CPPFLAGS): Use $(in-module).
16730         * Makerules: Don't suffix routine names for nonlib.
16731         * include/libc-modules.h: New file.
16732         * include/libc-symbols.h: Include libc-modules.h
16733         (IS_IN): New macro to replace IS_IN_* macros.
16734         * elf/Makefile: Set libof-* for each routine.
16735         * elf/rtld-Rules: Likewise.
16736         * extra-modules.mk: Likewise.
16737         * iconv/Makefile: Likewise.
16738         * iconvdata/Makefile: Likewise.
16739         * locale/Makefile: Likewise.
16740         * malloc/Makefile: Likewise.
16741         * nss/Makefile: Likewise.
16742         * sysdeps/gnu/Makefile: Likewise.
16743         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
16744         * sysdeps/unix/sysv/linux/Makefile: Likewise.
16745         * sysdeps/s390/s390-64/Makefile: Likewise.
16746         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
16747         CPPFLAGS for nscd instead of nonlib.
16749 2014-11-18  Roland McGrath  <roland@hack.frob.com>
16751         * nptl/createthread.c: New file.
16753         * nptl/createthread.c: Moved ...
16754         * sysdeps/unix/sysv/linux/createthread.c: ... here.
16756         * nptl/createthread.c: Add proper top-line comment.
16757         (do_clone): Folded into ...
16758         (create_thread): ... here.  Take new arguments STOPPED_START and
16759         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
16760         increment __nptl_threads, do event-reporting logic, do
16761         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
16762         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
16763         resource cleanup if sched_setaffinity or sched_setscheduler fails,
16764         just send SIGCANCEL.
16765         * nptl/pthread_create.c: Forward-declare create_thread before
16766         including createthread.c.
16767         (start_thread): Use new macro START_THREAD_DEFN to replace defining
16768         declaration, and new macro START_THREAD_SELF to replace argument.
16769         Remove return statement.
16770         (report_thread_creation): New function.
16771         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
16772         synchronization logic, and __nptl_nthreads increment here, around
16773         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
16774         PD->parent_cancelhandling here, before create_thread.  When
16775         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
16776         __deallocate_stack, and ENOMEM translation here.
16778 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
16780         [BZ #17616]
16781         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
16782         (mptwo): Rename to __mptwo.
16783         (__inv): Use __mptwo instead of mptwo.
16784         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
16785         (mptwo): Rename to __mptwo.
16786         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
16787         of mpone and __mptwo instead of mptwo.
16788         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
16789         instead of mpone.
16790         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16791         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
16792         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
16793         of mpone and __mptwo instead of mptwo.
16794         (__mpranred): Use __mpone instead of mpone.
16795         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
16796         variable.
16797         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
16798         (test-xfail-ISO99/math.h/linknamespace): Likewise.
16799         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
16800         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
16801         (test-xfail-ISO11/math.h/linknamespace): Likewise.
16802         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
16803         (test-xfail-XPG3/math.h/linknamespace): Likewise.
16804         (test-xfail-XPG4/math.h/linknamespace): Likewise.
16805         (test-xfail-POSIX/math.h/linknamespace): Likewise.
16806         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
16807         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
16808         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
16809         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
16810         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
16811         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
16812         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
16813         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
16814         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
16815         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
16817 2014-11-18  Tom de Vries  <tom@codesoucery.com>
16819         * manual/signal.texi (Primitives Interrupted by Signals): In section,
16820         replace BSD Handler xref with BSD Signal Handling.
16822 2014-11-17  Richard Henderson  <rth@redhat.com>
16824         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
16825         (_FP_PACK_RAW_2): Remove.
16826         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
16827         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
16828         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
16829         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
16830         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
16831         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
16832         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
16833         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
16834         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
16835         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
16836         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
16837         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
16838         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
16839         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
16840         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
16841         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
16843 2014-11-14  Roland McGrath  <roland@hack.frob.com>
16845         * signal/signal.h [__USE_MISC]
16846         (struct sigvec): Remove type.
16847         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
16848         (sigvec): Remove declaration.
16849         * sysdeps/posix/sigvec.c: Moved ...
16850         * signal/sigvec.c: ... here, replacing old file.
16851         (struct sigvec): New type, copied from old signal.h definition.
16852         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
16853         (__sigvec): Convert definition to prototype.
16854         (sigvec): Replace weak_alias with compat_symbol.
16855         * signal/Versions (libc: GLIBC_2.21): New version set.
16856         * include/signal.h: Remove __sigvec declaration.
16857         * sysdeps/unix/bsd/sigvec.c: Remove file.
16858         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
16859         * manual/signal.texi (BSD Handler): Remove subsection.
16860         Move siginterrupt up to ...
16861         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
16862         (Blocking in BSD): Fold subsection into its parent.
16863         * NEWS: Mention sigvec removal.
16865 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16867         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
16868         (DLA_FMS): Make definition conditional only on [__FMA4__].
16869         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
16870         definition.
16872         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
16873         Make definition conditional only on [PROF].
16874         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
16875         definition.
16876         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
16877         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
16879         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
16880         !__GNUC__].
16881         * include/signal.h (__sigpause): Move declaration above call to
16882         libc_hidden_proto.
16883         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
16884         variable.
16885         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
16886         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
16888 2014-11-14  David S. Miller  <davem@davemloft.net>
16890         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
16891         Define before including <string/memcpy.c> and <string/mempcpy.c>.
16893 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16895         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
16896         * configure: Regenerated.
16897         * manual/install.texi (Tools for Compilation): Document a
16898         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
16899         compiler verified to work.
16900         * INSTALL: Regenerated.
16902         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
16903         redeclare with asm name.
16904         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
16905         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
16906         including <string.h>.
16907         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16908         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
16909         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16910         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
16911         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16912         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16913         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16915 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
16917         * stdlib/strtol.c (__strtol): Use prototype definition.
16919         [BZ #17594]
16920         * stdlib/strtol.c (SYM__): New macro.
16921         (SYM__1): Likewise.
16922         (__strtol): Likewise.
16923         (strtol): Rename to __strtol and define as weak alias of
16924         __strtol.  Use libc_hidden_weak.
16926 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16928         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
16929         Use numbered labels in inline assembly.
16931 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16933         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
16934         Add setjmp LIBC_PROBE.
16935         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
16936         Likewise.
16937         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
16938         Add longjmp, longjmp_target LIBC_PROBE.
16939         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
16940         Likewise.
16942 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16944         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16945         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
16946         to get rid of unused variable warning.
16948 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16950         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
16951         Check for unwind_backtrace ==  NULL only in SHARED case.
16952         (__backchain_backtrace): Compile only in SHARED case.
16953         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
16954         Likewise.
16955         (__backchain_backtrace): Declare as static.
16957 2014-11-12  Roland McGrath  <roland@hack.frob.com>
16959         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
16960         (__libc_multiple_threads_ptr): Variable moved ...
16961         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
16963 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
16965         * conform/GlibcConform.pm: New file.
16966         * conform/conformtest.pl: Use GlibcConform module.
16967         * conform/linknamespace.pl: New file.
16968         * conform/list-header-symbols.pl: Likewise.
16969         * conform/Makefile (linknamespace-symlists-base): New variable.
16970         (linknamespace-symlists-tests): Likewise.
16971         (linknamespace-header-base): Likewise.
16972         (linknamespace-header-tests): Likewise.
16973         (tests-special): Add new tests.
16974         ($(linknamespace-symlists-tests)): New rule.
16975         (linknamespace-libs): New variable.
16976         ($(objpfx)symlist-stdlibs): New rule.
16977         ($(linknamespace-header-tests)): Likewise.
16978         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
16979         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
16980         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
16981         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
16982         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
16983         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
16984         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
16985         (test-xfail-ISO/math.h/linknamespace): Likewise.
16986         (test-xfail-ISO/signal.h/linknamespace): Likewise.
16987         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
16988         (test-xfail-ISO/time.h/linknamespace): Likewise.
16989         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
16990         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
16991         (test-xfail-ISO99/math.h/linknamespace): Likewise.
16992         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
16993         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
16994         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
16995         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
16996         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16997         (test-xfail-ISO11/math.h/linknamespace): Likewise.
16998         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
16999         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17000         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
17001         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17002         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
17003         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
17004         (test-xfail-XPG3/math.h/linknamespace): Likewise.
17005         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
17006         (test-xfail-XPG3/search.h/linknamespace): Likewise.
17007         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
17008         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17009         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
17010         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17011         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17012         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
17013         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17014         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17015         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
17016         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
17017         (test-xfail-XPG4/math.h/linknamespace): Likewise.
17018         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
17019         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17020         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17021         (test-xfail-XPG4/search.h/linknamespace): Likewise.
17022         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17023         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
17024         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
17025         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
17026         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
17027         (test-xfail-XPG4/time.h/linknamespace): Likewise.
17028         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
17029         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17030         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
17031         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17032         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17033         (test-xfail-POSIX/math.h/linknamespace): Likewise.
17034         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
17035         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
17036         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17037         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17038         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
17039         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17040         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17041         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
17042         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17043         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17044         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17045         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17046         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17047         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17048         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17049         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17050         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
17051         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
17052         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17053         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17054         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17055         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
17056         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17057         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
17058         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
17059         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17060         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17061         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17062         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17063         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17064         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17065         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
17066         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
17067         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17068         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
17069         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
17070         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
17071         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17072         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17073         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17074         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
17075         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17076         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
17077         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17078         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
17079         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
17080         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
17081         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17082         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17083         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
17084         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17085         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
17086         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
17087         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17088         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17089         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17090         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17091         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17092         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
17093         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17094         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17095         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17096         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17097         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
17098         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
17099         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17100         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
17101         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17102         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17103         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
17104         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17105         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17106         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17107         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17108         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17109         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17110         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
17111         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17112         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17113         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
17114         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17115         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
17116         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
17117         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
17118         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
17119         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17120         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17121         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
17122         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17123         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
17124         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17125         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
17126         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17127         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
17128         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17129         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17130         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
17131         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17132         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
17133         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17134         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17135         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
17136         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
17137         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
17138         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17140         [BZ #17589]
17141         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
17142         of fgets_unlocked.
17144         [BZ #17585]
17145         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
17146         (memmem): Rename to __memmem and define as weak alias of
17147         __memmem.  Use libc_hidden_weak.
17148         (__memmem): Use libc_hidden_def.
17149         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
17150         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
17151         memmem.
17153         [BZ #17582]
17154         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
17155         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
17156         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
17157         and define as weak alias of __fgets_unlocked.  Use
17158         libc_hidden_weak.
17159         (__fgets_unlocked): Use libc_hidden_def.
17160         * include/stdio.h (__fgets_unlocked): Declare.  Use
17161         libc_hidden_proto.
17162         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
17163         __fgets_unlocked instead of fgets_unlocked.
17164         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
17165         (GET_NPROCS_CONF_PARSER): Likewise.
17166         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
17167         (GET_NPROCS_CONF_PARSER): Likewise.
17169         [BZ #17574]
17170         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
17171         weak alias of __wmemset.  Use libc_hidden_weak.
17172         (__wmemset): Use libc_hidden_def.
17173         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
17174         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
17175         of wmemset.
17177         [BZ #17573]
17178         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
17179         with asm name __mempcpy.
17180         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
17182         [BZ #17572]
17183         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
17184         and define as weak alias of __rawmemchr.
17185         (__rawmemchr): Do not define as strong alias of rawmemchr.
17187         [BZ #17571]
17188         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
17189         alias of __qsort_r.
17190         (qsort): Call __qsort_r instead of qsort_r.
17191         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
17192         (__qsort_r): Declare.  Call libc_hidden_proto.
17193         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
17194         instead of qsort_r.
17195         * nscd/gai.c (__qsort_r): Define to qsort_r.
17196         * posix/tst-rfc3484.c (__qsort_r): Likewise.
17197         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
17198         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
17200         [BZ #17570]
17201         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
17202         define as weak alias of __malloc_info.
17204         [BZ #17584]
17205         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
17206         as weak alias of __rewinddir.  Don't use libc_hidden_def.
17207         (__rewinddir): Use libc_hidden_def.
17208         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
17209         as weak alias of __rewinddir.  Don't use libc_hidden_def.
17210         (__rewinddir): Use libc_hidden_def.
17211         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
17212         weak alias of __rewinddir.  Don't use libc_hidden_def.
17213         (__rewinddir): Use libc_hidden_def.
17214         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
17215         (__rewinddir): Use libc_hidden_proto.
17216         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
17217         rewinddir.
17218         (__getcwd): Use __rewinddir instead of rewinddir.
17220         [BZ #17583]
17221         * libio/fileno.c (fileno): Rename to __fileno and define as weak
17222         alias of __fileno.  Use libc_hidden_weak.
17223         (__fileno): Use libc_hidden_def.
17224         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
17225         * libio/ftello.c (ftello): Rename to __ftello and define as weak
17226         alias of __ftello.
17227         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
17228         __ftello.
17229         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
17230         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
17231         libc_hidden_def.
17232         (fread_unlocked): Don't use libc_hidden_ver.
17233         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
17234         and define as weak alias of __fread_unlocked.  Don't use
17235         libc_hidden_def.
17236         (__fread_unlocked): Use libc_hidden_def.
17237         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
17238         (ftello): Don't use libc_hidden_proto.
17239         (__ftello): Declare.  Use libc_hidden_proto.
17240         (fread_unlocked): Don't use libc_hidden_proto.
17241         (__fread_unlocked): Declare.  Use libc_hidden_proto.
17242         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
17243         and __ftello instead of fileno, fread_unlocked and ftello.
17245 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17247         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
17248         GOT12.
17249         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17250         Likewise.
17251         (_dl_start_user): Likewise.
17252         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
17254 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
17255             Siddhesh Poyarekar  <siddhesh@redhat.com>
17257         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
17258         Move argv and envp down instead of moving argc up.
17259         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
17261 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
17263         [BZ #17506]
17264         * test-skeleton.c (main): Return successful if one of
17265         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
17266         * string/tst-strcoll-overflow.c: Define expected status.
17268 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
17270         [BZ #17475]
17271         * locale/iso-639.def: Define Bhili and Tulu language codes.
17273 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
17275         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
17277 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
17279         [BZ #17555]
17280         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
17282 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17284         * configure.ac: Updated check of minimal required version to
17285         2.22.
17286         * manual/install.texi (Tools for Compilation): Updated version
17287         number.
17288         * configure: Regenerated.
17289         * INSTALL: Likewise.
17291 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
17293         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
17294         __tls_get_addr.
17296 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
17298         * include/sys/wait.h (__libc_waitpid): Remove declaration.
17299         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
17300         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17301         libc_hidden_weak.
17302         (waitpid): Define as alias of __waitpid.
17303         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
17304         __waitpid.
17305         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17306         libc_hidden_weak.
17307         (waitpid): Define as alias of __waitpid.
17308         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
17309         __libc_waitpid alias.
17310         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
17311         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
17312         Likewise.
17313         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
17314         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
17315         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
17316         alias.
17317         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
17318         __waitpid.
17319         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17320         libc_hidden_weak.
17321         (waitpid): Define as alias of __waitpid.
17323 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
17325         * manual/llio.texi: Add comment that write safety has been
17326         fixed in Linux.
17328         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
17329         (localplt-build-dso): Add elf/ld.so.
17330         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
17331         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
17332         and free for ld.so.
17333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
17334         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
17335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
17336         Likewise.
17337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17338         Likewise.
17339         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
17340         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
17341         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
17342         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
17343         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17344         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
17345         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
17346         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
17347         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17348         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
17349         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17351 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
17353         [BZ #14132]
17354         * include/libc-symbols.h (INTUSE): Remove macro.
17355         (INTDEF): Likewise.
17356         (INTVARDEF): Likewise.
17357         (_INTVARDEF): Likewise.
17358         (INTDEF2): Likewise.
17359         (INTVARDEF2): Likewise.
17360         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
17361         rtld_hidden_def instead of INTVARDEF.
17362         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
17363         (_dl_starting_up_internal): Remove declaration.
17364         (_dl_starting_up): Use rtld_hidden_proto.
17365         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
17366         declaration.
17367         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
17368         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
17369         _dl_starting_up.
17370         * elf/dl-writev.h (_dl_writev): Likewise.
17371         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
17372         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
17373         _dl_starting_up_internal.
17375 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17377         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17378         test-skeleton.c.
17380 2014-11-05  Will Newton  <will.newton@linaro.org>
17382         * benchtests/Makefile: (bench-malloc): Add malloc thread
17383         scalability benchmark.
17384         * benchtests/bench-malloc-threads.c: New file.
17386 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
17388         * sysdeps/aarch64/strchrnul.S: New file.
17390 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17392         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
17393         definition.
17394         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17395         Likwise.
17396         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17397         Likewise.
17398         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17399         Likewise.
17400         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17401         Likewise.
17402         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17403         Likewise.
17405 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
17407         * catgets/test-gencat.c: Use test-skeleton.c.
17408         * catgets/tst-catgets.c: Likewise.
17409         * csu/tst-empty.c: Likewise.
17410         * elf/tst-audit2.c: Likewise.
17411         * elf/tst-global1.c: Likewise.
17412         * elf/tst-pathopt.c: Likewise.
17413         * elf/tst-piemod1.c: Likewise.
17414         * elf/tst-tls10.c: Likewise.
17415         * elf/tst-tls11.c: Likewise.
17416         * elf/tst-tls12.c: Likewise.
17417         * gnulib/tst-gcc.c: Likewise.
17418         * iconvdata/tst-e2big.c: Likewise.
17419         * iconvdata/tst-loading.c: Likewise.
17420         * iconv/tst-iconv1.c: Likewise.
17421         * iconv/tst-iconv2.c: Likewise.
17422         * inet/test-inet6_opt.c: Likewise.
17423         * inet/tst-gethnm.c: Likewise.
17424         * inet/tst-network.c: Likewise.
17425         * inet/tst-ntoa.c: Likewise.
17426         * intl/tst-codeset.c: Likewise.
17427         * intl/tst-gettext2.c: Likewise.
17428         * intl/tst-gettext3.c: Likewise.
17429         * intl/tst-ngettext.c: Likewise.
17430         * intl/tst-translit.c: Likewise.
17431         * io/test-stat.c: Likewise.
17432         * libio/test-fmemopen.c: Likewise.
17433         * libio/tst-freopen.c: Likewise.
17434         * libio/tst-sscanf.c: Likewise.
17435         * libio/tst-ungetwc1.c: Likewise.
17436         * libio/tst-ungetwc2.c: Likewise.
17437         * libio/tst-widetext.c: Likewise.
17438         * localedata/tst-ctype.c: Likewise.
17439         * localedata/tst-digits.c: Likewise.
17440         * localedata/tst-leaks.c: Likewise.
17441         * localedata/tst-mbswcs1.c: Likewise.
17442         * localedata/tst-mbswcs2.c: Likewise.
17443         * localedata/tst-mbswcs3.c: Likewise.
17444         * localedata/tst-mbswcs4.c: Likewise.
17445         * localedata/tst-mbswcs5.c: Likewise.
17446         * localedata/tst-setlocale.c: Likewise.
17447         * localedata/tst-trans.c: Likewise.
17448         * localedata/tst-wctype.c: Likewise.
17449         * localedata/tst-xlocale1.c: Likewise.
17450         * login/tst-grantpt.c: Likewise.
17451         * malloc/tst-calloc.c: Likewise.
17452         * malloc/tst-malloc.c: Likewise.
17453         * malloc/tst-mallocstate.c: Likewise.
17454         * malloc/tst-mcheck.c: Likewise.
17455         * malloc/tst-mtrace.c: Likewise.
17456         * malloc/tst-obstack.c: Likewise.
17457         * math/atest-exp2.c: Likewise.
17458         * math/atest-exp.c: Likewise.
17459         * math/atest-sincos.c: Likewise.
17460         * math/test-matherr.c: Likewise.
17461         * math/test-misc.c: Likewise.
17462         * math/test-powl.c: Likewise.
17463         * math/tst-definitions.c: Likewise.
17464         * misc/tst-dirname.c: Likewise.
17465         * misc/tst-efgcvt.c: Likewise.
17466         * misc/tst-fdset.c: Likewise.
17467         * misc/tst-hsearch.c: Likewise.
17468         * misc/tst-mntent2.c: Likewise.
17469         * nptl/tst-sem7.c: Likewise.
17470         * nptl/tst-sem8.c: Likewise.
17471         * nptl/tst-sem9.c: Likewise.
17472         * nss/test-netdb.c: Likewise.
17473         * posix/tst-fnmatch.c: Likewise.
17474         * posix/tst-getlogin.c: Likewise.
17475         * posix/tst-gnuglob.c: Likewise.
17476         * posix/tst-mmap.c: Likewise.
17477         * pwd/tst-getpw.c: Likewise.
17478         * resolv/tst-inet_ntop.c: Likewise.
17479         * rt/tst-timer.c: Likewise.
17480         * stdio-common/test-fseek.c: Likewise.
17481         * stdio-common/test-popen.c: Likewise.
17482         * stdio-common/test-vfprintf.c: Likewise.
17483         * stdio-common/tst-cookie.c: Likewise.
17484         * stdio-common/tst-fileno.c: Likewise.
17485         * stdio-common/tst-gets.c: Likewise.
17486         * stdio-common/tst-obprintf.c: Likewise.
17487         * stdio-common/tst-perror.c: Likewise.
17488         * stdio-common/tst-sprintf2.c: Likewise.
17489         * stdio-common/tst-sprintf3.c: Likewise.
17490         * stdio-common/tst-sprintf.c: Likewise.
17491         * stdio-common/tst-swprintf.c: Likewise.
17492         * stdio-common/tst-tmpnam.c: Likewise.
17493         * stdio-common/tst-unbputc.c: Likewise.
17494         * stdio-common/tst-wc-printf.c: Likewise.
17495         * stdlib/tst-environ.c: Likewise.
17496         * stdlib/tst-fmtmsg.c: Likewise.
17497         * stdlib/tst-limits.c: Likewise.
17498         * stdlib/tst-rand48-2.c: Likewise.
17499         * stdlib/tst-rand48.c: Likewise.
17500         * stdlib/tst-random2.c: Likewise.
17501         * stdlib/tst-random.c: Likewise.
17502         * stdlib/tst-strtol.c: Likewise.
17503         * stdlib/tst-strtoll.c: Likewise.
17504         * stdlib/tst-tls-atexit.c: Likewise.
17505         * stdlib/tst-xpg-basename.c: Likewise.
17506         * string/test-ffs.c: Likewise.
17507         * string/tst-bswap.c: Likewise.
17508         * string/tst-inlcall.c: Likewise.
17509         * string/tst-strtok.c: Likewise.
17510         * string/tst-strxfrm.c: Likewise.
17511         * sysdeps/x86_64/tst-audit10.c: Likewise.
17512         * sysdeps/x86_64/tst-audit3.c: Likewise.
17513         * sysdeps/x86_64/tst-audit4.c: Likewise.
17514         * sysdeps/x86_64/tst-audit5.c: Likewise.
17515         * time/tst-ftime_l.c: Likewise.
17516         * time/tst-getdate.c: Likewise.
17517         * time/tst-mktime3.c: Likewise.
17518         * time/tst-mktime.c: Likewise.
17519         * time/tst-posixtz.c: Likewise.
17520         * time/tst-strptime2.c: Likewise.
17521         * time/tst-strptime3.c: Likewise.
17522         * wcsmbs/tst-btowc.c: Likewise.
17523         * wcsmbs/tst-mbrtowc.c: Likewise.
17524         * wcsmbs/tst-mbsrtowcs.c: Likewise.
17525         * wcsmbs/tst-wchar-h.c: Likewise.
17526         * wcsmbs/tst-wcpncpy.c: Likewise.
17527         * wcsmbs/tst-wcrtomb.c: Likewise.
17528         * wcsmbs/tst-wcsnlen.c: Likewise.
17529         * wcsmbs/tst-wcstof.c: Likewise.
17531 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
17533         [BZ #14132]
17534         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
17535         INTDEF.
17536         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
17537         declaration.
17538         (_dl_mcount): Use rtld_hidden_proto.
17539         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
17540         _dl_mcount.
17541         * elf/rtld.c (_rtld_global_ro): Likewise.
17543         [BZ #14132]
17544         * elf/dl-init.c (_dl_init): Don't use INTDEF.
17545         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
17546         of _dl_init_internal.
17547         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
17548         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
17549         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
17550         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
17551         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
17552         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
17553         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
17554         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
17555         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
17556         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
17557         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
17558         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
17559         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17560         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17561         * sysdeps/tile/dl-start.S (_start): Likewise.
17562         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
17563         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
17565         [BZ #14132]
17566         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
17567         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
17568         (rtld_progname): Make macro definition unconditional.
17569         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
17570         INTDEF.
17571         (dlmopen_doit): Do not use INTUSE with _dl_argv.
17572         (dl_main): Likewise.
17573         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17574         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
17575         instead of _dl_argv_internal.
17576         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17577         __GI__dl_argv instead of INTUSE(_dl_argv).
17578         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
17579         __GI__dl_argv instead of _dl_argv_internal.
17581         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
17582         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
17583         macro.
17584         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
17585         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
17586         New macro.
17587         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
17588         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
17589         macro.
17590         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
17591         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
17593 2014-11-04  Andreas Schwab  <schwab@suse.de>
17595         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
17597 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17599         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
17600         mtvsrd instruction in binary form.
17602 2014-11-03  Andreas Schwab  <schwab@suse.de>
17604         [BZ #17522]
17605         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
17606         for less than MB_LEN_MAX use a local buffer of that size.
17607         * libio/tst-fputws.c: New file.
17608         * libio/Makefile (tests): Add tst-fputws.
17610 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
17612         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
17613         the size of the fpu_fr.fpu_dregs[] array.
17615 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
17617         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
17618         (__nanosleep): Do not define as alias.
17619         (nanosleep): Define as alias of __nanosleep.
17620         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
17621         __libc_nanosleep name.
17623 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17625         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
17626         install.texi in comment.
17628 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17630         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
17631         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
17632         ... add here and use lwsync or sync ...
17633         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
17634         ... and add here using lwsync.
17636 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17638         * elf/dl-machine-reject-phdr.h: New file.
17639         * elf/dl-load.c: #include that.
17640         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
17641         if that returned true.
17643 2014-10-31  Roland McGrath  <roland@hack.frob.com>
17645         [BZ #17496]
17646         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
17647         gen-as-const-headers chunk.  Add a big scare comment after the last
17648         safe place to touch before-compile.
17650 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17652         * manual/install.texi (Tools for Compilation): Update autoconf
17653         version requirements.
17654         * INSTALL: Regenerated.
17656         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
17657         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
17658         (__libc_pselect): Likewise.
17660         [BZ #14138]
17661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
17662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17666 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17668         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
17669         correct barrier instruction.
17670         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
17671         Likewise.
17672         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
17673         Likewise.
17675 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17677         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
17678         after defining inlines.  Instead, just use parens to defeat macro
17679         expansion of __isctype in its declaration.
17681 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17683         * include/sys/uio.h (__libc_readv): Remove declaration.
17684         (__libc_writev): Likewise.
17685         * misc/readv.c (__libc_readv): Rename to __readv.
17686         (__readv): Do not define as alias.
17687         (readv): Define as alias of __readv.
17688         * misc/writev.c (__libc_writev): Rename to __writev.
17689         (__writev): Do not define as alias.
17690         (writev): Define as alias of __writev.
17691         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
17692         (__readv): Do not define as alias.
17693         (readv): Define unconditionally as alias of __readv.
17694         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
17695         (__writev): Do not define as alias.
17696         (writev): Define unconditionally as alias of __writev.
17697         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
17698         name.
17699         (writev): Do not define __libc_writev name.
17701 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17703         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
17704         (convert_charseq): New function, broken out of ...
17705         (use_from_charmap): ... here.  Call it.
17706         (use_to_charmap): Use convert_charseq and free instead of duplicating
17707         its code with a variable-length stack struct.
17709 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17711         * include/fcntl.h (__libc_creat): Remove declaration.
17712         * io/creat.c (__libc_creat): Rename to creat.
17713         (creat): Do not define as alias.
17714         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
17715         of creat instead of __libc_creat.
17716         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
17717         to creat.
17718         (creat): Do not define as alias.
17719         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
17720         __libc_creat.
17721         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
17722         __libc_creat name.
17723         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
17724         Likewise.
17726 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
17728         * manual/llio.texi: Add comments discussing why write() may be
17729         considered MT-unsafe on Linux.
17731 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
17733         * dl-load.c (local_strdup): Remove.
17734         (expand_dynamic_string_token): Use __strdup.
17735         (decompose_rpath): Likewise.
17736         (_dl_map_object): Likewise.
17738 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
17740         [BZ #14132]
17741         * sysdeps/generic/unwind-dw2-fde.c
17742         (__register_frame_info_bases_internal): Do not declare.
17743         (__register_frame_info_table_bases_internal): Likewise.
17744         (__deregister_frame_info_bases_internal): Likewise.
17745         (__register_frame_info_bases): Declare and use hidden_proto before
17746         definition.  Use hidden_def instead of INTDEF.
17747         (__register_frame_info_table_bases): Likewise.
17748         (__deregister_frame_info_bases): Likewise.
17749         (__register_frame_info): Do not use INTUSE.
17750         (__register_frame): Likewise.
17751         (__register_frame_info_table): Likewise.
17752         (__register_frame_table): Likewise.
17753         (__deregister_frame_info): Likewise.
17754         (__deregister_frame): Likewise.
17756 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
17758         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17759         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
17760         not undefine.
17761         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
17762         Likewise.
17763         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
17764         Likewise.
17766 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
17768         [BZ #14138]
17769         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
17770         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
17771         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
17772         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
17773         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
17774         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
17775         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
17776         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
17777         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
17778         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
17779         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
17780         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
17781         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
17782         syscall.
17783         (setfsuid): Likewise.
17784         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
17785         (setfsuid): Likewise.
17786         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
17787         (setfsuid): Likewise.
17788         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
17789         Likewise.
17790         (setfsuid): Likewise.
17791         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
17792         (setfsuid): Likewise.
17793         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
17794         Likewise.
17795         (setfsuid): Likewise.
17797 2014-10-27  Andreas Schwab  <schwab@suse.de>
17799         [BZ #17501]
17800         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
17801         check for Slow_SSE4_2 feature bit.
17802         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
17803         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17804         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
17805         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
17807 2014-10-24  Roland McGrath  <roland@hack.frob.com>
17809         * configure.ac: Validate compiler version with a empirical test of
17810         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
17811         $CC -v output.
17812         * configure: Regenerated.
17814         * inet/htons.c (htons): Prototypify.
17815         * inet/htonl.c (htonl): Likewise.
17817 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17819         * string/strncat.c (strncat): Improve performance by using strlen.
17821 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17823         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
17825 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17827         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
17828         Call libc_fetestexcept_aarch64.
17830 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17832         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
17833         Call libc_feholdexcept_aarch64.
17835 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17837         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
17838         Call get_rounding_mode.
17840 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17842         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17843         Simplify logic.
17845 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17847         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
17848         Simplify logic.
17850 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
17852         [BZ #14138]
17853         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
17854         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
17855         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
17856         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
17857         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
17858         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
17859         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
17860         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
17861         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
17862         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
17863         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17864         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
17865         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
17866         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
17867         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
17868         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
17869         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
17870         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
17871         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
17872         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
17873         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
17874         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
17875         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
17876         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
17877         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
17878         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
17879         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
17880         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
17881         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
17882         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
17883         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
17884         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
17885         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
17886         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
17887         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
17888         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
17889         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
17890         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
17891         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
17892         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
17893         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
17894         syscall.
17895         (geteuid): Likewise.
17896         (getgid): Likewise.
17897         (getuid): Likewise.
17898         (getresgid): Likewise.
17899         (getresuid): Likewise.
17900         (getgroups): Likewise.
17901         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
17902         (geteuid): Likewise.
17903         (getgid): Likewise.
17904         (getuid): Likewise.
17905         (getresgid): Likewise.
17906         (getresuid): Likewise.
17907         (getgroups): Likewise.
17908         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
17909         (geteuid): Likewise.
17910         (getgid): Likewise.
17911         (getuid): Likewise.
17912         (getresgid): Likewise.
17913         (getresuid): Likewise.
17914         (getgroups): Likewise.
17915         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
17916         Likewise.
17917         (geteuid): Likewise.
17918         (getgid): Likewise.
17919         (getuid): Likewise.
17920         (getresgid): Likewise.
17921         (getresuid): Likewise.
17922         (getgroups): Likewise.
17923         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
17924         (geteuid): Likewise.
17925         (getgid): Likewise.
17926         (getuid): Likewise.
17927         (getresgid): Likewise.
17928         (getresuid): Likewise.
17929         (getgroups): Likewise.
17930         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
17931         Likewise.
17932         (geteuid): Likewise.
17933         (getgid): Likewise.
17934         (getuid): Likewise.
17935         (getgroups): Likewise.
17937         [BZ #14138]
17938         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
17939         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
17940         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
17941         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17942         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
17943         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
17944         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
17945         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
17946         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
17947         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
17948         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
17949         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
17950         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
17951         __chown.
17952         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
17953         (lchown): Likewise.
17954         (fchown): Likewise.
17955         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
17956         Likewise.
17957         (lchown): Likewise.
17958         (fchown): Likewise.
17959         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
17960         (lchown): Likewise.
17961         (fchown): Likewise.
17962         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
17963         Likewise.
17964         (lchown): Likewise.
17965         (fchown): Likewise.
17967 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17969         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
17970         Simplify logic.
17972 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17974         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
17975         Cleanup logic.
17977 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17979         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
17980         Remove unused include.
17982 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17984         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
17985         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
17986         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
17987         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
17989 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
17990             Helge Deller <deller@gmx.de>
17992         [BZ #17508]
17993         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
17994         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
17995         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
17997 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
17999         [BZ #14132]
18000         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
18001         Remove macro definition.
18002         (__ashrdi3_v_glibc20): Likewise.
18003         (__lshrdi3_v_glibc20): Likewise.
18004         (__cmpdi2_v_glibc20): Likewise.
18005         (__ucmpdi2_v_glibc20): Likewise.
18006         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
18007         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18008         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18009         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18010         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18011         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
18013 2014-10-22  Roland McGrath  <roland@hack.frob.com>
18015         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
18016         old GNU extension [0] syntax.
18017         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
18018         alloca rather than an array member with variable length.
18019         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
18020         * nscd/nscd.c (invalidate_db): New function, broken out of ...
18021         (parse_opt): ... here.  Likewise use alloca there.
18022         Validate the -i argument before checking for rootness.
18023         (send_shutdown): New function, broken out of ...
18024         (parse_opt): ... here.
18026 2014-10-22  Roland McGrath  <roland@hack.frob.com>
18028         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
18029         macro to get at the _rt_local_ro field.
18030         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
18031         ([PIC] case) or _dl_hwcap ([!PIC] case).
18032         * sysdeps/arm/setjmp.S: Likewise.
18034         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
18035         * sysdeps/arm/configure.ac: New check to define it.
18036         * sysdeps/arm/configure: Regenerated.
18037         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
18038         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
18039         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
18040         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
18041         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
18042         Use move/movt pair instead of a load.
18043         (LDST_GLOBAL): Macro removed.
18044         (LDR_GLOBAL): New macro replaces it.
18045         (LDR_HIDDEN): New macro.
18046         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
18047         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
18049         * setjmp/tst-setjmp-static.c: New file.
18050         * setjmp/Makefile (tests): Add it.
18051         (tests-static): New variable.
18053 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
18055         [BZ #17485]
18056         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
18058 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
18060         [BZ #14132]
18061         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
18063 2014-10-21  Roland McGrath  <roland@hack.frob.com>
18065         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
18067 2014-10-20  Roland McGrath  <roland@hack.frob.com>
18069         * io/fts.c (dirent_not_directory): New function.
18070         (fts_build): Call it.
18072 2014-10-20  Roland McGrath  <roland@hack.frob.com>
18074         * nptl/version.c (__nptl_main): Use normal __write rather than
18075         INTERNAL_SYSCALL.
18076         (banner): Update copyright years.
18078         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
18079         gettimeofday.
18080         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18081         * nptl/pthread_cond_timedwait.c: Likewise.
18082         * nptl/pthread_mutex_timedlock.c: Likewise.
18083         * nptl/sem_timedwait.c: Likewise.
18085         * sysdeps/nptl/bits/libc-lock.h
18086         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18087         (__libc_lock_init_recursive): Return void, not 0.
18088         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
18089         (__libc_rwlock_init): Likewise.
18090         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
18092 2014-10-20  Torvald Riegel  <triegel@redhat.com>
18094         [BZ #15215]
18095         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
18096         (__pthread_once_slow): ... here.
18097         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
18098         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
18100 2014-10-20  Torvald Riegel  <triegel@redhat.com>
18102         [BZ #15215]
18103         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
18104         __PTHREAD_ONCE_FORK_GEN_INCR): New.
18105         * sysdeps/nptl/fork.c (__libc_fork): Use them.
18106         * nptl/pthread_once.c (__pthread_once): Likewise.
18107         Update comments.
18109 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
18111         [BZ #14138]
18112         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
18113         name.
18114         (writev): Use __libc_writev as strong name.
18115         * sysdeps/unix/sysv/linux/readv.c: Remove file.
18116         * sysdeps/unix/sysv/linux/writev.c: Likewise.
18118 2014-10-17  Roland McGrath  <roland@hack.frob.com>
18120         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
18122         * sysdeps/i386/nptl/tls.h
18123         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
18124         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
18125         New macros.
18126         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
18127         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
18128         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
18129         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
18130         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
18131         Call CHECK_THREAD_SYSINFO instead of doing an assert.
18133         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18134         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
18135         on [__NR_futex].
18136         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
18137         broken out of ...
18138         (__pthread_mutex_init): ... here.  Call it.
18139         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
18140         Conditionalize PI cases on [__NR_futex].
18141         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
18142         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
18143         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18145         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
18146         conditional on [SIGSETXID].
18147         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
18148         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
18149         is defined.  Likewise for SIGSETXID.
18150         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
18151         Conditionalize definitions on [SIGSETXID].
18152         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
18153         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
18154         unblocking on [SIGCANCEL].
18156         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
18157         [__NR_set_robust_list].
18159 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18161         * string/strcoll_l.c (get_next_seq): Fix up formatting.
18162         (do_compare): Likewise.
18164 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
18166         [BZ #15884]
18167         * string/strcoll_l.c: Don't include stdio.h.
18168         (coll_seq): Remove members idxarr and rulearr.
18169         (get_next_seq_cached): Remove function.
18170         (get_next_seq): Likewise.
18171         (get_next_seq_nocache): Rename to get_next_seq.
18172         (do_compare): Remove function.
18173         (do_compare_nocache): Rename to do_compare.
18174         (STRCOLL): Remove weight and rules cache.
18176 2014-10-16  Roland McGrath  <roland@hack.frob.com>
18178         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
18179         * sysdeps/arm/sfp-machine.h: ... to here.
18180         * sysdeps/arm/Implies: Remove arm/soft-fp.
18182 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
18184         * conform/data/sys/utsname.h-data (*_t): Allow.
18185         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
18186         [POSIX] (WEXITED): Do not expect constant.
18187         [POSIX] (WSTOPPED): Likewise.
18188         [POSIX] (WNOHANG): Likewise.
18189         [POSIX] (WNOWAIT): Likewise.
18190         [POSIX] (siginfo_t): Do not expect type or elements.
18191         [POSIX] (pid_t): Do not expect type.
18192         [POSIX] (signal.h): Do not allow header.
18193         [POSIX] (sys/resource.h): Likewise.
18194         [POSIX] (si_*): Do not allow pattern.
18195         [POSIX] (W*): Likewise.
18196         [POSIX] (P_*): Likewise.
18197         [POSIX] (BUS_*): Likewise.
18198         [POSIX] (CLD_*): Likewise.
18199         [POSIX] (FPE_*): Likewise.
18200         [POSIX] (ILL_*): Likewise.
18201         [POSIX] (POLL_*): Likewise.
18202         [POSIX] (SEGV_*): Likewise.
18203         [POSIX] (SI_*): Likewise.
18204         [POSIX] (TRAP_*): Likewise.
18205         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
18206         variable.
18208 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
18210         [BZ #12926]
18211         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
18212         infinite loop when __recvmsg returns 0.
18214 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
18216         * CANCEL-FCT-WAIVE: Remove file.
18217         * CANCEL-FILE-WAIVE: Likewise.
18219         [BZ #14132]
18220         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
18221         instead of INTVARDEF.
18222         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
18223         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
18224         rtld_hidden_data_def instead of INTVARDEF.
18225         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
18226         * elf/dl-deps.c (expand_dst): Likewise.
18227         * elf/dl-load.c (_dl_dst_count): Likewise.
18228         (_dl_dst_substitute): Likewise.
18229         (decompose_rpath): Likewise.
18230         (_dl_init_paths): Likewise.
18231         (open_path): Likewise.
18232         (_dl_map_object): Likewise.
18233         * elf/rtld.c (dl_main): Likewise.
18234         (process_dl_audit): Likewise.
18235         (process_envvars): Likewise.
18236         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
18237         Remove declaration.
18238         (__libc_enable_secure): Use rtld_hidden_proto.
18240 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18242         * elf/dl-load.c
18243         (add_path): New function broken out of _dl_rtld_di_serinfo.
18244         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
18246 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
18248         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
18249         parentheses around macro arguments.
18250         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
18251         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
18252         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
18253         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
18254         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
18255         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
18256         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
18257         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
18258         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
18259         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
18260         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
18261         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
18262         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
18263         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
18264         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
18265         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
18266         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
18267         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
18268         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
18269         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
18270         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
18271         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
18272         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
18273         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
18274         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
18275         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
18276         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
18277         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
18278         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
18279         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
18280         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
18281         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
18282         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
18283         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
18284         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
18285         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
18286         Likewise.
18287         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
18288         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
18289         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
18290         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
18291         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
18292         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
18293         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
18294         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
18295         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
18296         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
18297         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
18298         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
18299         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
18300         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
18301         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
18302         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
18303         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
18304         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
18305         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
18306         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
18307         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
18308         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
18309         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
18310         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
18311         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
18312         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
18313         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
18314         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
18315         (_FP_FRAC_SRS_1): Likewise.
18316         (_FP_FRAC_CLZ_1): Likewise.
18317         (_FP_MUL_MEAT_1_imm): Likewise.
18318         (_FP_MUL_MEAT_1_wide): Likewise.
18319         (_FP_MUL_MEAT_1_hard): Likewise.
18320         (_FP_SQRT_MEAT_1): Likewise.
18321         (_FP_FRAC_ASSEMBLE_1): Likewise.
18322         (_FP_FRAC_DISASSEMBLE_1): Likewise.
18323         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
18324         (__FP_CLZ_2): Likewise.
18325         (_FP_MUL_MEAT_2_wide): Likewise.
18326         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18327         (_FP_MUL_MEAT_2_gmp): Likewise.
18328         (_FP_MUL_MEAT_2_120_240_double): Likewise.
18329         (_FP_SQRT_MEAT_2): Likewise.
18330         (_FP_FRAC_ASSEMBLE_2): Likewise.
18331         (_FP_FRAC_DISASSEMBLE_2): Likewise.
18332         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
18333         (_FP_FRAC_CLZ_4): Likewise.
18334         (_FP_MUL_MEAT_4_wide): Likewise.
18335         (_FP_MUL_MEAT_4_gmp): Likewise.
18336         (_FP_SQRT_MEAT_4): Likewise.
18337         (_FP_FRAC_ASSEMBLE_4): Likewise.
18338         (_FP_FRAC_DISASSEMBLE_4): Likewise.
18339         * soft-fp/op-common.h (_FP_CMP): Likewise.
18340         (_FP_CMP_EQ): Likewise.
18341         (_FP_CMP_UNORD): Likewise.
18342         (_FP_TO_INT): Likewise.
18343         (_FP_FROM_INT): Likewise.
18344         [!__FP_CLZ] (__FP_CLZ): Likewise.
18345         (_FP_DIV_HELP_imm): Likewise.
18346         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
18347         Likewise.
18348         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
18349         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
18350         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
18351         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
18352         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
18353         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
18354         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
18355         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
18356         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
18357         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
18358         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
18359         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
18360         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
18361         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
18362         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
18363         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
18364         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
18365         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
18366         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
18367         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
18368         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
18369         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
18370         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
18371         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
18372         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
18373         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
18374         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
18375         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
18376         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
18377         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
18378         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
18379         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
18380         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
18381         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
18382         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
18383         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
18384         (FP_UNPACK_RAW_SP): Likewise.
18385         (FP_PACK_RAW_S): Likewise.
18386         (FP_PACK_RAW_SP): Likewise.
18387         (FP_UNPACK_S): Likewise.
18388         (FP_UNPACK_SP): Likewise.
18389         (FP_UNPACK_SEMIRAW_S): Likewise.
18390         (FP_UNPACK_SEMIRAW_SP): Likewise.
18391         (FP_PACK_S): Likewise.
18392         (FP_PACK_SP): Likewise.
18393         (FP_PACK_SEMIRAW_S): Likewise.
18394         (FP_PACK_SEMIRAW_SP): Likewise.
18395         (_FP_SQRT_MEAT_S): Likewise.
18396         (FP_CMP_S): Likewise.
18397         (FP_CMP_EQ_S): Likewise.
18398         (FP_CMP_UNORD_S): Likewise.
18399         (FP_TO_INT_S): Likewise.
18400         (FP_FROM_INT_S): Likewise.
18402         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
18404         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
18405         (FP_EX_INVALID_IMZ): Likewise.
18406         (FP_EX_INVALID_IMZ_FMA): Likewise.
18407         (FP_EX_INVALID_ISI): Likewise.
18408         (FP_EX_INVALID_ZDZ): Likewise.
18409         (FP_EX_INVALID_IDI): Likewise.
18410         (FP_EX_INVALID_SQRT): Likewise.
18411         (FP_EX_INVALID_CVI): Likewise.
18412         (FP_EX_INVALID_VC): Likewise.
18413         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
18414         "invalid" exceptions.
18415         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
18416         (_FP_ADD_INTERNAL): Likewise.
18417         (_FP_MUL): Likewise.
18418         (_FP_FMA): Likewise.
18419         (_FP_DIV): Likewise.
18420         (_FP_CMP_CHECK_NAN): Likewise.
18421         (_FP_SQRT): Likewise.
18422         (_FP_TO_INT): Likewise.
18423         (FP_EXTEND): Likewise.
18425 2014-10-09  Allan McRae  <allan@archlinux.org>
18427         * po/fr.po: Update French translation from translation project.
18429 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
18431         [BZ #14132]
18432         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
18433         of INTDEF.
18434         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
18435         (__cxa_atexit): Use libc_hidden_proto.
18436         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
18438         [BZ #14132]
18439         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
18440         declaration.
18441         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
18442         [!_ISOMAC] (__iswspace_l_internal): Likewise.
18443         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
18444         [!_ISOMAC] (__iswctype_internal): Likewise.
18445         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
18446         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
18447         alias.
18448         (fcntl): Remove __fcntl_internal alias.
18449         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
18450         __connect_internal alias.
18451         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
18452         Likewise.
18454         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
18455         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
18456         FP_DENORM_ZERO.
18457         (_FP_CHECK_FLUSH_ZERO): New macro.
18458         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
18459         (_FP_CMP): Likewise.
18460         (_FP_CMP_EQ): Likewise.
18461         (_FP_TO_INT): Do not set inexact for subnormal arguments if
18462         FP_DENORM_ZERO.
18463         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
18464         (FP_TRUNC): Likewise.
18466         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
18467         treated as invalid conversion, not as normal exponent.
18469         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
18470         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
18471         (_FP_CMP_EQ): Likewise.
18472         (_FP_CMP_UNORD): Likewise.
18473         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
18474         (FP_CMP_EQ_D): Likewise.
18475         (FP_CMP_UNORD_D): Likewise.
18476         * soft-fp/extended.h (FP_CMP_E): Likewise.
18477         (FP_CMP_EQ_E): Likewise.
18478         (FP_CMP_UNORD_E): Likewise.
18479         * soft-fp/quad.h (FP_CMP_Q): Likewise.
18480         (FP_CMP_EQ_Q): Likewise.
18481         (FP_CMP_UNORD_Q): Likewise.
18482         * soft-fp/single.h (FP_CMP_S): Likewise.
18483         (FP_CMP_EQ_S): Likewise.
18484         (FP_CMP_UNORD_S): Likewise.
18485         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
18486         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
18487         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
18488         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
18489         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
18490         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
18491         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
18492         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
18493         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
18494         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
18495         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
18496         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
18497         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
18498         to FP_CMP_Q.
18499         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
18500         FP_CMP_Q.
18501         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
18502         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
18503         FP_CMP_EQ_Q.
18504         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
18505         FP_CMP_Q.
18506         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
18507         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
18508         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
18509         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
18510         FP_CMP_EQ_Q.
18511         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
18512         FP_CMP_Q.
18513         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
18514         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
18515         FP_CMP_EQ_Q.
18516         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
18517         FP_CMP_Q.
18518         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
18519         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
18520         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
18521         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
18522         FP_CMP_EQ_Q.
18524         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
18525         a subnormal result, set the underflow exception if trapping on
18526         underflow is enabled.
18527         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
18528         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
18529         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
18530         redefine to 0.
18531         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
18532         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18533         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18534         * soft-fp/extendxftf2.c (__extendxftf2): Use
18535         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
18537         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
18538         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
18539         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18540         FP_HANDLE_EXCEPTIONS.
18541         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
18542         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18543         FP_HANDLE_EXCEPTIONS.
18544         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
18545         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18546         FP_HANDLE_EXCEPTIONS.
18547         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
18548         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18549         FP_HANDLE_EXCEPTIONS.
18551 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
18553         [BZ #14132]
18554         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
18555         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
18556         use INTUSE.
18557         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
18558         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
18559         Remove alias.
18560         (__adjtimex): Define using libc_hidden_ver.
18561         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
18562         Remove declaration.
18563         (ntp_gettime): Call __adjtimex directly.
18564         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
18565         Remove declaration.
18566         (ntp_gettimex): Call __adjtimex directly.
18567         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
18568         __adjtimex_internal alias.
18570 2014-10-08  Roland McGrath  <roland@hack.frob.com>
18572         [BZ #17460]
18573         * nscd/nscd.c (more_help): Rewrite list of tables collection
18574         using xstrdup and asprintf.
18576         * nscd/nscd_conf.c: Remove local xstrdup declaration.
18578 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18579             Roland McGrath  <roland@hack.frob.com>
18581         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
18582         (do_lookup_unique): ... local function 'enter' here; update callers.
18584 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
18586         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
18587         compat_symbol calls on [SHARED].
18588         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
18589         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
18590         Remove.
18591         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18592         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
18593         (oldsetrlimit): Remove.
18594         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18596         (lchown): New syscall entry.
18597         (oldsetrlimit): Remove.
18598         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18599         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
18600         (oldsetrlimit): Remove.
18601         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18603         [BZ #14138]
18604         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
18605         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
18606         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
18607         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
18608         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18609         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
18610         (fchown): Likewise.
18611         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
18612         (fchown): Likewise.
18613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
18614         Likewise.
18616 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18618         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
18619         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
18620         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
18621         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
18622         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
18623         Likewise.
18624         (__old_sem_post): Likewise.
18626 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
18628         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
18629         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
18630         HAVE_CLOCK_GETTIME_VSYSCALL macros.
18631         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
18632         Use INLINE_VSYSCALL macro.
18633         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
18634         __vdso_clock_gettime.
18635         * sysdeps/unix/sysv/linux/tile/init-first.c
18636         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
18637         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
18638         __vdso_clock_gettime.
18640         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
18641         to set up frame more cleanly.
18643         * sysdeps/tile/memcmp.c: New file.
18645         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
18647         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
18648         * sysdeps/tile/tilegx/strcasestr.c: New file.
18649         * sysdeps/tile/tilegx/strnlen.c: New file.
18650         * sysdeps/tile/tilegx/strstr.c: New file.
18652         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
18654 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
18656         * nptl/tst-setuid3.c: Write errors to stdout.
18658 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18660         * elf/dl-deps.c
18661         (preload): New functions broken out of _dl_map_object_deps.
18662         (_dl_map_object_deps):  Remove a nested function. Update call sites.
18664 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
18666         [BZ #14138]
18667         * sysdeps/unix/sysv/linux/execve.c: Remove file.
18668         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
18670 2014-10-01  Steve Ellcey  <sellcey@mips.com>
18672         * sysdeps/mips/strcmp.S: New.
18674 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
18676         [BZ #14138]
18677         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
18678         (linkat): Likewise.
18679         (mkdirat): Likewise.
18680         (readlinkat): Likewise.
18681         (renameat): Likewise.
18682         (symlinkat): Likewise.
18683         (unlinkat): Likewise.
18684         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
18685         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
18686         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
18687         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
18688         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
18689         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
18690         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
18692 2014-09-30  Will Newton  <will.newton@linaro.org>
18694         * math/math.h: Define long double math functions if
18695         _LIBC_TEST is defined.
18696         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
18698         * localedata/Makefile: Move assignment to tests-special
18699         into an ifdef testing run-built-tests.
18700         * timezone/Makefile: Likewise.
18702 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
18704         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
18705         with $(BASH) not $(SHELL).
18707 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
18708             Matthew LeGendre  <legendre1@llnl.gov>
18710         [BZ #17411]
18711         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
18712         l_reloc_result.
18714 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18716         * stdio-common/printf_fp.c
18717         (hack_digit): New function, broken out of ...
18718         (__printf_fp): ... local function here.  Update call sites.
18719         hack_digit now takes an additional parameter that is a pointer
18720         to a struct of the referenced locals.  Those locals moved inside
18721         the struct and references updated.
18723 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
18725         * aclocal.m4: Require autoconf 2.69.
18726         * configure: Regenerated.
18727         * sysdeps/aarch64/configure: Likewise.
18728         * sysdeps/alpha/configure: Likewise.
18729         * sysdeps/arm/armv7/configure: Likewise.
18730         * sysdeps/arm/configure: Likewise.
18731         * sysdeps/ia64/configure: Likewise.
18732         * sysdeps/mach/configure: Likewise.
18733         * sysdeps/mips/configure: Likewise.
18734         * sysdeps/s390/configure: Likewise.
18735         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
18736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
18738         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
18739         file.
18740         * sysdeps/ia64/configure.ac: Likewise.
18742 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
18744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
18745         specify symbol version for ld.so.  Do not include entry for
18746         libpthread.
18747         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18748         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
18749         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18751         [BZ #14171]
18752         * Makeconfig [$(build-shared) = yes]
18753         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
18754         makefiles.
18755         [$(build-shared) = yes && $(soversions.mk-done) = t]
18756         ($(common-objpfx)gnu/lib-names.h): Remove rule.
18757         [$(build-shared) = yes && $(soversions.mk-done) = t]
18758         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
18759         to Makerules.
18760         [$(build-shared) = yes && $(soversions.mk-done) = t]
18761         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
18762         here.
18763         [$(build-shared) = yes && $(soversions.mk-done) = t]
18764         (common-generated): Don't append gnu/lib-names.h and
18765         gnu/lib-names.stmp here.
18766         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
18767         (lib-names-h-abi): New variable.
18768         [$(build-shared) = yes && $(soversions.mk-done) = t]
18769         (lib-names-stmp-abi): Likewise.
18770         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18771         abi-variants] (before-compile): Append
18772         $(common-objpfx)$(lib-names-h-abi).
18773         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18774         abi-variants] (common-generated): Append gnu/lib-names.h.
18775         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18776         abi-variants] (install-others-nosubdir): Depend on
18777         $(inst_includedir)/$(lib-names-h-abi).
18778         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18779         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
18780         [$(build-shared) = yes && $(soversions.mk-done) = t]
18781         ($(common-objpfx)$(lib-names-h-abi)): New rule.
18782         [$(build-shared) = yes && $(soversions.mk-done) = t]
18783         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
18784         [$(build-shared) = yes && $(soversions.mk-done) = t]
18785         (common-generated): Append $(lib-names-h-abi) and
18786         $(lib-names-stmp-abi).
18787         * scripts/lib-names.awk: Do not handle multi being set.
18788         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
18789         Remove variable.
18790         (abi-lp64_be-ld-soname): Likewise.
18791         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
18792         Likewise.
18793         (abi-hard-ld-soname): Likewise.
18794         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
18795         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
18796         Remove variable.
18797         (abi-o32_hard-ld-soname): Likewise.
18798         (abi-o32_soft_2008-ld-soname): Likewise.
18799         (abi-o32_hard_2008-ld-soname): Likewise.
18800         (abi-n32_soft-ld-soname): Likewise.
18801         (abi-n32_hard-ld-soname): Likewise.
18802         (abi-n32_soft_2008-ld-soname): Likewise.
18803         (abi-n32_hard_2008-ld-soname): Likewise.
18804         (abi-n64_soft-ld-soname): Likewise.
18805         (abi-n64_hard-ld-soname): Likewise.
18806         (abi-n64_soft_2008-ld-soname): Likewise.
18807         (abi-n64_hard_2008-ld-soname): Likewise.
18808         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
18809         Likewise.
18810         (abi-64-v2-ld-soname): Likewise.
18811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
18812         ld.so entries.
18813         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
18814         variable.
18815         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
18816         entry.
18817         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
18818         variable.
18819         (abi-64-ld-soname): Likewise.
18820         (abi-x32-ld-soname): Likewise.
18821         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
18822         entry.
18823         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18825 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
18827         [BZ #14138]
18828         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
18829         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
18830         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
18831         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
18832         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
18833         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
18834         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
18835         syscall entry for GLIBC_2.2 symbol version.
18836         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
18837         Likewise.
18838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18839         (setrlimit): Likewise.
18840         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
18841         Likewise.
18843 2014-09-23  Will Newton  <will.newton@linaro.org>
18845         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
18846         _LINUX_ARM_SYSDEP_H include guard too.
18847         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
18848         define.
18850 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18852         * sysdeps/unix/sysv/linux/eventfd.c:
18853         Make first argument unsigned.
18854         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
18855         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
18857 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
18859         * socket/recvmmsg.c (recvmmsg): Drop const argument.
18860         * socket/sys/socket.h: Likewise
18861         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
18863 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18865         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
18867 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
18869         * time/tst-ftime.c: New test.
18870         * time/Makefile (tests): Add tst-ftime.
18872 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
18874         * soft-fp/extended.h: Fix comment formatting.
18875         * soft-fp/op-1.h: Likewise.
18876         * soft-fp/op-2.h: Likewise.
18877         * soft-fp/op-4.h: Likewise.
18878         * soft-fp/op-8.h: Likewise.
18879         * soft-fp/op-common.h: Likewise.
18880         * soft-fp/soft-fp.h: Likewise.
18882         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
18884 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
18886         [BZ #6652]
18887         * Makeconfig (soversions-default-setname): Remove variable.
18888         ($(common-objpfx)soversions.i): Don't pass default_setname to
18889         soversions.awk.
18890         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
18891         oldest_abi to abi-versions.awk.
18892         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
18893         * config.make.in (oldest-abi): Remove variable.
18894         * configure.ac (--enable-oldest-abi): Remove configure option.
18895         * configure: Regenerated.
18896         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
18897         text.
18898         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
18899         * scripts/soversions.awk: Do not handle default_setname variable.
18900         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
18901         variable.
18902         * sysdeps/mach/hurd/configure: Regenerated.
18903         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
18904         variable.
18905         * sysdeps/unix/sysv/linux/configure: Regenerated.
18907 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18909         * elf/Makefile (CFLAGS-interp.c): Remove.
18910         ($(elf-objpfx)runtime-linker.h): Generate header with linker
18911         path string.
18912         * elf/interp.c: Include generated runtime-linker.h
18914         * Makerules (lib%.so): Don't include $(+interp) in
18915         prerequisites.
18916         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
18917         * dlfcn/eval.c: Remove file.
18919         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
18920         macros.
18922         [BZ #17266]
18923         * misc/sys/cdefs.h: Define __extern_always_inline for clang
18924         4.2 and newer.
18926         [BZ #17370]
18927         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
18929 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18930             Jakub Jelinek  <jakub@redhat.com>
18932         [BZ #17266]
18933         * libio/stdio.h: Check definition of __fortify_function
18934         instead of __extern_always_inline to include bits/stdio2.h.
18935         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
18936         check if __extern_always_inline is defined.
18937         [__USE_MISC || __USE_XOPEN]: Likewise.
18938         [__USE_ISOC99] Likewise.
18939         * misc/sys/cdefs.h (__fortify_function): Define only if
18940         __extern_always_inline is defined.
18941         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
18942         __extern_always_inline and __extern_inline only for g++-4.3
18943         and newer or a compatible gcc.
18945 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
18947         [BZ #17371]
18948         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18949         last change to handle zero prefix length.
18951 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18953         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
18954         _SC_REGEX_VERSION.
18956         * posix/getconf.c (vars): Add _POSIX_IPV6 and
18957         _POSIX_RAW_SOCKETS.
18959 2014-09-13  Allan McRae  <allan@archlinux.org>
18961         * po/ru.po: Update Russian translation from translation project.
18963 2014-09-12  Roland McGrath  <roland@hack.frob.com>
18965         * locale/programs/locale.c (show_locale_vars): Inline local function
18966         into its sole call site.  Clean up some style nits.
18967         (print_item): New function, broken out of ...
18968         (show_info): ... local function here.  Clean up style nits.
18970         * locale/programs/ld-ctype.c (set_one_default): New function, broken
18971         out of ...
18972         (set_class_defaults): ... local function set_default here.
18973         Define set_default as a macro locally to pass constant parameters.
18974         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
18975         rather than a shared local.
18977         * stdlib/rpmatch.c (try): New function, broken out of ...
18978         (rpmatch): ... local function here.  Also, prototypify definition.
18980 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
18982         * scripts/soversions.awk: Do not handle configuration names.
18983         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
18984         vendor and os variables to soversions.awk.
18985         * configure.ac: Do not modify gnu-* host_os.
18986         * configure: Regenerated
18987         * shlib-versions: Remove first column with configuration names.
18988         * nptl/shlib-versions: Likewise.
18989         * nptl_db/shlib-versions: Likewise.
18990         * sysdeps/hppa/shlib-versions: Likewise.
18991         * sysdeps/m68k/shlib-versions: Likewise.
18992         * sysdeps/mach/hurd/shlib-versions: Likewise.
18993         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
18994         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
18995         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
18996         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
18997         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
18998         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
18999         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
19000         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
19001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
19002         Likewise.
19003         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19004         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
19005         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
19006         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
19007         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
19008         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
19009         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
19010         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19013         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
19014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
19015         Regenerated.
19016         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
19017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
19018         Condition symbol version definitions on [HAVE_ELFV2_ABI].
19020         * shlib-versions: Remove OS-specific entries.  Moved to files in
19021         sysdeps.
19022         * sysdeps/mach/hurd/shlib-versions: New file.
19023         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
19025         * nptl/shlib-versions: Remove architecture-specific entries.
19026         Moved to files in sysdeps.
19027         * shlib-versions: Likewise.
19028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
19029         file.
19030         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19031         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
19032         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
19033         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
19035         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
19036         (UDP_NO_CHECK6_RX): Likewise.
19038 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19040         * sysdeps/posix/sysconf.c (__sysconf): Spell
19041         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
19043 2014-08-12  Florian Weimer  <fweimer@redhat.com>
19045         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
19046         loading.
19047         * iconv/Versions (__gconv_transliterate): Export for use from
19048         gconv modules.
19049         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
19050         (struct __gconv_trans_data, __gconv_trans_fct,
19051         __gconv_trans_context_fct, __gconv_trans_query_fct,
19052         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
19053         definitions.
19054         (struct __gconv_step_data): Remove __trans member.
19055         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
19056         longer hidden.  Remove unused trans_data argument.
19057         * iconv/gconv_int.h (struct trans_struct): Remove definition.
19058         (__gconv_translit_find): Remove declaration.
19059         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
19060         prototype.
19061         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
19062         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
19063         trans_data argument.  Add hidden definition.
19064         (__gconv_translit_find): Remove.
19065         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
19066         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
19067         * iconv/skeleton.c: Remove transliteration initialization.
19068         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
19069         __gconv_step_data initialization.
19070         * libio/iofwide.c (__libio_translit_): Remove.
19071         (_IO_fwide): Adjust struct __gconv_step_data initialization.
19072         * wcsmbs/btowc.c (__btowc): Likewise.
19073         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19074         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19075         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
19076         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
19077         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
19078         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
19079         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
19080         * wcsmbs/wctob.c (wctob): Likewise.
19082 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19084         [BZ #16194]
19085         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
19086         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
19087         register usage.
19088         * sysdeps/x86/Makefile: Adjust.
19090 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19091             Roland McGrath  <roland@hack.frob.com>
19093         * locale/weight.h: Add include guard.
19094         (findidx): Make static rather than auto; take new parameters
19095         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
19096         * locale/weightwc.h: Likewise.
19097         * posix/fnmatch_loop.c
19098         (FCT): Change type of EXTRA from int32_t to wint_t.
19099         Don't include either header inside the function.
19100         Call FINDIDX rather than findidx, and pass new arguments.
19101         #undef FINDIDX at the end of the file.
19102         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
19103         FINDIDX before including fnmatch_loop.c for the non-wide version.
19104         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
19105         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
19106         for the wide version.
19107         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
19108         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
19109         Pass new arguments to findidx.
19110         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
19111         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
19112         Don't #include it inside the function.  Pass new arguments to findidx.
19113         * posix/regex_internal.h
19114         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
19115         (re_string_elem_size_at): Don't #include it inside the function.
19116         Pass new arguments to findidx.
19117         * string/strcoll_l.c: #include WEIGHT_H at top level.
19118         (get_next_seq): Don't #include it inside the function.
19119         Pass new arguments to findidx.
19120         (get_next_seq_nocache): Likewise.
19121         * string/strxfrm_l.c: #include WEIGHT_H at top level.
19122         (STRXFRM): Don't #include it inside the function.
19123         Pass new arguments to findidx.
19125 2014-09-11  Florian Weimer  <fweimer@redhat.com>
19127         [BZ #17344]
19128         * malloc/malloc.c (unlink): Turn asserts into a call to
19129         malloc_printerr.
19131 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
19133         [BZ #17370]
19134         * libio/wfileops (do_ftell_wide): Free OUT.
19136 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
19138         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
19140 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19142         [BZ #17363]
19143         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
19144         group if the current group is empty.
19146 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19148         * benchtests/bench-memset.c (test_main): Add more test from size
19149         from 32 to 512 bytes.
19150         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19151         Add POWER8 memset object.
19152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19153         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
19154         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
19155         implementation.
19156         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
19157         Likewise.
19158         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
19159         multiarch POWER8 memset optimization.
19160         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
19161         POWER8 memset optimization.
19163         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19164         Remove bzero multiarch objects.
19165         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
19166         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
19167         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
19168         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
19169         Remove define.
19170         [__bzero]: Redefine to specific name.
19171         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
19172         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
19173         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
19174         define.
19175         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19176         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19178 2014-09-10  Florian Weimer  <fweimer@redhat.com>
19180         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
19181         warnings into errors.
19183         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
19184         __cxa_thread_atexit_impl prototype.
19186 2014-09-09  Steve Ellcey  <sellcey@mips.com>
19188         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
19189         Fix capitalization of error message.
19191 2014-09-09  Steve Ellcey  <sellcey@mips.com>
19193         * sysdeps/mips/preconfigure: Modify ABI tests.
19195 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
19197         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
19199 2014-09-07  Roland McGrath  <roland@hack.frob.com>
19200             Carlos O'Donell  <carlos@systemhalted.org>
19202         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
19203         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
19204         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
19205         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
19206         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
19207         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
19208         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
19209         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
19210         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
19211         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
19212         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
19213         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
19214         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
19215         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
19216         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
19217         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
19218         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
19219         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
19220         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
19221         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
19222         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
19223         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
19224         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
19225         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
19226         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
19227         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
19228         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
19229         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
19230         Deconditionalize the code that was previously under [RESET_PID].
19231         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
19232         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
19233         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
19234         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
19235         include sysdep.h.
19237 2014-09-08  Allan McRae  <allan@archlinux.org>
19239         * version.h (RELEASE): Set to "development".
19240         (VERSION): Set to "2.20.90"
19242 2014-09-07  Allan McRae  <allan@archlinux.org
19244         * version.h (RELEASE): Set to "stable".
19245         (VERSION): Set to "2.20"
19246         * include/features.h (__GLIBC_MINOR__): Set to 20.
19248         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
19249         Liebler.
19251         * po/ko.po: Update Korean translation from translation project.
19253 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
19255         [BZ #17354]
19256         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
19257         macro for handling signed relocations.
19259 2014-09-03  Florian Weimer  <fweimer@redhat.com>
19261         [BZ #17325]
19262         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
19263         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
19264         assert.
19265         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
19266         * iconvdata/ibm935.c (BODY): Likewise.
19267         * iconvdata/ibm937.c (BODY): Likewise.
19268         * iconvdata/ibm939.c (BODY): Likewise.
19269         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
19270         assert.
19271         * iconvdata/Makefile (iconv-test.out): Pass module list to test
19272         script.
19273         * iconvdata/run-iconv-test.sh: New test loop for checking for
19274         decoder crashers.
19276 2014-09-02  Khem Raj  <raj.khem@gmail.com>
19278         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
19279         libm_hidden_ver.
19281 2014-09-01  Allan McRae  <allan@archlinux.org>
19283         * po/eo.po: Update Esperanto translation from translation project.
19285         * po/ca.po: Update Catalan translation from translation project.
19287 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19289         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
19290         __proc_dostop call.
19292 2014-08-27  Mark Wielaard  <mjw@redhat.com>
19294         [BZ #17319]
19295         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
19296         to call set_thread_area instead of hand written asm.
19297         (__NR_set_thread_area): Removed define.
19298         (TLS_FLAG_WRITABLE): Likewise.
19299         (__ASSUME_SET_THREAD_AREA): Remove check.
19300         (TLS_EBX_ARG): Remove define.
19301         (TLS_LOAD_EBX): Likewise.
19303 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19305         Simplify atomicity of socket creation in bind.
19307         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
19308         looking up the name after linking the file.
19310 2014-08-27  Allan McRae  <allan@archlinux.org>
19312         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19314 2014-08-26  Florian Weimer  <fweimer@redhat.com>
19316         [BZ #17187]
19317         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
19318         trans_compare, open_translit, __gconv_translit_find):
19319         Remove module loading code.
19321 2014-08-26  Allan McRae  <allan@archlinux.org>
19323         * po/vi.po: Update Vietnamese translation from translation project.
19325         * po/uk.po: Update Ukrainian translation from translation project.
19327         * po/fr.po: Update French translation from translation project.
19329         * po/ru.po: Update Russian translation from translation project.
19331         * po/pl.po: Update Polish translation from translation project.
19333         * po/cs.po: Update Czech translation from translation project.
19335         * po/de.po: Update German translation from translation project.
19337         * po/bg.po: Update Bulgarian translation from translation project.
19339         * po/sv.po: Update Sweedish translation from translation project.
19341         * po/nl.po: Update Dutch translation from translation project.
19343         * po/es.po: Update Spanish translation from translation project.
19345 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19347         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
19349         * catgets/Makefile (CPPFLAGS-gencat): Remove.
19350         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
19351         (CPPFLAGS-iconvconfig): Likewise.
19352         * timezone/Makefile (CPPFLAGS-zic): Likewise.
19354         * include/libc-symbols.h: Remove unnecessary check for
19355         NOT_IN_libc.
19356         * nptl/pthreadP.h: Likewise.
19357         * sysdeps/aarch64/setjmp.S: Likewise.
19358         * sysdeps/alpha/setjmp.S: Likewise.
19359         * sysdeps/arm/sysdep.h: Likewise.
19360         * sysdeps/i386/setjmp.S: Likewise.
19361         * sysdeps/m68k/setjmp.c: Likewise.
19362         * sysdeps/posix/getcwd.c: Likewise.
19363         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19364         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19365         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19366         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19367         * sysdeps/sh/sh3/setjmp.S: Likewise.
19368         * sysdeps/sh/sh4/setjmp.S: Likewise.
19369         * sysdeps/unix/alpha/sysdep.h: Likewise.
19370         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19371         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19372         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19373         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19376         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19377         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19378         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19379         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19380         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19381         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19382         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19383         * sysdeps/x86_64/setjmp.S: Likewise.
19385 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
19387         [BZ #17263]
19388         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
19389         <stdint.h>.
19390         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
19391         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
19393 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19395         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
19397         [BZ #17262]
19398         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
19399         and __x86_64__ when disabling x87 inline functions.
19401 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
19403         [BZ #17259]
19404         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
19405         asm statement with __cpuid_count.
19407 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
19409         * configure.ac: Change __ehdr_start code to dereference the struct.
19410         Run readelf on the output to look for relocations.
19411         * configure: Regenerated.
19413 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
19415         [BZ #17261]
19416         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
19417         value to 0.
19418         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
19420 2014-08-12  Roland McGrath  <roland@hack.frob.com>
19422         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
19424 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
19426         [BZ #16892]
19427         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
19428         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
19430 2014-08-12  Sean Anderson  <seanga2@gmail.com>
19432         * malloc/malloc.c: Fix typo in comment.
19434 2014-08-09  Allan McRae  <allan@archlinux.org>
19436         * Regenerate libc.po.
19438 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
19440         * intl/tst-gettext2.sh: Check every lang file for creation.
19442 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
19444         * sysdeps/aarch64/fpu/math_private.h
19445         (libc_feholdsetround_noex_aarch64_ctx): New function.
19447 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
19449         * sysdeps/arm/armv6/strcpy.S (strcpy):
19450         Fix performance issue in misaligned cases.
19452 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19454         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
19455         Move definition from termios.h.
19456         (struct termio): Likewise.
19457         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19458         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
19459         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
19460         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
19461         Likewise.
19462         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
19463         Move definition to ioctl-types.h
19464         (struct termio): Likewise.
19465         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19466         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
19467         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
19468         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
19469         Likewise.
19471 2014-08-05  Richard Henderson  <rth@redhat.com>
19473         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
19474         exceptions.
19475         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
19476         Add fraiseexcpt.
19477         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
19478         Use __feraiseexcept.
19479         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
19480         Protect libm symbols with IS_IN_libm.
19482         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
19484 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
19486         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
19488 2014-08-04  Will Newton  <will.newton@linaro.org>
19490         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
19491         file.
19493 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
19495         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
19496         variants for each function.
19498 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19500         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
19501         appended ...
19502         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
19503         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
19504         appended ...
19505         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
19506         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
19507         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
19508         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
19509         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
19510         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
19511         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
19512         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
19513         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
19514         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
19515         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
19516         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
19517         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
19518         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
19519         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
19520         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
19521         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
19522         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
19523         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
19524         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
19525         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
19526         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
19527         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
19528         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
19529         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
19530         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
19531         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
19532         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
19533         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
19534         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
19535         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
19536         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
19537         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
19538         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
19539         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
19540         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
19541         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
19542         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
19543         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
19544         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
19545         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
19546         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
19547         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
19548         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
19549         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
19550         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
19551         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
19552         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
19553         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
19554         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
19555         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
19556         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
19557         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
19558         Update #include.
19559         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
19560         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
19562 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19564         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
19565         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
19566         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
19567         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
19568         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
19569         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
19571 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19573         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
19574         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
19575         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19576         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
19578 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19580         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
19581         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
19582         (__libc_vfork): Define function under this name.
19583         (__vfork): Define as an alias.
19584         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
19585         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
19587 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19589         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
19590         that was previously under [RESET_PID].
19591         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
19593 2014-08-04  Andreas Schwab  <schwab@suse.de>
19595         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
19597 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
19599         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
19600         (main): Likewise.
19602 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19604         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
19606 2014-08-01  Richard Henderon  <rth@redhat.com>
19608         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
19609         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
19610         typo in exact zero test.
19611         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19612         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19613         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19615 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19617         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
19618         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
19619         * sysdeps/arm/sysdep.h: ... here.
19620         [!__ASSEMBLER__]: Include <stdint.h>.
19622 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19624         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
19625         (HAVE_WCTYPE_H): Likewise.
19626         (HAVE_ISWCTYPE): Likewise.
19627         (ENABLE_NLS): Likewise.
19628         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
19629         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
19631         * posix/regex_internal.c: Check if DEBUG is defined and is
19632         set.
19634         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
19635         (HAVE_MBSRTOWCS): Likewise.
19636         * posix/fnmatch.c: Include string.h unconditionally.
19638 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19640         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
19641         reversal.
19643 2014-07-31  Roland McGrath  <roland@hack.frob.com>
19645         * sysdeps/generic/safe-fatal.h: New file.
19646         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
19647         * nptl/forward.c: Include it.
19648         (__pthread_unwind): Use __safe_fatal as default action, rather
19649         than a bogus use of INTERNAL_SYSCALL that could never work.
19651         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
19652         * configure.ac (libc_cv_builtin_trap): New test.
19653         * configure: Regenerated.
19654         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
19655         (ABORT_INSTRUCTION): Define using __builtin_trap.
19657         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
19658         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
19659         * sysdeps/nptl/nptl-signals.h: New file.
19660         * nptl/pthreadP.h: Include <nptl-signals.h>.
19662 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19664         * sysdeps/s390/s390-64/utf16-utf32-z9.c
19665         (ONE_DIRECTION): Define.
19666         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19667         (ONE_DIRECTION): Define.
19668         * sysdeps/s390/s390-64/utf8-utf32-z9.c
19669         (ONE_DIRECTION): Define.
19671 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19673         * sysdeps/s390/Makefile: Delete file.
19674         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
19675         * sysdeps/s390/__longjmp.c: Delete file.
19676         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
19677         Remove fields __flags and __reserved.
19678         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
19679         and add versioning.
19680         * sysdeps/s390/rtld-__longjmp.c: Delete file.
19681         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
19682         * sysdeps/s390/rtld-setjmp.S: Likewise.
19683         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
19684         * sysdeps/s390/s390-32/__longjmp.c: ... here.
19685         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
19686         * sysdeps/s390/s390-32/setjmp.S: ... here.
19687         Add versioning.
19688         (__sigsetjmp): Remove setting __flags field.
19689         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
19690         * sysdeps/s390/s390-64/__longjmp.c: ... here.
19691         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
19692         * sysdeps/s390/s390-64/setjmp.S: ... here.
19693         Add versioning.
19694         (__sigsetjmp): Remove setting __flags field.
19695         * sysdeps/s390/setjmp.S: Delete file.
19696         * sysdeps/s390/sigjmp.c: Likewise.
19697         * sysdeps/s390/v1-longjmp.c: Likewise.
19698         * sysdeps/s390/v1-setjmp.h: Likewise.
19699         * sysdeps/s390/v1-sigjmp.c: Likewise.
19700         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
19701         Remove v1-longjmp_chk.
19702         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
19703         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
19704         Include debug/longjmp_chk.c and add versioning.
19705         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
19706         Include nptl/pt-longjmp.c and add versioning.
19707         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
19708         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
19709         Include __longjmp.c.
19710         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19711         Move to ...
19712         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
19713         (__getcontext): Remove setting __flags field.
19714         Add versioning.
19715         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19716         Don't restore upper high grps.
19717         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
19718         Likewise.
19719         (__swapcontext): Remove setting uc_flags field.
19720         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
19721         Delete file.
19722         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19723         Include __longjmp.c.
19724         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19725         Move to ...
19726         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
19727         (__getcontext): Remove setting __flags field.
19728         Add versioning.
19729         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
19730         (__swapcontext): Remove setting uc_flags field.
19731         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
19732         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
19733         Remove fields uc_high_gprs and __reserved.
19734         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
19735         New file with reverted content.
19736         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
19737         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
19738         Regenerated.
19739         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
19740         Regenerated.
19742 2014-07-31  Andreas Schwab  <schwab@suse.de>
19744         * config.h.in (HAVE_IFUNC): Define to 0.
19745         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
19746         definedness.
19748 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
19750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19751         memmove-avx-unaligned, memcpy-avx-unaligned and
19752         mempcpy-avx-unaligned.
19753         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19754         Add tests for AVX memcpy functions.
19755         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
19756         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
19757         memcpy_chk.
19758         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
19759         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
19760         memmove_chk.
19761         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
19762         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
19763         mempcpy_chk.
19764         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
19765         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
19766         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
19768 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19770         [BZ #17213]
19771         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
19772         powerpc64le.
19774 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
19776         [BZ #16839]
19777         * manual/llio.texi: Add section about open file description locks.
19778         * manual/examples/ofdlocks.c: Example of open file description
19779         lock usage.
19780         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
19781         F_OFD_SETLK, and F_OFD_SETLKW.
19783 2014-07-23  Allan McRae  <allan@archlinux.org>
19785         * po/es.po: Update Spanish translation from translation project.
19787 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
19789         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
19791 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
19793         [BZ #17078]
19794         * sysdeps/arm/dl-machine.h (elf_machine_rela)
19795         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
19796         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
19798 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
19800         [BZ #17088]
19801         * math/fesetenv.c (__fesetenv)
19802         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
19803         * math/feupdateenv.c (__feupdateenv)
19804         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
19806         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
19807         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19808         (__ASSUME_SOCKETCALL): Do not define.
19810         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
19811         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
19812         (__ASSUME_SOCKETCALL): Do not define.
19813         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
19814         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19815         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19816         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19817         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19818         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
19819         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19820         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19822         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
19823         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
19824         (__ASSUME_SOCKETCALL): Do not define.
19825         (__ASSUME_IPC64): Define unconditionally.
19826         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19827         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19828         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19829         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19830         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
19831         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19832         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
19833         Likewise.
19835         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
19836         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
19837         (__ASSUME_SOCKETCALL): Do not define.
19838         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
19839         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19840         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19841         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19842         (__ASSUME_REQUEUE_PI): Define unconditionally.
19843         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
19844         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19845         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19846         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
19847         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19848         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19850         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
19851         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
19852         (__ASSUME_SOCKETCALL): Do not define.
19853         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
19854         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19855         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19856         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
19857         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19858         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19860         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
19861         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
19862         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19863         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
19864         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19865         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
19866         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19867         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
19868         (__ASSUME_GETCPU_SYSCALL): Likewise.
19870         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
19871         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
19872         cases for individual architectures.
19873         * sysdeps/gnu/configure: Regenerated.
19874         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
19875         LIBC_SLIBDIR_RTLDDIR.
19876         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
19877         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
19878         LIBC_SLIBDIR_RTLDDIR.
19879         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
19880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
19881         LIBC_SLIBDIR_RTLDDIR.
19882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
19883         Regenerated.
19884         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
19885         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
19886         file.
19887         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
19888         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
19889         file.
19890         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
19891         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
19892         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
19893         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
19895         * sysdeps/aarch64/shlib-versions: Move to ...
19896         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
19897         * sysdeps/alpha/shlib-versions: Move to ...
19898         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
19899         * sysdeps/arm/shlib-versions: Move to ...
19900         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
19901         * sysdeps/hppa/shlib-versions: Move all contents except for
19902         libgcc_s entry to ...
19903         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
19904         entry from ...
19905         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
19906         * sysdeps/ia64/shlib-versions: Move to ...
19907         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
19908         entry from ...
19909         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
19910         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
19911         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
19912         * sysdeps/microblaze/shlib-versions: Move to ...
19913         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
19914         * sysdeps/mips/shlib-versions: Move to ...
19915         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
19916         entry from ...
19917         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
19918         * sysdeps/tile/shlib-versions: Move to ...
19919         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
19920         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
19921         from ...
19922         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
19923         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
19924         entry from ...
19925         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
19927 2014-07-17  Will Newton  <will.newton@linaro.org>
19929         * sysdeps/arm/bits/atomic.h
19930         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
19931         (__arch_compare_and_exchange_bool_16_int): Likewise.
19932         (__arch_compare_and_exchange_bool_64_int): Likewise.
19934         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
19935         into an #else block.
19937 2014-07-16  Roland McGrath  <roland@hack.frob.com>
19939         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
19940         just Linux configurations.  Test empirically that the compiler sets
19941         __ARM_EABI__, rather than using the tuple to decide.
19942         * sysdeps/arm/preconfigure: Regenerated.
19943         * sysdeps/unix/sysv/linux/arm/configure: File removed.
19944         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
19945         contents appended ...
19946         * sysdeps/arm/configure.ac: ... here.
19947         * sysdeps/arm/configure: Regenerated.
19949 2014-07-15  Roland McGrath  <roland@hack.frob.com>
19951         * nptl/pthread_kill.c: New file.
19952         * nptl/pthread_sigmask.c: New file.
19953         * nptl/pthread_sigqueue.c: New file.
19955         * sysdeps/nptl/lowlevellock.h: New file.
19956         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
19957         * sysdeps/nptl/lowlevellock-futex.h: New file.
19959         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
19960         Remove dead declarations.
19962 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
19964         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
19965         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
19966         config-cflags-avx2.
19967         * sysdeps/x86_64/configure.ac: Likewise.
19968         * sysdeps/i386/configure: Regenerated.
19969         * sysdeps/x86_64/configure: Likewise.
19970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19971         memset-avx2 only if config-cflags-avx2 is yes.
19972         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19973         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
19974         defined.
19975         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
19976         only if HAVE_AVX2_SUPPORT is defined.
19977         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19979 2014-07-14  Alan Modra  <amodra@gmail.com>
19981         [BZ #17153]
19982         * elf/elf.h (DT_PPC64_NUM): Correct value.
19983         * NEWS: Add to fixed bug list.
19985 2014-07-13  Jim Meyering  <meyering@fb.com>
19987         [BZ 17150]
19988         regex: don't deref NULL upon heap allocation failure
19989         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
19990         failure in one more place.
19991         To trigger the segfault, configure grep -with-included-regex,
19992         build it, and run these commands:
19993         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
19995 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
19997         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19999 2014-07-11  Richard Henderson  <rth@redhat.com>
20001         * sysdeps/aarch64/libm-test-ulps: Update.
20003 2014-07-10  Florian Weimer  <fweimer@redhat.com>
20005         [BZ #17135]
20006         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
20007         * nptl/allocatestack.c (__nptl_setxid_error): New function.
20008         (__nptl_setxid): Initialize error member.  Call
20009         __nptl_setxid_error.
20010         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
20011         * nptl/descr.h (struct xid_command): Add error member.
20012         * nptl/tst-setuid3.c: New file.
20013         * nptl/Makefile (tests): Add it.
20015 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20017         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
20018         New define.
20019         (__lll_trylock): Use __lll_base_trylock.
20020         (__lll_cond_trylock): Likewise.
20022 2014-07-10  Roland McGrath  <roland@hack.frob.com>
20024         * nptl/pthread_create.c (start_thread): Use atomic_or and
20025         lll_futex_wake directly rather than lll_robust_dead.
20026         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
20027         (lll_robust_dead): Macro removed.
20028         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
20029         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
20030         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
20031         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20032         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20033         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
20034         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
20035         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20036         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
20037         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20038         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20039         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20040         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20041         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20042         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20044         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20045         Use atomic_compare_and_exchange_val_acq directly rather than
20046         lll_robust_trylock.
20047         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
20048         (__lll_robust_trylock, lll_robust_trylock): Removed.
20049         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
20050         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
20051         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20052         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20053         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
20054         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
20055         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20056         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
20057         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20058         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20059         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20060         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20061         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20062         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20064 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20066         * manual/locale.texi (Locale Names): New section documenting
20067         locale name syntax.  Adjust menu and node chaining accordingly.
20068         (Choosing Locale): Reference Locale Names, Locale Categories.
20069         Mention setting LC_ALL=C.  Reflect that name syntax is now
20070         documented.
20071         (Locale Categories): New section title.  Reference Locale Names.
20072         LC_ALL is an environment variable, but not a category.
20073         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
20074         description, now in Locale Name.  Reference that section.  Locale
20075         name syntax is now documented.
20077 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20079         [BZ #17137]
20080         * locale/findlocale.c (name_present, valid_locale_name): New
20081         functions.
20082         (_nl_find_locale): Use the loc_name variable to store name
20083         candidates.  Call name_present and valid_locale_name to check and
20084         validate locale names.  Return an error if the locale is invalid.
20086 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20088         * locale/setlocale.c (setlocale): Use strdup for allocating
20089         composite name copy.
20091 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20093         Sync up with gnulib.
20094         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
20095         [!_LIBC && ENABLE_NLS]: Include gettext.h.
20096         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
20097         and _GL_ARG_NONNULL.
20098         [USE_UNLOCKED_IO]: Include unlocked-io.h.
20099         [!_LIBC]: Include code for Windows and Cygwin.
20100         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
20101         Include prototype for int strerror_r.
20102         [!_LIBC] (is_open): New function.
20103         (flush_stdout): New function.
20104         (print_errno_message): Use it.
20105         (error): Likewise.
20106         (error_at_line): Likewise.
20107         (error_tail) Add function attribute macros.  Use
20108         __builtin_expect.
20110         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
20112         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
20114         * io/ftw.c: Include sys/param.h unconditionally.
20116         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
20118         [BZ #17125]
20119         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
20120         libc_freeres_ptr.
20121         (freecache): New function to free CACHE on exit.
20123         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
20124         initialization.
20126 2014-07-09  David S. Miller  <davem@davemloft.net>
20128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20130         * sysdeps/sparc/nptl/internaltypes.h: Delete.
20131         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
20132         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
20133         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
20134         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
20135         * sysdeps/sparc/nptl/sem_init.c: Likewise.
20136         * sysdeps/sparc/nptl/sem_post.c: Likewise.
20137         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
20138         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
20139         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
20140         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
20141         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
20142         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
20144 2014-07-09  Andreas Schwab  <schwab@suse.de>
20146         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
20147         output.
20148         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
20149         (do_test): Likewise.
20151         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20153 2014-07-09  Will Newton  <will.newton@linaro.org>
20155         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
20156         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
20157         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
20158         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
20159         * sysdeps/hppa/start.S (_start): Likewise.
20161 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
20163         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
20165         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
20166         defined.
20168 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20170         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
20171         after checking that it is non-NULL.
20173         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
20175 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20177         * sysdeps/powerpc/memmove.c: Remove file.
20178         * sysdeps/powerpc/powerpc32/power4/memcopy.h
20179         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
20180         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20181         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
20182         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
20183         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
20184         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
20185         string memmove instead of removed powerpc one.
20187         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20188         [weak_alias]: Fix compiler warning due trailing data.
20189         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
20190         [weak_alias]: Likewise.
20191         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
20192         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
20194         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20195         (__libc_ifunc_impl_list): Add memmove functions.
20197 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20199         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
20200         Remove code.
20201         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
20202         Likewise
20203         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
20204         Likewise
20205         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
20206         Likewise
20207         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
20208         Likewise
20209         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
20210         Likewise
20211         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
20212         Likewise
20213         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
20214         Likewise
20215         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
20216         Likewise
20217         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
20218         Likewise
20219         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
20220         Likewise
20221         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
20222         Likewise
20223         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
20224         Likewise
20225         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
20226         Likewise
20227         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
20228         Likewise
20229         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
20230         Likewise
20231         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
20232         Likewise
20234 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20236         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
20237         to avoid alignment traps in non-cacheable memory.
20238         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20240         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
20241         multiarch objects.
20242         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
20243         file: multiarch power7 memmove.
20244         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
20245         multiarch default memmove.
20246         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
20247         multiarch memove for powerpc32/power4.
20249         * string/bcopy.c: Use full path to include memmove.c.
20250         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
20251         multiarch objects.
20252         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
20253         bcopy for powerpc64.
20254         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
20255         bcopy for powerpc64.
20256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
20257         and memmove implementations.
20258         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
20259         optimized multiarch memmove for POWER7/powerpc64.
20260         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
20261         default multiarch memmove for powerpc64.
20262         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
20263         multiarch for powerpc64.
20264         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
20265         for POWER7/powerpc64.
20266         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
20267         memmove for POWER7/powerpc64.
20269         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
20270         glibc default one.
20272         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
20273         __ELF_NATIVE_CLASS equal to 64.
20275 2014-07-07  Roland McGrath  <roland@hack.frob.com>
20277         * sysdeps/nptl/lowlevellock.h: File removed.
20279         * NEWS: NPTL is no longer an add-on!
20280         * nptl/internaltypes.h: Moved ...
20281         * sysdeps/nptl/internaltypes.h: ... here.
20282         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
20283         * sysdeps/nptl/fork.c: Likewise.
20284         * sysdeps/nptl/gai_misc.h: Likewise.
20285         * sysdeps/nptl/librt-cancellation.c: Likewise.
20286         * sysdeps/nptl/jmp-unwind.c: Likewise.
20287         * sysdeps/nptl/setxid.h: Likewise.
20288         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
20289         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
20290         * sysdeps/unix/sysv/linux/arm/Implies: New file.
20291         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
20292         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
20293         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
20294         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
20295         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
20296         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
20297         * sysdeps/unix/sysv/linux/mips/Implies: New file.
20298         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
20299         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
20300         * sysdeps/unix/sysv/linux/sh/Implies: New file.
20301         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
20302         * sysdeps/unix/sysv/linux/tile/Implies: New file.
20303         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
20304         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
20305         * nptl/Makeconfig: Moved ...
20306         * sysdeps/nptl/Makeconfig: ... here.
20307         * nptl/configure: File removed.
20308         * nptl/ANNOUNCE: File removed.
20309         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
20310         * sysdeps/unix/sysv/linux/configure: Regenerated.
20312         * nptl/Makefile (routines): Add libc_pthread_init,
20313         libc_multiple_threads, register-atfork and unregister-atfork.
20314         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
20315         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
20316         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
20317         pthread-pi-defines.sym, structsem.sym.
20318         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
20319         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
20320         [$(subdir) = nptl] (tests): Add tst-setgetname.
20321         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
20322         * sysdeps/unix/sysv/linux/sigaction.c: Just include
20323         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
20324         [!LIBC_SIGACTION]: Remove aliases.
20325         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
20326         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
20327         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
20328         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
20329         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
20330         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
20331         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20332         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20333         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
20334         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
20335         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
20336         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
20337         __libc_allocate_rtsig_private.
20338         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
20339         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
20340         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
20341         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
20342         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
20343         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
20344         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
20345         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
20346         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
20347         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
20348         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
20349         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
20350         * nptl/internaltypes.h: ... here.
20351         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
20352         * sysdeps/nptl/jmp-unwind.c: ... here.
20353         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
20354         * nptl/libc-lowlevellock.c: ... here.
20355         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
20356         * nptl/libc_multiple_threads.c: ... here.
20357         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
20358         * nptl/libc_pthread_init.c: ... here.
20359         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
20360         * nptl/lowlevelbarrier.sym: ... here.
20361         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
20362         * nptl/lowlevelcond.sym: ... here.
20363         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
20364         * nptl/lowlevellock.c: ... here.
20365         * nptl/lowlevellock.h: Moved ...
20366         * sysdeps/nptl/lowlevellock.h: ... here.
20367         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
20368         * nptl/lowlevelrobustlock.c: ... here.
20369         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
20370         * nptl/lowlevelrobustlock.sym: ... here.
20371         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
20372         * nptl/lowlevelrwlock.sym: ... here.
20373         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
20374         * nptl/pt-fork.c: ... here.
20375         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
20376         * nptl/pthread-pi-defines.sym: ... here.
20377         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
20378         * nptl/pthread_attr_getaffinity.c: ... here.
20379         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
20380         * nptl/pthread_attr_setaffinity.c: ... here.
20381         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
20382         * nptl/pthread_mutex_cond_lock.c: ... here.
20383         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20384         Update #include.
20385         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
20386         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
20387         * nptl/pthread_once.c: ... here, replacing old file.
20388         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
20389         * nptl/pthread_yield.c: ... here.
20390         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
20391         * nptl/register-atfork.c: ... here.
20392         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
20393         * nptl/sem_post.c: ... here.
20394         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
20395         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
20396         * nptl/sem_timedwait.c: ... here.
20397         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
20398         * nptl/sem_trywait.c: ... here.
20399         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
20400         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
20401         * nptl/sem_wait.c: ... here.
20402         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
20403         * nptl/structsem.sym: ... here.
20404         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
20405         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
20406         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
20407         * nptl/unregister-atfork.c: ... here.
20408         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
20409         * nptl/unwindbuf.sym: ... here.
20410         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
20411         * sysdeps/nptl/fork.c: ... here.
20412         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
20413         * sysdeps/nptl/fork.h: ... here.
20414         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
20415         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
20416         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
20417         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
20418         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
20419         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
20420         * sysdeps/unix/sysv/linux/getpid.c: ... here.
20421         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
20422         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
20423         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
20424         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
20425         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
20426         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
20427         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
20428         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
20429         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
20430         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
20431         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
20432         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
20433         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
20434         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
20435         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
20436         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
20437         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
20438         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
20439         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
20440         * sysdeps/unix/sysv/linux/raise.c: ... here.
20441         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
20442         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
20443         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
20444         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
20445         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
20446         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
20447         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
20448         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
20449         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
20450         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
20451         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
20452         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
20453         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
20454         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
20455         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
20457 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20459         * sysdeps/generic/memcopy.h: Add comment for
20460         MEMCPY_OK_FOR_FWD_MEMMOVE.
20462 2014-07-04  Will Newton  <will.newton@linaro.org>
20464         * string/memchr.c: Merge from gnulib.
20465         [_LIBC]: Remove conditionals.
20466         (__ptr_t): Remove define.
20467         (LONG_MAX_32_BITS): Likewise.
20468         (LONG_MAX): Likewise.
20469         (MEMCHR): Use ANSI prototype and optimize algorithm.
20471         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
20473 2014-07-03  Roland McGrath  <roland@hack.frob.com>
20475         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
20476         (lll_futex_timed_wait_bitset): Fix syscall argument count.
20478         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
20479         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
20480         in a bare environment with no <stdlib.h> installed.
20481         * sysdeps/nptl/configure: Regenerated.
20483         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
20485         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
20486         AC_EGREP_CPP for kernel header checks, so they only succeed if
20487         including <linux/version.h> actually works right.
20488         * sysdeps/unix/sysv/linux/configure: Regenerated.
20490         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
20491         value so it's not diagnosed as unused.
20493         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
20494         thing) with "ifeq ($(subdir),rt)".
20496 2014-07-03  Richard Henderson  <rth@redhat.com>
20498         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
20499         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
20500         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
20502         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
20503         (math_force_eval): New.
20505         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
20506         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
20508         * sysdeps/alpha/fpu/s_round.c: Remove file.
20509         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
20511         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
20512         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
20513         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
20514         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
20515         (_dl_start, print_statistics): Likewise.
20516         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
20517         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
20519         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20520         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20521         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20522         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20523         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20524         (HP_SMALL_TIMING_AVAIL): Define.
20525         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20526         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20527         (HP_SMALL_TIMING_AVAIL): Define.
20528         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20529         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20531         * sysdeps/aarch64/hp-timing.h: New file.
20533         * sysdeps/generic/hp-timing.h: Remove dead comment.
20534         * sysdeps/generic/hp-timing-common.h: New file.
20535         * sysdeps/alpha/hp-timing.h: Include it.
20536         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
20537         * sysdeps/i386/i686/hp-timing.h: Likewise.
20538         * sysdeps/ia64/hp-timing.h: Likewise.
20539         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20540         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20541         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20542         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20543         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
20544         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
20545         (hp_timing_t): New.
20547         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
20548         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
20549         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
20550         * elf/rtld.c (_dl_start_final): Likewise.
20551         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
20552         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20553         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20554         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20555         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20556         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20557         (HP_TIMING_DIFF_INIT): Remove.
20558         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20559         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20560         (HP_TIMING_DIFF_INIT): Remove.
20561         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20562         * sysdeps/i386/i686/hp-timing.c: Remove file.
20563         * sysdeps/x86_64/hp-timing.c: Remove file.
20564         * sysdeps/ia64/hp-timing.c: Remove file.
20565         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
20566         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
20567         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
20568         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
20570         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
20571         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
20572         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
20573         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20574         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20575         (HP_TIMING_ACCUM): Remove.
20576         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20577         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
20578         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20580         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
20581         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
20582         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
20583         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
20584         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
20585         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20586         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
20587         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20589         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
20591 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
20593         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
20595 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20597         Sync up with gettext.
20598         * intl/loadmsgcat.c: Define O_BINARY if not defined.
20599         [_MSC_VER]: Include malloc.h
20600         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
20601         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
20602         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
20603         TEMP_FAILURE_RETRY.  Cast return of alloca.
20604         [!_LIBC] Call gl_rwlock_init.
20605         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
20607 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20609         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
20610         before checking its value.
20612 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20614         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
20616         * debug/memcpy_chk.c: Don't include pagecopy.h.
20617         * debug/mempcpy_chk.c: Likewise.
20618         * string/memcpy.c: Likewise.
20619         * string/memmove.c: Likewise.
20620         * sysdeps/powerpc/memmove.c: Likewise.
20621         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
20622         definition of PAGE_COPY_FWD_MAYBE here...
20623         * sysdeps/generic/pagecopy.h: ... from here.
20624         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
20626 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20627             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20629         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
20630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
20631         optimizations.
20632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20633         (__libc_ifunc_impl_list): Likewise.
20634         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
20635         multiarch strcat for PPC64.
20636         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
20637         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
20639 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20641         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
20643 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20645         * intl/loadmsgcat.c: Remove declaration of
20646         get_sysdep_segment_value.
20647         (get_sysdep_segment_value): Use ISO C style.
20648         (_nl_load_domain): Use ISO C style.  Get rid of redundant
20649         semicolon.  Fix typo and formatting in comment.
20650         (_nl_unload_domain): Use ISO C style.
20652         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
20654 2014-07-02  Will Newton  <will.newton@linaro.org>
20656         * malloc/obstack.c: Merge from gnulib master.
20657         [HAVE_CONFIG_H]: Remove conditional code.
20658         [!_LIBC]: Include config.h.
20659         [!ELIDE_CODE]: Don't include inttypes.h, include
20660         stdint.h unconditionally.
20661         (print_and_abort): Mark as _Noreturn.
20662         (_obstack_allocated_p): Mark as __attribute_pure__.
20663         (obstack_free): Rename to __obstack_free.
20664         [!__attribute__]: Remove conditional code.
20665         * malloc/obstack.h: Merge from gnulib master.
20666         [__cplusplus]: Move conditional down.
20667         [!__attribute_pure__]: Define __attribute_pure__ here
20668         if it is not already defined.
20669         (_obstack_memory_used): Mark as __attribute_pure__.
20670         [!__obstack_free]: Define as obstack_free.
20671         [__GNUC__]: Remove check for ancient NeXT gcc.
20673 2014-07-02  Will Newton  <will.newton@linaro.org>
20674             Paul Eggert  <eggert@cs.ucla.edu>
20676         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
20678 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20680         * resolv/gethnamaddr.c: Add comment warning that the file is
20681         not maintained.
20683 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
20685         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
20686         entries.
20688         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
20689         entry for aio_cancel and aio_cancel64.
20690         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
20691         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
20692         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
20693         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
20694         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
20695         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
20696         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
20697         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
20698         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
20699         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
20700         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
20701         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
20702         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
20704 2014-07-01  Roland McGrath  <roland@hack.frob.com>
20706         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
20707         * nptl/pthread_mutex_lock.c: Likewise.
20708         * nptl/pthread_mutex_timedlock.c: Likewise.
20709         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
20711 2014-07-01  Richard henderson  <rth@redhat.com>
20713         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
20714         (__isnan, __isnanl): Remove.
20715         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
20717         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20719 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20721         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20723 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20725         * resolv/nss_dns/dns-host.c (getanswer_r)
20726         [MULTI_PTRS_ARE_ALIASES]: Remove code.
20728 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
20730         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20731         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
20732         undefine.
20733         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
20734         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
20736 2014-07-01  Roland McGrath <roland@hack.frob.com>
20738         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
20739         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
20741         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
20742         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
20744         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
20745         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
20746         ... here.
20747         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
20748         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
20750         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
20751         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
20752         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
20753         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
20755         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
20756         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
20757         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
20758         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
20759         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
20760         Moved ...
20761         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
20762         ... here.
20763         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
20764         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
20765         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
20766         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
20767         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
20768         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
20769         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
20770         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
20771         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
20772         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
20773         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
20774         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
20775         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
20776         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
20777         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
20778         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
20779         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
20780         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
20781         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
20782         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
20783         ... here.
20784         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
20785         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
20786         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
20787         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
20788         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
20789         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
20790         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
20791         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
20793 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
20795         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
20796         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
20797         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
20798         Add sysdep.
20800 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20804 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20806         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20807         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20809         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20811         * sysdeps/arm/libm-test-ulps: Regenerated.
20813 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20814             Roland McGrath <roland@hack.frob.com>
20816         * test-skeleton.c (signal_handler): Kill the whole process group
20817         before killing the child individually.
20818         (main): Report any failure on `setpgid'.
20820 2014-06-30  Roland McGrath  <roland@hack.frob.com>
20822         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
20823         from _TLS_H to _ARM_NPTL_TLS_H.
20824         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
20825         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
20827 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20829         [BZ #16539]
20830         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
20831         (__expm1l): Return argument unchanged when small but not
20832         subnormal.
20834         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
20835         include macro name.
20836         (_FP_UNPACK_RAW_1_P): Likewise.
20837         (_FP_PACK_RAW_1): Likewise.
20838         (_FP_PACK_RAW_1_P): Likewise.
20839         (_FP_MUL_MEAT_1_wide): Likewise.
20840         (_FP_MUL_MEAT_DW_1_hard): Likewise.
20841         (_FP_MUL_MEAT_1_hard): Likewise.
20842         (_FP_DIV_MEAT_1_imm): Likewise.
20843         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
20844         (_FP_DIV_MEAT_1_udiv): Likewise.
20845         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
20846         (_FP_UNPACK_RAW_2): Likewise.
20847         (_FP_UNPACK_RAW_2_P): Likewise.
20848         (_FP_PACK_RAW_2): Likewise.
20849         (_FP_PACK_RAW_2_P): Likewise.
20850         (_FP_MUL_MEAT_DW_2_wide): Likewise.
20851         (_FP_MUL_MEAT_2_wide): Likewise.
20852         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
20853         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20854         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
20855         (_FP_MUL_MEAT_2_gmp): Likewise.
20856         (_FP_DIV_MEAT_2_udiv): Likewise.
20857         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
20858         (_FP_FRAC_SRL_4): Likewise.
20859         (_FP_FRAC_SRST_4): Likewise.
20860         (_FP_FRAC_SRS_4): Likewise.
20861         (_FP_UNPACK_RAW_4): Likewise.
20862         (_FP_UNPACK_RAW_4_P): Likewise.
20863         (_FP_PACK_RAW_4): Likewise.
20864         (_FP_PACK_RAW_4_P): Likewise.
20865         (_FP_MUL_MEAT_DW_4_wide): Likewise.
20866         (_FP_MUL_MEAT_4_wide): Likewise.
20867         (_FP_MUL_MEAT_4_gmp): Likewise.
20868         (umul_ppppmnnn): Likewise.
20869         (_FP_DIV_MEAT_4_udiv): Likewise.
20870         (__FP_FRAC_ADD_4): Likewise.
20871         (__FP_FRAC_SUB_3): Likewise.
20872         (__FP_FRAC_SUB_4): Likewise.
20873         (__FP_FRAC_DEC_3): Likewise.
20874         (__FP_FRAC_DEC_4): Likewise.
20875         (__FP_FRAC_ADDI_4): Likewise.
20876         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
20877         (_FP_FRAC_SRL_8): Likewise.
20878         (_FP_FRAC_SRS_8): Likewise.
20880         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
20881         include macro name.
20882         (FP_UNPACK_RAW_EP): Likewise.
20883         (FP_PACK_RAW_E): Likewise.
20884         (FP_PACK_RAW_EP): Likewise.
20885         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
20886         (_FP_ISSIGNAN): Likewise.
20887         (_FP_ADD_INTERNAL): Likewise.
20888         (_FP_FMA): Likewise.
20889         (_FP_CMP): Likewise.
20890         (_FP_SQRT): Likewise.
20891         (_FP_TO_INT): Likewise.
20892         (_FP_FROM_INT): Likewise.
20893         (FP_EXTEND): Likewise.
20894         (_FP_DIV_MEAT_N_loop): Likewise.
20896 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20898         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
20899         throughout.
20901 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
20903         [BZ #17097]
20904         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
20905         result with correct sign in case of exponents that produce
20906         overflow except for X very close to 1.
20908 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
20910         mktime: merge #if/#ifdef usage from glibc
20911         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
20912         as that works with both Glibc's and Gnulib's style.
20913         See thread starting at Siddhesh Poyarekar's bug report at:
20914         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
20916 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20918         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
20919         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
20920         * sysdeps/tile/tilegx/memmove.c: Remove file.
20922 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
20924         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
20925         abi-name definition.
20926         * scripts/soversions.awk: Do not handle or generate ABI lines.
20927         * shlib-versions: Remove ABI entries.
20928         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
20929         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
20931 2014-06-27  Roland McGrath  <roland@hack.frob.com>
20933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
20934         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
20935         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
20936         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
20937         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
20938         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
20939         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
20940         Moved ...
20941         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
20942         ... here.
20943         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
20944         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
20945         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
20946         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
20947         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
20948         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
20949         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
20950         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
20951         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
20952         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
20953         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
20954         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
20955         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
20956         Moved ...
20957         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
20958         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
20959         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
20960         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
20961         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
20962         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
20963         Moved ...
20964         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
20965         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
20966         Moved ...
20967         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
20968         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
20969         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
20970         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
20971         Moved ...
20972         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
20973         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
20974         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
20975         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
20976         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
20977         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
20978         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
20979         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
20980         Moved ...
20981         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
20982         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
20983         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
20984         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
20985         Moved ...
20986         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
20987         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
20988         Moved ...
20989         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
20990         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
20991         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
20992         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
20993         Moved ...
20994         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
20995         ... here.
20996         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
20997         Identical file removed.
20998         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
20999         Moved ...
21000         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
21001         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
21002         Identical file removed.
21003         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
21004         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
21005         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
21006         Moved ...
21007         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
21008         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
21009         Identical file removed.
21010         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
21011         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
21012         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
21013         Identical file removed.
21014         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
21015         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
21016         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
21017         Identical file removed.
21018         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
21019         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
21020         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
21021         Identical file removed.
21022         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
21023         Moved ...
21024         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
21025         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
21026         Identical file removed.
21027         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
21028         Moved ...
21029         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
21030         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
21031         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
21032         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
21033         Identical file removed.
21034         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
21035         Moved ...
21036         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
21037         ... here.
21038         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
21039         Identical file removed.
21040         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
21041         Moved ...
21042         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
21043         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
21044         Identical file removed.
21045         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
21046         Moved ...
21047         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
21048         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
21049         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
21050         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
21051         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
21052         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
21053         Moved ...
21054         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
21055         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
21056         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
21058         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
21059         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
21060         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
21061         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
21062         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
21064 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
21066         [BZ #17092]
21067         * nscd/nscd.c (monitor_child): Return exit status of child
21068         instead of return value from wait syscall.
21070 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
21072         * configure.ac (libc_commonpagesize): Remove variable.
21073         (libc_relro_required): Likewise.
21074         (libc_cv_z_relro): Remove configure test.
21075         * configure: Regenerated.
21076         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
21077         variable.
21078         (libc_relro_required): Likewise.
21079         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
21080         (libc_relro_required): Likewise.
21081         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
21082         (libc_relro_required): Likewise.
21083         * sysdeps/arm/preconfigure: Regenerated.
21084         * sysdeps/ia64/preconfigure: Remove file.
21085         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
21086         variable.
21087         (libc_relro_required): Likewise.
21089         [BZ #16561]
21090         [BZ #16562]
21091         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
21092         (__ieee754_yn): Set FE_TONEAREST mode internally and then
21093         recompute overflowing results in original rounding mode.
21094         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
21095         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
21096         recompute overflowing results in original rounding mode.
21097         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
21098         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21099         recompute overflowing results in original rounding mode.
21100         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
21101         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21102         recompute overflowing results in original rounding mode.
21103         * sysdeps/ieee754/ldbl-96/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/i386/fpu/fenv_private.h [!__SSE2_MATH__]
21107         (libc_feholdsetround_ctx): New macro.
21108         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
21109         * sysdeps/i386/fpu/libm-test-ulps: Update.
21110         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
21112 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21114         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
21115         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
21116         corresponding .cpsetup call.
21118 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21120         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
21121         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
21122         * sysdeps/arm/Makefile [$(subdir) = csu]
21123         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
21124         (static-only-routines): Add aeabi_read_tp here.
21125         (shared-only-routines): Add libc-aeabi_read_tp here.
21126         (CFLAGS-libc-start.c): Add -fexceptions here.
21127         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
21128         (sysdep_routines, static-only-routines, shared-only-routines):
21129         Don't add to these here.
21130         (CFLAGS-libc-start.c): Likewise.
21132         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
21133         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21134         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
21135         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21136         * sysdeps/arm/Makefile [$(subdir) = rt]
21137         (librt-sysdep_routines, librt-shared-only-routines):
21138         Append rt-aeabi_unwind_cpp_pr1 here.
21139         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
21140         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
21141         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
21142         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21143         Append nptl-aeabi_unwind_cpp_pr1 here.
21144         (tests): Filter out tst-cleanupx4 here.
21145         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
21146         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
21147         Don't do those here.
21149 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21151         * scripts/list-sources.sh: Do not handle ports specially.
21153 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21155         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
21156         * sysdeps/arm/feupdateenv.c: Likewise.
21158         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
21160 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21162         * manual/texinfo.tex: Update to version 2014-05-05.10 with
21163         trailing whitespace removed.
21164         * scripts/config.guess: Update to version 2014-03-23.
21165         * scripts/config.sub: Update to version 2014-05-01
21166         * scripts/install-sh: Update to version 2013-12-25.23.
21167         * scripts/move-if-change: Update from gnulib.
21169 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21171         * debug/memmove_chk.c: Remove pagecopy.h include.
21173 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
21175         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
21176         identical to gnulib mktime.
21178 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21180         * configure.ac: Do not test for machine being rs6000.  Do not test
21181         for powerpc*-*soft.
21182         * configure: Regenerated.
21184         [BZ #11505]
21185         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
21186         test.
21187         * configure: Regenerated.
21188         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
21189         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
21190         Remove configure test.
21191         * sysdeps/arm/configure: Regenerated.
21192         * sysdeps/nptl/configure.ac: Do not check
21193         libc_cv_asm_cfi_directives.
21194         * sysdeps/nptl/configure: Regenerated.
21195         * sysdeps/x86_64/nptl/configure.ac: Remove file.
21196         * sysdeps/x86_64/nptl/configure: Remove generated file.
21197         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
21198         unconditional.
21199         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
21201 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21203         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
21204         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
21205         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
21206         it is defined.
21208         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
21209         instead of whether it is defined.
21210         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
21211         * sysdeps/hppa/dl-machine.h: Likewise.
21212         * sysdeps/ia64/dl-machine.h: Likewise.
21213         * sysdeps/m68k/dl-machine.h: Likewise.
21214         * sysdeps/microblaze/dl-machine.h: Likewise.
21215         * sysdeps/mips/dl-machine.: Likewise.
21216         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21217         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21218         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21219         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21220         * sysdeps/sh/dl-machine.h: Likewise.
21221         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21222         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21223         * sysdeps/tile/dl-machine.h: Likewise.
21224         * sysdeps/x86_64/dl-machine.h: Likewise.
21226         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
21227         code.
21228         (verify_persistent_db): Likewise.
21230 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
21233         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
21234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
21235         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
21236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21237         Moved ...
21238         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
21239         ... here.
21240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
21241         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
21242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
21243         Identical file removed.
21244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
21245         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
21246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
21247         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
21248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
21249         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
21250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
21251         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
21252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
21253         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
21254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21255         Moved ...
21256         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
21257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
21258         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
21259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
21260         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
21261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21262         Moved ...
21263         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
21264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
21265         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
21266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
21267         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
21268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21269         Identical file removed.
21270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
21271         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
21272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
21273         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
21274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21275         Moved ...
21276         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
21277         ... here.
21278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
21279         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
21280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
21281         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
21282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
21283         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
21284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
21285         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
21286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
21287         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
21288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21289         Moved ...
21290         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
21291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
21292         Moved ...
21293         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
21294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
21295         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
21296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21297         Moved ...
21298         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
21299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
21300         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
21302         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
21303         folded into ...
21304         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
21305         * sysdeps/unix/sysv/linux/s390/Versions
21306         (libpthread: GLIBC_2.19): New version set.
21307         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
21308         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
21309         (librt: GLIBC_2.3.3): New version set.
21310         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
21311         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
21312         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
21313         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
21314         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
21315         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
21316         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
21317         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
21318         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
21319         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
21320         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
21321         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
21322         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
21323         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
21324         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
21325         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
21326         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
21327         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
21328         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
21329         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
21330         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
21331         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
21332         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
21333         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
21334         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
21335         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
21336         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
21337         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
21338         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
21339         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
21340         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
21341         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
21342         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
21343         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
21344         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
21345         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
21346         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
21347         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
21348         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
21349         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
21350         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
21351         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
21352         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
21353         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
21354         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
21356         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
21357         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
21358         (__libc_vfork): Define the function under this name.
21359         [!NOT_IN_libc] (__vfork): Make this an alias.
21360         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
21361         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
21362         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
21363         (__libc_vfork): Define the function under this name.
21364         [!NOT_IN_libc] (__vfork): Make this an alias.
21365         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
21366         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
21367         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
21368         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
21369         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
21370         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21372         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
21373         code that was previously under [RESET_PID].
21374         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
21375         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
21376         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
21378         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
21379         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
21380         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
21381         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
21382         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
21383         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
21384         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
21385         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
21386         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
21387         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
21388         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
21389         Moved ...
21390         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
21391         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
21392         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
21393         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
21394         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
21395         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
21396         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
21397         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
21398         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
21399         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
21400         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
21401         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
21402         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
21403         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
21404         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
21405         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
21406         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
21407         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
21408         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
21409         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
21410         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
21411         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
21412         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
21413         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
21414         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
21415         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
21416         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
21417         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
21418         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
21420 2014-06-25  Roland McGrath  <roland@hack.frob.com>
21422         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
21423         that was previously under [RESET_PID].
21424         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
21426 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21428         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
21429         not undefine and redefine.
21430         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
21431         [O_CLOEXEC]: Make code unconditional.
21432         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
21433         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
21434         <kernel-features.h>.
21435         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
21436         conditional variable definition.
21437         (shm_open) [O_CLOEXEC]: Make code unconditional.
21438         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
21439         code.
21441         * configure.ac (USE_REGPARMS): Don't define here.
21442         * configure: Regenerated.
21443         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
21444         * sysdeps/i386/configure: Regenerated.
21446         * nptl/createthread.c: Don't include kernel-features.h.
21447         * nptl/pthread_cancel.c: Likewise.
21448         * nptl/pthread_condattr_setclock.c: Likewise.
21449         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
21450         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
21451         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
21452         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
21453         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
21454         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
21455         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
21456         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
21457         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
21458         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
21459         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
21460         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
21461         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
21462         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
21463         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
21464         * nscd/gai.c: Likewise.
21465         * nss/nss_db/db-open.c: Likewise.
21466         * sysdeps/generic/ldsodefs.h: Likewise.
21467         * sysdeps/sh/nptl/tls.h: Likewise.
21468         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21469         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
21470         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
21471         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
21472         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
21473         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21474         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
21475         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21476         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21477         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21478         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21479         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21480         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
21481         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
21482         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
21483         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
21484         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
21485         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
21486         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
21487         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
21488         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
21489         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
21490         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
21491         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
21492         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21493         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21494         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
21495         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
21496         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
21497         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
21498         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
21499         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
21500         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
21501         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21502         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21503         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21504         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21505         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
21506         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
21507         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21508         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21509         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
21510         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
21511         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21512         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
21513         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
21514         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
21515         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
21516         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
21517         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21518         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21519         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21520         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21521         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21522         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
21523         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21524         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21525         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
21526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
21528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
21529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
21530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
21531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
21537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
21538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
21539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
21540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
21546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
21547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
21548         * sysdeps/unix/sysv/linux/pread.c: Likewise.
21549         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
21550         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
21551         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
21552         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
21553         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
21554         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
21555         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
21556         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
21557         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21558         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
21559         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21560         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
21561         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
21562         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
21563         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
21564         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21565         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
21566         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
21567         * sysdeps/unix/sysv/linux/system.c: Likewise.
21568         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
21569         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21570         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21571         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21572         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21573         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21574         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21576         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
21577         * configure: Regenerated.
21578         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
21580         * configure.ac (base_machine): Do not set specially for particular
21581         machines here.
21582         * configure: Regenerated.
21583         * sysdeps/powerpc/preconfigure: Move machine and base_machine
21584         settings from configure.ac.
21585         * sysdeps/i386/preconfigure: New file.
21586         * sysdeps/s390/preconfigure: Likewise.
21587         * sysdeps/sh/preconfigure: Likewise.
21588         * sysdeps/sparc/preconfigure: Likewise.
21590 2014-06-25  Roland McGrath  <roland@hack.frob.com>
21592         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
21593         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
21594         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
21595         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
21596         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
21597         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
21598         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
21599         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
21600         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
21601         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
21602         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
21603         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
21604         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
21605         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
21606         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
21607         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
21608         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
21609         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
21610         * sysdeps/sparc/sparc64/Makefile: ... appended here.
21612         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
21613         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
21614         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
21615         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
21616         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
21617         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
21618         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
21619         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
21620         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
21621         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
21622         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
21623         * sysdeps/sparc/sparc32/sem_post.c: ... here.
21624         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
21625         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
21626         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
21627         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
21628         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
21629         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
21630         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
21631         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
21632         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
21633         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
21634         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
21635         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
21636         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
21637         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
21638         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
21639         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
21640         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
21641         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
21642         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
21643         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
21644         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
21645         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
21646         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
21647         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
21648         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
21649         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
21651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
21652         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
21653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
21654         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
21655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21656         Moved ...
21657         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
21658         ... here.
21659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
21660         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
21661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
21662         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
21663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
21664         Moved ...
21665         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
21666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
21667         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
21668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
21669         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
21670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
21671         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
21672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21673         Moved ...
21674         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
21675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21676         Moved ...
21677         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
21678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
21679         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
21680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21681         Moved ...
21682         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
21683         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
21684         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
21685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
21686         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
21687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
21688         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
21689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
21690         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
21691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21692         Moved ...
21693         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
21694         ... here.
21695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
21696         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
21697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
21698         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
21699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
21700         Moved ...
21701         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
21702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
21703         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
21704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
21705         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
21706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
21707         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
21708         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21709         Moved ...
21710         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
21711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21712         Moved ...
21713         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
21714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
21715         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
21716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21717         Moved ...
21718         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
21719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
21720         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
21721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
21722         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
21724 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21726         * timezone/checktab.awk: Update from tzcode 2014e.
21727         * timezone/private.h: Likewise.
21728         * timezone/tzfile.h: Likewise.
21729         * timezone/zdump.c: Likewise.
21730         * timezone/zic.c: Likewise.
21732         * sysdeps/unix/sysv/linux/kernel-features.h
21733         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
21734         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
21735         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
21736         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21737         Remove conditional code.
21739 2014-06-25  Will Newton  <will.newton@linaro.org>
21741         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
21742         (_dl_arm_cap_flags): Add HWCAP2 values.
21743         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
21744         (_DL_HWCAP_COUNT): Increase to 37.
21745         (_DL_HWCAP_LAST): New define.
21746         (_DL_HWCAP2_LAST): New define.
21747         (_dl_procinfo): Add support for printing
21748         AT_HWCAP2 entries.
21749         (_dl_string_hwcap): Use _dl_hwcap_string.
21751 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21755 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21757         * README: Do not mention ports directory.
21759         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
21760         Remove macro.
21761         * sysdeps/unix/sysv/linux/futimes.c: Do not include
21762         <kernel-features.h>.
21763         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
21764         conditional variable definition.
21765         (__futimes): Update comment.
21766         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
21767         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
21769         [BZ #16560]
21770         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
21771         arguments close to 0.
21772         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
21773         Likewise.
21774         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
21775         Likewise.
21776         * math/auto-libm-test-in: Add more tests of exp10.
21777         * math/auto-libm-test-out: Regenerated.
21778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21780         * sysdeps/unix/sysv/linux/kernel-features.h
21781         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
21782         * sysdeps/unix/sysv/linux/readv.c: Do not include
21783         <kernel-features.h>.
21784         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21785         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21786         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21787         unconditional.
21788         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21789         conditional code.
21790         * sysdeps/unix/sysv/linux/writev.c: Do not include
21791         <kernel-features.h>.
21792         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21793         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21794         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21795         unconditional.
21796         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21797         conditional code.
21799 2014-06-25  Will Newton  <will.newton@linaro.org>
21801         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
21802         comment changes throughout the file.  Remove checks
21803         for HAVE_*_H definitions that are not required.
21804         (__gen_tempname): Call abort if an unknown kind value is
21805         passed.
21807 2014-06-25  Andreas Schwab  <schwab@suse.de>
21809         [BZ #17086]
21810         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
21811         scalbln, scalblnf, scalblnl in libc.
21813 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21815         [BZ #17086]
21816         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
21817         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
21818         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
21820 2014-06-24  Roland McGrath  <roland@hack.frob.com>
21822         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
21823         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
21824         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
21825         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
21826         Update #include.
21827         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
21828         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
21829         Update #include.
21830         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
21831         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
21832         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
21833         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
21834         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
21835         * sysdeps/x86/bits/pthreadtypes.h: ... here.
21836         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
21837         * sysdeps/x86/bits/semaphore.h: ... here.
21838         * sysdeps/x86/nptl/elide.h: Moved ...
21839         * sysdeps/x86/elide.h: ... here.
21840         * sysdeps/x86_64/nptl/Implies: File removed.
21841         * sysdeps/i386/nptl/Implies: File removed.
21843 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
21845         [BZ #16539]
21846         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
21847         return the argument for normal arguments with exponent below -64.
21848         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21849         Likewise.
21850         * math/auto-libm-test-in: Add another test of expm1.
21851         * math/auto-libm-test-out: Regenerated.
21853         [BZ #16287]
21854         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
21855         calling __erfcl for arguments at least 16.
21856         * math/auto-libm-test-in: Add more tests of erf.
21857         * math/auto-libm-test-out: Regenerated.
21859         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
21860         individual architectures.
21861         * sysdeps/unix/sysv/linux/configure: Regenerated.
21862         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
21863         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
21864         * sysdeps/unix/sysv/linux/powerpc/configure.ac
21865         (ldd_rewrite_script): Define variable.
21866         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
21868         file.
21869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
21870         generated file.
21871         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
21872         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
21873         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
21874         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
21875         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
21876         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
21877         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
21878         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
21880 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21882         [BZ #17084]
21883         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
21884         Rename member __data.d to __data.__elision_data.
21886 2014-06-24  Wilco  <wdijkstr@arm.com>
21888         * NEWS: Add 16918 to fixed bug list.
21890 2014-06-24  Wilco  <wdijkstr@arm.com>
21892         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
21894 2014-06-24  Wilco  <wdijkstr@arm.com>
21896         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
21897         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
21898         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
21899         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
21900         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
21901         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
21902         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
21903         Use _FPU_MASK_RM.
21905 2014-06-24  Wilco  <wdijkstr@arm.com>
21907         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
21909 2014-06-24  Wilco  <wdijkstr@arm.com>
21911         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
21912         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
21913         * sysdeps/arm/fesetround.c (fesetround): Remove space.
21914         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
21916 2014-06-24  Wilco  <wdijkstr@arm.com>
21918         [BZ #16918]
21919         * sysdeps/arm/feupdateenv.c (feupdateenv):
21920         Rewrite to reduce FPSCR accesses and fix return value.
21922 2014-06-24  Wilco  <wdijkstr@arm.com>
21924         * sysdeps/arm/fclrexcpt.c (feclearexcept):
21925         Optimize to avoid unnecessary FPSCR writes.
21926         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
21927         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
21928         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
21929         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
21931 2014-06-24  Wilco  <wdijkstr@arm.com>
21933         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
21934         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
21935         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
21936         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
21937         Call libc_fetestexcept_vfp.
21938         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
21939         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
21940         __SOFTFP__ ifdef so that they can be built for softfp.
21942 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21944         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
21945         argument type signed char.
21947         * Makerules (check-abi): Dump diff of symlist if the test
21948         fails.
21950 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21952         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
21953         using abort.
21955         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21956         Remove unused variable ST.
21958 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
21960         [BZ #16354]
21961         [BZ #17061]
21962         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
21963         small arguments before calling __expm1.
21964         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
21965         small arguments before calling __expm1f.
21966         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
21967         small arguments before calling __expm1l.
21968         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21969         Likewise.
21970         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
21971         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
21972         spurious underflow for some cosh tests.
21973         * math/auto-libm-test-out: Regenerated.
21974         * sysdeps/i386/fpu/libm-test-ulps: Update.
21976         [BZ #17050]
21977         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
21978         (__ieee754_y1): Set errno if return value overflows.
21979         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
21980         (__ieee754_y1f): Set errno if return value overflows.
21981         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
21982         (__ieee754_y1l): Set errno if return value overflows.
21983         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
21984         (__ieee754_y1l): Set errno if return value overflows.
21985         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
21986         * math/auto-libm-test-out: Regenerated.
21988         * math/gen-auto-libm-tests.c: Document use of
21989         ignore-zero-inf-sign.
21990         (input_flag_type): Add value flag_ignore_zero_inf_sign.
21991         (input_flags): Add ignore-zero-inf-sign.
21992         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
21993         * math/gen-libm-test.pl (generate_testfile): Handle
21994         ignore-zero-inf-sign.
21995         * math/auto-libm-test-in: Mark some cpow tests with
21996         ignore-zero-inf-sign and some with xfail-rounding.
21997         * math/auto-libm-test-out: Regenerated.
21998         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
21999         * sysdeps/i386/fpu/libm-test-ulps: Update.
22000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22002         [BZ #16315]
22003         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
22004         overflowing or underflowing operations take place with sign of
22005         result.
22006         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22007         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22008         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
22009         (__ieee754_pow): Recompute overflowing and underflowing results in
22010         original rounding mode.
22011         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
22012         (__powl_helper): Allow negative argument X and scale negated value
22013         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
22014         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
22015         overflowing or underflowing operations take place with sign of
22016         result.
22017         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
22018         Include <math.h>.
22019         * math/auto-libm-test-in: Add more tests of pow.
22020         * math/auto-libm-test-out: Regenerated.
22021         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
22022         (pow_tonearest_test_data): Remove.
22023         (pow_test_tonearest): Likewise.
22024         (pow_towardzero_test_data): Likewise.
22025         (pow_test_towardzero): Likewise.
22026         (pow_downward_test_data): Likewise.
22027         (pow_test_downward): Likewise.
22028         (pow_upward_test_data): Likewise.
22029         (pow_test_upward): Likewise.
22030         (main): Don't call removed functions.
22031         * sysdeps/i386/fpu/libm-test-ulps: Update.
22032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22034 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
22037         Moved ...
22038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
22039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22040         Moved ...
22041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
22042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22043         Moved ...
22044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
22045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22046         Moved ...
22047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
22048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22049         File removed.
22050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22051         File removed.
22052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
22053         File removed.
22054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
22055         File removed.
22056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
22057         File removed.
22058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
22059         File removed.
22060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
22061         File removed.
22062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22063         File removed.
22064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
22065         File removed.
22066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22067         File removed.
22068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
22069         File removed.
22070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
22071         File removed.
22072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
22073         Moved ...
22074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
22075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
22076         Moved ...
22077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
22078         ... here.
22079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
22080         Moved ...
22081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
22082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
22083         Moved ...
22084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
22085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
22086         Moved ...
22087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
22088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
22089         Moved ...
22090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
22091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
22092         Moved ...
22093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
22094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
22095         Moved ...
22096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
22097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
22098         Moved ...
22099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
22100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
22101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
22102         ... here.
22103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
22104         Moved ...
22105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
22106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22107         Moved ...
22108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22109         ... here.
22110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
22111         Moved ...
22112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22113         ... here.
22114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22115         Moved ...
22116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
22117         ... here.
22118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22119         Moved ...
22120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
22121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22122         Moved ...
22123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
22124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
22125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
22126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22127         Moved ...
22128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
22129         ... here.
22130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22131         Moved ...
22132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
22133         ... here.
22134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22135         Moved ...
22136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
22137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22138         Moved ...
22139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
22140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22141         Moved ...
22142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
22143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22144         Moved ...
22145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
22146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22147         Moved ...
22148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
22149         ... here.
22150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22151         Moved ...
22152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
22153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22154         Moved ...
22155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
22156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22157         Moved ...
22158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
22159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22160         Moved ...
22161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
22162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
22163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
22164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22165         Moved ...
22166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
22167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22168         Moved ...
22169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
22170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22171         Moved ...
22172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
22173         ... here.
22174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22175         Moved ...
22176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
22177         ... here.
22178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22179         Moved ...
22180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
22181         ... here.
22182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22183         Moved ...
22184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
22185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22186         Moved ...
22187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
22188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22189         Moved ...
22190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
22191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22192         Moved ...
22193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
22194         ... here.
22195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22196         Moved ...
22197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
22198         ... here.
22199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22200         Moved ...
22201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
22202         ... here.
22203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22204         Moved ...
22205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
22206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22207         Moved ...
22208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
22210 2014-06-23  Will Newton  <will.newton@linaro.org>
22211             Wilco  <wdijkstr@arm.com>
22213         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
22214         implementation.  Include get-rounding-mode.h.
22215         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
22216         [!libc_feholdsetround_noex_ctx]: Define
22217         libc_feholdsetround_noex_ctx.
22218         [!libc_feholdsetround_noexf_ctx]: Define
22219         libc_feholdsetround_noexf_ctx.
22220         [!libc_feholdsetround_noexl_ctx]: Define
22221         libc_feholdsetround_noexl_ctx.
22222         (libc_feholdsetround_ctx): New function.
22223         (libc_feresetround_ctx): New function.
22224         (libc_feholdsetround_noex_ctx): New function.
22225         (libc_feresetround_noex_ctx): New function.
22227 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22229         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
22230         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
22231         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
22232         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
22233         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
22234         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
22236         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
22237         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
22238         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
22239         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
22240         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
22241         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
22242         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
22243         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
22244         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
22245         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
22246         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
22247         Moved ...
22248         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
22249         ... here.
22250         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
22251         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
22252         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
22253         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
22254         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
22255         Moved ...
22256         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
22257         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
22258         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
22259         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
22260         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
22261         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
22262         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
22263         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
22264         Moved ...
22265         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
22266         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
22267         Moved ...
22268         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
22269         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
22270         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
22271         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
22272         Moved ...
22273         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
22274         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
22275         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
22276         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
22277         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
22278         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
22279         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
22280         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
22281         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
22282         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
22283         Moved ...
22284         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
22285         ... here.
22286         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
22287         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
22288         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
22289         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
22290         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
22291         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
22292         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
22293         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
22294         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
22295         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
22296         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
22297         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
22298         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
22299         Moved ...
22300         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
22301         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
22302         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
22303         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
22304         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
22305         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
22306         Moved ...
22307         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
22308         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
22309         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
22310         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
22311         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
22313         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
22314         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
22315         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
22316         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
22317         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
22318         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
22319         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
22320         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
22321         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
22322         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
22323         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
22324         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
22325         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
22326         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
22327         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
22328         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
22329         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
22330         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
22331         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
22332         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
22333         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
22334         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
22335         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
22336         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
22337         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
22338         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
22339         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
22340         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
22342 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
22344         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
22345         (FALLOC_FL_COLLAPSE_RANGE): New macro.
22346         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
22347         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
22348         (IPV6_PMTUDISC_INTERFACE): Likewise.
22349         (IPV6_PMTUDISC_OMIT): Likewise.
22351 2014-06-23  Andreas Schwab  <schwab@suse.de>
22353         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
22354         Remove unused errout label.
22356 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22358         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
22359         macro: hardware supports Vector Crypto instructions.
22361 2014-06-23  Will Newton  <will.newton@linaro.org>
22363         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
22364         rather than __builtin_expect.
22366         * elf/dl-lookup.c (undefined_msg): Remove variable.
22367         (_dl_lookup_symbol_x): Replace undefined_msg with string
22368         literal.
22370         * elf/dl-lookup.c (do_lookup_unique): New function.
22371         (do_lookup_x): Move STB_GNU_UNIQUE handling code
22372         to a separate function.
22374 2014-06-23  Andreas Schwab  <schwab@suse.de>
22376         [BZ #17079]
22377         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
22378         before reading the next line.
22380 2014-06-23  Will Newton  <will.newton@linaro.org>
22382         * test-skeleton.c (signal_handler): Use printf and %m
22383         rather than perror.  Use printf rather than fprintf to
22384         stderr.  Use puts rather than fputs to stderr.
22385         (main): Likewise.
22387 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
22389         * nscd/nscd.c (thread_info_t): Remove typedef.
22390         (thread_info): Remove variable.
22392 2014-06-21  Allan McRae  <allan@archlinux.org>
22394         * NEWS: Mention CVE-2014-4043.
22396 2014-06-20  Roland McGrath  <roland@hack.frob.com>
22398         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
22399         * nptl/smp.h: ... here.
22401         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
22403         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
22404         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
22405         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
22406         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
22408         * nptl/allocatestack.c: Include <stack-aliasing.h>.
22409         * nptl/stack-aliasing.h: New file.
22410         * sysdeps/i386/i686/stack-aliasing.h: New file.
22411         * sysdeps/i386/i686/nptl/Makefile: File removed.
22412         * sysdeps/x86_64/stack-aliasing.h: New file.
22413         * sysdeps/x86_64/nptl/Makefile
22414         (CFLAGS-pthread_create.c): Variable removed.
22416         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
22417         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
22418         old file.
22419         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
22420         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
22421         old file.
22423 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
22425         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22426         (__ASSUME_SIGFRAME_V2): Remove macro.
22427         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
22428         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
22429         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
22430         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
22431         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
22432         Declare as function.  Remove conditional macro definitions.
22433         (__default_rt_sa_restorer): Likewise.
22434         (__default_sa_restorer_v1): Remove declaration.
22435         (__default_sa_restorer_v2): Likewise.
22436         (__default_rt_sa_restorer_v1): Likewise.
22437         (__default_rt_sa_restorer_v2): Likewise.
22438         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
22439         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
22440         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
22442 2014-06-20  Roland McGrath  <roland@hack.frob.com>
22444         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
22445         (libpthread-routines): Add sysdep.
22446         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
22447         * sysdeps/unix/sysv/linux/sparc/Versions
22448         (libpthread: GLIBC_2.3.3): New version set.
22449         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
22450         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
22451         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
22452         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
22453         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
22454         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
22455         Moved ...
22456         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
22457         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
22458         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
22459         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
22460         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
22461         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
22462         * sysdeps/sparc/nptl/sem_init.c: ... here.
22463         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
22464         * sysdeps/sparc/nptl/sem_post.c: ... here.
22465         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
22466         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
22467         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
22468         * sysdeps/sparc/nptl/sem_wait.c: ... here.
22469         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
22470         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
22471         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
22472         (libpthread-routines): Add cpu_relax.
22473         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
22474         File removed.
22475         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
22476         (librt: GLIBC_2.3.3): New version set.
22477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
22478         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
22479         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
22480         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
22481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
22482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
22483         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
22484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
22485         Moved ...
22486         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
22487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
22488         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
22489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
22490         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
22491         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
22492         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
22493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
22494         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
22495         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
22496         Moved ...
22497         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
22498         Update #include.
22499         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
22500         Moved ...
22501         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
22502         Update #include.
22503         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
22504         Moved ...
22505         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
22506         Update #include.
22507         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
22508         Moved ...
22509         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
22510         Update #include.
22511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
22512         Moved ...
22513         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
22514         Update #include.
22515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
22516         Moved ...
22517         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
22518         Update #include.
22519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
22520         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
22521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
22522         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
22523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
22524         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
22525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
22526         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
22527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
22528         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
22529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22530         Moved ...
22531         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
22532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
22533         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
22534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
22535         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
22537 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22539         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
22540         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
22541         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22542         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
22543         * nscd/nscd.c: Likewise.
22544         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
22545         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
22546         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
22547         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
22549         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
22550         <kernel-features.h>.
22551         (init_mq_netlink): Remove conditional have_sock_cloexec
22552         definitions.  Remove code conditional on have_sock_cloexec < 0.
22553         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
22554         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
22555         * sysdeps/unix/sysv/linux/opensock.c: Do not include
22556         <kernel-features.h>.
22557         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
22558         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
22560 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22562         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22563         Add tests for memset_chk and memset.
22565         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
22566         with AVX2_Usable.
22568 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22570         [BZ #16046]
22571         * elf/tst-dl-iter-static.c: New file.
22572         * elf/Makefile (tests-static): Add tst-dl-iter-static.
22574         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
22575         error.
22577 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22579         * sysdeps/unix/sysv/linux/kernel-features.h
22580         (__ASSUME_F_GETOWN_EX): Remove macro.
22581         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
22582         <kernel-features.h>.
22583         (miss_F_GETOWN_EX): Remove variable or macro.
22584         (do_fcntl): Do not check miss_F_GETOWN_EX.
22585         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
22587         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
22588         Remove macro.
22589         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
22590         [!__ASSUME_AT_RANDOM]: Remove conditional code.
22591         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
22593         * sysdeps/unix/sysv/linux/kernel-features.h
22594         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
22595         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
22596         [ADJ_OFFSET_SS_READ]: Make code unconditional.
22597         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
22599 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22601         [BZ #17075]
22602         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
22603         Fix calculation of the symbol's value.
22604         * sysdeps/arm/tst-armtlsdescloc.c: New file.
22605         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
22606         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
22607         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
22608         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
22609         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
22610         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
22611         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
22612         (modules-names): Add `tst-armtlsdescmod',
22613         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
22614         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
22615         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22616         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
22617         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
22618         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22619         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
22620         ($(objpfx)tst-armtlsdescloc): New dependency.
22621         ($(objpfx)tst-armtlsdescextnow): Likewise.
22622         ($(objpfx)tst-armtlsdescextlazy): Likewise.
22623         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
22624         TLS scheme support.
22625         * sysdeps/arm/configure: Regenerate.
22627 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22629         * include/fcntl.h (__atfct_seterrno): Remove prototype.
22630         (__atfct_seterrno_2): Likewise.
22631         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
22632         <kernel-features.h>.
22633         (__ASSUME_ATFCTS): Do not undefine and redefine.
22634         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
22635         (__have_atfcts): Remove conditional definition.
22636         (__fxstatat([__NR_fstatat64]: Make code unconditional.
22637         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
22638         unreachable if [__ASSUME_ATFCTS].
22639         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
22640         not undefine and redefine.
22641         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
22642         <kernel-features.h>.
22643         (faccessat) [__NR_faccessat]: Make code unconditional.
22644         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
22645         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
22646         <kernel-features.h>.
22647         (fchmodat) [__NR_fchmodat]: Make code unconditional.
22648         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22649         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
22650         <kernel-features.h>.
22651         (fchownat) [__NR_fchownat]: Make code unconditional.
22652         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
22653         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
22654         <kernel-features.h>.
22655         (futimesat) [__NR_futimesat]: Make code unconditional.
22656         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
22657         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22658         <kernel-features.h>.
22659         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22660         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22661         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22662         <kernel-features.h>.
22663         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
22664         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22665         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
22666         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22667         <kernel-features.h>.
22668         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
22669         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22670         * sysdeps/unix/sysv/linux/linkat.c: Do not include
22671         <kernel-features.h>.
22672         (linkat) [__NR_linkat]: Make code unconditional.
22673         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22674         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
22675         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
22676         <kernel-features.h>.
22677         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
22678         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22679         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
22680         <kernel-features.h>.
22681         (mkdirat) [__NR_mkdirat]: Make code unconditional.
22682         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
22683         * sysdeps/unix/sysv/linux/openat.c: Do not include
22684         <kernel-features.h>.
22685         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
22686         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
22687         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
22688         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
22689         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
22690         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
22691         <kernel-features.h>.
22692         (readlinkat) [__NR_readlinkat]: Make code unconditional.
22693         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
22694         result of INLINE_SYSCALL directly, not via int variable.
22695         * sysdeps/unix/sysv/linux/renameat.c: Do not include
22696         <kernel-features.h>.
22697         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
22698         (renameat) [__NR_renameat]: Make code unconditional.
22699         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
22700         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
22701         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
22702         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
22703         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
22704         (__ASSUME_ATFCTS): Do not undefine and redefine.
22705         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
22706         <kernel-features.h>.
22707         (symlinkat) [__NR_symlinkat]: Make code unconditional.
22708         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22709         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
22710         <kernel-features.h>.
22711         (unlinkat) [__NR_unlinkat]: Make code unconditional.
22712         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22713         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
22714         (__ASSUME_ATFCTS): Do not undefine and redefine.
22715         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22716         <kernel-features.h>.
22717         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22718         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22719         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22720         <kernel-features.h>.
22721         (__xmknodat) [__NR_mknodat]: Make code unconditional.
22722         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22724 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22726         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
22728 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
22730         [BZ #17069]
22731         * posix/regcomp.c (parse_reg_exp): Deallocate partially
22732         constructed tree before returning error.
22733         * posix/bug-regexp36.c: Expand test case.
22735 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22737         [BZ #6803]
22738         * math/libm-test.inc (scalbln_test_date):
22739         Add errno expectations.
22740         * math/w_scalblnf.c: New File.
22741         Add wrapper which checks for setting errno to ERANGE.
22742         Add weak_alias for corresponding scalbln function.
22743         * math/w_scalbln.c: Likewise.
22744         * math/w_scalblnl.c: Likewise.
22745         * math/Makefile (libm-calls): Add w_scalbln.
22746         * sysdeps/ieee754/flt-32/s_scalblnf.c:
22747         Remove weak_alias for corresponding scalbln function.
22748         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22749         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22750         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22751         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22752         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22753         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
22754         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
22755         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
22756         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
22757         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
22758         Remove long_double_symbol for scalblnl function in libm, libc.
22759         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
22760         Add wrapper which checks for setting errno to ERANGE.
22761         Add long_double_symbol for scalblnl function in libm, libc.
22762         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
22763         Remove long_double_symbol for scalblnl in libm.
22764         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
22765         Add wrapper which checks for setting errno to ERANGE.
22766         Add long_double_symbol for scalblnl function in libm.
22767         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
22768         Do not use wrapper because of own implementation.
22770 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
22772         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
22773         3 bytes for __pad1 for x32.
22774         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
22776 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
22777             H.J. Lu  <hongjiu.lu@intel.com>
22779         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
22780         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
22781         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22782         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22783         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22785 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
22787         [BZ #17069]
22788         * posix/regcomp.c (parse_expression): Deallocate partially
22789         constructed tree before returning error.
22790         * posix/Makefile.c (tests): Add bug-regex36.
22791         (generated): Add bug-regex36.mtrace.
22792         (tests-special): Add $(objpfx)bug-regex36-mem.out
22793         (bug-regex36-ENV): New variable.
22794         ($(objpfx)bug-regex36-mem.out): New rule.
22795         * posix/bug-regex36.c: New file.
22797 2014-06-19  Will Newton  <will.newton@linaro.org>
22799         * malloc/malloc.c (systrim): If extra is zero then return
22800         early.
22802 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22804         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
22806 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
22808         * sysdeps/aarch64/strchr.S: New file.
22810 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22812         [BZ #17022]
22813         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
22814         from arguments -2 or below.
22815         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22816         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
22818 2014-06-18  Andreas Schwab  <schwab@suse.de>
22820         [BZ #17062]
22821         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
22822         of a bracket expr not to run off the end of the string.
22823         * posix/Makefile (tests): Add tst-fnmatch3.
22824         * posix/tst-fnmatch3.c: New file.
22826 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22828         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
22829         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
22830         [$(cross-compiling) = no]: Likewise.
22831         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
22832         [$(cross-compiling) = no]: Likewise.
22834 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22836         [BZ #17031]
22837         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
22838         double, adjusted for any remainder from the high double.
22839         * math/libm-test.inc (nearbyint): Add tests.
22840         (rint): Likewise.
22842 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22844         * nptl/sysdeps/powerpc/Makefile: Moved ...
22845         * sysdeps/powerpc/nptl/Makefile: ... here.
22846         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
22847         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
22848         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
22849         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
22850         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
22851         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
22852         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
22853         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
22854         * nptl/sysdeps/powerpc/tls.h: Moved ...
22855         * sysdeps/powerpc/nptl/tls.h: ... here.
22857 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
22859         [BZ #16681]
22860         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
22861         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
22862         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
22863         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
22864         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
22865         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
22866         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
22867         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
22868         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
22870 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
22872         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22874 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
22876         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
22877         defined operator.
22879         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
22880         $TIMEOUTFACTOR.
22882 2014-06-16  Florian Weimer  <fweimer@redhat.com>
22884         [BZ #17058]
22885         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
22886         non-executed part of the test.
22888 2014-06-16  Andreas Schwab  <schwab@suse.de>
22890         * string/bits/string2.h (strdup, strndup): Update feature guard.
22892 2014-06-14  David S. Miller  <davem@davemloft.net>
22894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22896 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
22898         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
22899         that was previously under [RESET_PID].
22900         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
22902         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
22903         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
22904         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
22905         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22906         (__libc_vfork): New strong alias.
22907         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
22909 2014-06-14 Andi Kleen  <ak@linux.intel.com>
22911         * sysdeps/generic/elide.h: New file.
22913 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22915         * Makefile (installed-headers): Adjust path of pthread.h header.
22917 2014-06-13  Roland McGrath  <roland@hack.frob.com>
22919         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
22920         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
22921         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
22922         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
22924         * nptl/sysdeps/s390/Makefile: Moved ...
22925         * sysdeps/s390/nptl/Makefile: ... here.
22926         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
22927         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
22928         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
22929         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
22930         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
22931         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
22932         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
22933         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
22934         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
22935         * sysdeps/s390/nptl/pthreaddef.h: ... here.
22936         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
22937         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
22938         * nptl/sysdeps/s390/tls.h: Moved ...
22939         * sysdeps/s390/nptl/tls.h: ... here.
22941         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
22942         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
22944 2014-06-13  David S. Miller  <davem@davemloft.net>
22946         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
22947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
22948         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
22949         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
22950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
22951         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
22952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
22953         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
22954         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
22955         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
22956         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
22957         Remove RESET_PID cpp guards.
22958         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
22959         Remove RESET_PID cpp guards.
22960         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
22962 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
22964         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
22965         __sp to uintptr_t.
22967 2014-06-13  Andi Kleen  <ak@linux.intel.com>
22969         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
22970         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
22971         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
22972         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
22973         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
22974         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
22975         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
22976         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
22977         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
22978         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
22979         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
22980         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
22981         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
22982         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
22983         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
22984         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
22985         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
22986         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
22987         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
22988         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
22990         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
22991         (pthread_rwlock_rdlock): Add elision.
22992         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
22993         (pthread_rwlock_wrlock): Add elision.
22994         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
22995         (pthread_rwlock_trywrlock): Add elision.
22996         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
22997         (pthread_rwlock_tryrdlock): Add elision.
22998         * nptl/pthread_rwlock_unlock.c: Include elide.h.
22999         (pthread_rwlock_tryrdlock): Add elision unlock.
23000         * nptl/sysdeps/pthread/pthread.h:
23001         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
23002         (PTHREAD_RWLOCK_INITIALIZER,
23003         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
23004         Handle new elision field.
23005         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
23006         * sysdeps/arm/nptl/bits/pthreadtypes.h
23007         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23008         * sysdeps/sh/nptl/bits/pthreadtypes.h
23009         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23010         * sysdeps/tile/nptl/bits/pthreadtypes.h
23011         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23012         * sysdeps/a/nptl/bits/pthreadtypes.h
23013         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23014         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23015         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23016         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23017         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23018         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
23019         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23020         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23021         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23022         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23023         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23024         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23025         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23026         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23027         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23028         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
23029         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23030         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
23031         (elision_init): Set try_xbegin to zero when no RTM.
23032         * sysdeps/x86/nptl/bits/pthreadtypes.h
23033         (pthread_rwlock_t): Change __pad1 to __rwelision.
23034         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23036 2014-06-13  Andi Kleen  <ak@linux.intel.com>
23038         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
23039         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
23040         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
23041         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
23043 2014-06-13  Meador Inge  <meadori@codesourcery.com>
23045         [BZ #16996]
23046         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
23047         that the cached result has been set before returning it.
23049 2014-06-12  Roland McGrath  <roland@hack.frob.com>
23051         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
23052         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
23053         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
23054         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
23055         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
23056         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
23058         * nptl/sysdeps/sparc/Makefile: Moved ...
23059         * sysdeps/sparc/nptl/Makefile: ... here.
23060         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
23061         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
23062         * nptl/sysdeps/sparc/tls.h: Moved ...
23063         * sysdeps/sparc/nptl/tls.h: ... here.
23064         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
23065         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
23066         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
23067         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
23068         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
23069         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
23070         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
23071         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
23072         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
23073         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
23074         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
23075         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
23076         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
23077         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
23078         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
23079         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
23080         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
23081         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
23082         Update #include.
23083         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
23084         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
23085         Update #include.
23086         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
23087         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
23088         Update #include.
23089         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
23090         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
23091         Update #include.
23093         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
23095         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
23096         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
23098         * sysdeps/pthread/posix-timer.h: Include <list.h>.
23099         (struct list_links): Type removed.
23100         (struct thread_node, struct timer_node): Replace struct list_links
23101         with struct list_head.
23102         (list_unlink_ip): Likewise.
23103         * sysdeps/pthread/timer_routines.c
23104         (timer_free_list, thread_free_list, thread_active_list): Likewise.
23105         (list_append, list_insbefore): Likewise.
23106         (list_init): Function removed.
23107         (thread_init, init_module): Use INIT_LIST_HEAD instead.
23108         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
23109         * sysdeps/pthread/Makefile: ... here, new file.
23111         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
23112         * sysdeps/nptl/Implies: ... here.
23113         * sysdeps/unix/sysv/linux/Implies: Add nptl.
23114         * nptl/sysdeps/pthread/list.h: Moved ...
23115         * include/list.h: ... here.
23116         * nptl/sysdeps/pthread/createthread.c: Moved ...
23117         * nptl/createthread.c: ... here.
23118         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
23119         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
23120         * nptl/pt-longjmp.c: ... here.
23121         * nptl/sysdeps/pthread/Makefile: Moved ...
23122         * sysdeps/nptl/Makefile: ... here.
23123         * nptl/sysdeps/pthread/Subdirs: Moved ...
23124         * sysdeps/nptl/Subdirs: ... here.
23125         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
23126         * sysdeps/nptl/aio_misc.h: ... here.
23127         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
23128         * sysdeps/nptl/bits/libc-lock.h: ... here.
23129         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
23130         * sysdeps/nptl/bits/libc-lockP.h: ... here.
23131         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
23132         * sysdeps/nptl/bits/stdio-lock.h: ... here.
23133         * nptl/sysdeps/pthread/configure: Moved ...
23134         * sysdeps/nptl/configure: ... here.
23135         * nptl/sysdeps/pthread/configure.ac: Moved ...
23136         * sysdeps/nptl/configure.ac: ... here.
23137         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
23138         * sysdeps/nptl/gai_misc.h: ... here.
23139         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
23140         * sysdeps/nptl/librt-cancellation.c: ... here.
23141         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
23142         * sysdeps/nptl/malloc-machine.h: ... here.
23143         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
23144         * sysdeps/nptl/pthread-functions.h: ... here.
23145         * nptl/sysdeps/pthread/pthread.h: Moved ...
23146         * sysdeps/nptl/pthread.h: ... here.
23147         * nptl/sysdeps/pthread/setxid.h: Moved ...
23148         * sysdeps/nptl/setxid.h: ... here.
23149         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
23150         * sysdeps/nptl/sigfillset.c: ... here.
23151         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
23152         * sysdeps/nptl/tcb-offsets.h: ... here.
23153         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
23154         * sysdeps/nptl/tst-mqueue8x.c: ... here.
23155         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
23156         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
23157         * nptl/sysdeps/pthread/allocalim.h: Moved ...
23158         * sysdeps/pthread/allocalim.h: ... here.
23159         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
23160         * sysdeps/pthread/bits/sigthread.h: ... here.
23161         * nptl/sysdeps/pthread/flockfile.c: Moved ...
23162         * sysdeps/pthread/flockfile.c: ... here.
23163         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
23164         * sysdeps/pthread/ftrylockfile.c: ... here.
23165         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
23166         * sysdeps/pthread/funlockfile.c: ... here.
23167         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
23168         * sysdeps/pthread/posix-timer.h: ... here.
23169         * nptl/sysdeps/pthread/timer_create.c: Moved ...
23170         * sysdeps/pthread/timer_create.c: ... here.
23171         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
23172         * sysdeps/pthread/timer_delete.c: ... here.
23173         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
23174         * sysdeps/pthread/timer_getoverr.c: ... here.
23175         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
23176         * sysdeps/pthread/timer_gettime.c: ... here.
23177         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
23178         * sysdeps/pthread/timer_routines.c: ... here.
23179         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
23180         * sysdeps/pthread/timer_settime.c: ... here.
23181         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
23182         * sysdeps/pthread/tst-timer.c: ... here.
23183         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
23184         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
23186         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
23187         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
23189         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
23190         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
23191         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
23192         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
23193         Update #include target.
23194         * nptl/sysdeps/i386/i686/Makefile: Moved ...
23195         * sysdeps/i386/i686/nptl/Makefile: ... here.
23196         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
23197         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
23198         Update #include target.
23199         * nptl/sysdeps/i386/i686/tls.h: Moved ...
23200         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
23201         * nptl/sysdeps/i386/Makefile: Moved ...
23202         * sysdeps/i386/nptl/Makefile: ... here.
23203         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
23204         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
23205         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
23206         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
23207         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
23208         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
23209         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
23210         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
23211         * sysdeps/i386/nptl/pthreaddef.h: ... here.
23212         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
23213         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
23214         * nptl/sysdeps/i386/tls.h: Moved ...
23215         * sysdeps/i386/nptl/tls.h: ... here.
23217         * sysdeps/sh/Makefile [$(subdir) = csu]
23218         (gen-as-const-headers): Add tcb-offsets.sym.
23219         * nptl/sysdeps/sh/Makefile: File removed.
23220         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
23221         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
23222         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
23223         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
23224         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
23225         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
23226         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
23227         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
23228         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
23229         * sysdeps/sh/nptl/pthreaddef.h: ... here.
23230         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
23231         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
23232         * nptl/sysdeps/sh/tls.h: Moved ...
23233         * sysdeps/sh/nptl/tls.h: ... here.
23234         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
23235         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
23236         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
23237         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
23238         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
23239         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
23240         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
23241         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
23242         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
23243         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
23244         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
23245         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
23246         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
23247         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
23248         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
23249         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
23250         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
23251         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
23252         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
23253         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
23254         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
23255         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
23256         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
23257         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
23258         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
23259         Moved ...
23260         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
23261         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
23262         Moved ...
23263         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
23264         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
23265         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
23266         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
23267         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
23268         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
23269         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
23270         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
23271         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
23272         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
23273         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
23274         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
23275         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
23276         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
23277         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
23278         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
23279         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
23280         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
23281         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
23283 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23285         * posix/spawn_faction_addopen.c: Include string.h.
23287 2014-06-11  Roland McGrath  <roland@hack.frob.com>
23289         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
23290         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
23291         * nptl/sysdeps/x86_64/Makefile: Moved ...
23292         * sysdeps/x86_64/nptl/Makefile: ... here.
23293         * nptl/sysdeps/x86_64/configure: Moved ...
23294         * sysdeps/x86_64/nptl/configure: ... here.
23295         * nptl/sysdeps/x86_64/configure.ac: Moved ...
23296         * sysdeps/x86_64/nptl/configure.ac: ... here.
23297         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
23298         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
23299         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
23300         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
23301         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
23302         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
23303         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
23304         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
23305         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
23306         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
23307         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
23308         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
23309         * nptl/sysdeps/x86_64/tls.h: Moved ...
23310         * sysdeps/x86_64/nptl/tls.h: ... here.
23311         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
23312         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
23313         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
23314         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
23316         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
23318 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23322 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
23324         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
23325         type.
23326         [POSIX] (off_t): Likewise.
23327         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
23328         [POSIX] (S_ISBLK): Require macro.
23329         [POSIX] (S_ISCHR): Likewise.
23330         [POSIX] (S_ISDIR): Likewise.
23331         [POSIX] (S_ISFIFO): Likewise.
23332         [POSIX] (S_ISREG): Likewise.
23333         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
23334         optional-macro.
23335         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
23336         type.
23337         [POSIX] (time_t): Likewise.
23338         [POSIX] (timer_t): Likewise.
23340 2014-06-11  Florian Weimer  <fweimer@redhat.com>
23342         [BZ #17048]
23343         * posix/spawn_int.h (struct __spawn_action): Make the path string
23344         non-const to support deallocation.
23345         * posix/spawn_faction_addopen.c
23346         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
23347         * posix/spawn_faction_destroy.c
23348         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
23349         path in all spawn_do_open actions.
23350         * posix/tst-spawn.c (do_test): Exercise the copy operation in
23351         posix_spawn_file_actions_addopen.
23353 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
23355         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
23356         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
23357         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
23358         conditional code always true.
23359         (__libc_vfork): New alias.
23361 2014-06-11  Roland McGrath  <roland@hack.frob.com>
23363         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23364         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
23366         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
23368         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23369         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
23371         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
23372         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
23374         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23375         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
23377 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23379         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
23380         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
23381         multiarch strcmp for PPC64.
23382         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
23383         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
23384         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
23385         multiarch optimizations.
23386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23387         (__libc_ifunc_impl_list): Likewise.
23389 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23391         * benchtests/scripts/validate_benchout.py: New script.
23392         * benchtests/Makefile (bench-func): Call it.
23393         * benchtests/scripts/benchout.schema.json: New file.
23395 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
23397         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
23398         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
23399         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
23400         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
23401         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
23402         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23403         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
23404         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
23405         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
23406         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
23407         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
23408         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
23409         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
23410         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
23411         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
23412         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
23413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
23414         Moved ...
23415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
23416         ... here.
23417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
23418         Moved ...
23419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
23420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
23421         Moved ...
23422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
23423         ... here.
23424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
23425         Moved ...
23426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
23427         ... here.
23428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
23429         Moved ...
23430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
23431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
23432         Moved ...
23433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
23434         ... here.
23435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
23436         Moved ...
23437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
23438         ... here.
23439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
23440         Moved ...
23441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
23442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
23443         Moved ...
23444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
23445         ... here.
23446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
23447         Moved ...
23448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
23449         ... here.
23450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
23451         Moved ...
23452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
23453         ... here.
23454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
23455         Moved ...
23456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
23457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
23458         Moved ...
23459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
23460         ... here.
23461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
23462         Moved ...
23463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
23464         ... here.
23465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
23466         Moved ...
23467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
23468         ... here.
23469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
23470         Moved ...
23471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
23472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
23473         Moved ...
23474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
23475         ... here.
23476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
23477         Moved ...
23478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
23479         ... here.
23480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
23481         Moved ...
23482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
23483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
23484         Moved ...
23485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
23486         ... here.
23487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
23488         Moved ...
23489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
23490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
23491         Moved ...
23492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
23493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
23494         Moved ...
23495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
23496         ... here.
23497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
23498         Moved ...
23499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
23500         ... here.
23501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
23502         Moved ...
23503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
23504         ... here.
23505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
23506         Moved ...
23507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
23508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
23509         Moved ...
23510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
23511         ... here.
23512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
23513         Moved ...
23514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
23515         ... here.
23516         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
23517         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
23518         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
23519         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
23520         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
23521         Moved ...
23522         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23523         ... here.
23524         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
23525         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
23526         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
23527         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
23528         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
23529         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
23530         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
23531         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
23532         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
23533         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
23534         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
23535         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
23536         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
23537         Moved ...
23538         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
23539         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
23540         Moved ...
23541         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
23542         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
23543         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
23544         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
23545         Moved ...
23546         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
23547         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
23548         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
23549         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
23550         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
23551         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
23552         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
23554 2014-06-10  Wilco  <wdijkstr@arm.com>
23556         * math/test-fenv-return.c: New file.
23557         * math/Makefile: Add new test test-fenv-return.
23559 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
23561         [BZ #17042]
23562         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
23563         when x - 1 is zero.
23564         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
23565         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
23566         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
23567         0.0L for an argument of 1.0L.
23568         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
23569         Likewise.
23570         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
23571         value when x - 1 is zero.
23572         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
23573         * sysdeps/i386/fpu/libm-test-ulps: Update.
23574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23576 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
23578         [BZ #15119]
23579         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
23581 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23583         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
23584         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
23586 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23588         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23589         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
23591         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23592         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
23594         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23595         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
23597         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23598         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
23600         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
23601         if not already defined.
23602         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
23603         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
23604         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
23605         (TLS_INIT_TP): Use it.
23606         (TLS_DEFINE_INIT_TP): New macro.
23607         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
23609 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
23611         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
23612         constant.
23613         [POSIX] (IXANY): Likewise.
23614         [POSIX] (OLCUC): Likewise.
23615         [POSIX || POSIX2008] (CBAUD): Do not allow.
23616         [POSIX || POSIX2008] (DEFECHO): Likewise.
23617         [POSIX || POSIX2008] (ECHOCTL): Likewise.
23618         [POSIX || POSIX2008] (ECHOKE): Likewise.
23619         [POSIX || POSIX2008] (ECHOPRT): Likewise.
23620         [POSIX || POSIX2008] (EXTA): Likewise.
23621         [POSIX || POSIX2008] (EXTB): Likewise.
23622         [POSIX || POSIX2008] (FLUSHO): Likewise.
23623         [POSIX || POSIX2008] (LOBLK): Likewise.
23624         [POSIX || POSIX2008] (PENDIN): Likewise.
23625         [POSIX || POSIX2008] (SWTCH): Likewise.
23626         [POSIX || POSIX2008] (VDISCARD): Likewise.
23627         [POSIX || POSIX2008] (VDSUSP): Likewise.
23628         [POSIX || POSIX2008] (VLNEXT): Likewise.
23629         [POSIX || POSIX2008] (VREPRINT): Likewise.
23630         [POSIX || POSIX2008] (VSTATUS): Likewise.
23631         [POSIX || POSIX2008] (VWERASE): Likewise.
23632         (B*): Change to B[0123456789]*.
23633         * conform/data/time.h-data [POSIX || UNIX98]
23634         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
23635         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23636         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
23637         [POSIX] (tm_*): Do not allow.
23639 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
23641         * Makefile (install): Don't set LANGUAGE.
23642         * Makefile.in (install): Likewise.
23643         * assert/Makefile (test-assert-ENV): Remove variable.
23644         (test-assert-perr-ENV): Likewise.
23645         * elf/Makefile (neededtest4-ENV): Likewise.
23646         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23647         [$(cross-compiling) = no]: Don't set LANGUAGE.
23648         * io/ftwtest-sh (LANG): Remove variable.
23649         * libio/Makefile (tst-widetext-ENV): Likewise.
23650         * manual/install.texi (Running make install): Don't refer to
23651         environment settings for make install.
23652         * INSTALL: Regenerated.
23653         * nptl/tst-tls6.sh: Don't set LANG.
23654         * posix/globtest.sh (LANG): Remove variable.
23655         * string/Makefile (tester-ENV): Likewise.
23656         (inl-tester-ENV): Likewise.
23657         (noinl-tester-ENV): Likewise.
23658         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23659         [$(cross-compiling) = no]: Don't set LANGUAGE.
23660         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
23661         without explicit environment settings.
23663 2014-06-06  Roland McGrath  <roland@hack.frob.com>
23665         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
23666         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
23667         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
23668         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
23670 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
23672         * crypt/crypt-private.h [DOS]: Add some includes taken from the
23673         other files in the crypt directory.
23674         * crypt/crypt.c: Remove duplicate includes.
23675         * crypt/crypt-entry.c: Likewise.
23676         * crypt/crypt_util.c: Likewise.
23678 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
23680         * Makeconfig (run-program-env): New variable.
23681         (run-program-prefix-before-env): Likewise.
23682         (run-program-prefix-after-env): Likewise.
23683         (run-program-prefix): Define in terms of new variables.
23684         (built-program-cmd-before-env): New variable.
23685         (built-program-cmd-after-env): Likewise.
23686         (built-program-cmd): Define in terms of new variables.
23687         (test-program-prefix-before-env): New variable.
23688         (test-program-prefix-after-env): Likewise.
23689         (test-program-prefix): Define in terms of new variables.
23690         (test-program-cmd-before-env): New variable.
23691         (test-program-cmd-after-env): Likewise.
23692         (test-program-cmd): Define in terms of new variables.
23693         * Rules (make-test-out): Use $(run-program-env).
23694         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
23695         (help): Do not mention environment variables.  Mention
23696         --timeoutfactor option.
23697         (timeoutfactor): New variable.
23698         (blacklist_exports): Remove function.
23699         (exports): Remove variable.
23700         (command): Do not include ${exports}.
23701         * manual/install.texi (Configuring and compiling): Do not mention
23702         test wrappers preserving environment variables.  Mention that last
23703         assignment to a variable must take precedence.
23704         * INSTALL: Regenerated.
23705         * benchtests/Makefile (run-bench): Use $(run-program-env).
23706         * catgets/Makefile ($(objpfx)test1.cat): Use
23707         $(built-program-cmd-before-env), $(run-program-env) and
23708         $(built-program-cmd-after-env).
23709         ($(objpfx)test2.cat): Do not specify environment variables
23710         explicitly.
23711         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
23712         $(run-program-env) and $(built-program-cmd-after-env).
23713         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
23714         $(run-program-env) and $(test-program-cmd-after-env).
23715         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
23716         explicitly.
23717         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
23718         run_program_env and test_program_cmd_after_env arguments.
23719         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
23720         * elf/tst-pathopt.sh: Use run_program_env argument.
23721         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
23722         $(test-wrapper-env) and $(run-program-env).
23723         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
23724         run_program_env arguments.
23725         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
23726         * intl/Makefile ($(objpfx)tst-gettext.out): Use
23727         $(test-program-prefix-before-env), $(run-program-env) and
23728         $(test-program-prefix-after-env).
23729         ($(objpfx)tst-gettext2.out): Likewise.
23730         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
23731         run_program_env and test_program_prefix_after_env arguments.
23732         * intl/tst-gettext2.sh: Likewise.
23733         * intl/tst-gettext4.sh: Do not set environment variables
23734         explicitly.
23735         * intl/tst-gettext6.sh: Likewise.
23736         * intl/tst-translit.sh: Likewise.
23737         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
23738         $(test-program-prefix-before-env), $(run-program-env) and
23739         $(test-program-prefix-after-env).
23740         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
23741         run_program_env and test_program_prefix_after_env arguments.
23742         * math/Makefile (run-regen-ulps): Use $(run-program-env).
23743         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
23744         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
23745         explicitly with each use of ${test_wrapper_env}.
23746         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
23747         $(test-program-prefix-before-env), $(run-program-env) and
23748         $(test-program-prefix-after-env).
23749         * posix/tst-getconf.sh: Do not set environment variables
23750         explicitly.
23751         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
23752         run_program_env and test_program_prefix_after_env arguments.
23753         * stdio-common/tst-printf.sh: Do not set environment variables
23754         explicitly.
23755         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
23756         $(test-program-prefix-before-env), $(run-program-env) and
23757         $(test-program-prefix-after-env).
23758         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
23759         run_program_env and test_program_prefix_after_env arguments.
23760         Split $test calls into $test_pre and $test.
23761         * timezone/Makefile (build-testdata): Use
23762         $(built-program-cmd-before-env), $(run-program-env) and
23763         $(built-program-cmd-after-env).
23765 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23767         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
23768         strlen for non SHARED builds.
23770 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23772         * nptl/allocatestack.c (check_list): Inlined function...
23773         (__reclaim_stacks): ... here.
23775 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23777         [BZ #15698]
23778         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23779         memory overrun.
23781 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
23783         * Rules (make-test-out): Include
23784         LOCPATH=$(common-objpfx)localedata in default environment.
23785         * debug/Makefile (tst-chk1-ENV): Remove variable.
23786         (tst-chk2-ENV): Likewise.
23787         (tst-chk3-ENV): Likewise.
23788         (tst-chk4-ENV): Likewise.
23789         (tst-chk5-ENV): Likewise.
23790         (tst-chk6-ENV): Likewise.
23791         (tst-lfschk1-ENV): Likewise.
23792         (tst-lfschk2-ENV): Likewise.
23793         (tst-lfschk3-ENV): Likewise.
23794         (tst-lfschk4-ENV): Likewise.
23795         (tst-lfschk5-ENV): Likewise.
23796         (tst-lfschk6-ENV): Likewise.
23797         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
23798         (tst-iconv7-ENV): Likewise.
23799         * intl/Makefile (LOCPATH-ENV): Likewise.
23800         (tst-codeset-ENV): Likewise.
23801         (tst-gettext3-ENV): Likewise.
23802         (tst-gettext5-ENV): Likewise.
23803         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
23804         (tst-fopenloc-ENV): Likewise.
23805         (tst-fgetws-ENV): Remove variable.
23806         (tst-ungetwc1-ENV): Likewise.
23807         (tst-ungetwc2-ENV): Likewise.
23808         (bug-ungetwc2-ENV): Likewise.
23809         (tst-swscanf-ENV): Likewise.
23810         (bug-ftell-ENV): Likewise.
23811         (tst-fgetwc-ENV): Likewise.
23812         (tst-fseek-ENV): Likewise.
23813         (tst-ftell-partial-wide-ENV): Likewise.
23814         (tst-ftell-active-handler-ENV): Likewise.
23815         (tst-ftell-append-ENV): Likewise.
23816         * posix/Makefile (tst-fnmatch-ENV): Likewise.
23817         (tst-regexloc-ENV): Likewise.
23818         (bug-regex1-ENV): Likewise.
23819         (tst-regex-ENV): Likewise.
23820         (tst-regex2-ENV): Likewise.
23821         (bug-regex5-ENV): Likewise.
23822         (bug-regex6-ENV): Likewise.
23823         (bug-regex17-ENV): Likewise.
23824         (bug-regex18-ENV): Likewise.
23825         (bug-regex19-ENV): Likewise.
23826         (bug-regex20-ENV): Likewise.
23827         (bug-regex22-ENV): Likewise.
23828         (bug-regex23-ENV): Likewise.
23829         (bug-regex25-ENV): Likewise.
23830         (bug-regex26-ENV): Likewise.
23831         (bug-regex30-ENV): Likewise.
23832         (bug-regex32-ENV): Likewise.
23833         (bug-regex33-ENV): Likewise.
23834         (bug-regex34-ENV): Likewise.
23835         (bug-regex35-ENV): Likewise.
23836         (tst-rxspencer-ENV): Likewise.
23837         (tst-rxspencer-no-utf8-ENV): Likewise.
23838         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
23839         (tst-sscanf-ENV): Likewise.
23840         (tst-swprintf-ENV): Likewise.
23841         (tst-swscanf-ENV): Likewise.
23842         (test-vfprintf-ENV): Likewise.
23843         (scanf13-ENV): Likewise.
23844         (bug14-ENV): Likewise.
23845         (tst-grouping-ENV): Likewise.
23846         * stdlib/Makefile (tst-strtod-ENV): Likewise.
23847         (tst-strtod3-ENV): Likewise.
23848         (tst-strtod4-ENV): Likewise.
23849         (tst-strtod5-ENV): Likewise.
23850         (testmb2-ENV): Likewise./
23851         * string/Makefile (tst-strxfrm-ENV): Likewise.
23852         (tst-strxfrm2-ENV): Likewise.
23853         (bug-strcoll1-ENV): Likewise.
23854         (test-strcasecmp-ENV): Likewise.
23855         (test-strncasecmp-ENV): Likewise.
23856         * time/Makefile (tst-strptime-ENV): Likewise.
23857         (tst-ftime_l-ENV): Likewise.
23858         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
23859         (tst-mbrtowc-ENV): Likewise.
23860         (tst-wcrtomb-ENV): Likewise.
23861         (tst-mbrtowc2-ENV): Likewise.
23862         (tst-c16c32-1-ENV): Likewise.
23863         (tst-mbsnrtowcs-ENV): Likewise.
23865 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23867         * manual/resource.texi (How to get information about the memory
23868         subsystem?): Fix typo.
23869         Reported by Peon de la Parra Ivan <peon@keba.com>
23871 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
23873         [BZ #16882]
23874         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
23875         (pthread_spin_lock): Branch out of spin loop to proper location.
23876         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
23877         (pthread_spin_lock): Likewise.
23879         * nptl/tst-spin4.c: New test.
23880         * nptl/Makefile (tests): Add tst-spin4.
23882 2014-06-03  Andreas Schwab  <schwab@suse.de>
23884         [BZ #15946]
23885         * resolv/res_send.c (send_dg): Reload file descriptor after
23886         calling reopen.
23888 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
23890         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23892 2014-06-03  Richard Henderson  <rth@redhat.com>
23894         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
23895         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
23896         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
23897         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
23898         in the SAVE_PID block.
23899         (__libc_vfork): New alias.
23900         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
23902         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
23903         child in registers, not on the stack.  Remove RESET_PID conditionals.
23904         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
23906 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23908         * sysdeps/aarch64/libm-test-ulps: Regenerate.
23910 2014-06-03  Wilco  <wdijkstr@arm.com>
23912         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
23913         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
23914         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23915         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
23916         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
23917         Likewise.
23919 2014-06-03  Wilco  <wdijkstr@arm.com>
23921         * sysdeps/aarch64/fpu/math_private.h
23922         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
23923         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
23924         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
23925         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23926         Fix declarations.
23928 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23930         * crypt/crypt-private.h: Include ufc-crypt.h.
23931         (__b64_from_24bit): Declare extern.
23932         * crypt/crypt_util.c(__b64_from_24bit): New function.
23933         (b64t): New static const variable.
23934         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
23935         (b64t): Remove variable.
23936         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
23937         * crypt/sha256-crypt.c: Include crypt-private.h.
23938         (b64t): Remove variable.
23939         (__sha256_crypt_r): Remove b64_from_24bit and replace
23940         with __b64_from_24bit.
23941         * crypt/sha512-crypt.c: Likewise.
23943 2014-06-02  Roland McGrath  <roland@hack.frob.com>
23945         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
23946         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
23947         Label the code __libc_vfork rather than __vfork.
23948         [!NOT_IN_libc] (vfork): Define as weak alias.
23949         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
23950         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
23951         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
23953 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23955         * malloc/malloc.c (malloc_info): Fix format specifier for
23956         n_mmaps.
23958 2014-06-02  Wilco  <wdijkstr@arm.com>
23960         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
23961         FPCR write.
23963 2014-06-02  Wilco  <wdijkstr@arm.com>
23965         [BZ #17009]
23966         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
23967         Rewrite to reduce FPCR/FPSR accesses.
23969 2014-06-01  David S. Miller  <davem@davemloft.net>
23971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23973 2014-05-31  David S. Miller  <davem@davemloft.net>
23975         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
23976         to occur in round to nearest mode when |x| >= 2.0
23978 2014-05-30  Richard Henderson  <rth@twiddle.net>
23980         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
23981         (PSEUDO_RET_NOERRNO): Remove.
23982         (ret): Don't redefine.
23983         (ret_NOERRNO): Define in terms of ret.
23984         (ret_ERRVAL): Likewise.
23986         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
23987         use of PSEUDO_RET; perform the error check directly.
23989 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
23991         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
23992         with __int128_t.
23994 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23996         * malloc/malloc (malloc_info): Fix formatting.
23998 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23999             Roland McGrath  <roland@hack.frob.com>
24001         * malloc/malloc (malloc_info): Also print mmapped statistics.
24003 2014-05-30  Roland McGrath  <roland@hack.frob.com>
24005         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
24006         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
24008 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
24010         * malloc/malloc.c (malloc_info): Inline mi_arena.
24012 2014-05-29  Richard Henderson  <rth@twiddle.net>
24014         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
24015         Remove comma before expanding ASM_ARGS_##nr.
24016         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
24017         Make _x0 a strict output; make _x8 a strict input; adjust expansion
24018         of ASM_ARGS_##nr.
24019         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
24020         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
24021         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
24022         (ASM_ARGS_1): Add leading comma.
24024         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
24025         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
24026         to __errno_location.
24027         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
24028         Remove the expected plt for __errno_location.
24030         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24031         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
24032         call to __read_tp.
24034         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24035         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
24036         it and break it down.
24037         (DOCARGS_0, DOCARGS_1): Do nothing.
24038         (DOCARGS_2): Update to store into the new stack frame.
24039         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
24040         (UNDOCARGS_1): Update to restore from the new stack frame.
24041         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
24042         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
24044         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24045         (SINGLE_THREAD_P): New parameter for result regno.
24046         (PSEUDO): Update to match; use cbz instead of beq.
24048         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24049         Use ENTRY to define the _nocancel entry point.  Share the syscall
24050         and syscall error check paths with the cancel path.
24051         (PSEUDO_END): New.
24053         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
24054         whitespace; tabs before and after asm mnemonics.
24056 2014-05-29  Eric Wong  <normalperson@yhbt.net>
24058         [BZ #15132]
24059         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24060         Call fstat64 or stat64 internally, depending on arguments passed.
24061         Replace stat buffer argument with file descriptor argument.
24062         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
24063         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24064         Pass fd to __internal_statvfs instead of calling fstat64.
24065         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
24066         Pass fd to __internal_statvfs64 instead of calling fstat64.
24067         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
24068         Pass -1 to __internal_statvfs instead of calling stat64.
24069         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
24070         Pass -1 to __internal_statvfs64 instead of calling stat64.
24072 2014-05-28  Roland McGrath  <roland@hack.frob.com>
24074         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
24075         that was previously under [RESET_PID].
24076         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
24078         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
24079         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
24081 2014-05-27  Roland McGrath  <roland@hack.frob.com>
24083         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
24085         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
24086         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
24088 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
24090         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
24092 2014-05-27  Andreas Schwab  <schwab@suse.de>
24094         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
24095         TLS_INIT_TP macro.
24096         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
24097         * elf/rtld.c (init_tls, dl_main): Likewise.
24098         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
24099         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
24100         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
24101         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
24102         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
24103         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
24104         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
24105         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
24106         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
24107         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
24108         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
24109         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
24110         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
24111         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
24112         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
24113         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
24114         * sysdeps/generic/tls.h: Update description.
24116 2014-05-27  Will Newton  <will.newton@linaro.org>
24118         [BZ #16990]
24119         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
24120         and restore r2 rather than just restoring.
24122 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24124         [BZ #16724]
24125         * libio/tst-ftell-append.c: New test case.
24126         * libio/Makefile (tests): Add test case.
24127         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
24128         append mode.
24129         * libio/wfileops.c (do_ftell_wide): Likewise.
24131 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24135         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
24136         ...
24137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
24138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24139         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
24140         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
24141         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
24142         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
24143         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
24144         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
24145         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24146         Moved ...
24147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
24148         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24149         Moved ...
24150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
24151         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
24152         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
24153         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
24154         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
24155         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
24156         ...
24157         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
24158         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
24159         Moved ...
24160         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
24161         here.
24162         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
24163         ...
24164         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
24165         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
24166         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
24168         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
24169         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
24170         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
24171         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
24173         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
24174         merge into ...
24175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
24176         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
24177         ...
24178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
24179         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
24180         ...
24181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
24182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
24183         Moved ...
24184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
24185         here.
24186         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
24187         Moved ...
24188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
24189         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
24190         Moved ...
24191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
24193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
24194         conditional [RESET_PID].
24195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
24196         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
24197         removed.
24198         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
24199         removed.
24201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
24202         <tcb-offsets.h>.
24203         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24204         (__libc_vfork): New strong alias.
24205         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
24206         removed.
24207         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
24208         Removed.
24210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
24211         <tcb-offsets.h>.
24212         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
24213         (__libc_vfork): New strong alias.
24214         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
24215         removed.
24216         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
24217         removed.
24219 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
24221         * malloc/malloc.c (mi_arena): New function.
24222         (malloc_info): Remove nested function mi_arena. Call non-nosted
24223         function mi_arena.
24225 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24227         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
24228         by insrwi.
24229         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
24230         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
24231         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
24232         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
24233         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
24234         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
24235         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
24237 2014-05-26  Andreas Schwab  <schwab@suse.de>
24239         [BZ #16984]
24240         * locale/programs/repertoire.c (repertoire_read): Add slash
24241         between I18NPATH element and file name.
24242         * locale/programs/locfile.c (locfile_read): Likewise.
24244 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24246         * nptl/pthread_mutexattr_settype.c
24247         (__pthread_mutexattr_settype):
24248         Disable lock elision for PTHREAD_MUTEX_NORMAL.
24250 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24252         * nptl/tst-mutex5 (do_test):
24253         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
24255 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24257         * benchtests/README: Document 'init' directive.
24258         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
24259         BENCH_INIT.
24260         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
24261         (parse_file): Recognize 'init' directive.
24263 2014-05-26  Kyle McMartin  <kyle@redhat.com>
24265         [BZ #16796]
24266         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
24267         alignment of struct pthread.
24269 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24271         [BZ #16878]
24272         * nscd/netgroupcache.c (addgetnetgrentX): Look for
24273         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
24274         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
24275         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
24277 2014-05-25  Richard Henderson  <rth@twiddle.net>
24279         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24280         (SINGLE_THREAD_P_PIC): Remove.
24281         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
24282         (SINGLE_THREAD_P_PIC): Remove.
24284         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
24285         branch to syscall error ...
24286         (PSEUDO): ... here.
24287         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
24288         from __local_syscall_error to .Lsyscall_error.
24289         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
24290         (SYSCALL_ERROR): Update label name.
24292         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24293         Do not use DOARGS/UNDOARGS.
24294         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
24295         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
24296         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
24297         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
24298         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
24300         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
24301         block comment.
24303         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
24304         define if !NOT_IN_libc.
24305         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
24306         define with non-default symbol versions.
24308 2014-05-23  Richard Henderson  <rth@twiddle.net>
24310         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
24311         (vfork, __vfork): Define via compat_symbol.
24313         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
24314         [!HAVE_IFUNC] (vfork_compat): Remove.
24315         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
24317 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
24319         [BZ #16978]
24320         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
24321         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
24322         variable.
24324 2014-05-23  Richard Henderson  <rth@twiddle.net>
24326         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
24327         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
24328         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
24329         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
24331         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
24332         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
24333         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
24334         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
24335         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
24336         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
24337         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
24338         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
24339         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
24340         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
24341         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
24342         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
24343         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
24344         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
24345         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
24346         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
24347         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
24348         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
24349         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
24350         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
24351         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
24352         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
24353         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
24354         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
24355         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
24356         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
24357         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
24358         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
24359         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
24360         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
24361         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
24362         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
24363         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
24364         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
24365         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
24366         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
24367         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
24368         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
24369         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
24370         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
24371         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
24372         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
24373         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
24374         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
24375         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
24376         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
24377         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
24378         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
24379         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
24380         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
24381         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
24382         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
24383         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
24384         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
24385         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
24386         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
24388         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
24389         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
24390         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
24391         before exiting on error.
24392         (__libc_vfork): New strong alias.
24393         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
24394         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
24396         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
24397         that was previously under [RESET_PID].
24398         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
24400         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
24402 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
24404         [BZ #16977]
24405         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
24406         value when x - 1 is zero.
24407         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
24408         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
24409         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
24410         0.0L for an argument of 1.0L.
24411         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
24412         Likewise.
24413         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
24414         value when x - 1 is zero.
24415         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
24416         * sysdeps/i386/fpu/libm-test-ulps: Update.
24417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24419 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24421         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
24422         alphasort and versionsort.
24424 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24426         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
24427         macro.
24428         [copysignf]: Likewise.
24430 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24432         * crypt/md5-crypt.c: Fix formatting.
24434 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24436         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
24437         (b64_from_24bit): New function.
24439 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24441         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
24442         libc_hidden_builtin_def to ifunc.
24443         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
24444         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
24446 2014-05-21  Roland McGrath  <roland@hack.frob.com>
24448         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
24449         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
24451 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
24453         * nscd/Depend (linuxthreads): Remove.
24454         (nptl): Add.
24455         * resolv/Depend (linuxthreads): Remove.
24456         * rt/Depend (linuxthreads): Remove.
24458         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
24459         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
24460         $(common-objpfx)elf/.
24461         (link-libc-before-gnulib): Likewise.
24462         (elfobjdir): Remove variable.
24463         * Makefile (install): Use $(elf-objpfx) instead of
24464         $(common-objpfx)elf/.
24465         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
24466         $(elfobjdir)/.
24467         (link-libc-deps): Likewise.
24468         ($(common-objpfx)libc.so): Likewise.
24469         ($(common-objpfx)linkobj/libc.so): Likewise.
24470         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
24471         instead of $(common-objpfx)elf/.
24472         (symbolic-link-list): Likewise.
24473         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24474         [$(cross-compiling) = no]: Likewise.
24475         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
24476         $(elfobjdir)/.
24477         (static-gnulib-arch): Likewise.
24478         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24479         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
24480         $(common-objpfx)elf/.
24482 2014-05-21  Richard Henderson  <rth@redhat.com>
24484         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24485         (SINGLE_THREAD_P): Use the correct width load.  Fold
24486         into the ldr offset.
24488         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
24489         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
24491 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
24493         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
24494         (libgcc_s_resume): Use __attribute_used__.
24495         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
24496         Likewise.
24498 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24500         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
24501         optimization when used with float constants.
24503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24505 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
24507         [BZ #16915]
24508         * locale/nl_langinfo_l.c: Make direct reference to every
24509         _nl_current_CATEGORY symbol.
24510         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
24511         (tests-static): Add tst-langinfo-static.
24512         (tests-special): Add tst-langinfo-static.out.
24513         ($(objpfx)tst-langinfo.out): Redirect output.
24514         ($(objpfx)tst-langinfo-static.out): New.
24515         * localedata/tst-langinfo.sh: Send output to stdout.
24516         * localedata/tst-langinfo-static.c: New file.
24518         [BZ #16965]
24519         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
24520         when the shift amount is modulo the limb size.
24522 2014-05-20  Richard Henderson  <rth@redhat.com>
24524         [BZ #16967]
24525         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
24526         Change type of sa_flags from unsigned int to int.
24528         [BZ #16966]
24529         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
24531         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
24533 2014-05-20  Will Newton  <will.newton@linaro.org>
24535         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24536         Test the return value of the system call in the nocancel case.
24538 2014-05-20  Will Newton  <will.newton@linaro.org>
24539             Yvan Roux  <yvan.roux@linaro.org>
24541         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
24542         #include of asm/ptrace.h.
24543         (PTRACE_GET_THREAD_AREA): Remove #undef.
24544         (PTRACE_GETHBPREGS): Likewise.
24545         (PTRACE_SETHBPREGS): Likewise.
24546         (struct user_regs_struct): New structure.
24547         (struct user_fpsimd_struct): New structure.
24548         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
24549         #include of asm/ptrace.h and second #include of sys/user.h.
24550         (PTRACE_GET_THREAD_AREA): Remove #undef.
24551         (PTRACE_GETHBPREGS): Likewise.
24552         (PTRACE_SETHBPREGS): Likewise.
24553         (ELF_NGREG): Use new struct user_regs_struct.
24554         (elf_fpregset_t): Use new struct user_fpsimd_struct.
24556 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24558         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
24559         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
24561 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
24563         [BZ #16958]
24564         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
24565         membar to avoid block loads/stores to overlap previous stores.
24567 2014-05-17  Richard Henderson  <rth@redhat.com>
24569         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
24570         Create the __##syscall_name##_nocancel entry point.
24571         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
24572         Remove; let the sysdep-cancel.h code create it.
24574 2014-05-17  David S. Miller  <davem@davemloft.net>
24576         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
24577         Protect with __USE_GNU.
24578         (TIOCSET_TEMPT): Likewise.
24579         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24580         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
24581         these are already provided in bits/ioctl-types.h
24583 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24585         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
24586         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
24588         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
24589         Use wait4 regardless of [__NR_waitpid].
24591 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24593         PR libgcc/60166
24594         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24595         (_FP_NANSIGN_Q): Set the quiet bit.
24597 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
24599         * benchtests/Makefile
24600         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
24601         not $(common-objpfx)math/libm.so.
24602         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
24603         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
24604         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
24605         $(common-objpfx)dlfcn/libdl.so.
24606         ($(objpfx)tst-audit8): Depend on $(libm), not
24607         $(common-objpfx)math/libm.so.
24608         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
24609         not $(common-objpfx)dlfcn/libdl.so.
24610         * math/Makefile
24611         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24612         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
24613         [$(build-shared) = yes].
24614         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
24615         $(common-objpfx)nptl/libpthread.so.
24616         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
24617         $(common-objpfx)math/libm.so$(libm.so-version) or
24618         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
24619         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
24620         $(common-objpfx)dlfcn/libdl.so.
24621         * setjmp/Makefile (link-libm): Remove variable.
24622         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
24623         * stdio-common/Makefile (link-libm): Remove variable.
24624         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
24625         * stdlib/Makefile (link-libm): Remove variable.
24626         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
24627         ($(objpfx)tst-strtod-round): Likewise.
24628         ($(objpfx)tst-tininess): Likewise.
24629         ($(objpfx)tst-strtod-underflow): Likewise.
24630         ($(objpfx)tst-strtod6): Likewise.
24631         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
24632         $(libdl), not $(common-objpfx)nptl/libpthread.so and
24633         $(common-objpfx)dlfcn/libdl.so.
24635 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24637         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
24638         BSD terminal modes definitions.
24640 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24642         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
24643         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
24645         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
24646         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
24647         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
24648         Don't do #include_next.
24649         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
24650         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
24651         Don't do #include_next.
24652         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
24653         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
24654         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
24655         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
24657 2014-05-16  Allan McRae  <allan@archlinux.org>
24659         * po/sv.po: Update Swedish translation from translation project.
24661         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
24662         in sed expression.
24664 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
24666         [BZ #16917]
24667         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
24668         errno if the TIOCGPTN ioctl fails with an error different than
24669         EINVAL.
24670         * login/tst-ptsname.c: New file.
24671         * login/Makefile (tests): Add tst-ptsname.
24673         [BZ #16943]
24674         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
24675         and prlimit64.
24677 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24679         [BZ #16849]
24680         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
24681         herrno to return EAI_AGAIN.
24683 2014-05-14  Roland McGrath  <roland@hack.frob.com>
24685         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
24686         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
24687         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
24688         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
24689         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
24690         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
24691         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
24692         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
24693         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
24694         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
24695         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
24696         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
24697         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
24698         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
24699         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
24700         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
24701         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
24702         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
24703         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
24704         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
24705         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
24706         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
24707         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
24708         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
24709         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
24710         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
24711         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
24712         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
24713         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
24714         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
24715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
24716         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
24717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
24718         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
24719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24720         Moved ...
24721         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
24722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
24723         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
24724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
24725         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
24726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
24727         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
24728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
24729         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
24730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
24731         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
24732         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
24733         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
24734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
24735         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
24736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
24737         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
24738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
24739         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
24740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
24741         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
24742         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
24743         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
24744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
24745         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
24746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
24747         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
24748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24749         Moved ...
24750         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
24751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
24752         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
24753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
24754         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
24755         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
24756         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
24757         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
24758         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
24759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
24760         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
24761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
24762         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
24763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
24764         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
24765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
24766         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
24767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
24768         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
24769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24770         Moved ...
24771         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
24772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
24773         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
24775         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
24776         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
24777         (libpthread-sysdep_routines): Add elision-related stuff here instead.
24778         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
24779         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
24780         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
24781         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
24782         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
24783         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
24784         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
24785         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
24786         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
24787         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
24788         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
24789         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
24790         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
24791         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
24792         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
24793         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
24794         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
24795         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
24796         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
24797         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
24798         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
24799         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
24800         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
24801         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
24802         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
24803         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
24804         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
24805         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
24807         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
24808         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
24810         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
24811         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
24812         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
24813         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
24814         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
24815         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
24816         Moved ...
24817         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
24818         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24819         Moved ...
24820         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
24821         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24822         Moved ...
24823         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
24824         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
24825         Moved ...
24826         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
24827         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
24828         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
24829         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24830         Moved ...
24831         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
24832         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
24833         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
24834         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
24835         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
24836         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
24837         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
24838         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24839         Moved ...
24840         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
24841         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24842         Moved ...
24843         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24844         ... here.
24845         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
24846         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
24847         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
24848         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
24849         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24850         Moved ...
24851         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24852         ... here.
24853         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
24854         Moved ...
24855         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
24856         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
24857         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
24858         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
24859         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
24860         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
24861         Moved ...
24862         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
24863         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24864         Moved ...
24865         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
24866         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24867         Moved ...
24868         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
24869         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
24870         Moved ...
24871         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
24872         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
24873         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
24874         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
24875         Moved ...
24876         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
24877         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
24878         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
24879         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
24880         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
24881         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
24882         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
24883         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24884         Moved ...
24885         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
24886         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24887         Moved ...
24888         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24889         ... here.
24890         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
24891         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
24892         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
24893         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
24894         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24895         Moved ...
24896         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24897         ... here.
24898         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
24899         Moved ...
24900         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
24901         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
24902         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
24903         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
24904         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
24905         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
24906         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
24907         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
24908         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
24909         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
24910         Moved ...
24911         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
24912         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24913         Moved ...
24914         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
24915         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24916         Moved ...
24917         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
24918         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
24919         Moved ...
24920         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
24921         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
24922         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
24923         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
24924         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
24925         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24926         Moved ...
24927         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
24928         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
24929         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
24930         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
24931         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
24932         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
24933         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
24934         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24935         Moved ...
24936         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
24937         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24938         Moved ...
24939         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24940         ... here.
24941         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
24942         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
24943         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
24944         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
24945         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24946         Moved ...
24947         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24948         ... here.
24949         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
24950         Moved ...
24951         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
24952         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
24953         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
24954         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
24955         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
24956         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
24957         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
24958         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
24959         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
24960         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
24961         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
24963         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
24964         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
24966         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
24967         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
24969         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
24970         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
24971         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
24972         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
24973         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
24974         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
24975         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
24976         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
24977         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
24978         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
24979         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
24980         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
24981         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
24982         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
24983         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
24984         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
24985         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
24986         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
24987         Moved ...
24988         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
24989         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
24990         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
24991         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
24992         Moved ...
24993         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
24994         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
24995         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
24996         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
24997         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
24998         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
24999         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
25000         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
25001         Moved ...
25002         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
25003         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
25004         Moved ...
25005         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
25006         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
25007         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
25008         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
25009         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
25010         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
25011         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
25012         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
25013         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
25014         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
25015         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
25016         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
25017         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
25018         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
25019         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
25020         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
25021         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
25023         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
25024         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
25025         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
25026         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
25027         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
25029         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
25030         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
25031         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
25032         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
25033         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
25034         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
25035         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
25036         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
25037         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
25038         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
25040         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
25041         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
25043         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
25044         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
25045         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
25046         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
25047         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
25048         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
25049         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
25050         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
25051         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
25052         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
25053         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
25054         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
25055         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
25056         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
25057         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
25058         Update #include.
25059         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
25060         Likewise.
25061         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25062         Likewise.
25063         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25064         Likewise.
25065         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25066         Likewise.
25067         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
25068         Likewise.
25069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
25070         Likewise.
25071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25072         Likewise.
25073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
25074         Likewise.
25075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
25076         Likewise.
25077         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
25078         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
25079         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
25080         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
25081         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
25082         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
25083         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
25084         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
25085         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
25086         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
25087         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
25088         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
25089         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
25090         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
25091         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
25093         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
25094         that was previously under [RESET_PID].
25095         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25096         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
25097         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
25099         * sysdeps/i386/nptl/Implies: New file.
25100         * sysdeps/x86_64/nptl/Implies: New file.
25101         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
25102         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
25103         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
25104         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
25106         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
25107         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25108         (__libc_vfork): New strong alias.
25109         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
25110         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
25112         * sysdeps/unix/sysv/linux/x86_64/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/x86_64/vfork.S: File removed.
25116         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
25118         * sysdeps/unix/sysv/linux/arm/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         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
25122         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
25123         * nptl/pt-vfork.c: New file.
25124         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
25125         (libpthread: GLIBC_2.20): New version set (empty).
25127 2014-05-14  Will Newton  <will.newton@linaro.org>
25129         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
25130         rather than #if.
25132 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
25134         [BZ #16564]
25135         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
25136         arguments with exponent 65 or above.
25137         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
25138         arguments 0x1p113L or above.
25139         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
25140         to arguments 0x1p107L or above.
25141         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
25142         positive arguments with exponent 65 or above.
25143         * math/auto-libm-test-in: Add more tests of log1p.
25144         * math/auto-libm-test-out: Regenerated.
25146         [BZ #16928]
25147         * math/s_cacos.c (__cacos): Ensure zero real part of result from
25148         non-finite arguments is +0.
25149         * math/s_cacosf.c (__cacosf): Likewise.
25150         * math/s_cacosl.c (__cacosl): Likewise.
25151         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
25152         * sysdeps/i386/fpu/libm-test-ulps: Update.
25153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25155         [BZ #16927]
25156         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
25157         value.
25158         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
25159         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
25160         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
25161         for explicit high bit of mantissa when testing for argument equal
25162         to 1.
25163         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
25164         * sysdeps/i386/fpu/libm-test-ulps: Update.
25165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25167         [BZ #16516]
25168         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
25169         (__erf): Scale by 16 instead of 8 in potentially underflowing
25170         case.  Ensure exception if result actually underflows.
25171         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
25172         (__erff): Scale by 16 instead of 8 in potentially underflowing
25173         case.  Ensure exception if result actually underflows.
25174         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
25175         (efx8): Remove variable.
25176         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25177         case.  Ensure exception if result actually underflows.
25178         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
25179         (efx8): Remove variable.
25180         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25181         case.  Ensure exception if result actually underflows.
25182         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
25183         (efx8): Remove variable.
25184         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25185         case.  Ensure exception if result actually underflows.
25186         * math/auto-libm-test-in: Add more tests of erf.
25187         * math/auto-libm-test-out: Regenerated.
25189 2014-05-14  Andreas Schwab  <schwab@suse.de>
25191         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
25192         Remove code conditionalized on USE___THREAD.
25194         * config.h.in (HAVE_PT_CHOWN): Define as 0.
25195         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
25196         not definedness.
25198 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
25200         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
25201         Define unconditionally.
25202         (__ASSUME_O_CLOEXEC): Likewise.
25203         (__ASSUME_SOCK_CLOEXEC): Likewise.
25204         (__ASSUME_IN_NONBLOCK): Likewise.
25205         (__ASSUME_PIPE2): Likewise.
25206         (__ASSUME_EVENTFD2): Likewise.
25207         (__ASSUME_SIGNALFD4): Likewise.
25208         (__ASSUME_DUP3): Likewise.
25209         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25210         (__ASSUME_DUP3): Do not define.
25211         (__ASSUME_EVENTFD2): Likewise.
25212         (__ASSUME_IN_NONBLOCK): Likewise.
25213         (__ASSUME_O_CLOEXEC): Likewise.
25214         (__ASSUME_PIPE2): Likewise.
25215         (__ASSUME_SIGNALFD4): Likewise.
25216         (__ASSUME_SOCK_CLOEXEC): Likewise.
25217         (__ASSUME_UTIMES): Undefine.
25218         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25219         (__ASSUME_UTIMES): Do not define.
25220         (__ASSUME_O_CLOEXEC): Likewise.
25221         (__ASSUME_SOCK_CLOEXEC): Likewise.
25222         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
25223         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
25224         0x020621].
25225         (__ASSUME_PIPE2): Likewise.
25226         (__ASSUME_EVENTFD2): Likewise.
25227         (__ASSUME_SIGNALFD4): Likewise.
25228         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
25229         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
25230         Do not define.
25231         (__ASSUME_EVENTFD2): Likewise.
25232         (__ASSUME_SIGNALFD4): Likewise.
25233         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25234         (__ASSUME_32BITUIDS): Likewise.
25235         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
25236         (__ASSUME_IPC64): Likewise.
25237         (__ASSUME_ST_INO_64_BIT): Likewise.
25238         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
25239         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
25240         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25241         (__ASSUME_UTIMES): Do not define.
25242         (__ASSUME_PSELECT): Likewise.
25243         (__ASSUME_PPOLL): Likewise.
25244         (__ASSUME_O_CLOEXEC): Likewise.
25245         (__ASSUME_SOCK_CLOEXEC): Likewise.
25246         (__ASSUME_IN_NONBLOCK): Likewise.
25247         (__ASSUME_PIPE2): Likewise.
25248         (__ASSUME_EVENTFD2): Likewise.
25249         (__ASSUME_SIGNALFD4): Likewise.
25250         (__ASSUME_DUP3): Likewise.
25251         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25252         (__ASSUME_UTIMES): Likewise.
25253         (__ASSUME_O_CLOEXEC): Likewise.
25254         (__ASSUME_SOCK_CLOEXEC): Likewise.
25255         (__ASSUME_IN_NONBLOCK): Likewise.
25256         (__ASSUME_PIPE2): Likewise.
25257         (__ASSUME_EVENTFD2): Likewise.
25258         (__ASSUME_SIGNALFD4): Likewise.
25259         (__ASSUME_DUP3): Likewise.
25260         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25261         (__ASSUME_UTIMES): Likewise.
25262         (__ASSUME_O_CLOEXEC): Likewise.
25263         (__ASSUME_SOCK_CLOEXEC): Likewise.
25264         (__ASSUME_IN_NONBLOCK): Likewise.
25265         (__ASSUME_PIPE2): Likewise.
25266         (__ASSUME_EVENTFD2): Likewise.
25267         (__ASSUME_SIGNALFD4): Likewise.
25268         (__ASSUME_DUP3): Likewise.
25269         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
25270         Likewise.
25271         (__ASSUME_UTIMES): Likewise.
25272         (__ASSUME_EVENTFD2): Likewise.
25273         (__ASSUME_SIGNALFD4): Likewise.
25274         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25275         (__ASSUME_O_CLOEXEC): Likewise.
25276         (__ASSUME_SOCK_CLOEXEC): Likewise.
25277         (__ASSUME_IN_NONBLOCK): Likewise.
25278         (__ASSUME_PIPE2): Likewise.
25279         (__ASSUME_EVENTFD2): Likewise.
25280         (__ASSUME_SIGNALFD4): Likewise.
25281         (__ASSUME_DUP3): Likewise.
25282         (__ASSUME_UTIMES): Undefine.
25284         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
25285         feclearexcept.  Remove symbol versioning code.
25286         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
25287         symbol versioning code.
25288         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
25289         symbol versioning code.
25290         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
25291         feupdateenv.  Remove symbol versioning code.
25292         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
25293         fegetexceptflag.  Remove symbol versioning code.
25294         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
25295         fesetexceptflag.  Remove symbol versioning code.
25296         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
25297         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
25298         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
25299         (__posix_fadvise64_l32): Remove prototype.
25300         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
25301         code.
25303 2014-05-13  Roland McGrath  <roland@hack.frob.com>
25305         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
25306         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
25307         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
25308         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
25310 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
25312         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
25313         current working directory
25315 2014-05-13  Roland McGrath  <roland@hack.frob.com>
25317         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
25318         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
25319         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
25320         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
25321         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
25322         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
25323         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
25324         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
25325         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
25326         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
25327         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
25328         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
25329         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
25330         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
25331         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
25332         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
25333         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
25334         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
25335         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
25336         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
25337         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
25338         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
25339         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
25340         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
25341         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
25342         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
25343         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
25344         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
25345         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
25346         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
25347         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
25348         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
25349         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
25350         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
25351         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
25352         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
25353         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
25354         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
25355         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
25356         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
25357         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
25358         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
25360         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
25361         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
25363         * sysdeps/unix/sysv/linux/arm/Makefile
25364         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25365         Add rt-aeabi_unwind_cpp_pr1.
25366         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
25367         Add nptl-aeabi_unwind_cpp_pr1.
25368         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
25369         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
25370         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
25371         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25372         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
25373         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25375         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
25376         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
25377         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
25378         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
25380         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
25381         Deconditionalize the code that was previously under [RESET_PID].
25382         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
25384         * sysdeps/generic/exit-thread.h: New file.
25385         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
25386         * include/unistd.h (__exit_thread): Remove declaration.
25387         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
25388         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
25389         * csu/libc-start.c: Include <exit-thread.h>.
25390         (LIBC_START_MAIN): Pass no argument to __exit_thread.
25391         * nptl/pthread_create.c: Include <exit-thread.h>.
25392         (start_thread): Call __exit_thread in place of __exit_thread_inline.
25393         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
25394         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
25395         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
25396         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
25397         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
25398         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
25399         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
25400         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
25401         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
25402         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
25403         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
25404         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
25405         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
25406         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
25407         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
25408         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
25410 2014-05-13  Andreas Schwab  <schwab@suse.de>
25412         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
25414 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
25416         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
25417         (__ASSUME_UTIMES): Do not condition on kernel version.
25418         (__ASSUME_PSELECT): Define unconditionally.
25419         (__ASSUME_PPOLL): Likewise.
25420         (__ASSUME_ATFCTS): Likewise.
25421         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
25422         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
25423         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
25424         (__ASSUME_UTIMENSAT): Define unconditionally.
25425         (__ASSUME_PRIVATE_FUTEX): Likewise.
25426         (__ASSUME_FALLOCATE): Likewise.
25427         (__ASSUME_O_CLOEXEC): Likewise.
25428         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
25429         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
25430         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
25431         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
25432         (__ASSUME_IN_NONBLOCK): Likewise.
25433         (__ASSUME_PIPE2): Likewise.
25434         (__ASSUME_EVENTFD2): Likewise.
25435         (__ASSUME_SIGNALFD4): Likewise.
25436         (__ASSUME_DUP3): Likewise.
25437         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25438         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
25439         (__ASSUME_AT_RANDOM): Likewise.
25440         (__ASSUME_PREADV): Likewise.
25441         (__ASSUME_PWRITEV): Likewise.
25442         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
25443         (__ASSUME_F_GETOWN_EX): Define unconditionally.
25444         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
25445         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25446         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
25447         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25448         (__ASSUME_O_CLOEXEC): Define unconditionally.
25449         (__ASSUME_PSELECT): Do not undefine conditionally.
25450         (__ASSUME_PPOLL): Likewise.
25451         (__ASSUME_ATFCTS): Likewise.
25452         (__ASSUME_SET_ROBUST_LIST): Likewise.
25453         (__ASSUME_UTIMENSAT): Likewise.
25454         (__ASSUME_FDATASYNC): Define unconditionally.
25455         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25456         (__ASSUME_SIGFRAME_V2): Likewise.
25457         )__ASSUME_EVENTFD2): Likewise.
25458         (__ASSUME_SIGNALFD4): Likewise.
25459         (__ASSUME_PSELECT): Do not undefine conditionally.
25460         (__ASSUME_PPOLL): Likewise.
25461         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25462         (__ASSUME_PSELECT): Define unconditionally.
25463         (__ASSUME_PPOLL): Likewise.
25464         (__ASSUME_O_CLOEXEC): Likewise.
25465         (__ASSUME_SOCK_CLOEXEC): Likewise.
25466         (__ASSUME_IN_NONBLOCK): Likewise.
25467         (__ASSUME_PIPE2): Likewise.
25468         (__ASSUME_EVENTFD2): Likewise.
25469         (__ASSUME_SIGNALFD4): Likewise.
25470         (__ASSUME_DUP3): Likewise.
25471         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25472         (__ASSUME_O_CLOEXEC): Likewise.
25473         (__ASSUME_SOCK_CLOEXEC): Likewise.
25474         (__ASSUME_IN_NONBLOCK): Likewise.
25475         (__ASSUME_PIPE2): Likewise.
25476         (__ASSUME_EVENTFD2): Likewise.
25477         (__ASSUME_SIGNALFD4): Likewise.
25478         (__ASSUME_DUP3): Likewise.
25479         * sysdeps/unix/sysv/linux/mips/kernel-features.h
25480         (__ASSUME_EVENTFD2): Likewise.
25481         (__ASSUME_SIGNALFD4): Likewise.
25482         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25484 2014-05-12  Andreas Schwab  <schwab@suse.de>
25486         [BZ #16932]
25487         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
25488         (_nss_nis_gethostbyname4_r): Return error if item length is larger
25489         than maximum RPC packet size.
25490         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
25491         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
25492         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
25493         (_nss_nis_getservbyport_r): Likewise.
25495 2014-05-12  Will Newton  <will.newton@linaro.org>
25497         * malloc/Makefile (tests): Add tst-mallopt.
25498         * malloc/tst-mallopt.c: New file.
25500 2014-05-09  Roland McGrath  <roland@hack.frob.com>
25502         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
25503         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
25505 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25507         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
25508         (tst-tlsmod6.so): Likewise.
25510 2014-05-09  Roland McGrath  <roland@hack.frob.com>
25512         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
25514 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
25516         [BZ #16064]
25517         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
25518         and <dl-procinfo.h>.
25519         (__fegetenv): Save SSE state in envp->__eip if supported.
25520         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
25521         envp->__eip if supported.
25522         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
25523         and <dl-procinfo.h>.
25524         (__fesetenv): Always set __eip, __cs_selector, __opcode,
25525         __data_offset and __data_selector in environment to 0.  Set SSE
25526         state if supported.
25527         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25528         test-fenv-sse.
25529         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
25530         -mfpmath=sse.
25531         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
25533 2014-05-09  Will Newton  <will.newton@linaro.org>
25535         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
25536         and libc_relro_required for ARM.
25537         * sysdeps/arm/preconfigure: Regenerate.
25539 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
25540             Stefan Liebler  <stli@linux.vnet.ibm.com>
25542         * config.make.in (enable-lock-elision): New Makefile variable.
25543         * configure.ac: Likewise.
25544         * configure: Regenerate.
25545         * sysdeps/s390/configure.ac:
25546         Add check for gcc transactions support.
25547         * sysdeps/s390/configure: Regenerate.
25548         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
25549         Build elision files if enabled.
25550         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
25551         Add lock elision support for s390.
25552         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25553         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
25554         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
25555         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
25556         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
25557         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25558         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
25559         Likewise.
25560         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
25561         Likewise.
25562         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
25563         Likewise.
25564         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
25565         Likewise.
25566         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
25567         (__lll_timedlock_elision, __lll_lock_elision)
25568         (__lll_unlock_elision, __lll_trylock_elision)
25569         (lll_timedlock_elision, lll_lock_elision)
25570         (lll_unlock_elision, lll_trylock_elision): Add.
25571         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25572         (pthread_mutex_t): Add lock elision support for s390.
25574 2014-05-14  Wilco  <wdijkstr@arm.com>
25576         * sysdeps/arm/fclrexcpt.c: Cleanup.
25577         * sysdeps/arm/fedisblxcpt.c: Cleanup.
25578         * sysdeps/arm/feenablxcpt.c: Cleanup.
25579         * sysdeps/arm/fegetenv.c: Cleanup.
25580         * sysdeps/arm/fegetexcept.c: Cleanup.
25581         * sysdeps/arm/fegetround.c: Cleanup.
25582         * sysdeps/arm/feholdexcpt.c: Cleanup.
25583         * sysdeps/arm/fesetenv.c: Cleanup.
25584         * sysdeps/arm/fesetround.c: Cleanup.
25585         * sysdeps/arm/feupdateenv.c: Cleanup.
25586         * sysdeps/arm/fgetexcptflg.c: Cleanup.
25587         * sysdeps/arm/fraiseexcpt.c: Cleanup.
25588         * sysdeps/arm/fsetexcptflg.c: Cleanup.
25589         * sysdeps/arm/ftestexcept.c: Cleanup.
25590         * sysdeps/arm/get-rounding-mode.h: Cleanup.
25591         * sysdeps/arm/setfpucw.c: Cleanup.
25593 2014-05-09  Will Newton  <will.newton@linaro.org>
25595         * sysdeps/arm/armv7/strcmp.S: New file.
25596         * NEWS: Mention addition of ARMv7 optimized strcmp.
25598 2014-05-08  Roland McGrath  <roland@hack.frob.com>
25600         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
25601         look for %.ac rather than %.in.
25603         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
25604         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
25605         * sysdeps/mach/hurd/configure: Regenerated.
25606         * sysdeps/unix/sysv/linux/configure: Regenerated.
25608         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
25610 2014-05-07  Steve Ellcey  <sellcey@mips.com>
25612         [BZ# 16922]
25613         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
25614         (LONG_SUB): Ditto.
25615         (PTR_SUB): Ditto.
25617 2014-05-07  Andreas Schwab  <schwab@suse.de>
25619         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
25620         when skipping over non-matching result from nscd.
25622 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
25624         [BZ #16876]
25625         * nptl/sockperf.c (client): Check socket return value.
25627         [BZ #16877]
25628         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
25629         nscd security class.
25631 2014-05-06  Roland McGrath  <roland@hack.frob.com>
25633         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
25634         * sysdeps/arm/unwind.h: ... here.
25636 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
25638         [BZ# 16916]
25639         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
25640         Define.
25642 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25644         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
25645         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
25646         multiarch strncpy for PPC64.
25647         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
25648         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
25649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
25650         multiarch optimizations.
25651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25652         (__libc_ifunc_impl_list): Likewise.
25653         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
25654         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
25655         multiarch stpncpy for PPC64.
25656         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
25657         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
25659 2014-05-06  Andreas Schwab  <schwab@suse.de>
25661         [BZ #16912]
25662         * gmon/mcount.c (_MCOUNT_DECL): Use
25663         atomic_compare_and_exchange_bool_acq instead of
25664         catomic_compare_and_exchange_bool_acq.
25666 2014-05-05  Roland McGrath  <roland@hack.frob.com>
25668         * elf/Makefile (others, install-bin): Remove pldd.
25669         (pldd-modules): Variable removed.
25670         ($(objpfx)pldd): Target removed.
25671         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
25672         (others, install-bin): Append pldd here.
25673         ($(objpfx)pldd): New target.
25675         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
25676         to 0, so the first #if test emitted later doesn't see it undefined.
25677         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
25678         * sysdeps/gnu/errlist.c: Regenerated.
25680 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25682         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25683         [libc_hidden_builtin_def]: Define to empty value.
25684         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
25685         [libc_hidden_builtin_def]: Likewise.
25686         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
25687         [libc_hidden_builtin_def]: Likewise.
25688         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
25689         [libc_hidden_builtin_def]: Likewise.
25690         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
25691         __redirect_memcpy and define ifunc as default hidden symbol.
25692         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
25693         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
25695 2014-05-04  Adam Conrad  <adconrad@0c3.net>
25697         * locale/iso-4217.def: Reintroduce XDR currency.
25699 2014-05-04  Allan McRae  <allan@archlinux.org>
25701         * po/eo.po: Update Esperanto translation from translation project.
25703 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
25705         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
25706         and FEATURE_INDEX_MAX to 1.
25707         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
25709 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25711         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
25712         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
25713         * iconvdata/big5.c (ONE_DIRECTION): Define.
25714         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
25715         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
25716         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
25717         * iconvdata/cp932.c (ONE_DIRECTION): Define.
25718         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
25719         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
25720         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
25721         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
25722         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
25723         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
25724         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
25725         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
25726         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
25727         * iconvdata/gbk.c (ONE_DIRECTION): Define.
25728         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
25729         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
25730         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
25731         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
25732         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
25733         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
25734         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
25735         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
25736         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
25737         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
25738         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
25739         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
25740         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
25741         * iconvdata/iso646.c (ONE_DIRECTION): Define.
25742         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
25743         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
25744         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
25745         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
25746         * iconvdata/johab.c (ONE_DIRECTION): Define.
25747         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
25748         * iconvdata/sjis.c (ONE_DIRECTION): Define.
25749         * iconvdata/t.61.c (ONE_DIRECTION): Define.
25750         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
25751         * iconvdata/tscii.c (ONE_DIRECTION): Define.
25752         * iconvdata/uhc.c (ONE_DIRECTION): Define.
25753         * iconvdata/unicode.c (ONE_DIRECTION): Define.
25754         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
25755         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
25756         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
25758 2014-05-01  Roland McGrath  <roland@hack.frob.com>
25760         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
25761         (_IO_JUMPS_OFFSET): Define to 0.
25763         * nptl/sysdeps/pthread/bits/libc-lock.h
25764         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25765         (__libc_lock_define_initialized_recursive): Always define using
25766         initializer.  Modern compilers treat uninitialized (implicit zero) and
25767         explicit zero initializers the same (i.e. put the datum in bss).
25769 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25771         * nscd/nscd-client.h: Include <string.h>.
25773 2014-05-01  David S. Miller  <davem@davemloft.net>
25775         [BZ #16885]
25776         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
25777         multiple zero bytes exist at the end of a string.
25778         Reported by Aurelien Jarno <aurelien@aurel32.net>
25780         * string/test-strcmp.c (check): Add explicit test for situations where
25781         there are multiple zero bytes after the first.
25783 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25785         [BZ #16890]
25786         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
25787         when compiling wprintf.
25788         * stdio-common/tstdiomisc.c (t3): New function.
25789         (main): Call it.
25791 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25793         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
25794         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
25795         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
25796         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
25798 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25800         * stdlib/longlong.h: Updated from GCC.
25802 2014-05-01  Will Newton  <will.newton@linaro.org>
25803             Bernard Ogden  <bernie.ogden@linaro.org>
25805         * NEWS: Update fixed bug list.
25807         [BZ #15119]
25808         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
25810 2014-04-30  David S. Miller  <davem@davemloft.net>
25812         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
25813         (libc_feholdexcept_setround_sparc_ctx): New function.
25814         (libc_fesetenv_sparc_ctx): Likewise.
25815         (libc_feupdateenv_sparc_ctx): Likewise.
25816         (libc_feholdsetround_sparc_ctx): Likewise.
25817         (libc_feholdexcept_setround_ctx): Define.
25818         (libc_feholdexcept_setroundf_ctx): Likewise.
25819         (libc_feholdexcept_setroundl_ctx): Likewise.
25820         (libc_fesetenv_ctx): Likewise.
25821         (libc_fesetenvf_ctx): Likewise.
25822         (libc_fesetenvl_ctx): Likewise.
25823         (libc_feupdateenv_ctx): Likewise.
25824         (libc_feupdateenvf_ctx): Likewise.
25825         (libc_feupdateenvl_ctx): Likewise.
25826         (libc_feresetround_ctx): Likewise.
25827         (libc_feresetroundf_ctx): Likewise.
25828         (libc_feresetroundl_ctx): Likewise.
25829         (libc_feholdsetround_ctx): Likewise.
25830         (libc_feholdsetroundf_ctx): Likewise.
25831         (libc_feholdsetroundl_ctx): Likewise.
25833         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25834         with __USE_GNU instead of XOPEN cpp guards.
25836         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
25837         0.
25839         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25840         with XOPEN cpp guards.
25842 2014-04-30  Julian Brown  <julian@codesourcery.com>
25844         [BZ #16888]
25845         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
25846         handling.
25848 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
25850         [BZ #9894]
25851         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
25852         Change to 2.6.32.
25853         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
25854         * sysdeps/unix/sysv/linux/configure: Regenerated.
25855         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
25856         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
25857         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
25858         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
25859         * README: Update reference to required Linux kernel version.
25860         * manual/install.texi (Linux): Update reference to required Linux
25861         kernel headers version.
25862         * INSTALL: Regenerated.
25864         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
25865         header inclusion.
25866         [POSIX] (limits.h): Likewise.
25867         [POSIX] (math.h): Likewise.
25868         [POSIX] (sys/wait.h): Likewise.
25869         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
25870         function.
25871         [POSIX] (stddef.h): Do not allow header inclusion.
25873 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25875         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
25877 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
25879         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25880         Return immediately after lll_futex_wake.
25882 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25884         [BZ #16791]
25885         * nscd/nscd-client.h (datahead_init_common): Initialize entire
25886         structure.
25887         (datahead_init_pos): Call datahead_init_common early.
25888         (datahead_init_neg): Likewise.
25890         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
25891         datahead_init_neg): New functions.
25892         * nscd/aicache.c (addhstaiX): Use them.
25893         * nscd/grpcache.c (cache_addgr): Likewise.
25894         * nscd/hstcache.c (cache_addhst): Likewise.
25895         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25896         * nscd/netgroupcache.c (do_notfound): Likewise.
25897         (addgetnetgrentX): Likewise.
25898         (addinnetgrX): Likewise.
25899         * nscd/pwdcache.c (cache_addpw): Likewise.
25900         * nscd/servicescache.c (cache_addserv): Likewise.
25902 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25903             Atsushi Onoe  <atsushi@onoe.org>
25905         [BZ #14308]
25906         [BZ #12994]
25907         [BZ #13651]
25908         * resolv/res_query.c (__libc_res_nsearch): Return if at least
25909         one response is valid.
25910         * resolv/res_send.c (send_dg): Check for validity of other
25911         response if the current response is a referral.
25913 2014-04-29  Steve Ellcey  <sellcey@mips.com>
25915         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
25917 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
25919         [BZ #16823]
25920         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
25921         Always divide by positive zero when computing -Inf result.
25922         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25923         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
25925 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25927         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
25928         FPSCR if value do not change.
25929         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
25930         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
25931         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25932         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25933         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
25934         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
25935         function.
25937 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
25939         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
25940         * sysdeps/unix/sysv/linux/hppa: Move directory from
25941         ports/systeps/unix/sysv/linux/hppa.
25942         * README: Update listing for hppa-*-linux-gnu.
25944 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
25946         [BZ #16754]
25947         * manual/stdio.texi (Hook functions): Fix types of stream hook
25948         functions.
25949         [BZ #16854]
25950         * socket/sys/socket.h: Fix typo in comment.
25952 2014-04-28  Wilco  <wdijkstr@arm.com>
25954         * sysdeps/arm/fenv_private.h: New file.
25955         * sysdeps/arm/math_private.h: New file.
25956         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
25958 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
25960         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
25961         with __int128_t.
25962         (La_x86_64_retval): Likewise.
25964 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
25966         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
25967         fpsr if value didn't change.
25968         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
25969         to fpcr if value didn't change.
25970         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
25971         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
25972         fpsr or fpcr if value didn't change.
25973         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25974         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
25975         fpcr if value didn't change.
25976         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
25977         to fpsr if value didn't change.
25979 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25981         * nptl/tst-sem3.c: Use test-skeleton.c
25982         (main): Rename to do_test.  Use return instead of
25983         exit.
25984         * nptl/tst-sem4.c: Use test-skeleton.c
25985         (main): Rename to do_test.
25987 2014-04-22  David S. Miller  <davem@davemloft.net>
25989         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
25990         (struct sigaction): New struct member __glibc_reserved0, change
25991         type of sa_flags to int.
25993 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
25995         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
25996         (COUNT_LEADING_ZEROS_0): Define for AArch64.
25998 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26000         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
26001         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
26003 2014-04-22  Will Newton  <will.newton@linaro.org>
26004             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
26006         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
26007         (__longjmp): Add longjmp and longjmp_target SystemTap
26008         probes.
26009         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
26010         (__sigsetjmp): Add setjmp SystemTap probe.
26012 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
26014         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
26015         match manual order.
26017 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26019         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
26021         * sysdeps/powerpc/fpu/fenv_private.h
26022         (libc_feholdexcept_setroundl_ctx): Define to
26023         libc_feholdexcept_setround_ppc_ctx.
26024         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
26025         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
26026         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
26027         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
26029 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
26031         * sysdeps/aarch64/math-tests.h: New file.
26033 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
26035         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
26036         New.
26037         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26038         Check and set bit_AVX2_Usable.
26039         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
26040         macro.
26041         (bit_AVX2): Likewise.
26042         (index_AVX2_Usable): Likewise.
26043         (CPUID_AVX2): Likewise.
26044         (HAS_AVX2): Likewise.
26046 2014-04-17  Will Newton  <will.newton@linaro.org>
26048         * manual/setjmp.texi (System V contexts): Add note that
26049         calling setcontext on a context created by a call to a
26050         signal handler is undefined.  Update text to note that
26051         setcontext from a signal handler is possible but not
26052         recommended.
26054         [BZ #16629]
26055         * stdlib/tst-setcontext.c: Include signal.h.
26056         (main): Check that the signal stack before and
26057         after swapcontext is the same.
26059         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
26060         Re-implement to restore registers in user code and avoid
26061         rt_sigreturn system call.
26063 2014-04-17  Wilco  <wdijkstr@arm.com>
26065         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
26066         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
26067         * math/test-fenv.c: Skip exception trap tests on targets which only
26068         support non-stop mode.
26070 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
26071             Wilco Dijkstra  <wilco.dijkstra@arm.com>
26073         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
26074         (libc_feholdsetround_aarch64_ctx)
26075         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
26076         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
26077         (libc_feresetround_ctx, libc_feresetroundf_ctx)
26078         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
26079         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
26080         (libc_feresetround_noexl_ctx): Define.
26082 2014-04-16  Richard Henderson  <rth@redhat.com>
26084         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
26086         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
26087         unwind tables.
26089         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
26090         const from the non-libc, non-ldso copy.
26092         * sysdeps/alpha/libm-test-ulps: Regenerate.
26094 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
26095             Wilco Dijkstra  <wilco.dijkstra@arm.com>
26097         * sysdeps/aarch64/fpu/math_private.h: New file.
26099 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26101         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26103 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
26105         [BZ #16275]
26106         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
26107         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
26108         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
26109         Intel MPX bound registers before _dl_profile_fixup.
26110         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
26111         registers after _dl_profile_fixup.  Save and restore bound
26112         registers bnd0/bnd1 when calling _dl_call_pltexit.
26113         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
26114         (LR_BND_OFFSET): Likewise.
26115         (LRV_BND0_OFFSET): Likewise.
26116         (LRV_BND1_OFFSET): Likewise.
26118 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26120         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
26121         to...
26122         * sysdeps/mach/hurd/i386/tls.h: ... here.
26123         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
26124         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
26125         fields.
26127 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26129         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
26131 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26133         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26135 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26137         [BZ #14770]
26138         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
26139         * sysdeps/s390/configure: Regenerate.
26141         [BZ #16824]
26142         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
26143         Set round-to-nearest internally to reduce error accumulation.
26145 2014-04-16  Alan Modra  <amodra@gmail.com>
26147         [BZ #16740]
26148         [BZ #16619]
26149         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
26150         * math/libm-test.inc (frexp_test_data): Add tests.
26151         * NEWS: Update fixed bug list.
26153 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26155         * benchtests/Makefile: Depend on libraries in build directory.
26156         (bench-math): Separate out math tests.
26157         (bench-pthread): Separate out pthread tests.
26158         (bench): Include math and pthread tests.
26160 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
26162         [BZ #16831]
26163         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
26164         _dl_debug_initialize.
26166         * configure.ac: Remove SELinux header check.
26167         * configure: Regenerate.
26168         * nscd/selinux.c (perms): Array of const char* to permission names.
26169         (nscd_request_avc_has_perm): Call security_deny_unknown to find
26170         default policy. Call string_to_security_class and string_to_av_perm to
26171         translate strings. Enforce default policy and call avs_has_perm with
26172         results of translated strings.
26174 2014-04-13  David S. Miller  <davem@davemloft.net>
26176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26178 2014-04-12  Allan McRae  <allan@archlinux.org>
26180         [BZ #16838]
26181         * manual/string.texi (Collation Functions): Fix qsort argument
26182         order in example.
26183         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26185 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
26187         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
26188         Make the test a no-op if there are no exceptions defined.
26190 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26192         * elf/Makefile (tests): make tst-dlopen-aout conditional on
26193         enable-hardcoded-path-in-tests
26195 2014-04-11  Will Newton  <will.newton@linaro.org>
26197         * benchtests/Makefile (extra-objs): Add json-lib.o.
26198         (bench-func): Tidy up JSON output.
26199         * benchtests/bench-skeleton.c: Include json-lib.h.
26200         (main): Use JSON library functions to do output of
26201         benchmark results.
26202         * benchtests/bench-timing-type.c (main): Output the
26203         timing type simply, leaving formatting to the user.
26204         * benchtests/json-lib.c: New file.
26205         * benchtests/json-lib.h: Likewise.
26207 2014-04-11  Torvald Riegel  <triegel@redhat.com>
26209         [BZ #15215]
26210         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
26211         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
26212         memory barriers.  Add comments.
26213         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
26214         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
26215         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
26216         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
26217         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
26218         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
26220 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26222         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
26223         * sysdeps/s390/s390-64/configure.ac: ... this ...
26224         * sysdeps/s390/configure.ac: ... to here.
26225         * sysdeps/s390/s390-32/configure: Delete file.
26226         * sysdeps/s390/s390-64/configure: Delete file.
26227         * sysdeps/s390/configure: Regenerate.
26229 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
26231         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
26233 2014-04-11  Will Newton  <will.newton@linaro.org>
26235         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
26236         to zero if it is not defined elsewhere.  (mtrim): Test
26237         the value of MALLOC_DEBUG with #if rather than #ifdef.
26239 2014-04-10 Torvald Riegel  <triegel@redhat.com>
26241         * benchtests/pthread_once-inputs: New file.
26242         * benchtests/pthread_once-source.c: New file.
26243         * benchtests/README: Update documentation.
26245 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
26246             H.J. Lu  <hongjiu.lu@intel.com>
26248         [BZ #16275]
26249         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
26250         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
26251         * sysdeps/x86_64/configure: Regenerated.
26252         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
26253         macro.
26254         (REGISTER_SAVE_RAX): Likewise.
26255         (REGISTER_SAVE_RCX): Likewise.
26256         (REGISTER_SAVE_RDX): Likewise.
26257         (REGISTER_SAVE_RSI): Likewise.
26258         (REGISTER_SAVE_RDI): Likewise.
26259         (REGISTER_SAVE_R8): Likewise.
26260         (REGISTER_SAVE_R9): Likewise.
26261         (REGISTER_SAVE_BND0): Likewise.
26262         (REGISTER_SAVE_BND1): Likewise.
26263         (REGISTER_SAVE_BND2): Likewise.
26264         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
26265         bound registers when calling _dl_fixup.
26267 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26269         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
26270         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
26271         of its definition.
26272         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
26273         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
26274         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
26275         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
26276         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
26277         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
26278         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
26280 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
26282         [BZ #15514]
26283         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
26284         pathconf(_PC_NAME_MAX).
26286 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26288         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
26289         Remove macro usage.
26290         (__PTHREAD_SPINS): Move definition to ...
26291         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26292         (__PTHREAD_SPINS): ... here.
26293         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26294         (__PTHREAD_SPIN): Likewise.
26295         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
26296         (__PTHREAD_SPIN): Likewise.
26297         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
26298         (__PTHREAD_SPIN): Likewise.
26299         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
26300         (__PTHREAD_SPIN): Likewise.
26301         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26302         (__PTHREAD_SPIN): Likewise.
26303         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26304         (__PTHREAD_SPIN): Likewise.
26305         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
26306         (__PTHREAD_SPIN): Likewise.
26307         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26308         (__PTHREAD_SPIN): Likewise.
26309         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26310         (__PTHREAD_SPIN): Likewise.
26311         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26312         (__PTHREAD_SPIN): Likewise.
26313         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26314         (__PTHREAD_SPIN): Likewise.
26315         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
26316         (__PTHREAD_SPIN): Likewise.
26318         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
26319         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
26320         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
26321         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
26322         imply folder.
26323         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
26324         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
26325         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
26326         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
26327         correct imply path.
26328         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
26329         strlen symbol for non multi-arch builds.
26330         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
26331         missing hidden_def and weak_alias.
26333 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
26335         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
26337 2014-04-07  Will Newton  <will.newton@linaro.org>
26339         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
26340         and contents.  [!_LIBC] Remove #ifndef and contents.
26341         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
26342         * string/memccpy.c (__memccpy): Use ANSI prototype.
26343         * string/memfrob.c (memfrob): Likewise.
26344         * string/strcoll.c (STRCOLL): Likewise.
26345         * string/strlen.c (strlen): Likewise.
26346         * string/strtok.c (STRTOK): Likewise.
26347         * string/strcat.c: Remove unused #include of memcopy.h.
26348         (strcat): Use ANSI prototype.
26349         * string/strchr.c: Remove unused #include of memcopy.h.
26350         (strchr): Use ANSI prototype.
26351         * string/strcmp.c: Remove unused #include of memcopy.h.
26352         (strcmp): Use ANSI prototype.
26353         * string/strcpy.c: Remove unused #include of memcopy.h.
26354         (strcpy): Use ANSI prototype.
26356 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26358         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
26359         * config.make.in (config-extra-cppflags): Set it from
26360         libc_extra_cppflags.
26361         * configure.ac (libc_extra_cflags): Make it accumulate over
26362         configure fragments.
26363         (libc_extra_cppflags): New flag.
26364         * configure. Regenerate.
26365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26366         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
26367         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
26368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
26370         [BZ #16815]
26371         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
26372         result for FE_DOWNWARD rounding mode.
26373         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26374         Likewise.
26375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26377 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
26379         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
26380         in function argument name.
26382 2014-04-03  David Svoboda  <svoboda@cert.org>
26384         [BZ #5666]
26385         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
26386         explicitly.
26388 2014-04-03  Roland McGrath  <roland@hack.frob.com>
26390         * elf/dl-unmap-segments.h: New file.
26391         * sysdeps/generic/ldsodefs.h
26392         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
26393         * elf/dl-close.c: Include <dl-unmap-segments.h>.
26394         * elf/dl-fptr.c: Likewise.
26395         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
26396         * sysdeps/aarch64/tlsdesc.c: Likewise.
26397         * sysdeps/arm/tlsdesc.c: Likewise.
26398         * sysdeps/i386/tlsdesc.c: Likewise.
26399         * sysdeps/tile/dl-runtime.c: Likewise.
26400         * sysdeps/x86_64/tlsdesc.c: Likewise.
26401         * elf/dl-load.h: New file.
26402         * elf/dl-load.c: Include it.
26403         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
26404         Macros moved to dl-load.h.
26405         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
26406         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
26407         Use _dl_unmap_segments in place of __munmap.
26408         Break out segment-mapping loop into ...
26409         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
26411 2014-04-03  Will Newton  <will.newton@linaro.org>
26413         * elf/dl-lookup.c (do_lookup_x): Remove comment
26414         referring to nested function and move variable
26415         declarations down to before first use.
26417 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
26419         [BZ #16799]
26420         [BZ #16800]
26421         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
26422         with 0 numerator.
26423         * math/s_catanf.c (__catanf): Likewise.
26424         * math/s_catanh.c (__catanh): Likewise.
26425         * math/s_catanhf.c (__catanhf): Likewise.
26426         * math/s_catanhl.c (__catanhl): Likewise.
26427         * math/s_catanl.c (__catanl): Likewise.
26428         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
26429         by positive zero when computing -Inf result.
26430         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
26431         (catanh_test): Likewise.
26432         * sysdeps/i386/fpu/libm-test-ulps: Update.
26433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26435         [BZ #16789]
26436         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
26437         instead of using underflowing value in computing result.
26438         * math/s_clog10.c (__clog10): Likewise.
26439         * math/s_clog10f.c (__clog10f): Likewise.
26440         * math/s_clog10l.c (__clog10l): Likewise.
26441         * math/s_clogf.c (__clogf): Likewise.
26442         * math/s_clogl.c (__clogl): Likewise.
26443         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
26444         (clog10_test): Likewise.
26445         * sysdeps/i386/fpu/libm-test-ulps: Update.
26446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26448 2014-04-02  Alan Modra  <amodra@gmail.com>
26450         [BZ #16739]
26451         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
26452         output when value is near a power of two.  Use int64_t for lx and
26453         remove casts.  Use decimal rather than hex exponent constants.
26454         Don't use long double multiplication when double will suffice.
26455         * math/libm-test.inc (nextafter_test_data): Add tests.
26456         * NEWS: Add 16739 and 16786 to bug list.
26458         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
26460         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
26462 2014-04-01  Will Newton  <will.newton@linaro.org>
26464         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
26465         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
26467 2014-04-01  Florian Weimer  <fweimer@redhat.com>
26469         [BZ #13347]
26470         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
26471         * nptl/tst-setuid2.c: New file.
26472         * nptl/Makefile (xtests): Add tst-setuid2.
26474 2014-04-01  Alan Modra  <amodra@gmail.com>
26476         [BZ #16786]
26477         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
26479 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
26481         [BZ #6803]
26482         [BZ #6804]
26483         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
26484         set errno as appropriate.
26485         * math/w_scalbf.c (__scalbf): Likewise.
26486         * math/w_scalbl.c (__scalbl): Likewise.
26487         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
26488         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
26489         * math/libm-test.inc (scalb_test_data): Add errno expectations.
26490         Add more NaN tests.
26492         [BZ #16349]
26493         * math/w_atan2.c: Include <errno.h>.
26494         (__atan2): Set errno for result underflowing to zero.
26495         * math/w_atan2f.c: Include <errno.h>.
26496         (__atan2f): Set errno for result underflowing to zero.
26497         * math/w_atan2l.c: Include <errno.h>.
26498         (__atan2l): Set errno for result underflowing to zero.
26499         * math/auto-libm-test-in: Don't allow missing errno for some atan2
26500         tests.
26501         * math/auto-libm-test-out: Regenerated.
26503 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26505         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26506         Encode instruction correctly in little endian.
26507         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26508         Likewise.
26509         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26510         Likewise.
26511         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26512         Likewise.
26513         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26514         Likewise.
26516 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
26518         [BZ #9894]
26519         * sysdeps/unix/sysv/linux/kernel-features.h
26520         [__sparc__ && !__arch64__ && !__sparc_v9__]
26521         (__ASSUME_SET_ROBUST_LIST): Do not define.
26522         [__sparc__ && !__arch64__ && !__sparc_v9__]
26523         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26524         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
26525         Likewise.
26526         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26527         (__ASSUME_FUTEX_LOCK_PI): Undefine.
26528         (__ASSUME_REQUEUE_PI): Likewise.
26529         (__ASSUME_SET_ROBUST_LIST): Likewise.
26530         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26531         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
26532         Undefine.
26533         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26534         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
26535         Likewise.
26536         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
26537         Likewise.
26538         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
26539         Likewise.
26540         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26541         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
26542         Undefine.
26543         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
26544         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
26545         Likewise.
26547         [BZ #16648]
26548         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26549         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
26550         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
26552 2014-03-31  Will Newton  <will.newton@linaro.org>
26554         * benchtests/Makefile (bench): Add ffs and ffsll to list
26555         of tests.
26556         * benchtests/ffs-inputs: New file.
26557         * benchtests/ffsll-inputs: Likewise.
26559 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
26561         [BZ #16770]
26562         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
26563         too large before casting to int.
26564         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
26565         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
26566         * math/libm-test.inc (scalb_test_data): Add more tests.
26568 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26570         * benchtests/Makefile (DETAILED_OPT): New make option.
26571         (bench-func): Run benchmark program with -d if DETAILED_OPT is
26572         set.
26573         * benchtests/bench-skeleton.c: Include stdbool.h.
26574         (main): Store and print timings per input.
26575         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
26576         member to each argument value.
26577         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
26578         (_print_arg_data): Initialize per-input timing to 0.
26580         * benchtests/Makefile (timing-type): New binary.
26581         (bench-clean): Also remove bench-timing-type.
26582         (bench): New target for timing-type.
26583         (bench-func): Print output in JSON format.
26584         * benchtests/bench-skeleton.c (main): Print output in JSON
26585         format.
26586         * benchtests/bench-timing-type.c: New file.
26587         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
26588         (TIMING_PRINT_STATS): Remove.
26589         * benchtests/scripts/bench.py (_print_arg_data): Store variant
26590         name separately.
26592         * benchtests/bench-modf.c: Remove.
26593         * benchtests/modf-inputs: New inputs file.
26595 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
26597         [BZ #16362]
26598         * math/s_clog10.c (M_PI_LOG10E): New macro.
26599         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
26600         imaginary parts are 0.
26601         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
26602         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
26603         imaginary parts are 0.
26604         * math/s_clog10l.c (M_PI_LOG10El): New macro.
26605         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
26606         imaginary parts are 0.
26607         * math/libm-test.inc (clog10_test_data): Update expected results
26608         for when real and imaginary parts are 0.
26610 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
26612         * elf/dl-load.c: Finish conversion of __builtin_expect into
26613         __glibc_{un}likely.
26615 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
26617         [BZ #16348]
26618         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
26619         1+x for argument with exponent below -67.
26620         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
26621         Likewise.
26622         * math/auto-libm-test-in: Add more tests of exp.
26623         * math/auto-libm-test-out: Regenerated.
26625 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26627         [BZ #16759]
26628         * inet/getnetgrent_r.c (get_nonempty_val): New function.
26629         (nscd_getnetgrent): Use it.
26631         [BZ #16760]
26632         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
26633         of stpcpy.
26635 2014-03-27  Andi Kleen  <ak@linux.intel.com>
26637         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
26638         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26639         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26640         (lll_robust_unlock): Remove out of line section. Use cfi
26641         intrinsics.
26642         (LLL_STUB_UNWIND_INFO*): Remove.
26643         * nptl/sysdeps/unix/sysv/linux/i386/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.
26650 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26652         [BZ #16758]
26653         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
26654         blank values.
26656 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26658         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
26660 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
26662         [BZ #16198]
26663         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
26664         fnstenv.
26665         * math/test-fenv-preserve.c: New file.
26666         * math/Makefile (tests): Add test-fenv-preserve.
26668 2014-03-26  Will Newton <will.newton@linaro.org>
26670         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
26672 2014-03-25  Roland McGrath  <roland@hack.frob.com>
26674         * scripts/versionlist.awk: Partition the version sets and emit all
26675         GLIBC_* (sorted) before all others (sorted).
26677 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26679         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
26680         GLIBC_2.2.5 version.
26682 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26684         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
26685         calls.
26687         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
26688         previous change.
26690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26692 2014-03-25  Andreas Schwab  <schwab@suse.de>
26694         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
26695         label to be used after in6ailist is initialized.
26697 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26699         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26700         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26702 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26704         [BZ #16357]
26705         [BZ #16599]
26706         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
26707         min_plus_half.
26708         (fp_formats): Update initializers.
26709         (init_fp_formats): Initialize new field.
26710         (output_for_one_input_case): Allow underflow for results up to
26711         min_plus_half.
26712         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
26713         * math/auto-libm-test-in: Don't mark some underflows from asin and
26714         atanh as spurious.
26715         * math/auto-libm-test-out: Regenerated.
26716         * sysdeps/i386/fpu/libm-test-ulps: Update.
26717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26719 2014-03-25  Andreas Schwab  <schwab@suse.de>
26721         * libio/Makefile (tst-ftell-partial-wide-ENV)
26722         (tst-ftell-active-handler-ENV): Define.
26724 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
26726         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
26728 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26730         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
26732 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26734         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
26735         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26736         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26738 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26740         [BZ #16634]
26741         * elf/dl-load.c (open_verify): Add mode parameter.
26742         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
26743         (open_path): Change from boolean 'secure' to complete flag 'mode'
26744         (_dl_map_object): Adjust.
26745         * elf/Makefile (tests): Add tst-dlopen-aout.
26746         * elf/tst-dlopen-aout.c: New test.
26748 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
26750         [BZ #16714]
26751         * sysdeps/unix/sysv/linux/s390/bits/stat.h
26752         (struct stat): Rename member pad0 to __glibc_reserved0.
26754         [BZ #16712]
26755         * sysdeps/s390/s390-32/bits/wordsize.h
26756         (__WORDSIZE32_SIZE_ULONG): New define.
26757         * sysdeps/s390/s390-64/bits/wordsize.h
26758         (__WORDSIZE32_SIZE_ULONG): Likewise.
26759         * sysdeps/generic/stdint.h (SIZE_MAX):
26760         Define as UL if __WORDSIZE32_SIZE_ULONG.
26762         [BZ #16713]
26763         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
26764         (__glibc_reserved0): New variable.
26765         (sa_flags): Change type to int.
26767         * posix/Makefile (before-compile): Use += before-compile instead
26768         of a :=.
26770         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26771         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26773 2014-03-20  Andreas Schwab  <schwab@suse.de>
26775         [BZ #16743]
26776         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
26777         non-matching result from nscd.
26779 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26781         * scripts/bench.py: Moved to ...
26782         * benchtests/scripts/bench.py: ... here.
26783         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
26785 2014-03-24  Andreas Schwab  <schwab@suse.de>
26787         [BZ #16002]
26788         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
26789         alloca_account and account alloca use for struct in6ailist.
26791 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26793         [BZ #16284]
26794         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
26795         rounding mode to recompute results that overflow to infinity or
26796         underflow to zero.
26797         * math/auto-libm-test-in: Don't mark tests as expected to fail for
26798         bug 16284.
26799         * math/auto-libm-test-out: Regenerated.
26800         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
26801         (ccosh_test): Likewise.
26802         (csin_test_data): Use plus_oflow.
26803         (csin_test): Use ALL_RM_TEST.
26804         (csinh_test_data): Use plus_oflow.
26805         (csinh_test): Use ALL_RM_TEST.
26806         * sysdeps/i386/fpu/libm-test-ulps: Update.
26807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26809 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
26811         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
26812         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
26813         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
26815         [BZ #16731]
26816         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
26817         when x - 1 is zero.
26818         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
26819         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
26820         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26821         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
26822         argument is 1.
26823         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
26824         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
26825         zero.
26826         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
26827         * sysdeps/i386/fpu/libm-test-ulps: Update.
26828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26830 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26832         * scripts/bench.pl: Remove file.
26833         * scripts/bench.py: New benchmark script.
26834         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
26835         * benchtests/README: Mention python dependency.
26836         * scripts/pylintrc: New file.
26837         * scripts/pylint: New file.
26839         * bits/mathdef.h: Use #ifdef instead of #if.
26840         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
26841         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26842         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
26843         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26844         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
26845         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26847 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26848             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26850         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
26851         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
26852         and strpbrk-ppc64 objects.
26853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26854         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
26855         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
26856         multiarch strpbrk for POWER7.
26857         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
26858         multiarch strpbrk for PPC64.
26859         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
26860         ifunc selector.
26861         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
26862         strpbrk for POWER7.
26864 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26866         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
26867         (atan_test): Likewise.
26868         (atanh_test_data): Use NO_TEST_INLINE for two tests.
26869         (atanh_test): Use ALL_RM_TEST.
26870         (atan2_test_data): Likewise.
26871         (cabs_test): Likewise.
26872         (cacosh_test): Likewise.
26873         (carg_test): Likewise.
26874         (casin_test): Likewise.
26875         (casinh_test): Likewise.
26876         (cbrt_test): Likewise.
26877         (csqrt_test): Likewise.
26878         (erf_test): Likewise.
26879         (erfc_test): Likewise.
26880         (pow10_test): Likewise.
26881         (exp2_test): Likewise.
26882         (hypot_test): Likewise.
26883         (j0_test): Likewise.
26884         (j1_test): Likewise.
26885         (lgamma_test): Likewise.
26886         (gamma_test): Likewise.
26887         (sincos_test): Likewise.
26888         (tanh_test): Likewise.
26889         (y0_test): Likewise.
26890         (y1_test): Likewise.
26891         * sysdeps/i386/fpu/libm-test-ulps: Update.
26892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26894 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26896         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
26897         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
26898         and strcspn-ppc64 objects.
26899         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26900         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
26901         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
26902         multiarch strcspn for POWER7.
26903         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
26904         multiarch strcspn for PPC64.
26905         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
26906         ifunc selector.
26907         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
26908         strcspn for POWER7.
26910 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26912         * math/gen-libm-test.pl (generate_testfile): Expect only function
26913         name as argument to AUTO_TESTS_* and pass results for all rounding
26914         modes to parse_args.
26915         (parse_auto_input): Separate inputs of automatic tests from
26916         outputs before storing in %auto_tests.
26917         * math/libm-test.inc (acos_test_data): Update call to
26918         AUTO_TESTS_f_f.
26919         (acos_test): Use ALL_RM_TEST.
26920         (acos_tonearest_test_data): Remove.
26921         (acos_test_tonearest): Likewise.
26922         (acos_towardzero_test_data): Likewise.
26923         (acos_test_towardzero): Likewise.
26924         (acos_downward_test_data): Likewise.
26925         (acos_test_downward): Likewise.
26926         (acos_upward_test_data): Likewise.
26927         (acos_test_upward): Likewise.
26928         (acosh_test_data): Update call to AUTO_TESTS_f_f.
26929         (asin_test_data): Likewise.
26930         (asin_test): Use ALL_RM_TEST.
26931         (asin_tonearest_test_data): Remove.
26932         (asin_test_tonearest): Likewise.
26933         (asin_towardzero_test_data): Likewise.
26934         (asin_test_towardzero): Likewise.
26935         (asin_downward_test_data): Likewise.
26936         (asin_test_downward): Likewise.
26937         (asin_upward_test_data): Likewise.
26938         (asin_test_upward): Likewise.
26939         (asinh_test_data): Update call to AUTO_TESTS_f_f.
26940         (atan_test_data): Likewise.
26941         (atanh_test_data): Likewise.
26942         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
26943         (cabs_test_data): Update call to AUTO_TESTS_c_f.
26944         (carg_test_data): Likewise.
26945         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
26946         (ccos_test_data): Update call to AUTO_TESTS_c_c.
26947         (ccosh_test_data): Likewise.
26948         (cexp_test_data): Likewise.
26949         (clog_test_data): Likewise.
26950         (clog10_test_data): Likewise.
26951         (cos_test_data): Update call to AUTO_TESTS_f_f.
26952         (cos_test): Use ALL_RM_TEST.
26953         (cos_tonearest_test_data): Remove.
26954         (cos_test_tonearest): Likewise.
26955         (cos_towardzero_test_data): Likewise.
26956         (cos_test_towardzero): Likewise.
26957         (cos_downward_test_data): Likewise.
26958         (cos_test_downward): Likewise.
26959         (cos_upward_test_data): Likewise.
26960         (cos_test_upward): Likewise.
26961         (cosh_test_data): Update call to AUTO_TESTS_f_f.
26962         (cosh_test): Use ALL_RM_TEST.
26963         (cosh_tonearest_test_data): Remove.
26964         (cosh_test_tonearest): Likewise.
26965         (cosh_towardzero_test_data): Likewise.
26966         (cosh_test_towardzero): Likewise.
26967         (cosh_downward_test_data): Likewise.
26968         (cosh_test_downward): Likewise.
26969         (cosh_upward_test_data): Likewise.
26970         (cosh_test_upward): Likewise.
26971         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
26972         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
26973         (ctan_test_data): Likewise.
26974         (ctan_test): Use ALL_RM_TEST.
26975         (ctan_tonearest_test_data): Remove.
26976         (ctan_test_tonearest): Likewise.
26977         (ctan_towardzero_test_data): Likewise.
26978         (ctan_test_towardzero): Likewise.
26979         (ctan_downward_test_data): Likewise.
26980         (ctan_test_downward): Likewise.
26981         (ctan_upward_test_data): Likewise.
26982         (ctan_test_upward): Likewise.
26983         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
26984         (ctanh_test): Use ALL_RM_TEST.
26985         (ctanh_tonearest_test_data): Remove.
26986         (ctanh_test_tonearest): Likewise.
26987         (ctanh_towardzero_test_data): Likewise.
26988         (ctanh_test_towardzero): Likewise.
26989         (ctanh_downward_test_data): Likewise.
26990         (ctanh_test_downward): Likewise.
26991         (ctanh_upward_test_data): Likewise.
26992         (ctanh_test_upward): Likewise.
26993         (erf_test_data): Update call to AUTO_TESTS_f_f.
26994         (erfc_test_data): Likewise.
26995         (exp_test_data): Likewise.
26996         (exp_test): Use ALL_RM_TEST.
26997         (exp_tonearest_test_data): Remove.
26998         (exp_test_tonearest): Likewise.
26999         (exp_towardzero_test_data): Likewise.
27000         (exp_test_towardzero): Likewise.
27001         (exp_downward_test_data): Likewise.
27002         (exp_test_downward): Likewise.
27003         (exp_upward_test_data): Likewise.
27004         (exp_test_upward): Likewise.
27005         (exp10_test_data): Update call to AUTO_TESTS_f_f.
27006         (exp10_test): Use ALL_RM_TEST.
27007         (exp10_tonearest_test_data): Remove.
27008         (exp10_test_tonearest): Likewise.
27009         (exp10_towardzero_test_data): Likewise.
27010         (exp10_test_towardzero): Likewise.
27011         (exp10_downward_test_data): Likewise.
27012         (exp10_test_downward): Likewise.
27013         (exp10_upward_test_data): Likewise.
27014         (exp10_test_upward): Likewise.
27015         (exp2_test_data): Update call to AUTO_TESTS_f_f.
27016         (expm1_test_data): Likewise.
27017         (expm1_test): Use ALL_RM_TEST.
27018         (expm1_tonearest_test_data): Remove.
27019         (expm1_test_tonearest): Likewise.
27020         (expm1_towardzero_test_data): Likewise.
27021         (expm1_test_towardzero): Likewise.
27022         (expm1_downward_test_data): Likewise.
27023         (expm1_test_downward): Likewise.
27024         (expm1_upward_test_data): Likewise.
27025         (expm1_test_upward): Likewise.
27026         (fma_test_data): Update call to AUTO_TESTS_fff_f.
27027         (fma_test): Use ALL_RM_TEST.
27028         (fma_towardzero_test_data): Remove.
27029         (fma_test_towardzero): Likewise.
27030         (fma_downward_test_data): Likewise.
27031         (fma_test_downward): Likewise.
27032         (fma_upward_test_data): Likewise.
27033         (fma_test_upward): Likewise.
27034         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
27035         (j0_test_data): Update call to AUTO_TESTS_f_f.
27036         (j1_test_data): Likewise.
27037         (jn_test_data): Update call to AUTO_TESTS_if_f.
27038         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
27039         (log_test_data): Update call to AUTO_TESTS_f_f.
27040         (log10_test_data): Likewise.
27041         (log1p_test_data): Likewise.
27042         (log2_test_data): Likewise.
27043         (pow_test_data): Update call to AUTO_TESTS_ff_f.
27044         (pow_tonearest_test_data): Likewise.
27045         (sin_test_data): Update call to AUTO_TESTS_f_f.
27046         (sin_test): Use ALL_RM_TEST.
27047         (sin_tonearest_test_data): Remove.
27048         (sin_test_tonearest): Likewise.
27049         (sin_towardzero_test_data): Likewise.
27050         (sin_test_towardzero): Likewise.
27051         (sin_downward_test_data): Likewise.
27052         (sin_test_downward): Likewise.
27053         (sin_upward_test_data): Likewise.
27054         (sin_test_upward): Likewise.
27055         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
27056         (sinh_test_data): Update call to AUTO_TESTS_f_f.
27057         (sinh_test): Use ALL_RM_TEST.
27058         (sinh_tonearest_test_data): Remove.
27059         (sinh_test_tonearest): Likewise.
27060         (sinh_towardzero_test_data): Likewise.
27061         (sinh_test_towardzero): Likewise.
27062         (sinh_downward_test_data): Likewise.
27063         (sinh_test_downward): Likewise.
27064         (sinh_upward_test_data): Likewise.
27065         (sinh_test_upward): Likewise.
27066         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
27067         (sqrt_test): Use ALL_RM_TEST.
27068         (sqrt_tonearest_test_data): Remove.
27069         (sqrt_test_tonearest): Likewise.
27070         (sqrt_towardzero_test_data): Likewise.
27071         (sqrt_test_towardzero): Likewise.
27072         (sqrt_downward_test_data): Likewise.
27073         (sqrt_test_downward): Likewise.
27074         (sqrt_upward_test_data): Likewise.
27075         (sqrt_test_upward): Likewise.
27076         (tan_test_data): Update call to AUTO_TESTS_f_f.
27077         (tan_test): Use ALL_RM_TEST.
27078         (tan_tonearest_test_data): Remove.
27079         (tan_test_tonearest): Likewise.
27080         (tan_towardzero_test_data): Likewise.
27081         (tan_test_towardzero): Likewise.
27082         (tan_downward_test_data): Likewise.
27083         (tan_test_downward): Likewise.
27084         (tan_upward_test_data): Likewise.
27085         (tan_test_upward): Likewise.
27086         (tanh_test_data): Update call to AUTO_TESTS_f_f.
27087         (tgamma_test_data): Likewise.
27088         (y0_test_data): Likewise.
27089         (y1_test_data): Likewise.
27090         (yn_test_data): Update call to AUTO_TESTS_if_f.
27091         (main): Do not call removed functions.
27093 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
27095         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
27096         (ldexp_test_data): Remove.
27097         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
27098         scalbn_test_data.
27099         (scalb_test): Use ALL_RM_TEST.
27101 2014-03-19  Andreas Schwab  <schwab@suse.de>
27103         * nscd/nscd.service: Also invalidate netgroup cache on reload.
27105 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
27107         [BZ #16649]
27108         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27109         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
27110         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
27111         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27112         (__ASSUME_PREADV): Undefine.
27113         (__ASSUME_PWRITEV): Likewise.
27115 2014-03-18  Roland McGrath  <roland@hack.frob.com>
27117         * bits/mman-linux.h: Add comment about non-Linux use.
27118         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
27119         bits/mman-linux.h resting place.
27121         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
27122         * bits/mman-linux.h: ... here.
27124 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27126         * conform/conformtest.pl: Add standard definition when calling C
27127         preprocessor on data files.
27128         (checknamespace): Remove unused variable.
27130 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
27132         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
27133         minus_oflow, plus_uflow and minus_uflow in expected results.
27134         * math/libm-test.inc (scalbn_test_data): Add more tests of
27135         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
27136         minus_uflow.
27137         (scalbn_test): Use ALL_RM_TEST.
27138         (scalbln_test_data): Add more tests of negative arguments.  Use
27139         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
27140         (scalbln_test): Use ALL_RM_TEST.
27142 2014-03-18  Roland McGrath  <roland@hack.frob.com>
27144         * scripts/abilist.awk: Ignore symbols marked with .hidden.
27146 2014-03-18  Will Newton  <will.newton@linaro.org>
27148         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
27149         inaccurate comment.
27151 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
27153         * Makerules [!subdir] (check-abi): Exit with error status if a
27154         test failed.
27156 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
27158         * math/libm-test.inc (nearbyint_test_data): Include all tests used
27159         for rint.  Include results for all rounding modes.
27160         (nearbyint_test): Use ALL_RM_TEST.
27161         (rint_test_data): Include all tests used for nearbyint.
27163 2014-03-17  Will Newton  <will.newton@linaro.org>
27165         * nptl/sysdeps/pthread/pthread.h: Revert previous
27166         change.
27168         * sysdeps/generic/ldsodefs.h: Revert previous
27169         change.
27171         * libio/genops.c: Revert previous change.
27172         * libio/libioP.h: Likewise.
27173         * stdio-common/vfprintf.c: Likewise.
27175         * sysdeps/generic/math_private.h: Revert previous
27176         change.
27178         * sysdeps/generic/math_private.h: Check whether
27179         HAVE_RM_CTX is defined with #ifdef rather
27180         than #if.
27182         * argp/argp-fmtstream.h: Check whether
27183         __STRICT_ANSI__ is defined with #ifdef rather
27184         than #if.
27185         * argp/argp.h: Likewise.
27187         * libio/genops.c: Check whether
27188         _IO_JUMPS_OFFSET is defined with #ifdef rather
27189         than #if.
27190         * libio/libioP.h: Likewise.
27191         * stdio-common/vfprintf.c: Likewise.
27193         * sysdeps/generic/ldsodefs.h: Check whether
27194         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
27195         than #if.
27197         * nptl/sysdeps/pthread/pthread.h: Check
27198         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
27199         its value.
27201 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27203         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
27204         setting O_APPEND.
27205         * libio/tst-ftell-active-handler.c (do_append_test): Add a
27206         test case.
27208         [BZ #16680]
27209         * libio/fileops.c (_IO_file_open): Seek to end of file but
27210         don't cache the offset.
27211         (get_file_offset): Remove function.
27212         (do_ftell): Use cached offset when available.
27213         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
27214         don't cache the offset.
27215         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
27216         case.
27217         (do_one_test): Call it.
27218         (do_ftell_test): Fix up expected old offset for a+ mode.
27219         * libio/wfileops.c (do_ftell_wide): Used cached offset when
27220         available.
27222         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
27223         up test status with function return status.
27224         (do_write_test): Likewise.
27225         (do_append_test): Likewise.
27227         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
27228         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
27229         Remove.
27231 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
27233         * math/gen-libm-test.pl (parse_args): Handle results specified for
27234         each rounding mode separately.
27235         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
27236         tests and results from lrint_tonearest_test_data,
27237         lrint_towardzero_test_data, lrint_downward_test_data and
27238         lrint_upward_test_data.
27239         (lrint_test): Use ALL_RM_TEST.
27240         (lrint_tonearest_test_data): Remove.
27241         (lrint_test_tonearest): Likewise.
27242         (lrint_towardzero_test_data): Likewise.
27243         (lrint_test_towardzero): Likewise.
27244         (lrint_downward_test_data): Likewise.
27245         (lrint_test_downward): Likewise.
27246         (lrint_upward_test_data): Likewise.
27247         (lrint_test_upward): Likewise.
27248         (llrint_test_data): Merge in per-rounding-mode tests and results
27249         from llrint_tonearest_test_data, llrint_towardzero_test_data,
27250         llrint_downward_test_data and llrint_upward_test_data.
27251         (llrint_test): Use ALL_RM_TEST.
27252         (llrint_tonearest_test_data): Remove.
27253         (llrint_test_tonearest): Likewise.
27254         (llrint_towardzero_test_data): Likewise.
27255         (llrint_test_towardzero): Likewise.
27256         (llrint_downward_test_data): Likewise.
27257         (llrint_test_downward): Likewise.
27258         (llrint_upward_test_data): Likewise.
27259         (llrint_test_upward): Likewise.
27260         (rint_test_data): Merge in per-rounding-mode tests and results
27261         from rint_tonearest_test_data, rint_towardzero_test_data,
27262         rint_downward_test_data and rint_upward_test_data.  Add
27263         per-rounding-mode results for tests not in those arrays.
27264         (rint_test): Use ALL_RM_TEST.
27265         (rint_tonearest_test_data): Remove.
27266         (rint_test_tonearest): Likewise.
27267         (rint_towardzero_test_data): Likewise.
27268         (rint_test_towardzero): Likewise.
27269         (rint_downward_test_data): Likewise.
27270         (rint_test_downward): Likewise.
27271         (rint_upward_test_data): Likewise.
27272         (rint_test_upward): Likewise.
27273         (main): Don't call removed functions.
27275 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27277         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
27278         "Compiled on ..." crapola.  It is anti-useful.
27280 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
27282         * scripts/evaluate-test.sh: Handle fourth argument to determine
27283         whether test run should stop on failure.
27284         * Makeconfig (stop-on-test-failure): New variable.
27285         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
27286         $(stop-on-test-failure).
27287         * Makefile (tests): Give a summary of results from testing and
27288         exit with failure status if they include an ERROR or FAIL.
27289         (xtests): Likewise.
27290         * manual/install.texi (Configuring and compiling): Mention
27291         stop-on-test-failure=y.
27292         * INSTALL: Regenerated.
27294 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27296         * scripts/versionlist.awk: New file.
27297         * Makerules [$(build-shared) = yes]
27298         (postclean-generated): Add Versions.def, not Versions.def.v and
27299         Versions.def.v.i.
27300         ($(common-objpfx)Versions.def.v.i): Target removed.
27301         ($(common-objpfx)Versions.def): New target.
27302         ($(common-objpfx)Versions.all): Depend on that rather that
27303         $(common-objpfx)Versions.def.v.
27304         * Versions.def: File removed.
27306         * Makeconfig (+gccwarn): Add -Wundef.
27307         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
27308         a dl-sysdep.h breaking its contract.
27309         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
27310         * include/stackinfo.h: New file.
27311         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
27312         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
27313         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
27314         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
27315         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
27316         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
27317         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27318         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27319         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27320         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27321         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27322         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
27323         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27324         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27325         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27327 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27329         [BZ #16707]
27330         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
27331         implementation.
27332         * math/libm-test.inc (round_test_data): Add more tests.
27334         [BZ #16706]
27335         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
27336         implementation.
27337         * math/libm-test.inc (nearbyint_test_data): Add more tests.
27339         [BZ #16701]
27340         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
27341         implementation.
27342         * math/libm-test.inc (ceil_test_data): Add more tests.
27344         * math/libm-test.inc (trunc_test_data): Add more tests related to
27345         BZ#16414.
27347 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27349         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
27350         with #if rather than #ifdef.
27351         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
27353 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
27355         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
27356         first.  Disable AVX-512 GCC support if assembler doesn't support
27357         it.
27358         * sysdeps/x86_64/configure: Regenerated.
27360 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
27362         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
27363         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
27364         (__old_pthread_attr_setstack): Likewise.
27365         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
27366         [!_STACK_GROWS_DOWN]: Likewise.
27368 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
27370         * config.make.in (have-bash2): Delete.
27371         * configure.ac (libc_cv_have_bash2): Delete.
27372         * configure: Regenerate.
27373         * elf/Makefile (common-ldd-rewrite): Rename to ...
27374         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
27375         (sh-ldd-rewrite): Delete.
27376         (bash-ldd-rewrite): Delete.
27377         (have-bash2): Delete checks.
27378         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
27379         ldd-rewrite.
27381         * config.make.in (have-ksh): Delete.
27382         (KSH): Delete.
27383         * configure.ac (libc_cv_have_ksh): Delete.
27384         * configure: Regenerate.
27386         * elf/Makefile: Delete $(have-ksh) check.
27387         ($(objpfx)sotruss): Change KSH to BASH.
27388         * elf/sotruss.ksh: Rename to ...
27389         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
27390         function style to match POSIX.  Drop ksh vim mode setting.
27392         * manual/time.texi (Specifying the Time Zone with TZ): Change
27393         Tuesday to Thursday.
27395         * debug/tst-longjmp_chk2.c: Update header comment.
27396         (stackoverflow_handler): Add comment.  Call assert on pass value.
27398 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
27400         [BZ #16194]
27401         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
27402         (HAVE_AVX512_ASM_SUPPORT): Likewise.
27403         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
27404         (La_x86_64_vector): Add zmm.
27405         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
27406         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
27407         ($(objpfx)tst-audit10): New target.
27408         ($(objpfx)tst-audit10.out): Likewise.
27409         (tst-audit10-ENV): New.
27410         (AVX512-CFLAGS): Likewise.
27411         (CFLAGS-tst-audit10.c): Likewise.
27412         (CFLAGS-tst-auditmod10a.c): Likewise.
27413         (CFLAGS-tst-auditmod10b.c): Likewise.
27414         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
27415         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
27416         * sysdeps/x86_64/configure: Regenerated.
27417         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
27418         AVX-512 zmm register support.
27419         (_dl_x86_64_save_sse): Likewise.
27420         (_dl_x86_64_restore_sse): Likewise.
27421         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
27422         size vector registers.
27423         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
27424         (ZMM_SIZE): Likewise.
27425         * sysdeps/x86_64/tst-audit10.c: New file.
27426         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
27427         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
27429 2014-03-13  Roland McGrath  <roland@hack.frob.com>
27431         * configure.ac (HAVE_EHDR_START): New check.
27432         * configure: Regenerated.
27433         * config.h.in (HAVE_EHDR_START): New #undef.
27434         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
27435         assuming the lowest-addressed segment maps the start of the file.
27437 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
27439         * INSTALL: Regenerated.
27441 2014-03-13  Will Newton  <will.newton@linaro.org>
27443         * manual/setjmp.texi (System V contexts): Improve
27444         clarity and grammar of documentation.
27446 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27448         [BZ #16381]
27449         * elf/Makefile (tests): Add tst-pie2.
27450         (tests-pie): Add tst-pie2.
27451         * elf/tst-pie2.c: New file.
27452         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
27453         for ET_EXEC.
27454         * elf/rtld.c (map_doit): Load executable as lt_executable.
27455         (dl_main): Likewise.
27457 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
27459         [BZ #16642]
27460         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27461         (__ASSUME_PSELECT): Undefine.
27463 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27465         [BZ #16689]
27466         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
27467         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
27468         static build.
27469         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
27470         selector for static builds.
27472 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27474         [BZ #16695]
27475         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
27476         key in the buffer.
27478 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27480         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
27481         IFUNC selector for static builds.
27483 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
27485         * sysdeps/mips/math_private.h [__mips_hard_float]
27486         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
27487         libc_feresetround_mips_ctx.
27488         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
27489         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
27490         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
27492         [BZ #16677]
27493         * math/s_nextafter.c (__nextafter): Do not return value from
27494         overflowing computation.
27495         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
27496         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
27497         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
27498         Likewise.
27499         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
27500         Likewise.
27501         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
27502         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
27504 2014-03-11  Roland McGrath  <roland@hack.frob.com>
27506         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
27507         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
27508         Move sfi_sp use from the load-multiple (that no longer sets sp) to
27509         the new mov targetting sp.
27511 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27513         [BZ #16683]
27514         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
27515         Define it for static builds as well.
27516         (NO_BZERO_IMPL): Likewise.
27518 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27520         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
27521         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
27522         multiarch strspn for PPC64.
27523         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
27524         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
27525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27526         (__libc_ifunc_impl_list): Likewise.
27527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
27528         multiarch optimizations
27529         * string/strspn.c (strspn): Using macro to redefine symbol name.
27531 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27532             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27534         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
27535         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
27536         multiarch strncat for PPC64.
27537         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
27538         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
27539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27540         (__libc_ifunc_impl_list): Likewise.
27541         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
27542         multiarch optimizations
27544 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27546         [BZ #16639]
27547         * nscd/nscd.service: Make service type forking.
27549 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27551         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
27552         sign in non default rounding modes.
27553         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
27555 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
27557         * math/libm-test.inc (ALL_RM_TEST): New macro.
27558         (ceil_test): Use ALL_RM_TEST.
27559         (cimag_test): Likewise.
27560         (conj_test): Likewise.
27561         (copysign_test): Likewise.
27562         (cproj_test): Likewise.
27563         (creal_test): Likewise.
27564         (fabs_test): Likewise.
27565         (floor_test): Likewise.
27566         (fmax_test): Likewise.
27567         (fmin_test): Likewise.
27568         (fmod_test): Likewise.
27569         (fpclassify_test): Likewise.
27570         (frexp_test): Likewise.
27571         (ilogb_test): Likewise.
27572         (isfinite_test): Likewise.
27573         (finite_test): Likewise.
27574         (isgreater_test): Likewise.
27575         (isgreaterequal_test): Likewise.
27576         (isinf_test): Likewise.
27577         (isless_test): Likewise.
27578         (islessequal_test): Likewise.
27579         (islessgreater_test): Likewise.
27580         (isnan_test): Likewise.
27581         (isnormal_test): Likewise.
27582         (issignaling_test): Likewise.
27583         (isunordered_test): Likewise.
27584         (logb_test): Likewise.
27585         (logb_downward_test_data): Remove.
27586         (logb_test_downward): Likewise.
27587         (lround_test): Use ALL_RM_TEST.
27588         (llround_test): Likewise.
27589         (modf_test): Likewise.
27590         (nexttoward_test): Likewise.
27591         (remainder_test): Likewise.
27592         (drem_test): Likewise.
27593         (remainder_tonearest_test_data): Likewise.
27594         (remainder_test_tonearest): Likewise.
27595         (drem_test_tonearest): Likewise.
27596         (remainder_towardzero_test_data): Likewise.
27597         (remainder_test_towardzero): Likewise.
27598         (drem_test_towardzero): Likewise.
27599         (remainder_downward_test_data): Likewise.
27600         (remainder_test_downward): Likewise.
27601         (drem_test_downward): Likewise.
27602         (remainder_upward_test_data): Likewise.
27603         (remainder_test_upward): Likewise.
27604         (drem_test_upward): Likewise.
27605         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
27606         (round_test): Use ALL_RM_TEST.
27607         (signbit_test): Likewise.
27608         (trunc_test): Likewise.
27609         (significand_test): Likewise.
27610         (main): Don't call removed functions.
27612 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
27614         [BZ #16674]
27615         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
27616         || __USE_XOPEN2K8].
27617         (ILL_ILLOPN): Likewise.
27618         (ILL_ILLADR): Likewise.
27619         (ILL_ILLTRP): Likewise.
27620         (ILL_PRVOPC): Likewise.
27621         (ILL_PRVREG): Likewise.
27622         (ILL_COPROC): Likewise.
27623         (ILL_BADSTK): Likewise.
27624         (FPE_INTDIV): Likewise.
27625         (FPE_INTOVF): Likewise.
27626         (FPE_FLTDIV): Likewise.
27627         (FPE_FLTOVF): Likewise.
27628         (FPE_FLTUND): Likewise.
27629         (FPE_FLTRES): Likewise.
27630         (FPE_FLTINV): Likewise.
27631         (FPE_FLTSUB): Likewise.
27632         (SEGV_MAPERR): Likewise.
27633         (SEGV_ACCERR): Likewise.
27634         (BUS_ADRALN): Likewise.
27635         (BUS_ADRERR): Likewise.
27636         (BUS_OBJERR): Likewise.
27637         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27638         (TRAP_TRACE): Likewise.
27639         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27640         __USE_XOPEN2K8].
27641         (CLD_KILLED): Likewise.
27642         (CLD_DUMPED): Likewise.
27643         (CLD_TRAPPED): Likewise.
27644         (CLD_STOPPED): Likewise.
27645         (CLD_CONTINUED): Likewise.
27646         (POLL_IN): Likewise.
27647         (POLL_OUT): Likewise.
27648         (POLL_MSG): Likewise.
27649         (POLL_ERR): Likewise.
27650         (POLL_PRI): Likewise.
27651         (POLL_HUP): Likewise.
27652         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
27653         Likewise.
27654         (ILL_ILLOPN): Likewise.
27655         (ILL_ILLADR): Likewise.
27656         (ILL_ILLTRP): Likewise.
27657         (ILL_PRVOPC): Likewise.
27658         (ILL_PRVREG): Likewise.
27659         (ILL_COPROC): Likewise.
27660         (ILL_BADSTK): Likewise.
27661         (FPE_INTDIV): Likewise.
27662         (FPE_INTOVF): Likewise.
27663         (FPE_FLTDIV): Likewise.
27664         (FPE_FLTOVF): Likewise.
27665         (FPE_FLTUND): Likewise.
27666         (FPE_FLTRES): Likewise.
27667         (FPE_FLTINV): Likewise.
27668         (FPE_FLTSUB): Likewise.
27669         (SEGV_MAPERR): Likewise.
27670         (SEGV_ACCERR): Likewise.
27671         (BUS_ADRALN): Likewise.
27672         (BUS_ADRERR): Likewise.
27673         (BUS_OBJERR): Likewise.
27674         (BUS_MCEERR_AR): Likewise.
27675         (BUS_MCEERR_AO): Likewise.
27676         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27677         (TRAP_TRACE): Likewise.
27678         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27679         __USE_XOPEN2K8].
27680         (CLD_KILLED): Likewise.
27681         (CLD_DUMPED): Likewise.
27682         (CLD_TRAPPED): Likewise.
27683         (CLD_STOPPED): Likewise.
27684         (CLD_CONTINUED): Likewise.
27685         (POLL_IN): Likewise.
27686         (POLL_OUT): Likewise.
27687         (POLL_MSG): Likewise.
27688         (POLL_ERR): Likewise.
27689         (POLL_PRI): Likewise.
27690         (POLL_HUP): Likewise.
27691         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
27692         (ILL_ILLOPN): Likewise.
27693         (ILL_ILLADR): Likewise.
27694         (ILL_ILLTRP): Likewise.
27695         (ILL_PRVOPC): Likewise.
27696         (ILL_PRVREG): Likewise.
27697         (ILL_COPROC): Likewise.
27698         (ILL_BADSTK): Likewise.
27699         (FPE_INTDIV): Likewise.
27700         (FPE_INTOVF): Likewise.
27701         (FPE_FLTDIV): Likewise.
27702         (FPE_FLTOVF): Likewise.
27703         (FPE_FLTUND): Likewise.
27704         (FPE_FLTRES): Likewise.
27705         (FPE_FLTINV): Likewise.
27706         (FPE_FLTSUB): Likewise.
27707         (SEGV_MAPERR): Likewise.
27708         (SEGV_ACCERR): Likewise.
27709         (BUS_ADRALN): Likewise.
27710         (BUS_ADRERR): Likewise.
27711         (BUS_OBJERR): Likewise.
27712         (BUS_MCEERR_AR): Likewise.
27713         (BUS_MCEERR_AO): Likewise.
27714         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27715         (TRAP_TRACE): Likewise.
27716         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27717         __USE_XOPEN2K8].
27718         (CLD_KILLED): Likewise.
27719         (CLD_DUMPED): Likewise.
27720         (CLD_TRAPPED): Likewise.
27721         (CLD_STOPPED): Likewise.
27722         (CLD_CONTINUED): Likewise.
27723         (POLL_IN): Likewise.
27724         (POLL_OUT): Likewise.
27725         (POLL_MSG): Likewise.
27726         (POLL_ERR): Likewise.
27727         (POLL_PRI): Likewise.
27728         (POLL_HUP): Likewise.
27729         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
27730         Likewise.
27731         (ILL_ILLOPN): Likewise.
27732         (ILL_ILLADR): Likewise.
27733         (ILL_ILLTRP): Likewise.
27734         (ILL_PRVOPC): Likewise.
27735         (ILL_PRVREG): Likewise.
27736         (ILL_COPROC): Likewise.
27737         (ILL_BADSTK): Likewise.
27738         (ILL_BADIADDR): Likewise.
27739         (ILL_BREAK): Likewise.
27740         (FPE_INTDIV): Likewise.
27741         (FPE_INTOVF): Likewise.
27742         (FPE_FLTDIV): Likewise.
27743         (FPE_FLTOVF): Likewise.
27744         (FPE_FLTUND): Likewise.
27745         (FPE_FLTRES): Likewise.
27746         (FPE_FLTINV): Likewise.
27747         (FPE_FLTSUB): Likewise.
27748         (FPE_DECOVF): Likewise.
27749         (FPE_DECDIV): Likewise.
27750         (FPE_DECERR): Likewise.
27751         (FPE_INVASC): Likewise.
27752         (FPE_INVDEC): Likewise.
27753         (SEGV_MAPERR): Likewise.
27754         (SEGV_ACCERR): Likewise.
27755         (SEGV_PSTKOVF): Likewise.
27756         (BUS_ADRALN): Likewise.
27757         (BUS_ADRERR): Likewise.
27758         (BUS_OBJERR): Likewise.
27759         (BUS_MCEERR_AR): Likewise.
27760         (BUS_MCEERR_AO): Likewise.
27761         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27762         (TRAP_TRACE): Likewise.
27763         (TRAP_BRANCH): Likewise.
27764         (TRAP_HWBKPT): Likewise.
27765         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27766         __USE_XOPEN2K8].
27767         (CLD_KILLED): Likewise.
27768         (CLD_DUMPED): Likewise.
27769         (CLD_TRAPPED): Likewise.
27770         (CLD_STOPPED): Likewise.
27771         (CLD_CONTINUED): Likewise.
27772         (POLL_IN): Likewise.
27773         (POLL_OUT): Likewise.
27774         (POLL_MSG): Likewise.
27775         (POLL_ERR): Likewise.
27776         (POLL_PRI): Likewise.
27777         (POLL_HUP): Likewise.
27778         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
27779         (ILL_ILLOPN): Likewise.
27780         (ILL_ILLADR): Likewise.
27781         (ILL_ILLTRP): Likewise.
27782         (ILL_PRVOPC): Likewise.
27783         (ILL_PRVREG): Likewise.
27784         (ILL_COPROC): Likewise.
27785         (ILL_BADSTK): Likewise.
27786         (FPE_INTDIV): Likewise.
27787         (FPE_INTOVF): Likewise.
27788         (FPE_FLTDIV): Likewise.
27789         (FPE_FLTOVF): Likewise.
27790         (FPE_FLTUND): Likewise.
27791         (FPE_FLTRES): Likewise.
27792         (FPE_FLTINV): Likewise.
27793         (FPE_FLTSUB): Likewise.
27794         (SEGV_MAPERR): Likewise.
27795         (SEGV_ACCERR): Likewise.
27796         (BUS_ADRALN): Likewise.
27797         (BUS_ADRERR): Likewise.
27798         (BUS_OBJERR): Likewise.
27799         (BUS_MCEERR_AR): Likewise.
27800         (BUS_MCEERR_AO): Likewise.
27801         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27802         (TRAP_TRACE): Likewise.
27803         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27804         __USE_XOPEN2K8].
27805         (CLD_KILLED): Likewise.
27806         (CLD_DUMPED): Likewise.
27807         (CLD_TRAPPED): Likewise.
27808         (CLD_STOPPED): Likewise.
27809         (CLD_CONTINUED): Likewise.
27810         (POLL_IN): Likewise.
27811         (POLL_OUT): Likewise.
27812         (POLL_MSG): Likewise.
27813         (POLL_ERR): Likewise.
27814         (POLL_PRI): Likewise.
27815         (POLL_HUP): Likewise.
27816         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
27817         (ILL_ILLOPN): Likewise.
27818         (ILL_ILLADR): Likewise.
27819         (ILL_ILLTRP): Likewise.
27820         (ILL_PRVOPC): Likewise.
27821         (ILL_PRVREG): Likewise.
27822         (ILL_COPROC): Likewise.
27823         (ILL_BADSTK): Likewise.
27824         (FPE_INTDIV): Likewise.
27825         (FPE_INTOVF): Likewise.
27826         (FPE_FLTDIV): Likewise.
27827         (FPE_FLTOVF): Likewise.
27828         (FPE_FLTUND): Likewise.
27829         (FPE_FLTRES): Likewise.
27830         (FPE_FLTINV): Likewise.
27831         (FPE_FLTSUB): Likewise.
27832         (SEGV_MAPERR): Likewise.
27833         (SEGV_ACCERR): Likewise.
27834         (BUS_ADRALN): Likewise.
27835         (BUS_ADRERR): Likewise.
27836         (BUS_OBJERR): Likewise.
27837         (BUS_MCEERR_AR): Likewise.
27838         (BUS_MCEERR_AO): Likewise.
27839         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27840         (TRAP_TRACE): Likewise.
27841         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27842         __USE_XOPEN2K8].
27843         (CLD_KILLED): Likewise.
27844         (CLD_DUMPED): Likewise.
27845         (CLD_TRAPPED): Likewise.
27846         (CLD_STOPPED): Likewise.
27847         (CLD_CONTINUED): Likewise.
27848         (POLL_IN): Likewise.
27849         (POLL_OUT): Likewise.
27850         (POLL_MSG): Likewise.
27851         (POLL_ERR): Likewise.
27852         (POLL_PRI): Likewise.
27853         (POLL_HUP): Likewise.
27854         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
27855         (ILL_ILLOPN): Likewise.
27856         (ILL_ILLADR): Likewise.
27857         (ILL_ILLTRP): Likewise.
27858         (ILL_PRVOPC): Likewise.
27859         (ILL_PRVREG): Likewise.
27860         (ILL_COPROC): Likewise.
27861         (ILL_BADSTK): Likewise.
27862         (FPE_INTDIV): Likewise.
27863         (FPE_INTOVF): Likewise.
27864         (FPE_FLTDIV): Likewise.
27865         (FPE_FLTOVF): Likewise.
27866         (FPE_FLTUND): Likewise.
27867         (FPE_FLTRES): Likewise.
27868         (FPE_FLTINV): Likewise.
27869         (FPE_FLTSUB): Likewise.
27870         (SEGV_MAPERR): Likewise.
27871         (SEGV_ACCERR): Likewise.
27872         (BUS_ADRALN): Likewise.
27873         (BUS_ADRERR): Likewise.
27874         (BUS_OBJERR): Likewise.
27875         (BUS_MCEERR_AR): Likewise.
27876         (BUS_MCEERR_AO): Likewise.
27877         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27878         (TRAP_TRACE): Likewise.
27879         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27880         __USE_XOPEN2K8].
27881         (CLD_KILLED): Likewise.
27882         (CLD_DUMPED): Likewise.
27883         (CLD_TRAPPED): Likewise.
27884         (CLD_STOPPED): Likewise.
27885         (CLD_CONTINUED): Likewise.
27886         (POLL_IN): Likewise.
27887         (POLL_OUT): Likewise.
27888         (POLL_MSG): Likewise.
27889         (POLL_ERR): Likewise.
27890         (POLL_PRI): Likewise.
27891         (POLL_HUP): Likewise.
27892         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
27893         (ILL_ILLOPN): Likewise.
27894         (ILL_ILLADR): Likewise.
27895         (ILL_ILLTRP): Likewise.
27896         (ILL_PRVOPC): Likewise.
27897         (ILL_PRVREG): Likewise.
27898         (ILL_COPROC): Likewise.
27899         (ILL_BADSTK): Likewise.
27900         (ILL_DBLFLT): Likewise.
27901         (ILL_HARDWALL): Likewise.
27902         (FPE_INTDIV): Likewise.
27903         (FPE_INTOVF): Likewise.
27904         (FPE_FLTDIV): Likewise.
27905         (FPE_FLTOVF): Likewise.
27906         (FPE_FLTUND): Likewise.
27907         (FPE_FLTRES): Likewise.
27908         (FPE_FLTINV): Likewise.
27909         (FPE_FLTSUB): Likewise.
27910         (SEGV_MAPERR): Likewise.
27911         (SEGV_ACCERR): Likewise.
27912         (BUS_ADRALN): Likewise.
27913         (BUS_ADRERR): Likewise.
27914         (BUS_OBJERR): Likewise.
27915         (BUS_MCEERR_AR): Likewise.
27916         (BUS_MCEERR_AO): Likewise.
27917         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27918         (TRAP_TRACE): Likewise.
27919         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27920         __USE_XOPEN2K8].
27921         (CLD_KILLED): Likewise.
27922         (CLD_DUMPED): Likewise.
27923         (CLD_TRAPPED): Likewise.
27924         (CLD_STOPPED): Likewise.
27925         (CLD_CONTINUED): Likewise.
27926         (POLL_IN): Likewise.
27927         (POLL_OUT): Likewise.
27928         (POLL_MSG): Likewise.
27929         (POLL_ERR): Likewise.
27930         (POLL_PRI): Likewise.
27931         (POLL_HUP): Likewise.
27932         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
27933         (ILL_ILLOPN): Likewise.
27934         (ILL_ILLADR): Likewise.
27935         (ILL_ILLTRP): Likewise.
27936         (ILL_PRVOPC): Likewise.
27937         (ILL_PRVREG): Likewise.
27938         (ILL_COPROC): Likewise.
27939         (ILL_BADSTK): Likewise.
27940         (FPE_INTDIV): Likewise.
27941         (FPE_INTOVF): Likewise.
27942         (FPE_FLTDIV): Likewise.
27943         (FPE_FLTOVF): Likewise.
27944         (FPE_FLTUND): Likewise.
27945         (FPE_FLTRES): Likewise.
27946         (FPE_FLTINV): Likewise.
27947         (FPE_FLTSUB): Likewise.
27948         (SEGV_MAPERR): Likewise.
27949         (SEGV_ACCERR): Likewise.
27950         (BUS_ADRALN): Likewise.
27951         (BUS_ADRERR): Likewise.
27952         (BUS_OBJERR): Likewise.
27953         (BUS_MCEERR_AR): Likewise.
27954         (BUS_MCEERR_AO): Likewise.
27955         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27956         (TRAP_TRACE): Likewise.
27957         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27958         __USE_XOPEN2K8].
27959         (CLD_KILLED): Likewise.
27960         (CLD_DUMPED): Likewise.
27961         (CLD_TRAPPED): Likewise.
27962         (CLD_STOPPED): Likewise.
27963         (CLD_CONTINUED): Likewise.
27964         (POLL_IN): Likewise.
27965         (POLL_OUT): Likewise.
27966         (POLL_MSG): Likewise.
27967         (POLL_ERR): Likewise.
27968         (POLL_PRI): Likewise.
27969         (POLL_HUP): Likewise.
27970         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
27971         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
27973         [BZ #16670]
27974         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
27975         before #include of <time.h>.
27976         [!__USE_XOPEN2K] (__need_timespec): Likewise.
27977         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
27978         (test-xfail-UNIX98/sched.h/conform): Likewise.
27980 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27982         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
27983         error absence of trapping exception support.
27984         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27986 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
27988         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
27989         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
27990         * timezone/Makefile (testdata): Move definition above include of
27991         Rules.
27992         (test-zones): New variable.
27993         (tests-special): Add zone files.
27994         (build-testdata): Use $(evaluate-test).
27996         * elf/Makefile (tests-special): Rename tests to end with .out.
27997         ($(objpfx)noload-mem): Likewise.
27998         ($(objpfx)tst-leaks1-mem): Likewise.
27999         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
28000         * iconv/Makefile (xtests-special): Change test-iconvconfig to
28001         $(objpfx)test-iconvconfig.out.
28002         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
28003         set -e inside subshell and redirect output to file.
28004         * iconvdata/Makefile (generated): Rename tests to end with .out.
28005         Correct type.
28006         (tests-special): Rename tests to end with .out.
28007         ($(objpfx)mtrace-tst-loading): Likewise.
28008         * intl/Makefile (generated): Likewise.
28009         (tests-special): Likewise.
28010         ($(objpfx)mtrace-tst-gettext): Likewise.
28011         * misc/Makefile (generated): Likewise.
28012         (tests-special): Likewise.
28013         ($(objpfx)tst-error1-mem): Likewise.
28014         * nptl/Makefile (tests-special): Likewise.
28015         ($(objpfx)tst-stack3-mem): Likewise.
28016         (generated): Likewise.
28017         * posix/Makefile (generated): Likewise.
28018         (tests-special): Likewise.
28019         (xtests-special): Likewise.
28020         ($(objpfx)tst-fnmatch-mem): Likewise.
28021         ($(objpfx)bug-regex2-mem): Likewise.
28022         ($(objpfx)bug-regex14-mem): Likewise.
28023         ($(objpfx)bug-regex21-mem): Likewise.
28024         ($(objpfx)bug-regex31-mem): Likewise.
28025         ($(objpfx)tst-vfork3-mem): Likewise.
28026         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
28027         ($(objpfx)tst-pcre-mem): Likewise.
28028         ($(objpfx)tst-boost-mem): Likewise.
28029         ($(objpfx)bug-ga2-mem): Likewise.
28030         ($(objpfx)bug-glob2-mem): Likewise.
28031         * resolv/Makefile (generate): Likewise.
28032         (tests-special): Likewise.
28033         (xtests-special): Likewise.
28034         (generated): Likewise.
28035         ($(objpfx)mtrace-tst-leaks): Likewise.
28036         ($(objpfx)mtrace-tst-leaks2): Likewise.
28038         * scripts/merge-test-results.sh: New file.
28039         * Makefile (tests-special-notdir): New variable.
28040         (tests): Run merge-test-results.sh.
28041         (xtests): Likewise.
28042         * Rules (tests-special-notdir): New variable.
28043         (xtests-special-notdir): Likewise.
28044         (tests): Run merge-test-results.sh
28045         (xtests): Likewise.
28047         * Makeconfig (test-xfail-name): New variable.
28048         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
28049         compute variable name for expected failures.
28050         * conform/Makefile (conformtest-headers-data): New variable.
28051         (conformtest-standards): Likewise.
28052         (conformtest-headers-ISO): Likewise.
28053         (conformtest-headers-ISO99): Likewise.
28054         (conformtest-headers-ISO11): Likewise.
28055         (conformtest-headers-POSIX): Likewise.
28056         (conformtest-headers-XPG3): Likewise.
28057         (conformtest-headers-XPG4): Likewise.
28058         (conformtest-headers-UNIX98): Likewise.
28059         (conformtest-headers-XOPEN2K): Likewise.
28060         (conformtest-headers-POSIX2008): Likewise.
28061         (conformtest-headers-XOPEN2K8): Likewise.
28062         (conformtest-header-list-base): Likewise.
28063         (conformtest-header-list-tests): Likewise.
28064         (conformtest-header-base): Likewise.
28065         (conformtest-header-tests): Likewise.
28066         (tests-special): Add $(conformtest-header-list-tests).  If
28067         [$(fast-check) && !$(cross-compiling)], add
28068         $(conformtest-header-tests) instead of
28069         $(objpfx)run-conformtest.out.
28070         (generated): Add $(conformtest-header-list-base).  If
28071         [$(fast-check) && !$(cross-compiling)], add
28072         $(conformtest-header-base).  Remove previous setting.
28073         ($(conformtest-header-list-tests)): New target.
28074         (test-xfail-run-conformtest): Remove variable.
28075         ($(objpfx)run-conformtest.out): Remove target.
28076         (test-xfail-ISO11/complex.h/conform): New variable.
28077         (test-xfail-ISO11/stdalign.h/conform): Likewise.
28078         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
28079         (test-xfail-XPG3/varargs.h/conform): Likewise.
28080         (test-xfail-XPG4/varargs.h/conform): Likewise.
28081         (test-xfail-UNIX98/varargs.h/conform): Likewise.
28082         (test-xfail-XPG4/ndbm.h/conform): Likewise.
28083         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
28084         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
28085         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
28086         (test-xfail-XPG3/fcntl.h/conform): Likewise.
28087         (test-xfail-XPG3/ftw.h/conform): Likewise.
28088         (test-xfail-XPG3/grp.h/conform): Likewise.
28089         (test-xfail-XPG3/langinfo.h/conform): Likewise.
28090         (test-xfail-XPG3/limits.h/conform): Likewise.
28091         (test-xfail-XPG3/pwd.h/conform): Likewise.
28092         (test-xfail-XPG3/search.h/conform): Likewise.
28093         (test-xfail-XPG3/signal.h/conform): Likewise.
28094         (test-xfail-XPG3/stdio.h/conform): Likewise.
28095         (test-xfail-XPG3/stdlib.h/conform): Likewise.
28096         (test-xfail-XPG3/string.h/conform): Likewise.
28097         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
28098         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
28099         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28100         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28101         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
28102         (test-xfail-XPG3/sys/types.h/conform): Likewise.
28103         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
28104         (test-xfail-XPG3/termios.h/conform): Likewise.
28105         (test-xfail-XPG3/time.h/conform): Likewise.
28106         (test-xfail-XPG3/unistd.h/conform): Likewise.
28107         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
28108         (test-xfail-XPG4/fcntl.h/conform): Likewise.
28109         (test-xfail-XPG4/langinfo.h/conform): Likewise.
28110         (test-xfail-XPG4/netdb.h/conform): Likewise.
28111         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
28112         (test-xfail-XPG4/signal.h/conform): Likewise.
28113         (test-xfail-XPG4/stdio.h/conform): Likewise.
28114         (test-xfail-XPG4/stdlib.h/conform): Likewise.
28115         (test-xfail-XPG4/stropts.h/conform): Likewise.
28116         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28117         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28118         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28119         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28120         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28121         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
28122         (test-xfail-XPG4/sys/time.h/conform): Likewise.
28123         (test-xfail-XPG4/sys/types.h/conform): Likewise.
28124         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
28125         (test-xfail-XPG4/termios.h/conform): Likewise.
28126         (test-xfail-XPG4/ucontext.h/conform): Likewise.
28127         (test-xfail-XPG4/unistd.h/conform): Likewise.
28128         (test-xfail-XPG4/utmpx.h/conform): Likewise.
28129         (test-xfail-POSIX/sched.h/conform): Likewise.
28130         (test-xfail-POSIX/signal.h/conform): Likewise.
28131         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
28132         (test-xfail-POSIX/tar.h/conform): Likewise.
28133         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
28134         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
28135         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
28136         (test-xfail-UNIX98/netdb.h/conform): Likewise.
28137         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
28138         (test-xfail-UNIX98/sched.h/conform): Likewise.
28139         (test-xfail-UNIX98/signal.h/conform): Likewise.
28140         (test-xfail-UNIX98/stdio.h/conform): Likewise.
28141         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
28142         (test-xfail-UNIX98/stropts.h/conform): Likewise.
28143         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28144         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28145         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28146         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28147         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28148         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
28149         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28150         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28151         (test-xfail-UNIX98/unistd.h/conform): Likewise.
28152         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
28153         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
28154         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
28155         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
28156         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
28157         (test-xfail-XOPEN2K/math.h/conform): Likewise.
28158         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
28159         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28160         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28161         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
28162         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28163         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
28164         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
28165         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28166         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28167         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28168         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28169         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28170         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28171         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28172         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
28173         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
28174         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28175         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28176         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
28177         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28178         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
28179         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
28180         (test-xfail-POSIX2008/signal.h/conform): Likewise.
28181         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28182         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
28183         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28184         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28185         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28186         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
28187         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
28188         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28189         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28190         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28191         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
28192         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28193         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28194         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28195         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
28196         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28197         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28198         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28199         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
28200         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28201         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
28202         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
28203         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
28204         (conformtest-cc-flags): Likewise.
28205         ($(conformtest-header-tests): New target.
28206         * conform/check-header-lists.sh: New file.
28207         * conform/run-conformtest.sh: Remove.
28209         * conform/conformtest.pl: Allow ' and \ in values given for
28210         constants.
28211         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
28212         inclusion.
28213         [POSIX] (sys/types.h): Likewise.
28214         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
28215         inclusion.
28216         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
28217         inclusion.
28218         * conform/data/signal.h-data (SIGIO): Remove expectation.
28219         [XPG3] (SIGBUS): Do not expect.
28220         [POSIX || XPG3] (SIGPOLL): Likewise.
28221         [POSIX || XPG3] (SIGPROF): Likewise.
28222         [POSIX || XPG3] (SIGSYS): Likewise.
28223         [XPG3] (SIGTRAP): Likewise.
28224         [POSIX || XPG3] (SIGURG): Likewise.
28225         [POSIX || XPG3] (SIGVTALRM): Likewise.
28226         [POSIX || XPG3] (SIGXCPU): Likewise.
28227         [POSIX || XPG3] (SIGXFSZ): Likewise.
28228         [POSIX] (SA_SIGINFO): Expect.
28229         [XPG3] (siginfo_t): Do not expect type or contents.
28230         [POSIX] (si_pid): Do not expect element.
28231         [POSIX] (si_uid): Likewise.
28232         [POSIX] (si_addr): Likewise.
28233         [POSIX] (si_status): Likewise.
28234         [POSIX] (si_band): Likewise.
28235         [XPG4] (si_value): Likewise.
28236         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
28237         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
28238         [POSIX || XPG3] (ILL_ILLADR): Likewise.
28239         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
28240         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
28241         [POSIX || XPG3] (ILL_PRVREG): Likewise.
28242         [POSIX || XPG3] (ILL_COPROC): Likewise.
28243         [POSIX || XPG3] (ILL_BADSTK): Likewise.
28244         [POSIX || XPG3] (FPE_INTDIV): Likewise.
28245         [POSIX || XPG3] (FPE_INTOVF): Likewise.
28246         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
28247         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
28248         [POSIX || XPG3] (FPE_FLTUND): Likewise.
28249         [POSIX || XPG3] (FPE_FLTRES): Likewise.
28250         [POSIX || XPG3] (FPE_FLTINV): Likewise.
28251         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
28252         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
28253         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
28254         [POSIX || XPG3] (BUS_ADRALN): Likewise.
28255         [POSIX || XPG3] (BUS_ADRERR): Likewise.
28256         [POSIX || XPG3] (BUS_OBJERR): Likewise.
28257         [POSIX || XPG3] (CLD_EXITED): Likewise.
28258         [POSIX || XPG3] (CLD_KILLED): Likewise.
28259         [POSIX || XPG3] (CLD_DUMPED): Likewise.
28260         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
28261         [POSIX || XPG3] (CLD_STOPPED): Likewise.
28262         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
28263         [POSIX || XPG3] (POLL_IN): Likewise.
28264         [POSIX || XPG3] (POLL_OUT): Likewise.
28265         [POSIX || XPG3] (POLL_MSG): Likewise.
28266         [POSIX || XPG3] (POLL_ERR): Likewise.
28267         [POSIX || XPG3] (POLL_PRI): Likewise.
28268         [POSIX || XPG3] (POLL_HUP): Likewise.
28269         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
28270         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
28271         (SIG*): Do not allow.
28272         [XPG3] (si_*): Likewise.
28273         [XPG3] (SI_*): Likewise.
28274         [XPG3 || XPG4] (sigev_*): Likewise.
28275         [XPG3 || XPG4] (SIGEV_*): Likewise.
28276         [XPG3 || XPG4] (sival_*): Likewise.
28277         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
28278         [POSIX || XPG3] (BUS_*): Likewise.
28279         [POSIX || XPG3] (CLD_*): Likewise.
28280         [POSIX || XPG3] (FPE_*): Likewise.
28281         [POSIX || XPG3] (ILL_*): Likewise.
28282         [POSIX || XPG3] (POLL_*): Likewise.
28283         [POSIX || XPG3] (SEGV_*): Likewise.
28284         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
28285         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
28286         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
28287         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
28288         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
28289         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
28290         Specify type and value.
28291         (TVERSLEN): Likewise.
28292         (REGTYPE): Likewise.
28293         (AREGTYPE): Likewise.
28294         (LNKTYPE): Likewise.
28295         (SYMTYPE): Likewise.
28296         (CHRTYPE): Likewise.
28297         (BLKTYPE): Likewise.
28298         (DIRTYPE): Likewise.
28299         (FIFOTYPE): Likewise.
28300         (CONTTYPE): Likewise.
28301         (TSUID): Likewise.
28302         (TSGID): Likewise.
28303         (TSVTX): Likewise.
28304         (TUREAD): Likewise.
28305         (TUWRITE): Likewise.
28306         (TUEXEC): Likewise.
28307         (TGREAD): Likewise.
28308         (TGWRITE): Likewise.
28309         (TGEXEC): Likewise.
28310         (TOREAD): Likewise.
28311         (TOWRITE): Likewise.
28312         (TOEXEC): Likewise.
28313         [POSIX] (TSVTX): Expect constant.
28315 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
28317         * Makefile (tests): Change dependencies to ....
28318         (tests-special): ... additions to this variable.
28319         (tests): Depend on $(tests-special).
28320         * Makerules (check-abi-list): New variable.
28321         (check-abi): Depend on $(check-abi-list).
28322         [$(subdir) = elf] (tests-special): Add
28323         $(objpfx)check-abi-libc.out.
28324         [$(build-shared) = yes && subdir] (tests-special): Add
28325         $(check-abi-list).
28326         [$(build-shared) = yes && subdir] (tests): Do not depend on
28327         check-abi.
28328         * Rules (tests): Depend on $(tests-special).
28329         (xtests): Depend on $(xtests-special).
28330         * catgets/Makefile (tests): Change dependencies to ....
28331         (tests-special): ... additions to this variable.
28332         * conform/Makefile (tests): Change dependencies to ....
28333         (tests-special): ... additions to this variable.
28334         * elf/Makefile (tests): Change dependencies to ....
28335         (tests-special): ... additions to this variable.
28336         * grp/Makefile (tests): Change dependencies to ....
28337         (tests-special): ... additions to this variable.
28338         * iconv/Makefile (xtests): Change dependencies to ....
28339         (xtests-special): ... additions to this variable.
28340         * iconvdata/Makefile (tests): Change dependencies to ....
28341         (tests-special): ... additions to this variable.
28342         * intl/Makefile (tests): Change dependencies to ....
28343         (tests-special): ... additions to this variable.  Also add
28344         $(objpfx)tst-gettext.out.
28345         * io/Makefile (tests): Change dependencies to ....
28346         (tests-special): ... additions to this variable.
28347         * libio/Makefile (tests): Change dependencies to ....
28348         (tests-special): ... additions to this variable.
28349         * malloc/Makefile (tests): Change dependencies to ....
28350         (tests-special): ... additions to this variable.
28351         * misc/Makefile (tests): Change dependencies to ....
28352         (tests-special): ... additions to this variable.
28353         * nptl/Makefile (tests): Change dependencies to ....
28354         (tests-special): ... additions to this variable.
28355         * nptl_db/Makefile (tests): Change dependencies to ....
28356         (tests-special): ... additions to this variable.
28357         * posix/Makefile (tests): Change dependencies to ....
28358         (tests-special): ... additions to this variable.
28359         (xtests): Change dependencies to ....
28360         (xtests-special): ... additions to this variable.
28361         * resolv/Makefile (tests): Change dependencies to ....
28362         (tests-special): ... additions to this variable.
28363         (xtests): Change dependencies to ....
28364         (xtests-special): ... additions to this variable.
28365         * stdio-common/Makefile (tests): Change dependencies to ....
28366         (tests-special): ... additions to this variable.
28367         (do-tst-unbputc): Remove target.
28368         (do-tst-printf): Likewise.
28369         * stdlib/Makefile (tests): Change dependencies to ....
28370         (tests-special): ... additions to this variable.
28371         * string/Makefile (tests): Change dependencies to ....
28372         (tests-special): ... additions to this variable.
28373         * sysdeps/x86/Makefile (tests): Change dependencies to ....
28374         (tests-special): ... additions to this variable.
28376         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
28377         whole file.
28378         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
28379         whole file.
28380         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
28381         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
28383         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
28384         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
28385         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
28386         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
28387         * conform/data/libgen.h-data [XPG3]: Likewise.
28388         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
28389         * conform/data/ndbm.h-data [XPG3]: Likewise.
28390         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
28391         * conform/data/netdb.h-data [XPG3]: Likewise.
28392         * conform/data/netinet/in.h-data [XPG3]: Likewise.
28393         * conform/data/poll.h-data [XPG3]: Likewise.
28394         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
28395         * conform/data/strings.h-data [XPG3]: Likewise.
28396         * conform/data/stropts.h-data [XPG3]: Likewise.
28397         * conform/data/sys/mman.h-data [XPG3]: Likewise.
28398         * conform/data/sys/resource.h-data [XPG3]: Likewise.
28399         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
28400         Likewise.
28401         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
28402         * conform/data/sys/time.h-data [XPG3]: Likewise.
28403         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
28404         * conform/data/sys/uio.h-data [XPG3]: Likewise.
28405         * conform/data/sys/un.h-data [XPG3]: Likewise.
28406         * conform/data/syslog.h-data [XPG3]: Likewise.
28407         * conform/data/ucontext.h-data [XPG3]: Likewise.
28408         * conform/data/utmpx.h-data [XPG3]: Likewise.
28409         * conform/data/varargs.h-data [UNIX98]: Enable file.
28411         * manual/Makefile (INSTALL_INFO): Remove variable setting.
28413         * math/libm-test.inc (struct test_f_f_data): Move expected results
28414         into structure for each rounding mode.
28415         (struct test_ff_f_data): Likewise.
28416         (struct test_ff_f_data_nexttoward): Likewise.
28417         (struct test_fi_f_data): Likewise.
28418         (struct test_fl_f_data): Likewise.
28419         (struct test_if_f_data): Likewise.
28420         (struct test_fff_f_data): Likewise.
28421         (struct test_c_f_data): Likewise.
28422         (struct test_f_f1_data): Likewise.
28423         (struct test_fF_f1_data): Likewise.
28424         (struct test_ffI_f1_data): Likewise.
28425         (struct test_c_c_data): Likewise.
28426         (struct test_cc_c_data): Likewise.
28427         (struct test_f_i_data): Likewise.
28428         (struct test_ff_i_data): Likewise.
28429         (struct test_f_l_data): Likewise.
28430         (struct test_f_L_data): Likewise.
28431         (struct test_fFF_11_data): Likewise.
28432         (RM_): New macro.
28433         (RM_FE_DOWNWARD): Likewise.
28434         (RM_FE_TONEAREST): Likewise.
28435         (RM_FE_TOWARDZERO): Likewise.
28436         (RM_FE_UPWARD): Likewise.
28437         (RUN_TEST_LOOP_f_f): Update references to expected results.
28438         (RUN_TEST_LOOP_2_f): Likewise.
28439         (RUN_TEST_LOOP_fff_f): Likewise.
28440         (RUN_TEST_LOOP_c_f): Likewise.
28441         (RUN_TEST_LOOP_f_f1): Likewise.
28442         (RUN_TEST_LOOP_fF_f1): Likewise.
28443         (RUN_TEST_LOOP_fI_f1): Likewise.
28444         (RUN_TEST_LOOP_ffI_f1): Likewise.
28445         (RUN_TEST_LOOP_c_c): Likewise.
28446         (RUN_TEST_LOOP_cc_c): Likewise.
28447         (RUN_TEST_LOOP_f_i): Likewise.
28448         (RUN_TEST_LOOP_f_i_tg): Likewise.
28449         (RUN_TEST_LOOP_ff_i_tg): Likewise.
28450         (RUN_TEST_LOOP_f_b): Likewise.
28451         (RUN_TEST_LOOP_f_b_tg): Likewise.
28452         (RUN_TEST_LOOP_f_l): Likewise.
28453         (RUN_TEST_LOOP_f_L): Likewise.
28454         (RUN_TEST_LOOP_fFF_11): Likewise.
28455         * math/gen-libm-test.pl (parse_args): Output four copies of
28456         expected results for each test.
28458         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28459         (__ASSUME_UTIMES): Remove.
28460         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28461         (__ASSUME_UTIMES): Likewise.
28463         * math/gen-auto-libm-tests.c: Update comment on output format.
28464         (output_for_one_input_case): Generate before-rounding and
28465         after-rounding information as conditions on output flags not
28466         floating-point format.
28467         * math/auto-libm-test-out: Regenerated.
28468         * math/gen-libm-test.pl (cond_value): New function.
28469         (or_cond_value): Use cond_value.
28470         (generate_testfile): Handle conditional exceptions.
28472 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
28474         * math/libm-test.inc (max_valid_error): New variable.
28475         (init_max_error): Take new argument specifying whether function
28476         results are exactly determined.  Set max_valid_error and bound
28477         other variables for errors based on this argument.
28478         (set_max_error): Do not record results above max_valid_error.
28479         (check_float_internal): Only accept errors of up to 0.5ulps if
28480         also at most max_valid_error.
28481         (START): Take new argument EXACT and pass it to init_max_error.
28482         (acos_test): Update call to START.
28483         (acos_test_tonearest): Likewise.
28484         (acos_test_towardzero): Likewise.
28485         (acos_test_downward): Likewise.
28486         (acos_test_upward): Likewise.
28487         (acosh_test): Likewise.
28488         (asin_test): Likewise.
28489         (asin_test_tonearest): Likewise.
28490         (asin_test_towardzero): Likewise.
28491         (asin_test_downward): Likewise.
28492         (asin_test_upward): Likewise.
28493         (asinh_test): Likewise.
28494         (atan_test): Likewise.
28495         (atanh_test): Likewise.
28496         (atan2_test): Likewise.
28497         (cabs_test): Likewise.
28498         (cacos_test): Likewise.
28499         (cacosh_test): Likewise.
28500         (carg_test): Likewise.
28501         (casin_test): Likewise.
28502         (casinh_test): Likewise.
28503         (catan_test): Likewise.
28504         (catanh_test): Likewise.
28505         (cbrt_test): Likewise.
28506         (ccos_test): Likewise.
28507         (ccosh_test): Likewise.
28508         (ceil_test): Likewise.
28509         (cexp_test): Likewise.
28510         (cimag_test): Likewise.
28511         (clog_test): Likewise.
28512         (clog10_test): Likewise.
28513         (conj_test): Likewise.
28514         (copysign_test): Likewise.
28515         (cos_test): Likewise.
28516         (cos_test_tonearest): Likewise.
28517         (cos_test_towardzero): Likewise.
28518         (cos_test_downward): Likewise.
28519         (cos_test_upward): Likewise.
28520         (cosh_test): Likewise.
28521         (cosh_test_tonearest): Likewise.
28522         (cosh_test_towardzero): Likewise.
28523         (cosh_test_downward): Likewise.
28524         (cosh_test_upward): Likewise.
28525         (cpow_test): Likewise.
28526         (cproj_test): Likewise.
28527         (creal_test): Likewise.
28528         (csin_test): Likewise.
28529         (csinh_test): Likewise.
28530         (csqrt_test): Likewise.
28531         (ctan_test): Likewise.
28532         (ctan_test_tonearest): Likewise.
28533         (ctan_test_towardzero): Likewise.
28534         (ctan_test_downward): Likewise.
28535         (ctan_test_upward): Likewise.
28536         (ctanh_test): Likewise.
28537         (ctanh_test_tonearest): Likewise.
28538         (ctanh_test_towardzero): Likewise.
28539         (ctanh_test_downward): Likewise.
28540         (ctanh_test_upward): Likewise.
28541         (erf_test): Likewise.
28542         (erfc_test): Likewise.
28543         (exp_test): Likewise.
28544         (exp_test_tonearest): Likewise.
28545         (exp_test_towardzero): Likewise.
28546         (exp_test_downward): Likewise.
28547         (exp_test_upward): Likewise.
28548         (exp10_test): Likewise.
28549         (exp10_test_tonearest): Likewise.
28550         (exp10_test_towardzero): Likewise.
28551         (exp10_test_downward): Likewise.
28552         (exp10_test_upward): Likewise.
28553         (pow10_test): Likewise.
28554         (exp2_test): Likewise.
28555         (expm1_test): Likewise.
28556         (expm1_test_tonearest): Likewise.
28557         (expm1_test_towardzero): Likewise.
28558         (expm1_test_downward): Likewise.
28559         (expm1_test_upward): Likewise.
28560         (fabs_test): Likewise.
28561         (fdim_test): Likewise.
28562         (floor_test): Likewise.
28563         (fma_test): Likewise.
28564         (fma_test_towardzero): Likewise.
28565         (fma_test_downward): Likewise.
28566         (fma_test_upward): Likewise.
28567         (fmax_test): Likewise.
28568         (fmin_test): Likewise.
28569         (fmod_test): Likewise.
28570         (fpclassify_test): Likewise.
28571         (frexp_test): Likewise.
28572         (hypot_test): Likewise.
28573         (ilogb_test): Likewise.
28574         (isfinite_test): Likewise.
28575         (finite_test): Likewise.
28576         (isgreater_test): Likewise.
28577         (isgreaterequal_test): Likewise.
28578         (isinf_test): Likewise.
28579         (isless_test): Likewise.
28580         (islessequal_test): Likewise.
28581         (islessgreater_test): Likewise.
28582         (isnan_test): Likewise.
28583         (isnormal_test): Likewise.
28584         (issignaling_test): Likewise.
28585         (isunordered_test): Likewise.
28586         (j0_test): Likewise.
28587         (j1_test): Likewise.
28588         (jn_test): Likewise.
28589         (ldexp_test): Likewise.
28590         (lgamma_test): Likewise.
28591         (gamma_test): Likewise.
28592         (lrint_test): Likewise.
28593         (lrint_test_tonearest): Likewise.
28594         (lrint_test_towardzero): Likewise.
28595         (lrint_test_downward): Likewise.
28596         (lrint_test_upward): Likewise.
28597         (llrint_test): Likewise.
28598         (llrint_test_tonearest): Likewise.
28599         (llrint_test_towardzero): Likewise.
28600         (llrint_test_downward): Likewise.
28601         (llrint_test_upward): Likewise.
28602         (log_test): Likewise.
28603         (log10_test): Likewise.
28604         (log1p_test): Likewise.
28605         (log2_test): Likewise.
28606         (logb_test): Likewise.
28607         (logb_test_downward): Likewise.
28608         (lround_test): Likewise.
28609         (llround_test): Likewise.
28610         (modf_test): Likewise.
28611         (nearbyint_test): Likewise.
28612         (nextafter_test): Likewise.
28613         (nexttoward_test): Likewise.
28614         (pow_test): Likewise.
28615         (pow_test_tonearest): Likewise.
28616         (pow_test_towardzero): Likewise.
28617         (pow_test_downward): Likewise.
28618         (pow_test_upward): Likewise.
28619         (remainder_test): Likewise.
28620         (drem_test): Likewise.
28621         (remainder_test_tonearest): Likewise.
28622         (drem_test_tonearest): Likewise.
28623         (remainder_test_towardzero): Likewise.
28624         (drem_test_towardzero): Likewise.
28625         (remainder_test_downward): Likewise.
28626         (drem_test_downward): Likewise.
28627         (remainder_test_upward): Likewise.
28628         (drem_test_upward): Likewise.
28629         (remquo_test): Likewise.
28630         (rint_test): Likewise.
28631         (rint_test_tonearest): Likewise.
28632         (rint_test_towardzero): Likewise.
28633         (rint_test_downward): Likewise.
28634         (rint_test_upward): Likewise.
28635         (round_test): Likewise.
28636         (scalb_test): Likewise.
28637         (scalbn_test): Likewise.
28638         (scalbln_test): Likewise.
28639         (signbit_test): Likewise.
28640         (sin_test): Likewise.
28641         (sin_test_tonearest): Likewise.
28642         (sin_test_towardzero): Likewise.
28643         (sin_test_downward): Likewise.
28644         (sin_test_upward): Likewise.
28645         (sincos_test): Likewise.
28646         (sinh_test): Likewise.
28647         (sinh_test_tonearest): Likewise.
28648         (sinh_test_towardzero): Likewise.
28649         (sinh_test_downward): Likewise.
28650         (sinh_test_upward): Likewise.
28651         (sqrt_test): Likewise.
28652         (sqrt_test_tonearest): Likewise.
28653         (sqrt_test_towardzero): Likewise.
28654         (sqrt_test_downward): Likewise.
28655         (sqrt_test_upward): Likewise.
28656         (tan_test): Likewise.
28657         (tan_test_tonearest): Likewise.
28658         (tan_test_towardzero): Likewise.
28659         (tan_test_downward): Likewise.
28660         (tan_test_upward): Likewise.
28661         (tanh_test): Likewise.
28662         (tgamma_test): Likewise.
28663         (trunc_test): Likewise.
28664         (y0_test): Likewise.
28665         (y1_test): Likewise.
28666         (yn_test): Likewise.
28667         (significand_test): Likewise.
28669         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
28670         individual tests in comment.
28671         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
28672         (prev_max_error): New variable.
28673         (prev_real_max_error): Likewise.
28674         (prev_imag_max_error): Likewise.
28675         (compare_ulp_data): Don't refer to test names in comment.
28676         (find_test_ulps): Remove function.
28677         (find_function_ulps): Likewise.
28678         (find_complex_function_ulps): Likewise.
28679         (init_max_error): Take function name as argument.  Look up ulps
28680         for that function.
28681         (print_ulps): Remove function.
28682         (print_max_error): Use prev_max_error instead of calling
28683         find_function_ulps.
28684         (print_complex_max_error): Use prev_real_max_error and
28685         prev_imag_max_error instead of calling find_complex_function_ulps.
28686         (check_float_internal): Take max_ulp parameter instead of calling
28687         find_test_ulps.  Don't call print_ulps.
28688         (check_float): Update call to check_float_internal.
28689         (check_complex): Update calls to check_float_internal.
28690         (START): Pass argument to init_max_error.
28691         * math/gen-libm-test.pl (%results): Don't include "kind"
28692         information.
28693         (parse_ulps): Don't handle ulps of individual tests.
28694         (print_ulps_file): Likewise.
28695         (output_ulps): Likewise.
28696         * math/README.libm-test: Update.
28697         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
28698         individual tests.
28699         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
28700         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28701         * sysdeps/arm/libm-test-ulps: Likewise.
28702         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28703         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
28704         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
28705         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
28706         * sysdeps/microblaze/libm-test-ulps: Likewise.
28707         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28708         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28709         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28710         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28711         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28712         * sysdeps/sh/libm-test-ulps: Likewise.
28713         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28714         * sysdeps/tile/libm-test-ulps: Likewise.
28715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28717 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
28719         * math/libm-test.inc (print_complex_max_error): Check separately
28720         whether real and imaginary errors are within allowed range and
28721         pass 0 to print_complex_function_ulps instead of value within
28722         allowed range.
28724 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28726         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
28727         formatting.
28728         (get_handles_fopen): Likewise.
28729         (do_write_test): Likewise.
28731         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
28733         * libio/fileops.c (do_ftell): Use cached offset when
28734         available.
28735         * libio/iofwide.c (do_ftell_wide): Likewise.
28736         * libio/iofdopen.c (_IO_new_fdopen): Don't use
28737         _IO_file_attach.
28738         * libio/wfileops.c (_IO_fwide): Don't cache offset.
28740         [BZ #16532]
28741         * libio/libioP.h (get_file_offset): New function.
28742         * libio/fileops.c (get_file_offset): Likewise.
28743         (do_ftell): Likewise.
28744         (_IO_new_file_seekoff): Split out ftell logic.
28745         * libio/wfileops.c (do_ftell_wide): Likewise.
28746         (_IO_wfile_seekoff): Split out ftell logic.
28747         * libio/tst-ftell-active-handler.c: New test case.
28748         * libio/Makefile (tests): Add it.
28750 2014-03-03  Roland McGrath  <roland@hack.frob.com>
28752         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
28753         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
28755 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28757         [BZ #16639]
28758         * nscd/connections.c (nscd_init): Call do_exit.
28759         (start_threads): Call do_exit and notify_parent.
28760         (begin_drop_privileges): Call do_exit.
28761         (finish_drop_privileges): Likewise.
28762         * nscd/selinux.c (preserve_capabilities): Likewise.
28763         (install_real_capabilities): Likewise.
28764         (nscd_selinux_enabled): Likewise.
28765         (avc_create_thread): Likewise.
28766         (avc_alloc_lock): Likewise.
28767         (nscd_avc_init): Likewise.
28768         * nscd/nscd.c (parent_fd): New static variable.
28769         (main): Create a pipe between parent and child processes.
28770         Skip closing parent_fd.
28771         (monitor_child): New function.
28772         (do_exit): Likewise.
28773         (notify_parent): Likewise.
28774         * nscd/nscd.h (notify_parent): Likewise.
28775         (do_exit): Likewise.
28777 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
28779         * malloc/malloc.c (__libc_calloc): Revert last change.
28781 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28785 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28787         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
28788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
28789         implementation.
28790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28791         (__libc_ifunc_impl_list): Likewise.
28792         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
28793         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
28794         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
28795         * string/strrchr.c: Define STRRCHR.
28797 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
28799         * benchtest/bench-strtok.c (simple_strtok): Delete.
28800         (strtok_string): Use as benchmark.
28801         * string/strtok (STRTOK): New macro.
28803 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
28805         * manual/threads.texi: Add header and standard comments to all
28806         functions.
28808         * elf/dl-lookup.c (check_match): New function.
28809         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
28810         (do_lookup_x): Remove nested function check_match. Use non-nested
28811         function check_match.
28813 2014-02-28  Roland McGrath  <roland@hack.frob.com>
28815         * csu/Makefile (generated, before-compile): Use += rather than =.
28816         * catgets/Makefile (generated, generated-dirs): Likewise.
28817         * debug/Makefile (generated): Likewise.
28818         * dlfcn/Makefile (generated): Likewise.
28819         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
28820         * iconvdata/Makefile (before-compile, generated): Likewise.
28821         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
28822         * libio/Makefile (generated): Likewise.
28823         * malloc/Makefile (generated): Likewise.
28824         * manual/Makefile (generated, generated-dirs): Likewise.
28825         * misc/Makefile (generated): Likewise.
28826         * posix/Makefile (generated): Likewise.
28827         * resolv/Makefile (generated): Likewise.
28828         * sunrpc/Makefile (generated, generated-dirs): Likewise.
28829         * timezone/Makefile (generated, generated-dirs): Likewise.
28831         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
28833 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28835         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28836         power8 implementation.
28837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
28838         file: POWER8 llround ifunc implementation.
28839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
28840         (__lllround): Add POWER8 implementation.
28841         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
28842         POWER8 llround implementation.
28844         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
28845         power8 implementation.
28846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
28847         file: POWER8 llrint ifunc implementation.
28848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
28849         Add POWER8 implementation.
28850         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
28851         POWER8 llrint implementation.
28853         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
28854         power8 implementation.
28855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
28856         file: POWER8 finite ifunc implementation.
28857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
28858         Add POWER8 implementation.
28859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
28860         Likewise.
28861         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
28862         POWER8 finite implementation.
28863         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
28865         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
28866         power8 implementation.
28867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
28868         file: POWER8 isinf ifunc implementation.
28869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
28870         POWER8 implementation.
28871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
28872         Likewise.
28873         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
28874         isinf implementation.
28875         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
28877         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
28878         (INIT_ARCH): Add hwcap2 initialization.
28879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28880         power8 implementation.
28881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
28882         file: POWER8 isnan ifunc implementation.
28883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
28884         POWER8 implementation.
28885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
28886         Likewise.
28887         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
28888         isnan implementation.
28889         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
28891 2014-02-27  Joey Ye  <joey.ye@arm.com>
28893         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28894         (_FP_NANFRAC_Q): Set to zero.
28896 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28898         [BZ #16623]
28899         * math/auto-libm-test-in: New test inputs.
28900         * math/auto-libm-test-out: Regenerate.
28901         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
28902         and DA.
28903         (__cos): Likewise.
28904         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28906 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
28908         * scripts/evaluate-test.sh: Take new argument indicating whether
28909         failure is expected.
28910         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
28911         indicating whether failure is expected.
28912         * conform/Makefile (test-xfail-run-conformtest): New variable.
28913         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
28914         level.
28915         * posix/Makefile (test-xfail-annexc): New variable.
28916         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
28918 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
28920         * argp/Makefile: Include Makeconfig immediately after defining
28921         subdir.
28922         * assert/Makefile: Likewise.
28923         * benchtests/Makefile: Likewise.
28924         * catgets/Makefile: Likewise.
28925         * conform/Makefile: Likewise.
28926         * crypt/Makefile: Likewise.
28927         * csu/Makefile: Likewise.
28928         (all): Remove target.
28929         * ctype/Makefile: Include Makeconfig immediately after defining
28930         subdir.
28931         * debug/Makefile: Likewise.
28932         * dirent/Makefile: Likewise.
28933         * dlfcn/Makefile: Likewise.
28934         * gmon/Makefile: Likewise.
28935         * gnulib/Makefile: Likewise.
28936         * grp/Makefile: Likewise.
28937         * gshadow/Makefile: Likewise.
28938         * hesiod/Makefile: Likewise.
28939         * hurd/Makefile: Likewise.
28940         (all): Remove target.
28941         * iconvdata/Makefile: Include Makeconfig immediately after
28942         defining subdir.
28943         * inet/Makefile: Likewise.
28944         * intl/Makefile: Likewise.
28945         * io/Makefile: Likewise.
28946         * libio/Makefile: Likewise.
28947         (all): Remove target.
28948         * locale/Makefile: Include Makeconfig immediately after defining
28949         subdir.
28950         * login/Makefile: Likewise.
28951         * mach/Makefile: Likewise.
28952         (all): Remove target.
28953         * malloc/Makefile: Include Makeconfig immediately after defining
28954         subdir.
28955         (all): Remove target.
28956         * manual/Makefile: Include Makeconfig immediately after defining
28957         subdir.
28958         * math/Makefile: Likewise.
28959         * misc/Makefile: Likewise.
28960         * nis/Makefile: Likewise.
28961         * nss/Makefile: Likewise.
28962         * po/Makefile: Likewise.
28963         (all): Remove target.
28964         * posix/Makefile: Include Makeconfig immediately after defining
28965         subdir.
28966         * pwd/Makefile: Likewise.
28967         * resolv/Makefile: Likewise.
28968         * resource/Makefile: Likewise.
28969         * rt/Makefile: Likewise.
28970         * setjmp/Makefile: Likewise.
28971         * shadow/Makefile: Likewise.
28972         * signal/Makefile: Likewise.
28973         * socket/Makefile: Likewise.
28974         * soft-fp/Makefile: Likewise.
28975         * stdio-common/Makefile: Likewise.
28976         * stdlib/Makefile: Likewise.
28977         * streams/Makefile: Likewise.
28978         * string/Makefile: Likewise.
28979         * sunrpc/Makefile: Likewise.
28980         (all): Remove target.
28981         * sysvipc/Makefile: Include Makeconfig immediately after defining
28982         subdir.
28983         * termios/Makefile: Likewise.
28984         * time/Makefile: Likewise.
28985         * timezone/Makefile: Likewise.
28986         (all): Remove target.
28987         * wcsmbs/Makefile: Include Makeconfig immediately after defining
28988         subdir.
28989         * wctype/Makefile: Likewise.
28991 2014-02-26  Steve Ellcey  <sellcey@mips.com>
28993         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
28994         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
28995         (libc_feholdexcept_setround_mips): Ditto.
28996         (libc_feholdsetround): New.
28997         (libc_feholdsetroundf): New.
28998         (libc_feholdsetroundl): New.
28999         (libc_feupdateenv_test_mips): New.
29000         (libc_feupdateenv_test): New.
29001         (libc_feupdateenv_testf): New.
29002         (libc_feupdateenv_testl): New.
29003         (libc_feresetround): New.
29004         (libc_feresetroundf): New.
29005         (libc_feresetroundl): New.
29006         (libc_fetestexcept_mips): New.
29007         (libc_fetestexcept): New.
29008         (libc_fetestexceptf): New.
29009         (libc_fetestexceptl): New.
29010         (HAVE_RM_CTX): New.
29011         (libc_feholdexcept_setround_mips_ctx): New.
29012         (libc_feholdexcept_setround_ctx): New.
29013         (libc_feholdexcept_setroundf_ctx): New.
29014         (libc_feholdexcept_setroundl_ctx): New.
29015         (libc_fesetenv_mips_ctx): New.
29016         (libc_fesetenv_ctx): New.
29017         (libc_fesetenv_ctxf): New.
29018         (libc_fesetenv_ctxl): New.
29019         (libc_feupdateenv_mips_ctx): New.
29020         (libc_feupdateenv_ctx): New.
29021         (libc_feupdateenvf_ctx): New.
29022         (libc_feupdateenvl_ctx): New.
29023         (libc_feholdsetround_mips_ctx): New.
29024         (libc_feholdsetround_ctx): New.
29025         (libc_feholdsetroundf_ctx): New.
29026         (libc_feholdsetroundl_ctx): New.
29027         (libc_feresetround_mips_ctx): New.
29028         (libc_feresetround_ctx): New.
29029         (libc_feresetroundf_ctx): New.
29030         (libc_feresetroundl_ctx): New.
29032 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
29034         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
29036         * manual/ipc.texi: New file.
29037         * manual/Makefile (chapters): Add ipc.
29038         * manual/job.texi: Add "Inter-Process Communication" to next.
29039         * manual/process.texi: Add "Inter-Process Communication" to prev.
29041 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29045 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
29047         * malloc/malloc.c (__libc_calloc): Simplify implementation.
29049         * manual/arith.texi: Fix spaces after sentences.
29050         * manual/charset.texi: Likewise.
29051         * manual/errno.texi: Likewise.
29052         * manual/install.texi: Likewise.
29053         * manual/llio.texi: Likewise.
29054         * manual/locale.texi: Likewise.
29055         * manual/maint.texi: Likewise.
29056         * manual/math.texi: Likewise.
29057         * manual/memory.texi: Likewise.
29058         * manual/message.texi: Likewise.
29059         * manual/probes.texi: Likewise.
29060         * manual/resource.texi: Likewise.
29061         * manual/signal.texi: Likewise.
29062         * manual/socket.texi: Likewise.
29063         * manual/stdio.texi: Likewise.
29064         * manual/string.texi: Likewise.
29065         * manual/time.texi: Likewise.
29066         * manual/users.texi: Likewise.
29068 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
29070         [BZ #16632]
29071         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
29072         _DEFAULT_SOURCE is defined.
29074 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
29075             Carlos O'Donell  <carlos@redhat.com>
29077         [BZ #16613]
29078         * elf/dl-tls.c (_dl_count_modids): New function.
29079         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
29080         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
29081         audit library and increment generation counter.
29082         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
29083         * elf/tst-audit9.c: New file.
29084         * elf/tst-auditmod9a.c: New file.
29085         * elf/tst-auditmod9b.c: New file.
29086         * elf/Makefile: Add rules to build and run tst-audit9.
29088 2014-02-25  Florian Weimer  <fweimer@redhat.com>
29090         [BZ #15347]
29091         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
29093 2014-02-25  Will Newton  <will.newton@linaro.org>
29095         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
29096         (__longjmp): Restore sp and lr before restoring callee
29097         saved registers.  Add longjmp and longjmp_target
29098         SystemTap probe point.
29099         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
29100         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
29101         Define to zero to match jmpbuf layout.
29102         * sysdeps/arm/setjmp.S: Include stap-probe.h.
29103         (__sigsetjmp): Save sp and lr before saving callee
29104         saved registers.  Add setjmp SystemTap probe point.
29106 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29108         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29110 2014-02-24  Andreas Schwab  <schwab@suse.de>
29112         [BZ #15804]
29113         * elf/pldd.c (wait_for_ptrace_stop): New function.
29114         (main): Call it after attaching.
29116 2014-02-22  Roland McGrath  <roland@hack.frob.com>
29118         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
29119         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
29120         Versions files is now verboten.
29121         * hurd/Versions (libc: GLIBC_2.0):
29122         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
29123         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
29124         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
29125         * mach/Versions: Likewise.
29127         * csu/Versions: Remove unused %include.
29128         * resolv/Versions: Likewise.
29130 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
29132         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
29133         ($(objpfx)check-local-headers.out): Likewise.
29134         ($(objpfx)begin-end-check.out): Likewise.
29135         * Makerules (check-abi-%.out): Likewise.
29136         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
29137         ($(objpfx)test2.cat): Likewise.
29138         ($(objpfx)de/libc.cat): Likewise.
29139         ($(objpfx)test-gencat.out): Likewise.
29140         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
29141         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
29142         ($(objpfx)noload-mem): Likewise.
29143         ($(objpfx)tst-pathopt.out): Likewise.
29144         ($(objpfx)tst-rtld-load-self.out): Likewise.
29145         ($(objpfx)tst-array1-cmp.out): Likewise.
29146         ($(objpfx)tst-array1-static-cmp.out): Likewise.
29147         ($(objpfx)tst-array2-cmp.out): Likewise.
29148         ($(objpfx)tst-array3-cmp.out): Likewise.
29149         ($(objpfx)tst-array4-cmp.out): Likewise.
29150         ($(objpfx)tst-array5-cmp.out): Likewise.
29151         ($(objpfx)tst-array5-static-cmp.out): Likewise.
29152         ($(objpfx)check-textrel.out): Likewise.
29153         ($(objpfx)check-execstack.out): Likewise.
29154         ($(objpfx)check-localplt.out): Likewise.
29155         ($(objpfx)order2-cmp.out): Likewise.
29156         ($(objpfx)tst-leaks1-mem): Likewise.
29157         ($(objpfx)tst-leaks1-static-mem): Likewise.
29158         ($(objpfx)tst-initorder-cmp.out): Likewise.
29159         ($(objpfx)tst-initorder2-cmp.out): Likewise.
29160         ($(objpfx)tst-unused-dep.out): Likewise.
29161         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
29162         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
29163         * iconv/Makefile (test-iconvconfig): Likewise.
29164         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
29165         ($(objpfx)iconv-test.out): Likewise.
29166         ($(objpfx)tst-tables.out): Likewise.
29167         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
29168         ($(objpfx)tst-gettext.out): Likewise.
29169         ($(objpfx)tst-translit.out): Likewise.
29170         ($(objpfx)tst-gettext2.out): Likewise.
29171         ($(objpfx)tst-gettext4.out): Likewise.
29172         ($(objpfx)tst-gettext6.out): Likewise.
29173         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
29174         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
29175         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
29176         ($(objpfx)tst-fopenloc-mem.out): Likewise.
29177         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
29178         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
29179         * posix/Makefile ($(objpfx)globtest.out): Likewise.
29180         ($(objpfx)wordexp-tst.out): Likewise.
29181         ($(objpfx)annexc.out): Likewise.
29182         ($(objpfx)tst-fnmatch-mem): Likewise.
29183         ($(objpfx)bug-regex2-mem): Likewise.
29184         ($(objpfx)bug-regex14-mem): Likewise.
29185         ($(objpfx)bug-regex21-mem): Likewise.
29186         ($(objpfx)bug-regex31-mem): Likewise.
29187         ($(objpfx)tst-vfork3-mem): Likewise.
29188         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29189         ($(objpfx)tst-pcre-mem): Likewise.
29190         ($(objpfx)tst-boost-mem): Likewise.
29191         ($(objpfx)tst-getconf.out): Likewise.
29192         ($(objpfx)bug-ga2-mem): Likewise.
29193         ($(objpfx)bug-glob2-mem): Likewise.
29194         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
29195         ($(objpfx)mtrace-tst-leaks2): Likewise.
29196         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
29197         ($(objpfx)tst-printf.out): Likewise.
29198         ($(objpfx)tst-setvbuf1.out): Likewise.
29199         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
29200         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
29201         ($(objpfx)tst-fmtmsg.out): Likewise.
29202         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
29203         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
29205         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
29206         * bits/sigaction.h [__USE_MISC]: Likewise.
29207         * bits/waitstatus.h: Update #endif comments.
29208         * ctype/ctype.h: Likewise.
29209         * dirent/dirent.h: Likewise.
29210         [__USE_MISC]: Remove redundant conditionals.
29211         * grp/grp.h: Update #endif comments.
29212         [__USE_GNU]: Remove redundant conditionals.
29213         [__USE_MISC]: Likewise.
29214         * inet/netinet/in.h [__USE_GNU]: Likewise.
29215         * io/sys/stat.h [__USE_MISC]: Likewise.
29216         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
29217         * libio/bits/stdio.h: Update #endif comments.
29218         [__USE_MISC]: Remove redundant conditionals.
29219         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
29220         * libio/stdio.h: Update #endif comments.
29221         [__USE_MISC]: Remove redundant conditionals.
29222         * math/bits/math-finite.h [__USE_MISC]: Likewise.
29223         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
29224         * math/math.h: Update #else and #endif comments.
29225         [__USE_MISC]: Remove redundant conditionals.
29226         * misc/sys/uio.h: Update #endif comments.
29227         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
29228         * posix/glob.h [__USE_MISC]: Likewise.
29229         * posix/sys/types.h: Update #endif comments.
29230         [__USE_MISC]: Remove redundant conditionals.
29231         * posix/sys/wait.h: Update #endif comments.
29232         [__USE_MISC]: Remove redundant conditionals.
29233         * posix/unistd.h: Update #endif comments.
29234         [__USE_MISC]: Remove redundant conditionals.
29235         * pwd/pwd.h [__USE_GNU]: Likewise.
29236         [__USE_MISC]: Likewise.
29237         * resolv/netdb.h [__USE_GNU]: Likewise.
29238         * signal/signal.h: Update #endif comments.
29239         [__USE_MISC]: Remove redundant conditionals.
29240         * stdlib/stdlib.h: Update #else and #endif comments.
29241         [__USE_MISC]: Remove redundant conditionals.
29242         [__USE_GNU]: Likewise.
29243         * string/bits/string2.h [__USE_MISC]: Likewise.
29244         * string/string.h: Update #endif comments.
29245         [__USE_MISC]: Remove redundant conditionals.
29246         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
29247         Likewise.
29248         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
29249         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
29250         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
29251         Likewise.
29252         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
29253         Likewise.
29254         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
29255         comments.
29256         [__USE_MISC]: Remove redundant conditionals.
29257         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
29258         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
29259         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
29260         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
29261         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
29262         Likewise.
29263         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
29264         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
29265         Likewise.
29266         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
29267         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
29268         Likewise.
29269         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
29270         Likewise.
29271         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
29272         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
29273         Likewise.
29274         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
29275         Likewise.
29276         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
29277         * sysdeps/x86/bits/string.h: Update #endif comments.
29278         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
29279         conditionals.
29280         * time/sys/time.h: Update #endif comments.
29281         * time/time.h: Likewise.
29282         [__USE_MISC]: Remove redundant conditionals.
29284 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
29286         [BZ #16600]
29287         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
29289 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
29291         * Versions.def (librt): Add GLIBC_2.17.
29293 2014-02-21  Adam Conrad  <adconrad@0c3.net>
29295         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
29296         synonym for _SYS_AUXV_H to allow direct inclusion.
29297         * sysdeps/sparc/bits/hwcap.h: Likewise.
29298         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
29299         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
29300         * sysdeps/sparc/sysdep.h: Likewise.
29302 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29304         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
29306 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29308         * benchtests/bench-strrchr.c: Print length instead of position.
29310 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
29312         [BZ #16611]
29313         * sysdeps/unix/sysv/linux/kernel-features.h
29314         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
29315         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
29316         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
29317         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
29318         Likewise.
29319         [__i386__ || __powerpc__ || __sh__ || __sparc__]
29320         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29321         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
29322         (__ASSUME_SENDMMSG): Define instead of using previous
29323         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
29324         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29325         (__ASSUME_SENDMMSG_SYSCALL): Define.
29326         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29327         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
29328         Likewise.
29329         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29330         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29331         Likewise.
29332         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29333         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29334         Likewise.
29335         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
29336         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
29337         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
29338         [__ASSUME_SENDMMSG]: Change conditionals to
29339         [__ASSUME_SENDMMSG_SOCKETCALL].
29340         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29341         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
29342         Define.
29343         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29344         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
29345         Likewise.
29346         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
29347         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
29348         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
29349         [!__ASSUME_SENDMMSG]: Change conditional to
29350         [!__ASSUME_SENDMMSG_SOCKETCALL].
29351         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29352         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29353         Define.
29355         [BZ #16610]
29356         * sysdeps/unix/sysv/linux/kernel-features.h
29357         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
29358         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
29359         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
29360         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
29361         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29362         [__i386__ || __sparc__]
29363         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29364         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
29365         (__ASSUME_RECVMMSG): Define instead of using previous
29366         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
29367         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29368         (__ASSUME_RECVMMSG_SYSCALL): Define.
29369         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29370         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29371         Likewise.
29372         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29373         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29374         Likewise.
29375         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29376         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29377         Likewise.
29378         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
29379         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
29380         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
29381         [__ASSUME_RECVMMSG]: Change condition to
29382         [__ASSUME_RECVMMSG_SOCKETCALL].
29383         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29384         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29385         Define.
29386         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29387         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29388         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29389         Likewise.
29390         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
29391         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
29392         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
29393         [!__ASSUME_RECVMMSG]: Change condition to
29394         [!__ASSUME_RECVMMSG_SOCKETCALL].
29395         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29396         (__ASSUME_RECVMMSG_SYSCALL): Define.
29398         [BZ #16609]
29399         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
29400         __powerpc__ || __s390__ || __sh__ || __sparc__]
29401         (__ASSUME_SOCKETCALL): Define.
29402         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
29403         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
29404         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
29405         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
29406         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29407         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29408         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
29409         (__ASSUME_ACCEPT4): Define instead of using previous
29410         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
29411         __powerpc__ || __sparc__ || __s390__)] condition.
29412         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29413         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
29414         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
29415         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
29416         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
29417         [!__ASSUME_ACCEPT4]: Change condition to
29418         [!__ASSUME_ACCEPT4_SOCKETCALL].
29419         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29420         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
29421         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
29422         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29423         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
29424         __ASSUME_ACCEPT4_SYSCALL.
29425         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
29426         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
29427         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29428         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
29429         __ASSUME_ACCEPT4_SYSCALL.
29430         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
29431         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
29432         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
29433         [__ASSUME_ACCEPT4]: Change condition to
29434         [__ASSUME_ACCEPT4_SOCKETCALL].
29435         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29436         (__ASSUME_SOCKETCALL): Define.
29437         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
29438         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29439         (__ASSUME_SOCKETCALL): Define.
29440         (__ASSUME_ACCEPT4): Remove.
29441         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
29442         Define.
29443         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29444         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
29445         Likewise.
29446         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29447         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
29449         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
29450         macro.
29451         (HWCAP_ARM_LPAE): Likewise.
29452         (HWCAP_ARM_EVTSTRM): Likewise.
29453         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
29454         Add vpfd32, lpae and evtstrm.
29455         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
29456         Increase to 22.
29458 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
29460         * math/auto-libm-test-in: Add tests of clog10.
29461         * math/auto-libm-test-out: Regenerated.
29462         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
29463         * sysdeps/i386/fpu/libm-test-ulps: Update.
29464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29466 2014-02-18  Andreas Schwab  <schwab@suse.de>
29468         [BZ #16574]
29469         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
29470         Store non-zero if the second buffer was newly allocated.
29471         (send_dg): Likewise.
29472         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
29473         to send_vc and send_dg.
29474         (res_nsend): Pass NULL for ansp2_malloced.
29475         * resolv/res_query.c (__libc_res_nquery): Add parameter
29476         answerp2_malloced and pass it down to __libc_res_nsend.
29477         (res_nquery): Pass additional NULL to __libc_res_nquery.
29478         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
29479         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
29480         second answer buffer if answerp2_malloced was set.
29481         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
29482         (__libc_res_nquerydomain): Add parameter
29483         answerp2_malloced and pass it down to __libc_res_nquery.
29484         (res_nquerydomain): Pass additional NULL to
29485         __libc_res_nquerydomain.
29486         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
29487         additional NULL to __libc_res_nsend and __libc_res_nquery.
29488         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
29489         additional NULL to __libc_res_nsearch.
29490         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
29491         parameter of __libc_res_nsearch to check for separately allocated
29492         second buffer.
29493         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
29494         __libc_res_nquery.
29495         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
29496         additional NULL to __libc_res_nquery.
29497         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
29498         __libc_res_nsearch.
29499         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
29500         * include/resolv.h: Update prototypes of __libc_res_nquery,
29501         __libc_res_nsearch, __libc_res_nsend.
29503 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
29505         * math/auto-libm-test-in: Add tests of fma.
29506         * math/auto-libm-test-out: Regenerated.
29507         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
29508         (fma_towardzero_test_data): Likewise.
29509         (fma_downward_test_data): Likewise.
29510         (fma_upward_test_data): Likewise.
29511         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
29512         mpc_mode.
29513         (rounding_modes): Add values for new field.
29514         (func_calc_method): Add value mpfr_fff_f.
29515         (func_calc_desc): Add mpfr_fff_f union field.
29516         (test_function): Add field exact_args.
29517         (FUNC): Add macro argument EXACT_ARGS.
29518         (FUNC_mpfr_f_f): Update call to FUNC.
29519         (FUNC_mpfr_f_f): Likewise.
29520         (FUNC_mpfr_ff_f): Likewise.
29521         (FUNC_mpfr_if_f): Likewise.
29522         (FUNC_mpc_c_f): Likewise.
29523         (FUNC_mpc_c_c): Likewise.
29524         (test_functions): Add fma.  Update calls to FUNC.
29525         (handle_input_arg): Add argument exact_args.
29526         (add_test): Update call to handle_input_arg.
29527         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
29528         (output_for_one_input_case): Update call to calc_generic_results.
29529         Recalculate exact zero results in each rounding mode.
29531         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
29532         non-negative before setting low bit.
29533         * math/auto-libm-test-in: Mark one asin test possibly having
29534         spurious underflow.
29535         * math/auto-libm-test-out: Regenerated.
29536         * sysdeps/i386/fpu/libm-test-ulps: Update.
29537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29539 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
29541         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
29542         * sysdeps/unix/sysv/linux/microblaze: Move directory from
29543         ports/sysdeps/unix/sysv/linux/microblaze.
29544         * README: Add missing listing for microblaze*-*-linux-gnu.
29546 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
29548         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
29549         duplicate code
29551 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
29553         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
29554         * sysdeps/unix/sysv/linux/ia64: Move directory from
29555         ports/sysdeps/unix/sysv/linux/ia64.
29556         * README: Update listing for ia64-*-linux-gnu.
29558 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
29559             Joseph Myers  <joseph@codesourcery.com>
29561         * Makeconfig (test-name): New variable.
29562         (evaluate-test): Likewise.
29563         * Makerules (do-test-clean): Remove .test-result files.
29564         (common-mostlyclean): Likewise.
29565         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
29566         * scripts/evaluate-test.sh: New file.
29568 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
29570         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
29571         separate $(objpfx)tst-fopenloc-cmp.out and
29572         $(objpfx)tst-fopenloc-mem.out targets.
29573         (tests): Update dependencies.
29574         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
29575         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
29576         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
29577         (tst-rxspencer-no-utf8-ARGS): New variable.
29578         (tst-rxspencer-no-utf8-ENV): Likewise.
29579         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
29580         instead of $(objpfx)tst-rxspencer-mem.
29581         ($(objpfx)tst-rxspencer-mem): Change target to
29582         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
29583         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
29584         * posix/tst-rxspencer-no-utf8.c: New file.
29586         * elf/Makefile ($(objpfx)order.out): Remove rule.
29587         [$(run-built-tests) = yes] (tests): Depend on
29588         $(objpfx)order-cmp.out.
29589         ($(objpfx)order-cmp.out): New rule.
29590         [$(run-built-tests) = yes] (tests): Depend on
29591         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
29592         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
29593         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
29594         $(objpfx)tst-array5-static-cmp.out.
29595         ($(objpfx)tst-array1.out): Remove rule.
29596         ($(objpfx)tst-array1-cmp.out): New rule.
29597         ($(objpfx)tst-array1-static.out): Remove rule.
29598         ($(objpfx)tst-array1-static-cmp.out): New rule.
29599         ($(objpfx)tst-array2.out): Remove rule.
29600         ($(objpfx)tst-array2-cmp.out): New rule.
29601         ($(objpfx)tst-array3.out): Remove rule.
29602         ($(objpfx)tst-array3-cmp.out): New rule.
29603         ($(objpfx)tst-array4.out): Remove rule.
29604         ($(objpfx)tst-array4-cmp.out): New rule.
29605         ($(objpfx)tst-array5.out): Remove rule.
29606         ($(objpfx)tst-array5-cmp.out): New rule.
29607         ($(objpfx)tst-array5-static.out): Remove rule.
29608         ($(objpfx)tst-array5-static-cmp.out): New rule.
29609         [$(run-built-tests) = yes] (tests): Depend on
29610         $(objpfx)order2-cmp.out.
29611         ($(objpfx)order2.out): Remove rule.
29612         ($(objpfx)order2-cmp.out): New rule.
29613         ($(objpfx)tst-initorder.out): Remove rule.
29614         [$(run-built-tests) = yes] (tests): Depend on
29615         $(objpfx)tst-initorder-cmp.out.
29616         ($(objpfx)tst-initorder-cmp.out): New rule.
29617         ($(objpfx)tst-initorder2.out): Remove rule.
29618         [$(run-built-tests) = yes] (tests): Depend on
29619         $(objpfx)tst-initorder2-cmp.out.
29620         ($(objpfx)tst-initorder2-cmp.out): New rule.
29621         [$(run-built-tests) = yes] (tests): Depend on
29622         $(objpfx)tst-unused-dep-cmp.out.
29623         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
29624         ($(objpfx)tst-unused-dep-cmp.out): New rule.
29625         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
29626         on $(objpfx)tst-setvbuf1-cmp.out.
29627         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
29628         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
29629         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
29630         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
29631         ($(objpfx)tst-svc.out): Remove rule.
29632         ($(objpfx)tst-svc-cmp.out): New rule.
29634 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
29636         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
29637         * ctype/ctype.h [__USE_MISC]: Likewise.
29638         * dirent/dirent.h [__USE_MISC]: Likewise.
29639         * grp/grp.h [__USE_MISC]: Likewise.
29640         * io/fcntl.h [__USE_MISC]: Likewise.
29641         * io/sys/stat.h [__USE_MISC]: Likewise.
29642         * libio/stdio.h [__USE_MISC]: Likewise.
29643         * posix/unistd.h [__USE_MISC]: Likewise.
29644         * pwd/pwd.h [__USE_MISC]: Likewise.
29645         * stdlib.h [__USE_MISC]: Likewise.
29646         * string/bits/string2.h [__USE_MISC]: Likewise.
29647         * string/string.h [__USE_MISC]: Likewise.
29648         * time/time.h [__USE_MISC]: Likewise.
29650 2014-02-13  Andreas Schwab  <schwab@suse.de>
29652         [BZ #16574]
29653         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
29654         second answer buffer if it was separately allocated.
29656 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
29658         * sysdeps/mips/math-tests.h: Include <features.h>.
29659         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29660         (ROUNDING_TESTS_long_double): Do not define.
29661         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29662         (EXCEPTION_TESTS_long_double): Likewise.
29663         * sysdeps/mips/mips64/libm-test-ulps: Update.
29665         * include/features.h (__USE_BSD): Remove macro definitions.
29666         (__USE_SVID): Likewise.
29667         (_BSD_SOURCE): Likewise.
29668         (_SVID_SOURCE): Likewise.
29669         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
29670         from definition of _DEFAULT_SOURCE.
29671         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
29672         [_DEFAULT_SOURCE].
29673         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
29674         * bits/mman.h [__USE_BSD]: Likewise.
29675         * bits/termios.h [__USE_BSD]: Likewise.
29676         * bits/waitstatus.h [__USE_BSD]: Likewise.
29677         * ctype/ctype.h [__USE_SVID]: Likewise.
29678         * dirent/dirent.h [__USE_BSD]: Likewise.
29679         * grp/grp.h [__USE_SVID]: Likewise.
29680         [__USE_BSD]: Likewise.
29681         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
29682         * io/fcntl.h [__USE_BSD]: Likewise.
29683         * io/ftw.h [__USE_BSD]: Likewise.
29684         * io/sys/stat.h [__USE_BSD]: Likewise.
29685         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
29686         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
29687         * libio/stdio.h [__USE_SVID]: Likewise.
29688         [__USE_BSD]: Likewise.
29689         * math/math.h [__USE_SVID]: Likewise.
29690         [__USE_BSD]: Likewise.
29691         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
29692         * misc/bits/syslog.h [__USE_BSD]: Likewise.
29693         * misc/search.h [__USE_SVID]: Likewise.
29694         * misc/sys/mman.h [__USE_BSD]: Likewise.
29695         * misc/sys/syslog.h [__USE_BSD]: Likewise.
29696         * misc/sys/uio.h [__USE_BSD]: Likewise.
29697         * posix/bits/unistd.h [__USE_BSD]: Likewise.
29698         * posix/glob.h [__USE_BSD]: Likewise.
29699         * posix/regex.h [__USE_BSD]: Likewise.
29700         * posix/sys/types.h [__USE_BSD]: Likewise.
29701         [__USE_SVID]: Likewise.
29702         * posix/sys/utsname.h [__USE_SVID]: Likewise.
29703         * posix/sys/wait.h [__USE_BSD]: Likewise.
29704         [__USE_SVID]: Likewise.
29705         * posix/unistd.h [__USE_BSD]: Likewise.
29706         [__USE_SVID]: Likewise.
29707         * pwd/pwd.h [__USE_SVID]: Likewise.
29708         * resolv/netdb.h [__USE_BSD]: Likewise.
29709         * setjmp/setjmp.h [__USE_BSD]: Likewise.
29710         * signal/signal.h [__USE_BSD]: Likewise.
29711         [__USE_SVID]: Likewise.
29712         * socket/sys/socket.h [__USE_BSD]: Likewise.
29713         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
29714         * stdlib/stdlib.h [__USE_BSD]: Likewise.
29715         [__USE_SVID]: Likewise.
29716         * string/bits/string2.h [__USE_BSD]: Likewise.
29717         [__USE_SVID]: Likewise.
29718         * string/bits/string3.h [__USE_BSD]: Likewise.
29719         * string/endian.h [__USE_BSD]: Likewise.
29720         * string/string.h [__USE_SVID]: Likewise.
29721         [__USE_BSD]: Likewise.
29722         * string/strings.h [__USE_BSD]: Likewise.
29723         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
29724         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
29725         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
29726         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
29727         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
29728         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
29729         Likewise.
29730         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
29731         Likewise.
29732         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
29733         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
29734         Likewise.
29735         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
29736         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
29737         Likewise.
29738         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
29739         Likewise.
29740         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
29741         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
29742         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
29743         Likewise.
29744         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
29745         Likewise.
29746         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
29747         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
29748         * termios/termios.h [__USE_BSD]: Likewise.
29749         * time/sys/time.h [__USE_BSD]: Likewise.
29750         * time/time.h [__USE_BSD]: Likewise.
29751         [__USE_SVID]: Likewise.
29753         * Makefile (subdir_targets): Remove subdir_lint.out.
29755         * stdio-common/Makefile (do-tst-unbputc): Remove target.
29756         (do-tst-printf): Likewise.
29757         (tests): Depend directly on $(objpfx)tst-unbputc.out and
29758         $(objpfx)tst-printf.out.
29760         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
29762         * Makerules (check-abi-%): Change target to
29763         $(objpfx)check-abi-%.out.
29764         (check-abi target): Update dependencies.
29765         (check-abi-pattern variable): Redirect output of diff to $@.
29766         (check-abi variable): Likewise.
29767         * elf/Makefile (check-abi): Update dependencies.
29769         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
29770         unused.
29771         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
29772         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
29773         subnormal range.
29774         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
29775         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
29776         value has largest subnormal exponent.
29777         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
29778         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
29779         * sysdeps/aarch64/soft-fp/sfp-machine.h
29780         (_FP_TININESS_AFTER_ROUNDING): New macro.
29781         * sysdeps/alpha/soft-fp/sfp-machine.h
29782         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29783         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29784         Likewise.
29785         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
29786         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29787         * sysdeps/mips/soft-fp/sfp-machine.h
29788         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29789         * sysdeps/powerpc/soft-fp/sfp-machine.h
29790         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29791         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29792         Likewise.
29793         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29794         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29795         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29796         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29797         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29798         Likewise.
29800 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
29802         [BZ #16545]
29803         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
29804         model 1.
29806 2014-02-12  Richard Henderson  <rth@redhat.com>
29808         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
29809         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
29810         * sysdeps/unix/sysv/linux/alpha: Move directory from
29811         ports/sysdeps/unix/sysv/linux/alpha.
29812         * README: Update listing for alpha-*-linux-gnu.
29814 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
29816         * include/features.h: Update comment documenting feature test
29817         macros.
29818         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
29819         _DEFAULT_SOURCE.
29820         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
29821         (_SVID_SOURCE): Likewise.
29822         (_DEFAULT_SOURCE): Update description of default features.
29823         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
29824         with _GNU_SOURCE.
29825         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
29826         (S_ISVTX): Likewise.
29827         * manual/math.texi (Mathematical Constants): Likewise.
29828         * manual/signal.texi (Interrupted Primitives): Likewise.
29829         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
29830         * math/test-matherr.c (_SVID_SOURCE): Do not define.
29831         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
29832         Don't refer to _SVID_SOURCE in warning text.
29834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29836         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
29837         already defined.
29838         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
29839         * sysdeps/mips/dl-lookup.c: Remove.
29840         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
29842 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29844         [BZ #16447]
29845         * math/auto-libm-test-in: Add testcase for expl.
29846         * math/auto-libm-test-out: Regenerate.
29847         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
29848         calculation of unsafe.
29849         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
29851 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29853         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
29854         * sysdeps/unix/sysv/linux/aarch64: Move directory from
29855         ports/sysdeps/unix/sysv/linux/aarch64.
29856         * README: Update listing for aarch64*-*-linux-gnu.
29858 2014-02-11  Will Newton  <will.newton@linaro.org>
29860         * manual/probes.texi (Mathematical Function Probes): Use
29861         "triggered" instead of "hit".
29863         * manual/probes.texi (Internal Probes): Add documentation
29864         of setjmp, longjmp and longjmp_target probes.
29866         * include/stap-probe.h: Add comment about probe argument
29867         format.
29869         * malloc/mtrace.c (attribute_hidden): Remove unused macro
29870         definition.  (tr_where, tr_freehook, tr_mallochook,
29871         tr_reallochook, tr_memalignhook): Use ANSI protoype.
29873 2014-02-11  David S. Miller  <davem@davemloft.net>
29875         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
29876         processing int_tests.
29878 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
29880         * sysdeps/mips: Move directory from ports/sysdeps/mips.
29881         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
29882         * sysdeps/unix/sysv/linux/mips: Move directory from
29883         ports/sysdeps/unix/sysv/linux/mips.
29884         * README: Update listing for mips-*-linux-gnu and
29885         mips64-*-linux-gnu.
29887 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
29889         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
29890         * sysdeps/unix/sysv/linux/m68k: Move directory from
29891         ports/sysdeps/unix/sysv/linux/m68k.
29892         * README: Update listing for m68k-*-linux-gnu.
29894 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
29896         * sysdeps/tile: Move directory from ports/sysdeps/tile.
29897         * sysdeps/unix/sysv/linux/generic: Move directory from
29898         ports/sysdeps/unix/sysv/linux/generic.
29899         * sysdeps/unix/sysv/linux/tile: Move directory from
29900         ports/sysdeps/unix/sysv/linux/tile.
29901         * README: Update listing for tile*-*-linux-gnu.
29903 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
29905         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
29906         __builtin_expect.
29907         * benchtests/bench-memmem.c (simple_memmem): Likewise.
29908         * catgets/open_catalog.c (__open_catalog): Likewise.
29909         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
29910         * debug/confstr_chk.c: Likewise.
29911         * debug/fread_chk.c (__fread_chk): Likewise.
29912         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
29913         * debug/getgroups_chk.c: Likewise.
29914         * debug/mbsnrtowcs_chk.c: Likewise.
29915         * debug/mbsrtowcs_chk.c: Likewise.
29916         * debug/mbstowcs_chk.c: Likewise.
29917         * debug/memcpy_chk.c: Likewise.
29918         * debug/memmove_chk.c: Likewise.
29919         * debug/mempcpy_chk.c: Likewise.
29920         * debug/memset_chk.c: Likewise.
29921         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29922         * debug/strcat_chk.c (__strcat_chk): Likewise.
29923         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
29924         * debug/strncat_chk.c (__strncat_chk): Likewise.
29925         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
29926         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
29927         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
29928         * debug/wcpncpy_chk.c: Likewise.
29929         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29930         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
29931         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
29932         * debug/wcsncpy_chk.c: Likewise.
29933         * debug/wcsnrtombs_chk.c: Likewise.
29934         * debug/wcsrtombs_chk.c: Likewise.
29935         * debug/wcstombs_chk.c: Likewise.
29936         * debug/wmemcpy_chk.c: Likewise.
29937         * debug/wmemmove_chk.c: Likewise.
29938         * debug/wmempcpy_chk.c: Likewise.
29939         * debug/wmemset_chk.c: Likewise.
29940         * dirent/scandirat.c (SCANDIRAT): Likewise.
29941         * dlfcn/dladdr1.c (dladdr1): Likewise.
29942         * dlfcn/dladdr.c (dladdr): Likewise.
29943         * dlfcn/dlclose.c (dlclose_doit): Likewise.
29944         * dlfcn/dlerror.c (__dlerror): Likewise.
29945         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
29946         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
29947         * dlfcn/dlopen.c (dlopen_doit): Likewise.
29948         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
29949         * dlfcn/dlsym.c (dlsym_doit): Likewise.
29950         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
29951         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
29952         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
29953         Likewise.
29954         * elf/dl-conflict.c: Likewise.
29955         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29956         * elf/dl-dst.h: Likewise.
29957         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
29958         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
29959         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29960         * elf/dl-init.c (call_init, _dl_init): Likewise.
29961         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
29962         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
29963         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
29964         Likewise.
29965         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
29966         Likewise.
29967         * elf/dl-minimal.c (__libc_memalign): Likewise.
29968         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
29969         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29970         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
29971         * elf/dl-sym.c (do_sym): Likewise.
29972         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
29973         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
29974         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
29975         * elf/dl-writev.h (_dl_writev): Likewise.
29976         * elf/ldconfig.c (search_dir): Likewise.
29977         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
29978         (dl_main): Likewise.
29979         * elf/setup-vdso.h (setup_vdso): Likewise.
29980         * grp/compat-initgroups.c (compat_call): Likewise.
29981         * grp/fgetgrent.c (fgetgrent): Likewise.
29982         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
29983         * grp/putgrent.c (putgrent): Likewise.
29984         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29985         Likewise.
29986         * hurd/hurdinit.c: Likewise.
29987         * iconvdata/8bit-gap.c (struct): Likewise.
29988         * iconvdata/ansi_x3.110.c : Likewise.
29989         * iconvdata/big5.c : Likewise.
29990         * iconvdata/big5hkscs.c : Likewise.
29991         * iconvdata/cp1255.c: Likewise.
29992         * iconvdata/cp1258.c : Likewise.
29993         * iconvdata/cp932.c : Likewise.
29994         * iconvdata/euc-cn.c: Likewise.
29995         * iconvdata/euc-jisx0213.c : Likewise.
29996         * iconvdata/euc-jp.c: Likewise.
29997         * iconvdata/euc-jp-ms.c : Likewise.
29998         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
29999         * iconvdata/gb18030.c : Likewise.
30000         * iconvdata/gbbig5.c (const): Likewise.
30001         * iconvdata/gbgbk.c: Likewise.
30002         * iconvdata/gbk.c : Likewise.
30003         * iconvdata/ibm1364.c : Likewise.
30004         * iconvdata/ibm930.c : Likewise.
30005         * iconvdata/ibm932.c: Likewise.
30006         * iconvdata/ibm933.c : Likewise.
30007         * iconvdata/ibm935.c : Likewise.
30008         * iconvdata/ibm937.c : Likewise.
30009         * iconvdata/ibm939.c : Likewise.
30010         * iconvdata/ibm943.c: Likewise.
30011         * iconvdata/iso_11548-1.c: Likewise.
30012         * iconvdata/iso-2022-cn.c : Likewise.
30013         * iconvdata/iso-2022-cn-ext.c : Likewise.
30014         * iconvdata/iso-2022-jp-3.c: Likewise.
30015         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
30016         * iconvdata/iso-2022-kr.c : Likewise.
30017         * iconvdata/iso646.c (gconv_end): Likewise.
30018         * iconvdata/iso_6937-2.c : Likewise.
30019         * iconvdata/iso_6937.c : Likewise.
30020         * iconvdata/iso8859-1.c: Likewise.
30021         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
30022         * iconvdata/shift_jisx0213.c : Likewise.
30023         * iconvdata/sjis.c : Likewise.
30024         * iconvdata/t.61.c : Likewise.
30025         * iconvdata/tcvn5712-1.c : Likewise.
30026         * iconvdata/tscii.c: Likewise.
30027         * iconvdata/uhc.c : Likewise.
30028         * iconvdata/unicode.c (gconv_end): Likewise.
30029         * iconvdata/utf-16.c (gconv_end): Likewise.
30030         * iconvdata/utf-32.c (gconv_end): Likewise.
30031         * iconvdata/utf-7.c (base64): Likewise.
30032         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30033         * iconv/gconv_close.c (__gconv_close): Likewise.
30034         * iconv/gconv_open.c (__gconv_open): Likewise.
30035         * iconv/gconv_simple.c (internal_ucs4_loop_single)
30036         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
30037         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
30038         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
30039         (ucs4le_internal_loop_single): Likewise.
30040         * iconv/iconv.c (iconv): Likewise.
30041         * iconv/iconv_close.c: Likewise.
30042         * iconv/loop.c (SINGLE): Likewise.
30043         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
30044         * include/atomic.h: Likewise.
30045         * inet/inet6_option.c (option_alloc): Likewise.
30046         * intl/bindtextdom.c (set_binding_values): Likewise.
30047         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
30048         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
30049         * intl/localealias.c (read_alias_file): Likewise.
30050         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
30051         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
30052         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
30053         * libio/fmemopen.c (fmemopen): Likewise.
30054         * libio/iofgets.c (_IO_fgets): Likewise.
30055         * libio/iofgets_u.c (fgets_unlocked): Likewise.
30056         * libio/iofgetws.c (fgetws): Likewise.
30057         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
30058         * libio/iogetdelim.c (_IO_getdelim): Likewise.
30059         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
30060         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
30061         * locale/findlocale.c (_nl_find_locale): Likewise.
30062         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30063         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
30064         Likewise.
30065         * locale/setlocale.c (setlocale): Likewise.
30066         * login/programs/pt_chown.c (main): Likewise.
30067         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
30068         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
30069         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
30070         (mmap, mmap64, mremap, munmap): Likewise.
30071         * math/e_exp2l.c: Likewise.
30072         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
30073         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
30074         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
30075         * math/s_catan.c (__catan): Likewise.
30076         * math/s_catanf.c (__catanf): Likewise.
30077         * math/s_catanh.c (__catanh): Likewise.
30078         * math/s_catanhf.c (__catanhf): Likewise.
30079         * math/s_catanhl.c (__catanhl): Likewise.
30080         * math/s_catanl.c (__catanl): Likewise.
30081         * math/s_ccosh.c (__ccosh): Likewise.
30082         * math/s_ccoshf.c (__ccoshf): Likewise.
30083         * math/s_ccoshl.c (__ccoshl): Likewise.
30084         * math/s_cexp.c (__cexp): Likewise.
30085         * math/s_cexpf.c (__cexpf): Likewise.
30086         * math/s_cexpl.c (__cexpl): Likewise.
30087         * math/s_clog10.c (__clog10): Likewise.
30088         * math/s_clog10f.c (__clog10f): Likewise.
30089         * math/s_clog10l.c (__clog10l): Likewise.
30090         * math/s_clog.c (__clog): Likewise.
30091         * math/s_clogf.c (__clogf): Likewise.
30092         * math/s_clogl.c (__clogl): Likewise.
30093         * math/s_csin.c (__csin): Likewise.
30094         * math/s_csinf.c (__csinf): Likewise.
30095         * math/s_csinh.c (__csinh): Likewise.
30096         * math/s_csinhf.c (__csinhf): Likewise.
30097         * math/s_csinhl.c (__csinhl): Likewise.
30098         * math/s_csinl.c (__csinl): Likewise.
30099         * math/s_csqrt.c (__csqrt): Likewise.
30100         * math/s_csqrtf.c (__csqrtf): Likewise.
30101         * math/s_csqrtl.c (__csqrtl): Likewise.
30102         * math/s_ctan.c (__ctan): Likewise.
30103         * math/s_ctanf.c (__ctanf): Likewise.
30104         * math/s_ctanh.c (__ctanh): Likewise.
30105         * math/s_ctanhf.c (__ctanhf): Likewise.
30106         * math/s_ctanhl.c (__ctanhl): Likewise.
30107         * math/s_ctanl.c (__ctanl): Likewise.
30108         * math/w_pow.c: Likewise.
30109         * math/w_powf.c: Likewise.
30110         * math/w_powl.c: Likewise.
30111         * math/w_scalb.c (sysv_scalb): Likewise.
30112         * math/w_scalbf.c (sysv_scalbf): Likewise.
30113         * math/w_scalbl.c (sysv_scalbl): Likewise.
30114         * misc/error.c (error_tail): Likewise.
30115         * misc/pselect.c (__pselect): Likewise.
30116         * nis/nis_callback.c (__nis_create_callback): Likewise.
30117         * nis/nis_call.c (__nisfind_server): Likewise.
30118         * nis/nis_creategroup.c (nis_creategroup): Likewise.
30119         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
30120         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
30121         * nis/nis_getservlist.c (nis_getservlist): Likewise.
30122         * nis/nis_lookup.c (nis_lookup): Likewise.
30123         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
30124         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
30125         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
30126         * nis/nis_xdr.c (xdr_endpoint): Likewise.
30127         * nis/nss_compat/compat-grp.c (getgrent_next_file)
30128         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
30129         * nis/nss_compat/compat-initgroups.c (add_group)
30130         (internal_getgrent_r): Likewise.
30131         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
30132         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
30133         * nis/nss_compat/compat-spwd.c (getspent_next_file)
30134         (internal_getspnam_r): Likewise.
30135         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
30136         (_nss_nis_getaliasbyname_r): Likewise.
30137         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
30138         (_nss_nis_getntohost_r): Likewise.
30139         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
30140         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
30141         (_nss_nis_getgrgid_r): Likewise.
30142         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
30143         (internal_nis_gethostent_r, internal_gethostbyname2_r)
30144         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
30145         (_nss_nis_gethostbyname4_r): Likewise.
30146         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
30147         (initgroups_netid): Likewise.
30148         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
30149         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
30150         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
30151         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
30152         (_nss_nis_getprotobynumber_r): Likewise.
30153         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
30154         (_nss_nis_getsecretkey): Likewise.
30155         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
30156         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
30157         (_nss_nis_getpwuid_r): Likewise.
30158         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
30159         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
30160         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
30161         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
30162         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
30163         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
30164         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
30165         Likewise.
30166         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
30167         (_nss_nisplus_getntohost_r): Likewise.
30168         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
30169         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
30170         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
30171         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
30172         Likewise.
30173         * nis/nss_nisplus/nisplus-initgroups.c
30174         (_nss_nisplus_initgroups_dyn): Likewise.
30175         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
30176         (_nss_nisplus_getnetbyaddr_r): Likewise.
30177         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
30178         (_nss_nisplus_getprotobynumber_r): Likewise.
30179         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
30180         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
30181         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
30182         Likewise.
30183         * nis/nss_nisplus/nisplus-service.c
30184         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
30185         (_nss_nisplus_getservbyport_r): Likewise.
30186         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
30187         (_nss_nisplus_getspnam_r): Likewise.
30188         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
30189         Likewise.
30190         * nscd/aicache.c (addhstaiX): Likewise.
30191         * nscd/cache.c (cache_search, prune_cache): Likewise.
30192         * nscd/connections.c (register_traced_file, send_ro_fd)
30193         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
30194         (main_loop_epoll): Likewise.
30195         * nscd/grpcache.c (addgrbyX): Likewise.
30196         * nscd/hstcache.c (addhstbyX): Likewise.
30197         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30198         * nscd/mem.c (gc, mempool_alloc): Likewise.
30199         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
30200         (addinnetgrX): Likewise.
30201         * nscd/nscd-client.h (__nscd_acquire_maplock)
30202         (__nscd_drop_map_ref): Likewise.
30203         * nscd/nscd_getai.c (__nscd_getai): Likewise.
30204         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30205         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
30206         Likewise.
30207         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30208         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30209         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
30210         (__nscd_get_map_ref): Likewise.
30211         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30212         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
30213         Likewise.
30214         * nscd/pwdcache.c (addpwbyX): Likewise.
30215         * nscd/selinux.c (preserve_capabilities): Likewise.
30216         * nscd/servicescache.c (addservbyX): Likewise.
30217         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
30218         * posix/fnmatch.c (fnmatch): Likewise.
30219         * posix/getopt.c (_getopt_internal_r): Likewise.
30220         * posix/glob.c (glob, glob_in_dir): Likewise.
30221         * posix/wordexp.c (exec_comm_child): Likewise.
30222         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
30223         (getanswer_r, gaih_getanswer_slice): Likewise.
30224         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
30225         * resolv/res_init.c: Likewise.
30226         * resolv/res_mkquery.c (res_nmkquery): Likewise.
30227         * resolv/res_query.c (__libc_res_nquery): Likewise.
30228         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
30229         Likewise.
30230         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
30231         * stdio-common/perror.c (perror): Likewise.
30232         * stdio-common/printf_fp.c (___printf_fp): Likewise.
30233         * stdio-common/tmpnam.c (tmpnam): Likewise.
30234         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30235         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30236         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30237         Likewise.
30238         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
30239         * stdlib/putenv.c (putenv): Likewise.
30240         * stdlib/setenv.c (__add_to_environ): Likewise.
30241         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30242         * stdlib/strtol_l.c (INTERNAL): Likewise.
30243         * string/memmem.c (memmem): Likewise.
30244         * string/strerror.c (strerror): Likewise.
30245         * string/strnlen.c (__strnlen): Likewise.
30246         * string/test-memmem.c (simple_memmem): Likewise.
30247         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
30248         * sunrpc/pm_getport.c (__get_socket): Likewise.
30249         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
30250         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
30251         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
30252         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
30253         Likewise.
30254         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30255         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30256         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
30257         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
30258         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
30259         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
30260         Likewise.
30261         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
30262         Likewise.
30263         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30264         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30265         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30266         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30267         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30268         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
30269         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30270         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
30271         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
30272         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
30273         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30274         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
30275         Likewise.
30276         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
30277         Likewise.
30278         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
30279         Likewise.
30280         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
30281         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30282         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
30283         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
30284         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30285         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
30286         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30287         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
30288         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
30289         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
30290         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
30291         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30292         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30293         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
30294         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30295         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30296         Likewise.
30297         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
30298         Likewise.
30299         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
30300         Likewise.
30301         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
30302         Likewise.
30303         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30304         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30305         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
30306         Likewise.
30307         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
30308         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
30309         * sysdeps/posix/opendir.c (__opendirat): Likewise.
30310         * sysdeps/posix/sleep.c: Likewise.
30311         * sysdeps/posix/tempname.c: Likewise.
30312         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
30313         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30314         Likewise.
30315         * sysdeps/powerpc/powerpc32/dl-machine.h
30316         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
30317         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30318         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30319         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
30320         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
30321         Likewise.
30322         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
30323         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
30324         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
30325         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
30326         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
30327         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
30328         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
30329         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
30330         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30331         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
30332         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
30333         (elf_machine_lazy_rel): Likewise.
30334         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30335         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
30336         (elf_machine_lazy_rel): Likewise.
30337         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
30338         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
30339         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
30340         * sysdeps/unix/grantpt.c (grantpt): Likewise.
30341         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
30342         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
30343         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30344         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30345         Likewise.
30346         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
30347         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
30348         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
30349         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
30350         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30351         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30352         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
30353         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
30354         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
30355         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30356         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30357         Likewise.
30358         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
30359         (__posix_fallocate64_l64): Likewise.
30360         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
30361         (posix_fallocate): Likewise.
30362         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
30363         Likewise.
30364         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30365         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
30366         (getifaddrs_internal): Likewise.
30367         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
30368         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
30369         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
30370         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30371         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30372         (__posix_fallocate64_l64): Likewise.
30373         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30374         Likewise.
30375         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
30376         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
30377         (__get_clockfreq): Likewise.
30378         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
30379         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30380         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
30381         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30382         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30383         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
30384         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
30385         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
30386         Likewise.
30387         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
30388         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
30389         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
30390         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
30391         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30392         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
30393         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
30394         Likewise.
30395         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30396         (posix_fallocate): Likewise.
30397         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30398         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
30399         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
30400         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
30401         (elf_machine_rela, elf_machine_rela_relative)
30402         (elf_machine_lazy_rel): Likewise.
30403         * time/asctime.c (asctime_internal): Likewise.
30404         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
30405         * time/tzset.c (__tzset_parse_tz): Likewise.
30406         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30407         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30408         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
30409         * wcsmbs/wcsmbsload.h: Likewise.
30411         [BZ #15894]
30412         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
30414         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
30415         (arena_get2): Remove THREAD_STATS conditionals.
30416         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
30417         (__malloc_stats, int): Likewise.
30419 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
30421         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
30422         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
30424         * manual/setjmp.texi: Fix typos/grammar errors.
30426         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
30427         Only return early when n is <= 0.  Delete unused return statement.
30429         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
30430         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
30431         * debug/tst-longjmp_chk3.c: New file.
30433         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
30434         (test_main): Replace code with set_fortify_handler call.
30435         * debug/test-strcpy_chk.c: Likewise.
30436         * debug/tst-chk1.c: Likewise.
30437         * debug/tst-longjmp_chk.c: Likewise.
30438         * test-skeleton.c: Include fcntl.h & paths.h
30439         (set_fortify_handler): Define.
30441         * debug/tst-longjmp_chk.c: Add header comment and include
30442         ../test-skeleton.c.
30443         (do_test): Mark static.
30444         (TEST_FUNCTION): Define.
30446         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
30447         (IP_PMTUDISC_INTERFACE): Likewise.
30448         (IP_MULTICAST_IF): Likewise.
30449         (IP_MULTICAST_TTL): Likewise.
30450         (IP_MULTICAST_LOOP): Likewise.
30451         (IP_ADD_MEMBERSHIP): Likewise.
30452         (IP_DROP_MEMBERSHIP): Likewise.
30453         (IP_UNBLOCK_SOURCE): Likewise.
30454         (IP_BLOCK_SOURCE): Likewise.
30455         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
30456         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
30457         (IP_MSFILTER): Likewise.
30458         (MCAST_JOIN_GROUP): Likewise.
30459         (MCAST_BLOCK_SOURCE): Likewise.
30460         (MCAST_UNBLOCK_SOURCE): Likewise.
30461         (MCAST_LEAVE_GROUP): Likewise.
30462         (MCAST_JOIN_SOURCE_GROUP): Likewise.
30463         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
30464         (MCAST_MSFILTER): Likewise.
30465         (IP_MULTICAST_ALL): Likewise.
30466         (IP_UNICAST_IF): Likewise.
30468         * timezone/Makefile: Delete $(have-ksh) check.
30469         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
30470         * timezone/tzselect.ksh: Add +x mode bits.
30472         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
30473         (ANON_INODE_FS_MAGIC): Likewise.
30474         (BDEVFS_MAGIC): Likewise.
30475         (BINFMTFS_MAGIC): Likewise.
30476         (BTRFS_TEST_MAGIC): Likewise.
30477         (CRAMFS_MAGIC_WEND): Likewise.
30478         (DEBUGFS_MAGIC): Likewise.
30479         (ECRYPTFS_SUPER_MAGIC): Likewise.
30480         (EXT3_SUPER_MAGIC): Likewise.
30481         (EXT4_SUPER_MAGIC): Likewise.
30482         (FUTEXFS_SUPER_MAGIC): Likewise.
30483         (HOSTFS_SUPER_MAGIC): Likewise.
30484         (HUGETLBFS_MAGIC): Likewise.
30485         (MINIX3_SUPER_MAGIC): Likewise.
30486         (MTD_INODE_FS_MAGIC): Likewise.
30487         (NILFS_SUPER_MAGIC): Likewise.
30488         (OPENPROM_SUPER_MAGIC): Likewise.
30489         (PIPEFS_MAGIC): Likewise.
30490         (PSTOREFS_MAGIC): Likewise.
30491         (QNX6_SUPER_MAGIC): Likewise.
30492         (RAMFS_MAGIC): Likewise.
30493         (REISERFS_SUPER_MAGIC_STRING): Likewise.
30494         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
30495         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
30496         (SECURITYFS_MAGIC): Likewise.
30497         (SELINUX_MAGIC): Likewise.
30498         (SMACK_MAGIC): Likewise.
30499         (SOCKFS_MAGIC): Likewise.
30500         (SQUASHFS_MAGIC): Likewise.
30501         (STACK_END_MAGIC): Likewise.
30502         (TMPFS_MAGIC): Likewise.
30503         (USBDEVICE_SUPER_MAGIC): Likewise.
30504         (V9FS_MAGIC): Likewise.
30505         (XENFS_SUPER_MAGIC): Likewise.
30506         (CRAMFS_MAGIC): Fix typo in comment.
30507         (EXT2_SUPER_MAGIC): Update comment.
30508         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
30510 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
30512         * sysdeps/arm: Move directory from ports/sysdeps/arm.
30513         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
30514         * sysdeps/unix/sysv/linux/arm: Move directory from
30515         ports/sysdeps/unix/sysv/linux/arm.
30516         * README: Update listing for arm-*-linux-gnueabi.
30518         * README: Remove mention of am33.
30520 2014-02-07  Roland McGrath  <roland@hack.frob.com>
30522         * bits/sigset.h (__sigemptyset): Use a statement expression rather
30523         than the comma operator, to avoid "rhs of comma has no effect"
30524         compiler warnings.
30525         (__sigfillset, __sigandset, __sigorset): Likewise.
30526         * include/signal.h (__sigemptyset): Likewise.
30527         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
30529 2014-02-07  Allan McRae  <allan@archlinux.org>
30531         * version.h (RELEASE): Set to "development".
30532         (VERSION): Set to "2.19.90"
30533         * NEWS: Add 2.20 section.
30535 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
30537         [BZ #16529]
30538         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
30540 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30542         * manual/contrib.texi: Update entry for Carlos O'Donell,
30543         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
30545 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
30547         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
30549         * sysdeps/unix/sysv/linux/kernel-features.h
30550         [__LINUX_KERNEL_VERSION >= 0x020621]
30551         (__ASSUME_PROC_PID_TASK_COMM): Define.
30553 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30555         [BZ #16398]
30556         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
30557         conversion when destination buffer does not have enough space.
30558         * libio/tst-ftell-partial-wide.c: New test case.
30559         * libio/Makefile (tests): Add tst-ftell-partial-wide.
30561         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
30562         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
30563         Leonard and Allan McRae.
30565 2014-02-04  David S. Miller  <davem@davemloft.net>
30567         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
30568         32-bit.
30570 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30573         New file
30574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30575         New file
30576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30577         New file.
30578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30579         New file.
30580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30581         New file.
30582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30583         New file.
30584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30585         New file.
30586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30587         New file.
30588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30589         New file.
30590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30591         New file.
30592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30593         New file.
30594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30595         New file.
30596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30597         New file.
30599 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30601         * nptl/shlib-versions: Change powerpc*le start to 2.17.
30602         * shlib-versions: Likewise.
30604 2014-02-04  Roland McGrath  <roland@hack.frob.com>
30605             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30607         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
30608         (abilist-pattern): New variable, set to %-le.abilist.
30610         * Makerules (abilist-pattern): New variable.
30611         (vpath): Use $(abilist-pattern) in place of %.abilist.
30612         (check-abi-% pattern rule): Likewise.
30613         (check-abi, update-abi): Likewise.
30615 2014-02-04  Eric Wong  <normalperson@yhbt.net>
30617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30619 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
30621         * manual/startup.texi: Add next, previous, and top entries for
30622         the `Program Arguments' and `Environment Variables' nodes.
30624 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
30626         * manual/macros.texi: Add comments before MTASC-safety macros.
30628         * manual/users.texi: Document MTASC-safety properties.
30630         * manual/threads.texi (pthread_key_create, pthread_key_delete)
30631         (pthread_getspecific, pthread_setspecific): Format with
30632         @deftypefun, and add @safety note.
30633         * manual/signal.texi: Move comments that analyze the above
30634         functions to their home place.
30636 2014-02-03  Allan McRae  <allan@archlinux.org>
30638         * po/sl.po: Update Slovenian translation from translation project.
30640 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
30642         * manual/time.texi (timegm): Add missing blank after @c.
30643         Reported by Joseph Myers <joseph@codesourcery.com>.
30645 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
30647         * manual/check-safety.sh: New.
30648         * manual/Makefile ($(objpfx)stamp-summary): Run it.
30650         * manual/terminal.texi: Document MTASC-safety properties.
30652         * manual/filesys.texi: Document MTASC-safety properties.
30654         * manual/errno.texi: Document MTASC-safety properties.
30656         * manual/intro.texi: Document safety identifiers and
30657         conditionals.
30659         * manual/string.texi (wcstok): Fix prototype.
30660         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
30662         * manual/time.texi: Document MTASC-safety properties.
30664         * manual/string.texi: Document MTASC-safety properties.
30666         * manual/threads.texi: Document MTASC-safety properties.
30668         * manual/stdio.texi: Document MTASC-safety properties.
30670         * manual/syslog.texi: Document MTASC-safety properties.
30672         * manual/sysinfo.texi: Document MTASC-safety properties.
30674         * manual/startup.texi: Document MTASC-safety properties.
30676         * manual/socket.texi: Document MTASC-safety properties.
30678         * manual/signal.texi: Document MTASC-safety properties.
30680 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
30682         * manual/setjmp.texi: Document MTASC-safety properties.
30684         * manual/search.texi: Document MTASC-safety properties.
30686         * manual/resource.texi: Document MTASC-safety properties.
30688         * manual/process.texi: Document MTASC-safety properties.
30690         * manual/platform.texi: Document MTASC-safety properties.
30692         * manual/pipe.texi: Document MTASC-safety properties.
30694         * manual/pattern.texi: Document MTASC-safety properties.
30696         * manual/message.texi: Document MTASC-safety properties.
30698         [BZ #12751]
30699         * manual/memory.texi: Document MTASC-safety properties.
30701         * manual/math.texi: Document MTASC-safety properties.
30703         * manual/locale.texi: Document MTASC-safety properties.
30705         * manual/llio.texi: Document MTASC-safety properties.
30707         * manual/libdl.texi: New.
30709         * manual/lang.texi: Document MTASC-safety properties.
30711         * manual/job.texi: Document MTASC-safety properties.
30713         * manual/getopt.texi: Document MTASC-safety properties.
30715         * manual/ctype.texi: Document MTASC-safety properties.
30717 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
30719         [BZ #16046]
30720         * csu/libc-tls.c (static_map): Remove variable.
30721         (__libc_setup_tls): Use main executable's link map for TLS data.
30722         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
30723         casing for LM_ID_BASE and GL(dl_nns).
30724         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
30725         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
30726         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
30727         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
30728         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
30729         member.
30730         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
30731         l_phnum members.
30733 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
30735         * manual/debug.texi: Document MTASC-safety properties.
30737 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
30739         [BZ #16510]
30740         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
30741         of __x86_64__ when disabling x87 inline functions.
30743 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
30745         * manual/charset.texi: Document MTASC-safety properties.
30747         * manual/crypt.texi: Document MTASC-safety properties.
30749         * manual/conf.texi: Document MTASC-safety properties.
30751         * manual/arith.texi: Document MTASC-safety properties.
30753         * manual/argp.texi: Document MTASC-safety properties.
30755         * manual/macros.texi: Introduce macros to document multi
30756         thread, asynchronous signal and asynchronous cancellation
30757         safety properties.
30758         * manual/intro.texi: Introduce the properties themselves.
30760 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30762         * sysdeps/sh/sh4/Makefile: New file.
30764 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
30766         * math/gen-libm-test.pl ($srcdir): New variable.
30767         ($auto_input): Use it.
30769 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30771         [BZ #16506]
30772         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
30773         access beyond array bounds when parsing netgroups file.
30775         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
30776         the old buffer before realloc.
30778 2014-01-27  Allan McRae  <allan@archlinux.org>
30780         * po/fr.po: Update French translation from translation project.
30782 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30784         * sysdeps/sh/libm-test-ulps: Regenerate.
30786 2014-01-24  David S. Miller  <davem@davemloft.net>
30788         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
30790 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30792         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
30793         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
30795 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30797         [BZ #16474]
30798         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
30799         string pointers after reallocation.
30801 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30803         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
30804         __SH4A__ instead of __SH_FPU_ANY__.
30806 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30808         * sysdeps/sh/fpu_control.h: New file.
30809         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
30810         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
30811         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
30812         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
30813         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
30814         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
30815         * sysdeps/sh/sys/ucontext.h: Remove.
30816         * sysdeps/sh/sys: Remove directory.
30818 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30820         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
30821         s390/sys/ucontext.h.
30822         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
30823         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
30825 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
30827         [BZ #15605]
30828         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
30830 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30832         [BZ#16431]
30833         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30834         Adjust the vDSO correctly for internal calls.
30835         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
30837 2014-01-20  Allan McRae  <allan@archlinux.org>
30839         * po/ca.po: Update Catalan translation from translation project.
30841 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
30843         * sysdeps/s390/sotruss-lib.c: New file.
30845 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30847         [BZ#16430]
30848         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
30849         (__GI___gettimeofday): Alias for a different internal symbol to avoid
30850         local calls issues by not having a PLT stub required for IFUNC calls.
30851         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
30853 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
30855         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
30856         * math/test-fpucw-static.c: Likewise.
30858 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30860         [BZ #16453]
30861         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
30863 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30865         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
30866         implementation for powerpc.
30868 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
30870         [BZ #14782]
30871         * sysdeps/posix/system.c (__libc_system): Do not enable
30872         asynchronous cancellation.
30874 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30876         [BZ #16427]
30877         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
30878         handling only for numbers special also in the IEEE case.
30880 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30882         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30884 2014-01-11  Allan McRae  <allan@archlinux.org>
30886         * po/bg.po: Update Bulgarian translation from translation project.
30888         * po/de.po: Update German translation from translation project.
30890 2014-01-10  Roland McGrath  <roland@hack.frob.com>
30892         * sysdeps/generic/gcc-compat.h: New file.
30894 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30896         * benchtests/asin-inputs: Correct slow inputs.
30897         * benchtests/acos-inputs: Likewise.
30899 2014-01-10  Allan McRae  <allan@archlinux.org>
30901         * po:sv.po: Update Swedish translation from translation project.
30903         * po/vi.po: Update Vietnamese translation from translation project.
30905         * po/eo.po: Update Esperanto translation from translation project.
30907         * po/cs.po: Update Czech translation from translation project.
30909         * po/nl.po: Update Dutch translation from translation project.
30911         * po/pl.po: Update Polish translation from translation project.
30913         * po/ru.po: Update Russian translation from translation project.
30915         * po/uk.po: Update Ukrainian translation from translation project.
30917 2014-01-08  Brooks Moses  <bmoses@google.com>
30919         * elf/dl-load.c: Fix comment typo.
30921 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
30923         * po/header.pot: Rename to...
30924         * po/pot.header: ... this.
30925         * po/Makefile: Use pot.header.
30927 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
30928             Maxim Kuvyrkov  <maxim@kugelworks.com>
30930         [BZ #16394]
30931         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
30932         SRC and DEST against LEN.
30934 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30936         [BZ #16414]
30937         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
30938         implementation.
30939         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
30941 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30945 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
30947         [BZ #16408]
30948         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
30949         for large positive arguments.
30951 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
30953         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30955         * math/auto-libm-test-in: Mark various tests with
30956         xfail-rounding:ldbl-128ibm.
30957         * math/auto-libm-test-out: Regenerated.
30959         [BZ #16407]
30960         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30961         Increase overflow threshold.
30963 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
30965         [BZ #14286]
30966         * stdio-common/vfprintf.c: Check for integer overflow.
30968 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30970         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
30971         the first argument and return value of __tls_get_addr_internal.
30973 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30975         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
30976         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
30978 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30980         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
30981         * sysdeps/s390/rtld-global-offsets.sym: New file.
30982         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
30983         GLIBC_2.19 symbol.
30984         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
30985         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
30986         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30987         ... this.
30988         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
30989         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30990         ... this.
30991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30992         Regenerate.
30993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30994         Regenerate.
30995         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
30996         halfs of GPRs for high_gprs contexts.
30997         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
30998         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
30999         field.
31000         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
31001         uc_flags field.
31002         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
31003         64 bit versions:
31004         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
31005         for high GPRs (uc_high_gprs) and for future extensions
31006         (__reserved).
31007         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
31008         for future extensions (__reserved).
31009         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
31010         64 bit versions:
31011         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
31012         SC_HIGHGPRS offset definition.
31013         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
31014         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
31016         * Versions.def: Add GLIBC_2.19 for libpthread.
31017         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
31018         siglongjmp for libpthread with GLIBC_2.19 symver.
31019         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
31020         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
31021         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
31022         * sysdeps/s390/__longjmp.c: New file.
31023         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
31024         * sysdeps/s390/longjmp.c: New file.
31025         * sysdeps/s390/setjmp.S: New file.
31026         * sysdeps/s390/sigjmp.S: New file.
31027         * sysdeps/s390/v1-longjmp.c: New file.
31028         * sysdeps/s390/v1-setjmp.h: New file.
31029         * sysdeps/s390/v1-sigjmp.c: New file.
31030         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
31031         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
31032         GLIBC_2.19 version.
31033         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
31034         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
31035         versioned symbols for ____longjmp_chk.
31036         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31037         Likewise.
31038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31039         Regenerate.
31040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31041         Regenerate.
31042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31043         Regenerate.
31044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31045         Regenerate.
31046         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
31047         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
31048         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
31049         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
31050         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
31051         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
31052         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
31053         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
31054         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
31055         * sysdeps/s390/rtld-__longjmp.c: New file.
31056         * sysdeps/s390/rtld-setjmp.S: New file.
31058 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
31060         [BZ #16400]
31061         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31062         Return -__logl (x) for small positive arguments without evaluating
31063         a polynomial.
31065 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
31067         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
31068         Rename to ...
31069         (__ptrace_peeksiginfo_args): ... this.
31070         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31071         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31072         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31074 2014-01-06  Allan McRae  <allan@archlinux.org>
31076         * inet/netinet/in.h: Fix typo in comment.
31078 2014-01-05  Andreas Jaeger  <aj@suse.de>
31080         * sysdeps/i386/fpu/libm-test-ulps: Update.
31082 2014-01-05  Allan McRae  <allan@archlinux.org>
31084         * po/libc.pot: Regenerated.
31086         * malloc/memusagestat.c: Fix gettext call formatting.
31088 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
31090         * nscd/nscd.c: Improve usage() output.
31092 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
31094         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
31095         * sysdeps/unix/sysv/linux/configure: Regenerated.
31096         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
31097         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
31099 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
31101         [BZ #16390]
31102         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31103         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
31105 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31107         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
31108         extra tokens at end of #undef directive.
31109         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
31110         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
31111         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
31113 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
31115         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31117         * math/auto-libm-test-in: Mark various tests with
31118         xfail-rounding:ldbl-128ibm.
31119         * math/auto-libm-test-out: Regenerated.
31121 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
31123         [BZ #16386]
31124         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
31125         numbers with subnormal high part when calculating exponent.
31127         [BZ #16385]
31128         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
31129         fabs.
31131         [BZ #16384]
31132         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
31133         M_LN2l.
31134         (__ieee754_acoshl): Use __log1pl not __log1p.
31136 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
31138         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
31139         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
31140         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
31141         (grow_heap, heap_trim, _int_new_arena, get_free_list)
31142         (reused_arena, arena_get2): Convert to GNU style.
31143         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
31144         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
31145         (memalign_check, __malloc_set_state): Likewise.
31146         * malloc/mallocbug.c (main): Likewise.
31147         * malloc/malloc.c (__malloc_assert, malloc_init_state)
31148         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
31149         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
31150         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
31151         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
31152         (__posix_memalign, malloc_info): Likewise.
31153         * malloc/malloc.h: Likewise.
31154         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
31155         (mallochook, memalignhook, reallochook, mabort): Likewise.
31156         * malloc/mcheck.h: Likewise.
31157         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
31158         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
31159         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
31160         * malloc/morecore.c (__default_morecore): Likewise.
31161         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
31162         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
31163         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
31164         (print_and_abort): Likewise.
31165         * malloc/obstack.h: Likewise.
31166         * malloc/set-freeres.c (__libc_freeres): Likewise.
31167         * malloc/tst-mallocstate.c (main): Likewise.
31168         * malloc/tst-mtrace.c (main): Likewise.
31169         * malloc/tst-realloc.c (do_test): Likewise.
31171 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31173         [BZ #16366]
31174         * nscd/netgroupcache.c (do_notfound): New function.
31175         (addgetnetgrentX): Use it.
31177         [BZ # 16365]
31178         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
31179         NSS_STATUS_NOTFOUND.
31181 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
31183         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31186 2014-01-01  Allan McRae  <allan@archlinux.org>
31188         * scripts/update-copyrights: Update configure input file suffix.
31190         * NEWS: Update copyright year.
31191         * catgets/gencat.c: Likewise.
31192         * csu/version.c: Likewise.
31193         * debug/catchsegv.sh: Likewise.
31194         * debug/pcprofiledump.c: Likewise.
31195         * debug/xtrace.sh: Likewise.
31196         * elf/ldconfig.c: Likewise.
31197         * elf/ldd.bash.in: Likewise.
31198         * elf/pldd.c: Likewise.
31199         * elf/sotruss.ksh: Likewise.
31200         * elf/sprof.c: Likewise.
31201         * iconv/iconv_prog.c: Likewise.
31202         * iconv/iconvconfig.c: Likewise.
31203         * locale/programs/locale.c: Likewise.
31204         * locale/programs/localedef.c: Likewise.
31205         * login/programs/pt_chown.c: Likewise.
31206         * malloc/memusage.sh: Likewise.
31207         * malloc/memusagestat.c: Likewise.
31208         * malloc/mtrace.pl: Likewise.
31209         * manual/libc.texinfo: Likewise.
31210         * nscd/nscd.c: Likewise.
31211         * nss/getent.c: Likewise.
31212         * nss/makedb.c: Likewise.
31213         * posix/getconf.c: Likewise.
31214         * scripts/test-installation.pl: Likewise.
31216         * All files with FSF copyright notices: Update copyright dates
31217         using scripts/update-copyrights.
31218         * intl/plural.c: Regenerated.
31219         * locale/programs/charmap-kw.h: Likewise.
31220         * locale/programs/locfile-kw.h: Likewise.
31222 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
31224         * sysdeps/unix/sysv/linux/configure: Regenerated.
31225         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
31226         the linux/fanotify.h header.
31227         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
31228         HAVE_LINUX_FANOTIFY_H is defined.
31230 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31232         * benchtests/cos-inputs: New inputs.
31233         * benchtests/sin-inputs: Likewise.
31235         * benchtests/atan-inputs: New inputs. Fix name of multiple
31236         precision fallback inputs.
31238         * benchtests/atanh-inputs: New inputs.
31239         * benchtests/tanh-inputs: Likewise.
31241         * benchtests/acosh-inputs: New inputs.
31242         * benchtests/asinh-inputs: Likewise.
31244         * benchtests/cosh-inputs: New inputs.
31245         * benchtests/sinh-inputs: Likewise.
31247         * benchtests/acos-inputs: Add more inputs.
31248         * benchtests/asin-inputs: Likewise.
31250 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
31252         [BZ #16375]
31253         * manual/arith.texi: Fix spelling.
31254         * manual/charset.texi: Likewise.
31255         * manual/errno.texi: Likewise.
31256         * manual/filesys.texi: Likewise.
31257         * manual/lang.texi: Likewise.
31258         * manual/llio.texi: Likewise.
31259         * manual/locale.texi: Likewise.
31260         * manual/message.texi: Likewise.
31261         * manual/resource.texi: Likewise.
31262         * manual/search.texi: Likewise.
31263         * manual/setjmp.texi: Likewise.
31264         * manual/stdio.texi: Likewise.
31265         * manual/string.texi: Likewise.
31266         * manual/sysinfo.texi: Likewise.
31267         * manual/time.texi: Likewise.
31269 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
31271         * po/sl.po: New file.
31273 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
31275         * .gitignore: Add core/.gdbinit/.gdb_history.
31277 2013-12-27  Allan McRae  <allan@archlinux.org>
31279         [BZ #16369]
31280         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
31281         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
31283 2013-12-24  Brooks Moses  <bmoses@google.com>
31285         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
31286         all compilers that claim C++98 compliance, not just GCC.
31287         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31288         Likewise.
31290 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
31292         * NEWS: Restore accidentally deleted bug-fix entries.
31294 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
31295             Ondřej Bílka  <neleai@seznam.cz>
31297         [BZ #15073]
31298         * malloc/malloc.c (_int_free): Perform sanity check only if we
31299         have_lock.
31301 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
31303         [BZ #12986]
31304         * manual/stdio.texi (String Input Conversions): Clarify that character
31305         classes are not supported.
31307 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31311 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
31313         [BZ #16337]
31314         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31315         Calculate results for small negative arguments directly rather
31316         than using reflection formula with special underflow handling.
31318         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
31319         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
31320         sysdeps/unix/bsd/bsd4.4/syscalls.list.
31321         (fchflags): Likewise.
31322         (revoke): Likewise.
31323         (setlogin): Likewise.
31324         (sigaltstack): Likewise.
31325         (wait4): Likewise.
31326         (sigblock): Remove.
31327         (sigsetmask): Likewise.
31328         (wait3): Likewise.
31329         (waitpid): Likewise.
31330         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
31331         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
31332         file.
31333         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
31334         * sysdeps/unix/bsd/Makefile: ... here.
31335         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
31336         * sysdeps/unix/bsd/Versions: ... here.
31337         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
31338         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
31339         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
31340         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
31341         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
31342         * sysdeps/unix/bsd/sigblock.c: ... here.
31343         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
31344         * sysdeps/unix/bsd/sigsetmask.c: ... here.
31345         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
31346         * sysdeps/unix/bsd/sigvec.c: ... here.
31347         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
31348         * sysdeps/unix/bsd/tcdrain.c: ... here.
31349         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
31350         * sysdeps/unix/bsd/tcgetattr.c: ... here.
31351         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
31352         * sysdeps/unix/bsd/tcsetattr.c: ... here.
31353         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
31354         * sysdeps/unix/bsd/wait.c: ... here.
31355         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
31356         * sysdeps/unix/bsd/wait3.c: ... here.
31357         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
31358         * sysdeps/unix/bsd/waitpid.c: ... here.
31360 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
31362         [BZ #16356]
31363         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
31364         round-to-nearest for [!USE_AS_EXPM1L].
31365         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
31366         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
31367         more tests of exp and exp10.  Expect some exp10 tests to miss
31368         exceptions or fail in directed rounding modes.
31369         * math/auto-libm-test-out: Regenerated.
31370         * math/libm-test.inc (exp10_tonearest_test_data): New array.
31371         (exp10_test_tonearest): New function.
31372         (exp10_towardzero_test_data): New array.
31373         (exp10_test_towardzero): New function.
31374         (exp10_downward_test_data): New array.
31375         (exp10_test_downward): New function.
31376         (exp10_upward_test_data): New array.
31377         (exp10_test_upward): New function.
31378         (main): Call the new functions.
31379         * sysdeps/i386/fpu/libm-test-ulps: Update.
31380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31382 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
31384         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31385         asinh, atan, atan2, atanh, cbrt, cos and cosh.
31386         * math/auto-libm-test-out: Regenerated.
31387         * math/libm-test.inc (acosh_test_data): Add more tests.
31388         (atanh_test_data): Likewise.
31389         (ceil_test_data): Likewise.
31390         (copysign_test_data): Likewise.
31391         * sysdeps/i386/fpu/libm-test-ulps: Update.
31392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31394         * timezone/checktab.awk: Update from tzcode 2013i.
31395         * timezone/private.h: Likewise.
31396         * timezone/scheck.c: Likewise.
31397         * timezone/tzfile.h: Likewise.
31398         * timezone/tzselect.ksh: Likewise.
31399         * timezone/zdump.c: Likewise.
31400         * timezone/zic.c: Likewise.
31402         * math/auto-libm-test-in: Add tests of cpow.
31403         * math/auto-libm-test-out: Regenerated.
31404         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
31405         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31406         mpc_cc_c.
31407         (func_calc_desc): Add mpc_cc_c union field.
31408         (test_functions): Add cpow.
31409         (special_fill_2pi): New function.
31410         (special_real_inputs): Add 2pi.
31411         (calc_generic_results): Handle mpc_cc_c.
31412         * sysdeps/i386/fpu/libm-test-ulps: Update.
31413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31415         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
31416         csqrt, ctan and ctanh.
31417         * math/auto-libm-test-out: Regenerated.
31418         * math/libm-test.inc (TEST_COND_x86_64): New macro.
31419         (TEST_COND_x86): Likewise.
31420         (ccos_test_data): Use AUTO_TESTS_c_c.
31421         (ccosh_test_data): Likewise.
31422         (cexp_test_data): Likewise.
31423         (clog_test_data): Likewise.
31424         (csqrt_test_data): Likewise.
31425         (ctan_test_data): Likewise.
31426         (ctan_tonearest_test_data): Likewise.
31427         (ctan_towardzero_test_data): Likewise.
31428         (ctan_downward_test_data): Likewise.
31429         (ctan_upward_test_data): Likewise.
31430         (ctanh_test_data): Likewise.
31431         (ctanh_tonearest_test_data): Likewise.
31432         (ctanh_towardzero_test_data): Likewise.
31433         (ctanh_downward_test_data): Likewise.
31434         (ctanh_upward_test_data): Likewise.
31435         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31436         mpc_c_c.
31437         (func_calc_desc): Add mpc_c_c union field.
31438         (FUNC_mpc_c_c): New macro.
31439         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
31440         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
31441         ctanh.
31442         (special_fill_min_subnorm_p120): New function.
31443         (special_real_inputs): Add min_subnorm_p120.
31444         (calc_generic_results): Handle mpc_c_c.
31445         * sysdeps/i386/fpu/libm-test-ulps: Update.
31446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31448 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31450         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
31451         (do_sin_slow): New functions.
31452         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
31453         (cslow2, csloww1, csloww2): Use the new functions.
31455         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
31456         Use M to change sign of result instead of X.  Assume X is
31457         positive.
31458         (csloww1): Likewise.
31459         (__sin): Adjust.
31460         (__cos): Adjust.
31462         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
31463         arguments A and DA.
31464         (__sin): Adjust.
31465         (__cos): Likewise.
31467         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
31468         (__cos): Likewise.
31469         (sloww1): Don't adjust sign of DX.
31470         (csloww1): Likewise.
31471         (sloww2): Use X directly and don't adjust sign of DX.
31472         (csloww2): Likewise.
31474 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31476         * math/auto-libm-test-in: Add tests of cabs and carg.
31477         * math/auto-libm-test-out: Regenerated.
31478         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
31479         (carg_test_data): Likewise.
31480         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31481         mpc_c_f.
31482         (func_calc_desc): Add mpc_c_f union field.
31483         (test_functions): Add cabs and carg.
31484         (calc_generic_results): Handle mpc_c_f.
31486         * sysdeps/powerpc/powerpc32/libgcc-compat.S
31487         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
31488         as a macro and a compat symbol.
31489         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31490         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31491         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31492         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31493         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
31494         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
31495         not use .hidden.
31496         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
31497         Likewise.
31498         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
31499         Likewise.
31500         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
31501         Likewise.
31502         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
31503         Likewise.
31504         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
31505         Likewise.
31506         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
31507         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
31508         from GLIBC_2.3.2.
31510 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31514 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31516         * manual/texinfo.tex: Update to version 2013-11-26.10 with
31517         trailing whitespace removed.
31518         * scripts/config.guess: Update to version 2013-11-29.
31519         * scripts/config.sub: Update to version 2013-10-01.
31521         * math/auto-libm-test-in: Add tests of sincos.
31522         * math/auto-libm-test-out: Regenerated.
31523         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
31524         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31525         mpfr_f_11.
31526         (func_calc_desc): Add mpfr_f_11 union field.
31527         (test_functions): Add sincos.
31528         (calc_generic_results): Handle mpfr_f_11.
31529         * sysdeps/i386/fpu/libm-test-ulps: Update.
31530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31532 2013-12-19  Andreas Schwab  <schwab@suse.de>
31534         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
31535         CALL_MCOUNT.
31536         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31537         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
31538         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
31540 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31542         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
31543         * sysdeps/i386/fpu/libm-test-ulps: Update.
31544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31546         [BZ #16293]
31547         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
31548         round-to-nearest mode when using frndint.
31549         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
31550         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31551         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31552         Likewise.
31553         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
31554         sinh test to fail.
31555         * math/auto-libm-test-out: Regenerated.
31556         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
31557         (TEST_COND_x86): Likewise.
31558         (expm1_tonearest_test_data): New array.
31559         (expm1_test_tonearest): New function.
31560         (expm1_towardzero_test_data): New array.
31561         (expm1_test_towardzero): New function.
31562         (expm1_downward_test_data): New array.
31563         (expm1_test_downward): New function.
31564         (expm1_upward_test_data): New array.
31565         (expm1_test_upward): New function.
31566         (main): Run the new test functions.
31567         * sysdeps/i386/fpu/libm-test-ulps: Update.
31568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31570         * include/features.h: Update comment documenting feature test
31571         macros.  Mention _DEFAULT_SOURCE in comment.
31572         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
31573         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
31574         _BSD_SOURCE and _SVID_SOURCE.
31575         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
31576         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
31577         !_SVID_SOURCE]: Likewise.
31578         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31579         (__USE_POSIX_IMPLICITLY): Define.
31580         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31581         (_POSIX_SOURCE): Undefine and redefine.
31582         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31583         (_POSIX_C_SOURCE): Likewise.
31584         * manual/creature.texi (_DEFAULT_SOURCE): Document.
31585         (Feature Test Macros): Update documentation of default features.
31587 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31589         * benchtests/Makefile: Add bench-strtok.
31590         * benchtests/bench-strtok.c: New file: strtok benchtest.
31592 2013-12-19  Allan McRae  <allan@archlinux.org>
31594         * manual/install.texi: Suppress menu for plain text output.
31595         * INSTALL: Regenerated.
31597 2013-12-18  Brooks Moses  <bmoses@google.com>
31599         [BZ #15846]
31600         * misc/getauxval.c: Include errno.h.
31601         (__getauxval): Set errno to ENOENT if the requested type is not
31602         found.
31603         * misc/sys/auxv.h (getauxval): Document that it may set errno;
31604         don't declare with __attribute_const__.
31605         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
31606         * manual/startup.texi: Document that getauxval sets errno.
31608 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31610         * math/auto-libm-test-in: Add tests of jn and yn.
31611         * math/auto-libm-test-out: Regenerated.
31612         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
31613         (yn_test_data): Likewise.
31614         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31615         mpfr_if_f.
31616         (func_calc_desc): Add mpfr_if_f union field.
31617         (FUNC_mpfr_if_f): New macro.
31618         (test_functions): Add jn and yn.
31619         (calc_generic_results): Assert type of second input for
31620         mpfr_ff_f.  Handle mpfr_if_f.
31621         (output_for_one_input_case): Disable all checking for arguments
31622         fitting floating-point types in case of an integer argument.
31623         * sysdeps/i386/fpu/libm-test-ulps: Update.
31624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31627         Don't expect fegetround reference in libm.so.
31629 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31631         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
31632         $(config-cflags-nofma).
31634 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31636         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
31637         * math/auto-libm-test-out: Regenerated.
31639         [BZ #16338]
31640         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
31641         to determine exponent and adjust argument to have exponent of -1.
31642         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
31643         log2.
31644         * math/auto-libm-test-out: Regenerated.
31645         * sysdeps/i386/fpu/libm-test-ulps: Update.
31646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31648 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
31650         * manual/probes.texi: Remove cases when per-thread arenas are
31651         disabled.
31653 2013-12-18  Andreas Schwab  <schwab@suse.de>
31655         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
31656         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
31657         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
31658         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
31659         * sysdeps/i386/i686/multiarch/Makefile: Update.
31660         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
31662 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31664         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
31665         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
31667 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
31669         [BZ #15968]
31670         Support TZ transition times < 00:00:00.
31671         This is needed for version-3 tz-format files; it supports time
31672         stamps past 2037 for America/Godthab (the only entry in the tz
31673         database for which this change is relevant).
31674         * manual/time.texi (TZ Variable): Document transition times
31675         from -167:59:59 through -00:00:01.
31676         * time/tzset.c (tz_rule): Time of day is now signed.
31677         (__tzset_parse_tz): Parse negative time of day.
31679         Document TZ transition times >= 25:00:00.
31680         * manual/time.texi (TZ Variable): Document transition times from
31681         25:00:00 through 167:59:59.  These are already supported, and this
31682         support will help with version-3 tz-format files.
31684         * manual/time.texi (TZ Variable): Modernize North America example
31685         to reflect current (i.e., 2007-and-later) daylight saving rules.
31687         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
31689 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31691         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
31692         * sysdeps/unix/bsd/bits/stat.h: Likewise.
31693         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
31694         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31695         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
31696         * sysdeps/unix/bsd/bsdstat.h: Likewise.
31697         * sysdeps/unix/bsd/clock.c: Likewise.
31698         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
31699         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
31700         * sysdeps/unix/bsd/init-posix.c: Likewise.
31701         * sysdeps/unix/bsd/poll.c: Likewise.
31702         * sysdeps/unix/bsd/ptsname.c: Likewise.
31703         * sysdeps/unix/bsd/seekdir.c: Likewise.
31704         * sysdeps/unix/bsd/setegid.c: Likewise.
31705         * sysdeps/unix/bsd/seteuid.c: Likewise.
31706         * sysdeps/unix/bsd/setgid.c: Likewise.
31707         * sysdeps/unix/bsd/setrgid.c: Likewise.
31708         * sysdeps/unix/bsd/setruid.c: Likewise.
31709         * sysdeps/unix/bsd/setsid.c: Likewise.
31710         * sysdeps/unix/bsd/setuid.c: Likewise.
31711         * sysdeps/unix/bsd/sigaction.c: Likewise.
31712         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
31713         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
31714         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
31715         * sysdeps/unix/bsd/telldir.c: Likewise.
31716         * sysdeps/unix/bsd/times.c: Likewise.
31717         * sysdeps/unix/bsd/usleep.c: Likewise.
31719         * misc/Makefile (install-lib): Remove libbsd-compat.a.
31720         ($(objpfx)libbsd-compat.a): Remove rule.
31722         * include/features.h (__FAVOR_BSD): Do not define.
31723         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
31724         features conflicting with POSIX.
31725         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
31726         (_BSD_SOURCE): Remove description of not being a subset of other
31727         feature test macros.
31728         * manual/job.texi (getpgrp): Do not document BSD version.
31729         (getpgid): Do not document by reference to BSD getpgrp.
31730         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
31731         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
31732         * signal/signal.h [__FAVOR_BSD]: Likewise.
31733         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
31734         instead of making contents conditional on [__FAVOR_BSD].
31735         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
31737 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31741 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31743         [BZ #16314]
31744         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
31745         values below 2**-450, not 2**-500.
31746         * math/auto-libm-test-in: Don't allow spurious underflow from
31747         hypot.
31748         * math/auto-libm-test-out: Regenerated.
31750         [BZ #16316]
31751         [BZ #16330]
31752         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
31753         values of ha and hb and sort them after adjusting subnormal
31754         arguments.
31755         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31756         Likewise.
31757         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
31758         values of ea and eb and sort them after adjusting subnormal
31759         arguments.
31760         * math/auto-libm-test-in: Do not expect some hypot tests of
31761         subnormals to fail.  Add more hypot tests.
31762         * math/auto-libm-test-out: Regenerated.
31764 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31766         [BZ #13304]
31767         * sysdeps/sh/s_fma.c: New file.
31768         * sysdeps/sh/s_fmaf.c: New file.
31769         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
31770         version.
31771         * sysdeps/sh/Implies: Add sh/soft-fp.
31773 2013-12-16  Roland McGrath  <roland@hack.frob.com>
31775         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
31776         level of indirection to members `objname', `errstring', `malloced'.
31777         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
31778         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
31779         it as the __longjmp argument (just pass 1 instead).
31780         (_dl_catch_error): Initialize C with argument pointers and address of
31781         volatile local ERRCODE rather than copying values out of C at return.
31783 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
31785         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
31786         * math/auto-libm-test-out: Regenerated.
31787         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
31788         (hypot_test_data): Likewise.
31789         (pow_test_data): Likewise.
31790         (pow_tonearest_test_data): Likewise.
31791         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31792         mpfr_ff_f.
31793         (func_calc_desc): Add mpfr_ff_f union field.
31794         (FUNC_mpfr_ff_f): New macro.
31795         (test_functions): Add atan2, hypot and pow.
31796         (special_fill_min): New function.
31797         (special_fill_minus_min): Likewise.
31798         (special_fill_min_subnorm): Likewise.
31799         (special_fill_minus_min_subnorm): Likewise.
31800         (special_real_inputs): Add min, -min, min_subnorm and
31801         -min_subnorm.
31802         (calc_generic_results): Handle mpfr_ff_f.
31803         * sysdeps/i386/fpu/libm-test-ulps: Update.
31804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31806 2013-12-16  Will Newton  <will.newton@linaro.org>
31808         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
31809         (Aligned Memory Blocks): Add documentation for aligned_alloc
31810         and suggest it as an alternative to posix_memalign.
31811         (Hooks for Malloc): Document __memalign_hook is also called
31812         for aligned_alloc.  (Summary of Malloc): Add summary for
31813         aligned alloc.  Document __memalign_hook is also called
31814         for aligned_alloc.
31816 2013-12-16  Will Newton  <will.newton@linaro.org>
31818         * manual/memory.texi (Malloc Examples): Clarify default
31819         alignment documentation.  Suggest posix_memalign rather
31820         than memalign or valloc.
31821         (Aligned Memory Blocks): Remove suggestion to use memalign
31822         or valloc.  Remove obsolete comment about BSD.
31823         Document memalign errno values and mark the function obsolete.
31824         Document posix_memalign returned error codes.  Mark valloc
31825         as obsolete.  (Hooks for Malloc): __memalign_hook is also
31826         called for posix_memalign and valloc.
31827         (Summary of Malloc): Add posix_memalign to function summary.
31828         __memalign_hook is also called for posix_memalign and valloc.
31830 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31832         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
31833         TAYLOR_SIN.
31834         (__sin): Adjust.
31835         (__cos): Likewise.
31836         (sloww): Use mynumber union.  Expand ternary operator into
31837         if-else statements.
31838         (cslow): use mynumber union.
31840 2013-12-16  Allan McRae  <allan@archlinux.org>
31842         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
31843         * configure: Regenerated.
31845         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
31847         [BZ #14120]
31848         * configure.ac: Added --enable-maintainer-mode. Check for
31849         autoconf when enabled.
31850         * configure: Regenerated.
31852         * nscd/nscd.service: New file.
31853         * nscd/nscd.tmpfiles: New file.
31855 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
31857         [BZ #12100]
31858         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
31859         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
31860         * sysdeps/x86_64/multiarch/strstr.c: ... here.
31861         (strstr): Add __strstr_sse2_unaligned ifunc.
31862         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
31863         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
31864         (strcasestr): Remove __strcasestr_sse42 ifunc.
31865         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
31866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31867         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31869 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31871         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
31872         * sysdeps/sh/bits/fenv.h: ... here.
31873         * sysdeps/sh/sh4/fpu/bits: Remove directory.
31875 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31877         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
31879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
31880         hypotf multiarch implementations.
31881         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
31882         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
31883         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
31884         multiarch hypot for PPC64.
31885         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
31886         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
31887         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
31888         multiarch hypotf for PPC64.
31890         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
31891         modff multiarch implementations.
31892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
31893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
31894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
31895         multiarch modf for PPC64.
31896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
31897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
31898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
31899         multiarch modff for PPC64.
31901         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
31902         and logl multiarch implementations.
31903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
31904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
31905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
31906         multiarch logb for PPC64.
31907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
31908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
31909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
31910         multiarch logb for PPC64.
31911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
31912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
31913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
31914         multiarch logb for PPC64.
31916         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
31917         isinff multiarch implementation.
31918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
31919         file.
31920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
31921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
31922         multiarch isinf for PPC64.
31923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
31924         file.
31925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
31926         multiarch isinff for PPC64.
31928         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
31929         finitef multiarch implementation.
31930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
31931         file.
31932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
31933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
31934         multiarch finite for PPC64.
31935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
31936         file.
31937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
31938         multiarch finitef for PPC64.
31940         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
31941         lrint multiarch implementation.
31942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
31943         file.
31944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
31945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
31946         multiarch llrint for PPC64.
31947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
31948         multiarch lrint for PPC64.
31950         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
31951         copysignf multiarch implementation.
31952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
31953         file.
31954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
31955         file.
31956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
31957         multiarch copysign for PPC64.
31958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
31959         multiarch copysignf for PPC64.
31961         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
31962         multiarch implementation.
31963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
31964         file.
31965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
31966         file.
31967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
31968         file.
31969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
31970         file.
31971         multiarch llround for PPC64.
31972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
31973         multiarch trunc for PPC64.
31974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
31975         multiarch truncf for PPC64.
31977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
31978         multiarch implementation.
31979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
31980         file.
31981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
31982         file.
31983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
31984         file.
31985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
31986         file.
31987         multiarch llround for PPC64.
31988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
31989         multiarch round for PPC64.
31990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
31991         multiarch roundf for PPC64.
31993         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
31994         multiarch implementation.
31995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
31996         file.
31997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
31998         file.
31999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
32000         file.
32001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
32002         file.
32003         multiarch llround for PPC64.
32004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
32005         multiarch floor for PPC64.
32006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
32007         multiarch floorf for PPC64.
32009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
32010         multiarch implementation.
32011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
32012         file.
32013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
32014         file.
32015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
32016         file.
32017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
32018         file.
32019         multiarch llround for PPC64.
32020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
32021         multiarch ceil for PPC64.
32022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
32023         multiarch ceilf for PPC64.
32025         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32026         multiarch implementation.
32027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
32028         file.
32029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
32030         file.
32031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
32032         file.
32033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
32034         multiarch llround for PPC64.
32035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
32036         multiarch lround for PPC64.
32038         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32039         multiarch implementation.
32040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
32041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
32042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
32043         file.
32044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
32045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
32046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
32047         multiarch isnan for PPC64.
32048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
32049         multiarch isnanf for PPC64.
32051         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
32052         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
32053         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
32054         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
32055         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
32056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
32058         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
32059         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32060         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32061         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
32064         multiarch implementations.
32065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32066         (__libc_ifunc_impl_list): Likewise.
32067         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
32068         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
32069         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
32070         multiarch stpcpy for PPC64.
32072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
32073         multiarch implementations.
32074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32075         (__libc_ifunc_impl_list): Likewise.
32076         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
32077         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
32078         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
32079         multiarch strcpy for PPC64.
32081         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
32082         redefine function name.
32083         (_wordcopy_fwd_dest_aligned): Likewise.
32084         (_wordcopy_bwd_aligned): Likewise.
32085         (_wordcopy_bwd_dest_aligned): Likewise.
32086         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
32087         multiarch implementations.
32088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32089         (__libc_ifunc_impl_list): Likewise.
32090         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
32091         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
32092         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
32093         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
32094         multiarch wcscpy for PPC64.
32096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
32097         multiarch implementations.
32098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32099         (__libc_ifunc_impl_list): Likewise.
32100         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
32101         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
32102         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
32103         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
32104         multiarch wcscpy for PPC64.
32106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
32107         multiarch implementations.
32108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32109         (__libc_ifunc_impl_list): Likewise.
32110         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
32111         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
32112         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
32113         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
32114         multiarch wcsrchr for PPC64.
32116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
32117         multiarch implementations.
32118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32119         (__libc_ifunc_impl_list): Likewise.
32120         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
32121         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
32122         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
32123         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
32124         multiarch wcschr for PPC64.
32126         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
32127         multiarch implementations.
32128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32129         (__libc_ifunc_impl_list): Likewise.
32130         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
32131         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
32132         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
32133         multiarch strchrnul for PPC64.
32135         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
32136         implementations.
32137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32138         (__libc_ifunc_impl_list): Likewise.
32139         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
32140         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
32141         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
32142         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
32143         strchr for PPC64.
32145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
32146         implementations.
32147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32148         (__libc_ifunc_impl_list): Likewise.
32149         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
32150         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
32151         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
32152         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
32153         strncmp for PPC64.
32155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
32156         multiarch implementations.
32157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32158         (__libc_ifunc_impl_list): Likewise.
32159         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
32160         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
32161         strncasecmp for PPC64.
32162         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
32163         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
32164         multiarch strncasecmp_l for PPC64.
32166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
32167         multiarch implementations.
32168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32169         (__libc_ifunc_impl_list): Likewise.
32170         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
32171         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
32172         multiarch strcasecmp for PPC64.
32173         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
32174         file.
32175         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
32176         multiarch strcasecmp_l for PPC64.
32178         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
32179         implementations.
32180         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32181         (__libc_ifunc_impl_list): Likewise.
32182         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
32183         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
32184         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
32185         strnlen for PPC64.
32187         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
32188         implementations.
32189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32190         (__libc_ifunc_impl_list): Likewise.
32191         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
32192         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
32193         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
32194         strlen for PPC64.
32196         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
32197         implementations.
32198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32199         (__libc_ifunc_impl_list): Likewise.
32200         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
32201         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
32202         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
32203         rawmemrchr for PPC64.
32205         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
32206         implementation.
32207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32208         (__libc_ifunc_impl_list): Likewise.
32209         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
32210         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
32211         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
32212         memrchr for PPC64.
32214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
32215         implementation.
32216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32217         (__libc_ifunc_impl_list): Likewise.
32218         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
32219         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
32220         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
32221         memchr for PPC64.
32223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
32224         implementation.
32225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32226         (__libc_ifunc_impl_list): Likewise.
32227         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
32228         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
32229         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
32230         mempcpy for PPC64.
32232         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
32233         avoid cretion of __bzero symbol.
32234         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
32235         Likewise.
32236         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
32237         Likewise.
32238         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
32239         Likewise.
32240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
32241         multiarch implementations.
32242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32243         (__libc_ifunc_impl_list): Likewise.
32244         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
32245         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
32246         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
32247         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
32248         bzero for PPC32.
32249         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
32250         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
32251         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
32252         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
32253         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
32254         memset for PPC64.
32255         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
32257         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
32258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
32259         implementations.
32260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32261         (__libc_ifunc_impl_list): Likewise.
32262         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
32263         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
32264         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
32265         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
32266         memcmp for PPC64.
32268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
32269         multiarch for POWER/PPC64.
32270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
32271         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
32272         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
32273         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
32274         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
32275         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
32276         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
32277         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
32278         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
32279         memcpy for PPC64.
32281         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
32282         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
32283         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
32284         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
32285         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
32286         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
32287         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
32288         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
32289         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
32290         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
32291         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
32292         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
32293         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
32294         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
32295         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
32296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
32297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
32298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
32299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
32300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
32301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
32302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
32304 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32306         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
32308 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32310         * benchtests/Makefile (bench): Add exp2 and log2.
32311         (LDLIBS-bench-exp2): Add -lm.
32312         (LDLIBS-bench-log2): Likewise.
32313         * benchtests/exp2-inputs: New inputs file.
32314         * benchtests/log2-inputs: New inputs file.
32315         * benchtests/log-inputs: Add new inputs.
32316         * benchtests/tan-inputs: Likewise.
32318 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32320         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
32321         definition...
32322         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
32323         (csloww2): ... from here.
32325         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
32326         instead of structures.
32327         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
32328         (POLYNOMIAL): Likewise.
32329         (TAYLOR_SLOW): Likewise.
32330         (__sin): Likewise.
32331         (__cos): Likewise.
32332         (slow1): Likewise.
32333         (slow2): Likewise.
32334         (sloww): Likewise.
32335         (sloww1); Likewise.
32336         (sloww2): Likewise.
32337         (bsloww1): Likewise.
32338         (bsloww2): Likewise.
32339         (cslow2): Likewise.
32340         (csloww): Likewise.
32341         (csloww1): Likewise.
32342         (csloww2): Likewise.
32344 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
32346         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
32347         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
32348         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
32349         * malloc/hooks.c (realloc_check): Likewise.
32351         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
32352         * malloc/arena.c: Remove PER_THREAD conditional.
32353         [!PER_THREAD]: Remove code.
32354         (ptmalloc_unlock_all2): Likewise.
32355         (ptmalloc_init): Likewise.
32356         (_int_new_arena): Likewise.
32357         (arena_get2): Likewise.
32358         * malloc/hooks.c (__malloc_get_state): Likewise.
32359         (__malloc_set_state): Likewise.
32360         * malloc/malloc.c: Likewise.
32361         (struct malloc_state): Likewise.
32362         (struct malloc_par): Likewise.
32363         (__libc_realloc): Likewise.
32364         (__libc_mallopt): Likewise.
32366 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32368         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
32370 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
32372         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
32373         macro to a function.  Check for zero perturb_byte.
32374         (_int_malloc, _int_free): Remove zero perturb_byte checks.
32376         * malloc/malloc.c: (force_reg): Remove.
32377         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
32378         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
32379         force_reg by atomic_forced_read.
32380         * malloc/arena.c (ptmalloc_init): Likewise.
32381         * malloc/hooks.c (top_check): Likewise.
32383 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32387 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
32389         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32391 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
32393         * math/auto-libm-test-in: Add tests of lgamma.
32394         * math/auto-libm-test-out: Regenerated.
32395         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
32396         (M_LOG_2_SQRT_PIl): Likewise.
32397         (lgamma_test_data): Use AUTO_TESTS_f_f1.
32398         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32399         mpfr_f_f1.
32400         (func_calc_desc): Add mpfr_f_f1 union field.
32401         (ARGS1): New macro.
32402         (ARGS2): Likewise.
32403         (ARGS3): Likewise.
32404         (ARGS4): Likewise.
32405         (RET1): Likewise.
32406         (RET2): Likewise.
32407         (CALC): Likewise.
32408         (FUNC): Likewise.
32409         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
32410         (test_functions): Add lgamma.
32411         (calc_generic_results): Handle mpfr_f_f1.
32412         * sysdeps/i386/fpu/libm-test-ulps: Update.
32413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32415 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32417         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
32418         __mpn_add_n for PowerPC64/POWER7.
32419         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
32420         __mpn_sub_n for PowerPC64/POWER7.
32422         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
32423         __mpn_addmul_1 for PowerPC64.
32424         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
32425         __mpn_submul_1 for PowerPC64.
32426         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
32427         for PowerPC64.
32428         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
32429         for PowerPC64.
32431 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
32433         [BZ #15089]
32434         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
32436 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32438         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
32440         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
32441         add multiarch folders.
32442         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
32443         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
32444         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
32445         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
32446         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
32447         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
32448         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
32449         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
32450         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
32451         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
32452         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
32453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
32454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
32455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
32456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
32457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
32458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
32460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32461         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
32462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
32463         New file.
32464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
32465         New file.
32466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
32467         multiarch __ieee754_hypot for PowerPC32.
32468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
32469         New file.
32470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
32471         New file.
32472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
32473         multiarch __ieee754_hypotf for PowerPC32.
32475         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
32476         long_double_symbol only if __logbl is defined.
32477         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
32478         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
32479         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
32480         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
32481         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
32482         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
32483         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
32484         path for implementation.
32485         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
32486         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
32487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
32488         logb, and logbl multiarch implementations for PowerPC32.
32489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
32490         file.
32491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
32492         file.
32493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
32494         multiarch logb for PowerPC32.
32495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
32496         file.
32497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
32498         file.
32499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
32500         multiarch logbf for PowerPC32.
32501         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
32502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
32503         file.
32504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
32505         multiarch logbl implementation for PowerPC32.
32507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
32508         and modff multiarch implementations.
32509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
32510         New file.
32511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
32512         New file.
32513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
32514         multiarch modf for PowerPC32.
32515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
32516         New file.
32517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
32518         New file.
32519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
32520         multiarch modff for PowerPC32.
32522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
32523         and lrintf multiarch implementations.
32524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
32525         New file.
32526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
32527         New file.
32528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
32529         multiarch lrint for PowerPC32.
32530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
32531         file: multiarch lrintf for PowerPC32.
32533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
32534         and lroundf multiarch implementations.
32535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
32536         New file.
32537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
32538         New file.
32539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
32540         New file.
32541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
32542         multiarch lround for PowerPC32.
32543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
32544         file: multiarch lroundf for PowerPC32.
32546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32547         copysign and copysignf multiarch implementations.
32548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
32549         New file.
32550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
32551         New file.
32552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
32553         file: multiarch copysign for PowerPC32.
32554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
32555         file: multiarch copysignf for PowerPC32.
32557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
32558         and truncf multiarch implementations.
32559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
32560         New file.
32561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
32562         file.
32563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
32564         multiarch trunc for PowerPC32.
32565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
32566         New file.
32567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
32568         New file.
32569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
32570         multiarch truncf for PowerPC32.
32572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
32573         and roundf multiarch implementations.
32574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
32575         New file.
32576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
32577         file.
32578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
32579         multiarch round for PowerPC32.
32580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
32581         New file.
32582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
32583         New file.
32584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
32585         multiarch roundf for PowerPC32.
32587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
32588         and floorf multiarch implementations.
32589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
32590         New file.
32591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
32592         file.
32593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
32594         multiarch floor for PowerPC32.
32595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
32596         New file.
32597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
32598         New file.
32599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
32600         multiarch floorf for PowerPC32.
32602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
32603         and ceilf multiarch implementations.
32604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
32605         New file.
32606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
32607         file.
32608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
32609         multiarch ceil for PowerPC32.
32610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
32611         New file.
32612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
32613         file.
32614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
32615         multiarch ceilf for PowerPC32.
32617         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
32618         is defined.
32619         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
32620         FINITEF is defined.
32621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
32622         and finitef multiarch implementations.
32623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
32624         New file.
32625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
32626         file.
32627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
32628         multiarch finite for PowerPC32.
32629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
32630         New file.
32631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
32632         file: multiarch finitef for PowerPC32.
32634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
32635         and isinff multiarch implementations.
32636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
32637         file.
32638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
32639         file.
32640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
32641         multiarch isinf for PowerPC32.
32642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
32643         New file.
32644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
32645         multiarch isinff for PowerPC32.
32647         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
32648         alias when __isnan is defined.
32649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
32650         and isnanf multiarch implementations.
32651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
32652         file.
32653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
32654         file.
32655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
32656         file.
32657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
32658         file.
32659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
32660         multiarch isnan for PowerPC32.
32661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
32662         New file.
32663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
32664         New file.
32665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
32666         multiarch isnanf for PowerPC32.
32668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
32669         and sqrtf multiarch implementations.
32670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
32671         file.
32672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
32673         file.
32674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
32675         multiarch sqrt for PowerPC32.
32676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
32677         file.
32678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
32679         file.
32680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
32681         multiarch sqrtf for PowerPC32.
32683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
32684         and llroundf multiarch implementations.
32685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
32686         New file.
32687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
32688         New file.
32689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
32690         New file.
32691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
32692         file: multiarch llround for PowerPC32.
32693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
32694         file: multiarch llroundf for PowerPC32.
32696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
32697         multiarch PowerPC32 fpu implementations.
32698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
32699         New file.
32700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
32701         New file.
32702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
32703         multiarch llrint for PowerPC32.
32704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
32705         New file.
32706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
32707         New file.
32708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
32709         file.
32711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
32713         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
32714         file.
32715         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
32716         file.
32717         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
32718         file.
32719         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
32720         multiarch wordcopy for PPC32.
32721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32722         wordcopy objects.
32723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32724         (__libc_ifunc_impl_list): Likewise.
32725         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
32726         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
32727         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
32728         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
32729         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
32730         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
32732         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
32733         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
32734         file.
32735         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
32736         file.
32737         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
32738         file.
32739         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
32740         multiarch wcscpy for PPC32.
32741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32742         multiarch objects.
32743         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32744         (__libc_ifunc_impl_list): Likewise.
32745         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32746         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32747         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
32748         sysdeps/powerpc/power6/wcscpy.c.
32750         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
32751         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
32752         file.
32753         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
32754         file.
32755         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
32756         file.
32757         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
32758         multiarch wcsrchr for PPC32.
32759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32760         multiarch objects.
32761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32762         (__libc_ifunc_impl_list): Likewise.
32763         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32764         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32765         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
32766         sysdeps/powerpc/power6/wcsrchr.c.
32768         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
32769         file.
32770         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
32771         file.
32772         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
32773         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
32774         multiarch wcschr for PPc32.
32775         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32776         multiarch objects.
32777         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32778         (__libc_ifunc_impl_list): Likewise.
32779         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
32780         * sysdeps/powerpc/power6/wcschr.c: ... to here.
32781         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
32782         sysdeps/powerpc/power6/wcschr.c.
32784         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
32785         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
32786         file.
32787         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
32788         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
32789         file: multiarch strchr for PPC32.
32790         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
32791         multiarch objects.
32792         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32793         (__libc_ifunc_impl_list): Likewise.
32795         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
32796         name.
32797         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
32798         file.
32799         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
32800         file.
32801         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
32802         multiarch strchrnul for PPC32.
32803         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
32804         multiarch objects.
32805         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32806         (__libc_ifunc_impl_list): Likewise.
32808         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
32809         file.
32810         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
32811         multiarch strncasecmp for PPC32.
32812         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
32813         file.
32814         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
32815         multiarch strncasecmp_l for PPC32.
32816         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
32817         strncasecmp multiarch objects.
32818         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32819         (__libc_ifunc_impl_list): Likewise.
32821         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
32822         file.
32823         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
32824         multiarch strncasecmp for PPC32.
32825         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32826         New file.
32827         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
32828         multiarch strcasecmp_l for PPC32.
32829         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
32830         multiarch objects.
32831         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32832         (__libc_ifunc_impl_list): Likewise.
32834         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
32835         file.
32836         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
32837         file.
32838         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
32839         multiarch strncmp for PPC32.
32840         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
32841         multiarch objects.
32842         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32843         (__libc_ifunc_impl_list): Likewise.
32845         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
32846         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
32847         file.
32848         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
32849         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
32850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
32851         multiarch objects.
32852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32853         (__libc_ifunc_impl_list): Likewise.
32855         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
32856         file.
32857         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
32858         file.
32859         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
32860         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
32861         multiarch objects.
32862         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32863         (__libc_ifunc_impl_list): Likewise.
32865         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
32866         file.
32867         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
32868         file.
32869         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
32870         multiarch rawmemchr for PPC32.
32871         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
32872         multiarch objects.
32873         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32874         (__libc_ifunc_impl_list): Likewise.
32876         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
32877         file.
32878         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
32879         file.
32880         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
32881         file: memrchr multiarch for PPC32.
32882         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
32883         multiarch objects.
32884         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32885         (__libc_ifunc_impl_list): Likewise.
32887         * string/memchr.c (__memchr): Using macro to redefine symbol name.
32888         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
32889         file.
32890         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
32891         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
32892         multiarch memchr for PPC32.
32893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
32894         multiarch objects.
32895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32896         (__libc_ifunc_impl_list): Likewise.
32898         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
32899         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
32900         file.
32901         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
32902         file.
32903         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
32904         file: multiarch mempcpy for PPC32.
32905         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
32906         multiarch objects.
32907         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32908         (__libc_ifunc_impl_list): Likewise.
32910         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
32911         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
32912         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
32913         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
32914         multiarch bzero for PPC32.
32915         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
32916         file.
32917         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
32918         file.
32919         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
32920         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
32921         file: multiarch memset for PPC32.
32922         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
32923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
32924         memset multiarch objects.
32925         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32926         (__libc_ifunc_impl_list): Likewise.
32928         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
32929         file.
32930         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
32931         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
32932         memcmp for PPC32.
32933         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
32934         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
32935         multiarch objects.
32936         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32937         (__libc_ifunc_impl_list): Likewise.
32939         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
32940         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
32941         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
32942         file.
32943         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
32944         file.
32945         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
32946         file.
32947         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
32948         multiarch memcpy for PPC32.
32949         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
32950         multiarch objects.
32951         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32952         (__libc_ifunc_impl_list): Likewise.
32954         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
32955         support multiarch for POWER/PPC32.
32956         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
32957         Likewise.
32958         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
32960         Implies file to make multiarch folder appers before the fpu and
32961         default folder for power4 configuration.
32963 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32965         * scripts/bench.pl: Append volatile keyword to type.
32967 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32969         * sysdeps/sh/sotruss-lib.c: New file.
32970         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
32972 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32976 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
32978         [BZ #6810]
32979         * math/w_tgamma.c: Include <errno.h>.
32980         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
32981         * math/w_tgammaf.c: Include <errno.h>.
32982         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
32983         * math/w_tgammal.c: Include <errno.h>.
32984         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
32985         * math/auto-libm-test-in: Do not allow missing errno on tgamma
32986         underflow.  Add more tgamma tests.
32987         * math/auto-libm-test-out: Regenerated.
32988         * sysdeps/i386/fpu/libm-test-ulps: Update.
32989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32991         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
32992         sin, sinh, tan, tanh, tgamma, y0 and y1.
32993         * math/auto-libm-test-out: Regenerated.
32994         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32995         (TEST_COND_x86): Likewise.
32996         (M_E2l): Remove macro.
32997         (M_E3l): Likewise.
32998         (M_2_SQRT_PIl): Likewise.
32999         (M_SQRT_PIl): Likewise.
33000         (M_1_DIV_El): Likewise.
33001         (log_test_data): Use AUTO_TESTS_f_f.
33002         (log10_test_data): Likewise.
33003         (log1p_test_data): Likewise.
33004         (log2_test_data): Likewise.
33005         (sin_test_data): Likewise.
33006         (sin_tonearest_test_data): Likewise.
33007         (sin_towardzero_test_data): Likewise.
33008         (sin_downward_test_data): Likewise.
33009         (sin_upward_test_data): Likewise.
33010         (sinh_test_data): Likewise.
33011         (sinh_tonearest_test_data): Likewise.
33012         (sinh_towardzero_test_data): Likewise.
33013         (sinh_downward_test_data): Likewise.
33014         (sinh_upward_test_data): Likewise.
33015         (tan_test_data): Likewise.
33016         (tan_tonearest_test_data): Likewise.
33017         (tan_towardzero_test_data): Likewise.
33018         (tan_downward_test_data): Likewise.
33019         (tan_upward_test_data): Likewise.
33020         (tanh_test_data): Likewise.
33021         (tgamma_test_data): Likewise.
33022         (y0_test_data): Likewise.
33023         (y1_test_data): Likewise.
33024         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
33025         (special_real_inputs): Add pi/4.
33026         * sysdeps/i386/fpu/libm-test-ulps: Update.
33027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33029 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33031         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
33032         "longjmp_target" static probes.
33033         (__longjmp): Rename to __longjmp_symbol.
33034         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33035         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
33036         on which longjmp to generate.
33037         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
33038         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
33039         probe.
33040         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33041         (__sigjmp_save): Rename to __sigjmp_save_symbol.
33042         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33043         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
33044         and __sigjmp_save_symbol based on which sigsetjmp to generated.
33045         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
33046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
33047         __longjmp_symbol based on which __longjmp to generate.
33048         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
33049         probe.
33050         (setjmp): Rename to setjmp_symbol.
33051         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33052         (_setjmp): Rename to _setjmp_symbol.
33053         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33054         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
33055         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
33056         which setjmp to generate.
33057         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
33058         "longjmp_target" static probes.
33060 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33062         * benchtests/README: Add note about output arguments.
33063         * benchtests/bench-sincos.c: Remove file.
33064         * benchtests/sincos-inputs: New file.
33065         * scripts/bench.pl: Identify output arguments and define
33066         static variables for them.
33068         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
33070         [BZ #15941]
33071         * Makefile (INSTALL): Add install-plain.texi as the primary
33072         dependency.
33073         * manual/install-plain.texi: New file.
33074         * manual/install.texi: Include node directive only for
33075         non-plaintext output.
33077 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
33079         * stdlib/longlong.h: Update from GCC.
33081         [BZ #6807]
33082         [BZ #15901]
33083         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
33084         * math/w_j0f.c (y0f): Likewise.
33085         * math/w_j0l.c (__y0l): Likewise.
33086         * math/w_j1.c (y1): Likewise.
33087         * math/w_j1f.c (y1f): Likewise.
33088         * math/w_j1l.c (__y1l): Likewise
33089         * math/w_jn.c (yn): Likewise.
33090         * math/w_jnf.c (ynf): Likewise.
33091         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
33092         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
33093         value for Bessel function domain errors outside _SVID_ mode.
33094         Adjust sign of return value for yn (negative integer, 0).
33095         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
33096         by zero in return for negative x and set sign appropriately for
33097         negative n.
33098         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
33099         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33100         * math/libm-test.inc (y0_test_data): Add more tests and adjust
33101         expectations in error cases.
33102         (y1_test_data): Likewise.
33103         (yn_test_data): Likewise.
33104         * sysdeps/i386/fpu/libm-test-ulps: Update.
33105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33107 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33109         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
33110         "64" to "64-v1".  Add "64-v2".
33111         (abi-64-options): Rename to ...
33112         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
33113         (abi-64-condition): Rename to ...
33114         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
33115         (abi-64-ld-soname): Rename to ...
33116         (abi-64-v1-ld-soname): ... this.
33117         (abi-64-v2-options): Define.
33118         (abi-64-v2-condition): Likewise.
33119         (abi-64-v2-ld-soname): Likewise.
33120         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
33121         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
33122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
33123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
33124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
33126 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33127             Alan Modra  <amodra@gmail.com>
33129         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
33130         New versions for use with the ELFv2 ABI.
33131         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
33132         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
33133         declaration.
33134         (struct La_ppc64v2_retval): Likewise.
33135         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
33136         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
33137         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
33138         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
33139         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
33140         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33141         Do not save or restore CR.
33142         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
33143         (_dl_profile_resolve): Do no save or restore CR.  Support extended
33144         return values for ELFv2 ABI.  Fix location of FPR return registers.
33145         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
33146         updated values for _CALL_ELF == 2.
33147         (La_regs, La_retval, int_retval): Likewise.
33149 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33151         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
33152         (FRAME_MIN_SIZE_PARM): Likewise.
33153         (FRAME_BACKCHAIN): Likewise.
33154         (FRAME_CR_SAVE): Likewise.
33155         (FRAME_LR_SAVE): Likewise.
33156         (FRAME_TOC_SAVE): Likewise.
33157         (FRAME_PARM_SAVE): Likewise.
33158         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
33159         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
33160         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
33161         (call_mcount_parm_offset): New macro.
33162         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
33163         (PROF): Use symbolic stack frame offsets.
33164         (TAIL_CALL_SYSCALL_ERROR): Likewise.
33165         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
33166         Redefine in terms of FRAME_MIN_SIZE.
33167         (_dl_runtime_resolve): Use symbolic stack frame offsets.
33168         (_dl_profile_resolve): Likewise.  Update comment.
33169         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
33170         symbols stack frame offsets.
33171         (__sigsetjmp): Likewise.
33172         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
33173         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
33174         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
33175         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
33177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
33178         (FRAME_BACKCHAIN): Remove.
33179         (FRAME_CR_SAVE): Likewise.
33180         (FRAME_LR_SAVE): Likewise.
33181         (FRAME_COMPILER_DW): Likewise.
33182         (FRAME_LINKER_DW): Likewise.
33183         (FRAME_TOC_SAVE): Likewise.
33184         (FRAME_PARM_SAVE): Likewise.
33185         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
33186         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
33187         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
33188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
33189         (CHECK_SP): Use symbolic stack frame offsets.
33190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
33191         zone" instead of caller's parameter save area for temp storage.
33192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33193         Likewise.  Also, use symbolic stack frame offsets.
33194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
33195         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
33196         our own stack frame instead of the caller's.
33197         (__socket): Use symbolic stack frame offsets.
33199 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33200             Alan Modra  <amodra@gmail.com>
33202         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
33203         Define.
33204         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
33205         (PPC64_LOCAL_ENTRY_OFFSET): Define.
33206         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
33207         New function.
33208         (elf_machine_fixup_plt): Call it.
33209         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
33210         reloc arguments.
33211         (elf_machine_rela): Update call to elf_machine_plt_conflict.
33212         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
33213         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
33214         r2 before calling target.
33216 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33217             Alan Modra  <amodra@gmail.com>
33219         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
33220         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
33221         versions of macros to support ELFv2 ABI.
33222         (LOCALENTRY): New macro.
33223         (ENTRY, EALIGN): Use it.
33224         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
33225         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
33226         fall through into ENTRY entry point.
33227         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
33228         Only define if _CALL_ELF != 2.
33230         (elf_machine_matches_host): Verify ABI version matches.
33231         (RTLD_START): Use LOCALENTRY.
33232         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
33233         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
33234         (PLT_ENTRY_WORDS): New macro.
33235         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
33236         (elf_machine_runtime_setup): Support ELFv2 ABI.
33237         (elf_machine_fixup_plt): Likewise.
33238         (elf_machine_plt_conflict): Likewise.
33239         (resolve_ifunc): Likewise.
33240         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33241         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
33242         Likewise.
33243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
33244         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
33245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33246         (makecontext): Support ELFv2 ABI.
33247         * elf/elf.h (EF_PPC64_ABI): Define.
33249 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33251         * sysdeps/powerpc/powerpc64/sysdep.h
33252         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
33253         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
33254         (ENTRY) [ASSEMBLER]: ... but instead here ...
33255         (EALIGN) [ASSEMBLER]: ... and here.
33256         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
33257         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
33258         (ENTRY_2) [!ASSEMBLER]: Use it.
33259         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
33260         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
33261         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
33262         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
33263         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
33264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
33265         Use PPC64_LOAD_FUNCPTR.
33267         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
33269 2013-12-04  Alan Modra  <amodra@gmail.com>
33271         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
33272         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
33273         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
33274         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
33276         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
33277         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
33278         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
33279         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
33280         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
33281         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
33283 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33286         (__makecontext): Fix incorrect CFI when backtracing out of
33287         context created via makecontext.
33288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
33289         (__setcontext): Fix incorrect CFI during switch to new context.
33290         (__novec_setcontext): Likewise.
33292 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
33294         [BZ #4772]
33295         * time/strptime_l.c (__strptime_internal): Allow modifiers
33296         in strptime.
33297         * time/tst-strptime.c (day_tests): Add testcase.
33299 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33301         * scripts/bench.pl: Skip over blank lines.
33303 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
33305         [BZ #926]
33306         * manual/time.texi (Calendar Time): Clarify what timezone functions
33307         use.
33309 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33313 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
33315         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
33316         implementation.
33317         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
33318         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
33319         * debug/memset_chk.c (__memset_chk): Likewise.
33320         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
33321         * debug/strncpy_chk.c: Likewise.
33323 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
33325         [BZ #15268]
33326         [BZ #15425]
33327         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
33328         (__ieee754_exp): For possibly underflowing results, check size of
33329         result and force underflow exception if required.
33330         * math/auto-libm-test-in: Add more tests of exp.
33331         * math/auto-libm-test-out: Regenerated.
33332         * sysdeps/i386/fpu/libm-test-ulps: Update.
33333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33335         [BZ #16283]
33336         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
33337         * math/w_exp2f.c (__exp2f): Likewise.
33338         * math/w_exp2l.c (__exp2l): Likewise.
33339         * math/auto-libm-test-in: Do not allow missing errno on exp2
33340         underflow.
33341         * math/auto-libm-test-out: Regenerated.
33343 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
33345         [BZ #16274]
33346         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
33347         handle filename validation.
33348         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
33349         (do_open): Delete.
33351 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
33353         [BZ #6786]
33354         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
33355         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
33356         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
33357         <float.h>.
33358         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
33359         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
33360         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33361         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
33362         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33363         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
33364         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33365         * math/auto-libm-test-in: Don't allow missing errno from erfc.
33366         Add more erfc tests.
33367         * math/auto-libm-test-out: Regenerated.
33368         * sysdeps/i386/fpu/libm-test-ulps: Update.
33369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33371         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
33372         exp2, expm1, j0 and j1.
33373         * math/auto-libm-test-out: Regenerated.
33374         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
33375         (erfc_test_data): Likewise.
33376         (exp_test_data): Likewise.
33377         (exp_tonearest_test_data): Likewise.
33378         (exp_towardzero_test_data): Likewise.
33379         (exp_downward_test_data): Likewise.
33380         (exp_upward_test_data): Likewise.
33381         (exp10_test_data): Likewise.
33382         (exp2_test_data): Likewise.
33383         (expm1_test_data): Likewise.
33384         (j0_test_data): Likewise.
33385         (j1_test_data): Likewise.
33386         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
33387         (input_flag_type): Add flag_xfail_rounding.
33388         (input_flags): Add xfail-rounding.
33389         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
33390         (output_for_one_input_case): Handle flag_xfail_rounding.
33391         * sysdeps/i386/fpu/libm-test-ulps: Update.
33392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33394 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
33396         [BZ #16289]
33397         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
33398         division by 0.
33400 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33402         [BZ #16195]
33403         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
33404         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
33405         (STAP_PROBE0): New macro.
33406         (STAP_PROBE1): Likewise.
33407         (STAP_PROBE2): Likewise.
33408         (STAP_PROBE3): Likewise.
33409         (STAP_PROBE4): Likewise.
33411 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
33413         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
33415 2013-12-02  Steve Ellcey  <sellcey@mips.com>
33417         * benchtests/Makefile (bench): Add sqrt.
33418         (LDLIBS-bench-sqrt): New.
33419         * benchtests/sqrt-input: New.
33421 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
33423         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
33424         (GAIH_EAI): Likewise.
33425         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
33426         (gaih_inet): Likewise.
33427         (getaddrinfo): Don't use GAIH_EAI.
33429         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
33430         (struct gaih): Remove definition.
33432 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33434         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
33435         Use HERRNOP directly.
33437 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33441 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
33443         * math/gen-auto-libm-tests.c (test_functions): Add more
33444         single-argument functions.
33445         (special_fill_pi_2): New function.
33446         (special_fill_minus_pi_2): Likewise.
33447         (special_fill_pi_6): Likewise.
33448         (special_fill_minus_pi_6): Likewise.
33449         (special_fill_pi_3): Likewise.
33450         (special_fill_2pi_3): Likewise.
33451         (special_fill_e): Likewise.
33452         (special_fill_1_e): Likewise.
33453         (special_fill_e_minus_1): Likewise.
33454         (special_real_inputs): Add more special inputs.
33455         (output_for_one_input_case): Do not require ERANGE on underflow to
33456         zero if round-to-nearest result does not underflow to zero, unless
33457         exact results required.
33458         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
33459         atan, atanh, cbrt, cos and cosh.
33460         * math/auto-libm-test-out: Regenerated.
33461         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
33462         (acos_tonearest_test_data): Likewise.
33463         (acos_towardzero_test_data): Likewise.
33464         (acos_downward_test_data): Likewise.
33465         (acos_upward_test_data): Likewise.
33466         (acosh_test_data): Likewise.
33467         (asin_test_data): Likewise.
33468         (asin_tonearest_test_data): Likewise.
33469         (asin_towardzero_test_data): Likewise.
33470         (asin_upward_test_data): Likewise.
33471         (asinh_test_data): Likewise.
33472         (atan_test_data): Likewise.
33473         (atanh_test_data): Likewise.
33474         (cbrt_test_data): Likewise.
33475         (cos_test_data): Likewise.
33476         (cos_tonearest_test_data): Likewise.
33477         (cos_towardzero_test_data): Likewise.
33478         (cos_downward_test_data): Likewise.
33479         (cos_upward_test_data): Likewise.
33480         (cosh_test_data): Likewise.
33481         (cosh_tonearest_test_data): Likewise.
33482         (cosh_towardzero_test_data): Likewise.
33483         (cosh_downward_test_data): Likewise.
33484         (cosh_upward_test_data): Likewise.
33485         * sysdeps/i386/fpu/libm-test-ulps: Update.
33486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33488 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
33490         [BZ #6787]
33491         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
33492         * math/w_exp10f.c (__exp10f): Likewise.
33493         * math/w_exp10l.c (__exp10l): Likewise.
33494         * math/libm-test.inc (exp10_test_data): Add more tests and expect
33495         errno settings in existing tests.
33497         [BZ #14032]
33498         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
33499         precision control set to double precision.
33500         * sysdeps/i386/fpu/w_sqrt.c: New file.
33501         * math/auto-libm-test-in: Add more tests.
33502         * math/auto-libm-test-out: Update.
33504         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
33505         (sqrt_test_tonearest): New function.
33506         (sqrt_towardzero_test_data): New variable.
33507         (sqrt_test_towardzero): New function.
33508         (sqrt_downward_test_data): New variable.
33509         (sqrt_test_downward): New function.
33510         (sqrt_upward_test_data): New variable.
33511         (sqrt_test_upward): New function.
33512         (main): Call the new functions.
33514         * math/gen-auto-libm-tests.c: New file.
33515         * math/auto-libm-test-in: Likewise.
33516         * math/auto-libm-test-out: New generated file.
33517         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
33518         variables.
33519         (%beautify): Add generated representations of zero.
33520         (top level): Set $auto_input and call parse_auto_input.
33521         (beautify): Remove trailing "f" from hex float constants.
33522         (parse_args): Handle XFAIL_TEST.
33523         (convert_condition): New function.
33524         (or_value): Likewise.
33525         (or_cond_value): Likewise.
33526         (generate_testfile): Handle AUTO_TESTS_* lines.
33527         (parse_auto_input): New function.
33528         * math/libm-test.inc (XFAIL_TEST): New macro.
33529         (ERRNO_UNCHANGED): Update value.
33530         (ERRNO_EDOM): Likewise.
33531         (ERRNO_ERANGE): Likewise.
33532         (IGNORE_RESULT): Likewise.
33533         (TEST_COND_flt_32): New macro.
33534         (TEST_COND_dbl_64): Likewise.
33535         (TEST_COND_ldbl_96_intel): Likewise.
33536         (TEST_COND_ldbl_96_m68k): Likewise.
33537         (TEST_COND_ldbl_128): Likewise.
33538         (TEST_COND_ldbl_128ibm): Likewise.
33539         (TEST_COND_long32): Likewise.
33540         (TEST_COND_long64): Likewise.
33541         (TEST_COND_before_rounding): Likewise.
33542         (TEST_COND_after_rounding): Likewise.
33543         (enable_test): Handle XFAIL_TEST flag.
33544         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
33545         with finite results.
33546         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
33547         auto-libm-test-out.
33549 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33550             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33552         [BZ #16214]
33553         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
33554         __tls_get_addr_internal instead of __tls_get_offset in order to
33555         avoid GOT pointer dependency.  Make rtld export
33556         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
33557         __tls_get_addr since we are a __tls_get_offset platform.
33558         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
33559         GOT pointer being set up before.
33560         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
33562 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
33564         * manual/math.texi (Errors in Math Functions): Document accuracy
33565         goals.
33567         [BZ #15004]
33568         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
33569         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
33570         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33571         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33572         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33573         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33574         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33575         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33576         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33577         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33578         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33579         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33580         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33581         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33582         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33583         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33585         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
33586         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
33587         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
33588         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
33589         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
33590         Likewise.
33591         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
33592         Likewise.
33593         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
33594         Likewise.
33595         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
33596         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
33597         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
33598         atomic-feupdateenv and flt-rounds.
33599         * sysdeps/powerpc/nofpu/Versions (libc): Add
33600         __atomic_feholdexcept, __atomic_feclearexcept,
33601         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
33602         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
33603         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
33604         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
33605         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
33606         here.
33607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33608         Update.
33610         * manual/arith.texi (FP Exceptions): Document that exceptions may
33611         not be raised when matherr is used.
33612         (Math Error Reporting): Document overflow in directed rounding
33613         modes.  Document that errno may not be set when finite values are
33614         returned on overflow.  Document intent to set errno on underflow
33615         only for underflow to zero.
33617         [BZ #16271]
33618         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
33619         round-to-nearest then adjust result for other rounding modes.
33620         * include/fenv.h (fegetround): Use libm_hidden_proto.
33621         * math/fegetround.c (fegetround): Use libm_hidden_def.
33622         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
33623         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
33624         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33625         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
33626         Likewise.
33627         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
33628         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33629         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
33630         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
33632 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33634         [BZ #16077]
33635         * nss/Versions (libnss_files): Add
33636         _nss_files_gethostbyname3_r.
33637         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
33638         New function.
33639         (HOST_DB_LOOKUP): Remove macro.
33640         (_nss_files_gethostbyname_r): Implement function without the
33641         HOST_DB_LOOKUP macro.
33642         (_nss_files_gethostbyname2_r): Likewise.
33644 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
33646         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
33648 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
33650         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
33651         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
33652         warning.
33654 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33656         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
33657         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
33658         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33659         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33660         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
33661         __fe_nomask_env_priv and attribute_hidden.
33662         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
33663         (libc_feupdateenv_test_ppc): Likewise.
33664         (libc_feresetround_ppc): Likewise.
33665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33666         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
33667         compat_symbol macro.
33668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33669         (__fe_nomask_env): Likewise.
33670         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
33672 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33674         * string/Makefile: Remove ifunc tests.
33675         * string/test-string.h: Define TEST_IFUNC.
33676         * string/test-bcopy-ifunc.c: Remove.
33677         * string/test-bzero-ifunc.c: Likewise.
33678         * string/test-memccpy-ifunc.c: Likewise.
33679         * string/test-memchr-ifunc.c: Likewise.
33680         * string/test-memcmp-ifunc.c: Likewise.
33681         * string/test-memcpy-ifunc.c: Likewise.
33682         * string/test-memmem-ifunc.c: Likewise.
33683         * string/test-memmove-ifunc.c: Likewise.
33684         * string/test-mempcpy-ifunc.c: Likewise.
33685         * string/test-memrchr-ifunc.c: Likewise.
33686         * string/test-memset-ifunc.c: Likewise.
33687         * string/test-rawmemchr-ifunc.c: Likewise.
33688         * string/test-stpcpy-ifunc.c: Likewise.
33689         * string/test-stpncpy-ifunc.c: Likewise.
33690         * string/test-strcasecmp-ifunc.c: Likewise.
33691         * string/test-strcasestr-ifunc.c: Likewise.
33692         * string/test-strcat-ifunc.c: Likewise.
33693         * string/test-strchr-ifunc.c: Likewise.
33694         * string/test-strchrnul-ifunc.c: Likewise.
33695         * string/test-strcmp-ifunc.c: Likewise.
33696         * string/test-strcpy-ifunc.c: Likewise.
33697         * string/test-strcspn-ifunc.c: Likewise.
33698         * string/test-strlen-ifunc.c: Likewise.
33699         * string/test-strncasecmp-ifunc.c: Likewise.
33700         * string/test-strncat-ifunc.c: Likewise.
33701         * string/test-strncmp-ifunc.c: Likewise.
33702         * string/test-strncpy-ifunc.c: Likewise.
33703         * string/test-strnlen-ifunc.c: Likewise.
33704         * string/test-strpbrk-ifunc.c: Likewise.
33705         * string/test-strrchr-ifunc.c: Likewise.
33706         * string/test-strspn-ifunc.c: Likewise.
33707         * string/test-strstr-ifunc.c: Likewise.
33709 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33711         * benchtests/Makefile: Remove ifunc tests.
33712         * benchtests/bench-string.h: Define TEST_IFUNC.
33713         * benchtests/bench-bcopy-ifunc.c: Remove.
33714         * benchtests/bench-bzero-ifunc.c: Likewise.
33715         * benchtests/bench-memccpy-ifunc.c: Likewise.
33716         * benchtests/bench-memchr-ifunc.c: Likewise.
33717         * benchtests/bench-memcmp-ifunc.c: Likewise.
33718         * benchtests/bench-memcpy-ifunc.c: Likewise.
33719         * benchtests/bench-memmem-ifunc.c: Likewise.
33720         * benchtests/bench-memmove-ifunc.c: Likewise.
33721         * benchtests/bench-mempcpy-ifunc.c: Likewise.
33722         * benchtests/bench-memrchr-ifunc.c: Likewise.
33723         * benchtests/bench-memset-ifunc.c: Likewise.
33724         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
33725         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
33726         * benchtests/bench-stpcpy-ifunc.c: Likewise.
33727         * benchtests/bench-stpncpy-ifunc.c: Likewise.
33728         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
33729         * benchtests/bench-strcasestr-ifunc.c: Likewise.
33730         * benchtests/bench-strcat-ifunc.c: Likewise.
33731         * benchtests/bench-strchr-ifunc.c: Likewise.
33732         * benchtests/bench-strchrnul-ifunc.c: Likewise.
33733         * benchtests/bench-strcmp-ifunc.c: Likewise.
33734         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
33735         * benchtests/bench-strcpy-ifunc.c: Likewise.
33736         * benchtests/bench-strcspn-ifunc.c: Likewise.
33737         * benchtests/bench-strlen-ifunc.c: Likewise.
33738         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
33739         * benchtests/bench-strncat-ifunc.c: Likewise.
33740         * benchtests/bench-strncmp-ifunc.c: Likewise.
33741         * benchtests/bench-strncpy-ifunc.c: Likewise.
33742         * benchtests/bench-strnlen-ifunc.c: Likewise.
33743         * benchtests/bench-strpbrk-ifunc.c: Likewise.
33744         * benchtests/bench-strrchr-ifunc.c: Likewise.
33745         * benchtests/bench-strsep-ifunc.c: Likewise.
33746         * benchtests/bench-strspn-ifunc.c: Likewise.
33747         * benchtests/bench-strstr-ifunc.c: Likewise.
33749 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33751         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
33753 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33755         * resolv/netdb.h: Use __glibc_reserved instead __unused.
33756         * rt/aio.h: Likewise.
33757         * sysdeps/gnu/bits/utmp.h: Likewise.
33758         * sysdeps/gnu/bits/utmpx.h: Likewise.
33759         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33760         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
33761         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
33762         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
33763         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
33764         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
33765         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
33766         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
33767         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
33768         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
33769         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
33770         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
33771         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
33772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
33773         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33774         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
33775         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
33776         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
33777         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
33778         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
33779         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
33780         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
33781         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
33782         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33783         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
33784         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33785         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
33786         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
33787         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
33788         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
33789         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
33790         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
33791         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
33792         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33793         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
33794         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
33795         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
33796         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
33797         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
33798         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
33799         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
33800         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33802 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
33804         [BZ #16245]
33805         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
33806         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
33808 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
33810         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
33811         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33812         Likewise.
33814 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33816         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
33817         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
33818         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
33819         (__fesetround): Remove define.
33820         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
33821         rounding and exceptions handling.
33822         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
33823         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
33824         (__fe_nomask_env): Likewise.
33825         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
33826         __fegetround instead of fegetround.
33827         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33828         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
33830 2013-11-21  Roland McGrath  <roland@hack.frob.com>
33832         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
33833         it's there.
33835         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
33837 2013-11-21  Meador Inge  <meadori@codesourcery.com>
33839         [BZ #11157]
33840         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
33841         (encrypt_r): Likewise.
33842         * malloc/obstack.h (obstack_free): Likewise.
33843         * posix/unistd.h (encrypt): Likewise.
33845 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
33847         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
33848         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
33849         DL_CALL_DT_FINI() that call the functions directly.
33850         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
33851         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
33852         * elf/dl-fini.c: Likewise.
33854 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
33856         * malloc/hooks.c (memalign_check): Add alignment rounding.
33857         * malloc/malloc.c (_mid_memalign): New function.
33858         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
33859         Implement by calling _mid_memalign.
33860         * manual/probes.texi (Memory Allocation Probes): Remove
33861         memory_valloc_retry and memory_pvalloc_retry.
33863 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33865         * locale/programs/locarchive.c (open_archive): Add const
33866         qualifier to ARCHIVEFNAME and copy default fname to
33867         DEFAULT_FNAME.
33869         [BZ #15601]
33870         * libio/tst-widetext.input: Rename Oriya to Odia.
33871         * locale/iso-639.def: Likewise.
33873         * manual/probes.texi (Mathematical Function Probes): Add
33874         documentation for sin, cos, asin and acos probes.
33875         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
33876         (__sin32): Add slowasin probe.
33877         (__cos32): Add slowacos probe.
33878         (__mpsin): Add slowsin probe.
33879         (__mpcos): Add slowcos probe.
33881 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
33883         [BZ #15483]
33884         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
33885         thread-local __sim_exceptions_thread and global
33886         __sim_exceptions_global.
33887         (__sim_disabled_exceptions): Change to thread-local
33888         __sim_disabled_exceptions_thread and global
33889         __sim_disabled_exceptions_global.
33890         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33891         and global __sim_round_mode_global.
33892         (__simulate_exceptions): Use thread-local floating-point state and
33893         set global state from it as needed.
33894         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
33895         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
33896         __sim_round_mode_thread.
33897         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
33898         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
33899         and global __sim_exceptions_global.
33900         (__sim_disabled_exceptions): Change to thread-local
33901         __sim_disabled_exceptions_thread and global
33902         __sim_disabled_exceptions_global.
33903         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33904         and global __sim_round_mode_global.
33905         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
33906         (SIM_SET_GLOBAL): Likewise.
33907         * sysdeps/powerpc/soft-fp/sfp-machine.h
33908         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
33909         __sim_round_mode_thread.
33910         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
33911         __sim_disabled_exceptions_thread.
33912         (__sim_exceptions): Change to __sim_exceptions_thread.
33913         (__sim_disabled_exceptions): Change to
33914         __sim_disabled_exceptions_thread.
33915         (__sim_round_mode): Change to __sim_round_mode_thread.
33916         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
33917         thread-local floating-point state and set global state from it as
33918         needed.
33919         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
33920         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
33921         (__sim_disabled_exceptions): Remove extern declaration.
33922         (feenableexcept): Use thread-local floating-point state and set
33923         global state from it as needed.
33924         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
33925         extern declaration.
33926         (__sim_disabled_exceptions): Likewise.
33927         (__sim_round_mode): Likewise.
33928         (__fegetenv): Use thread-local floating-point state.
33929         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
33930         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33931         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
33932         floating-point state and set global state from it as needed.
33933         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
33934         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33935         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
33936         Likewise.
33937         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
33938         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
33939         Likewise.
33940         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
33941         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
33942         Use __sim_round_mode_thread.
33943         * math/test-fenv-tls.c: New file.
33944         * math/Makefile (tests): Add test-fenv-tls.
33945         ($(objpfx)test-fenv-tls): Depend on
33946         $(common-objpfx)nptl/libpthread.so.
33948 2013-11-19  Andreas Schwab  <schwab@suse.de>
33950         * locale/programs/locale.c (show_info): Decode wordarray elements.
33951         * locale/categories.def (LC_MONETARY): Add element for
33952         _NL_MONETARY_CRNCYSTR.
33953         * locale/C-monetary.c (conversion_rate): New variable.
33954         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
33955         element.
33957 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
33959         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
33960         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
33962 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33964         * elf/Makefile (tst-auxv): New test.
33965         * elf/tst-auxv.c: New
33966         * elf/rtld.c (dl_main): Adjust AT_EXECFN
33968 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
33970         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
33971         (hidden_proto): Caller changed.
33972         (hidden_tls_proto): New macro.
33973         (libc_hidden_tls_proto): Likewise.
33974         (rtld_hidden_tls_proto): Likewise.
33975         (libm_hidden_tls_proto): Likewise.
33976         (libresolv_hidden_tls_proto): Likewise.
33977         (librt_hidden_tls_proto): Likewise.
33978         (libdl_hidden_tls_proto): Likewise.
33979         (libnss_files_hidden_tls_proto): Likewise.
33980         (libnsl_hidden_tls_proto): Likewise.
33981         (libnss_nisplus_hidden_tls_proto): Likewise.
33982         (libutil_hidden_tls_proto): Likewise.
33984 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
33986         [BZ #10253]
33987         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
33988         (decompose_rpath): Defer expansion to fillin_rpath.
33989         (_dl_init_paths): Pass linkmap to fillin_rpath.
33991 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33993         * benchtests/Makefile: Add strsep.
33994         * benchtests/bench-strsep.c: New file: strsep benchtest.
33995         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
33997 2013-11-18  Andreas Schwab  <schwab@suse.de>
33999         * locale/programs/locale.c (show_info) [case byte]: Check for
34000         '\377' instead of '\177'.
34001         * locale/C-monetary.c (not_available): Always use "\377".
34002         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
34003         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
34004         detect unavailable sign_posn locale elements.
34005         * locale/localeconv.c (__localeconv): For grouping and
34006         mon_grouping handle "\177" and "\377" like no grouping.
34007         (INT_ELEM): New macro.  Use it to set all numeric members.
34008         * locale/programs/ld-monetary.c (monetary_read)
34009         <tok_mon_grouping>: Normalize single -1 to the empty string.
34010         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
34011         Likewise.
34013 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
34015         [BZ #16055]
34016         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
34017         when we match (nil).
34018         * stdio-common/tst-sscanf.c (struct test): Add testcase.
34020 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
34022         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
34023         (NO_TEST_INLINE): Update value.
34024         (ERRNO_UNCHANGED): Likewise.
34025         (ERRNO_EDOM): Likewise.
34026         (ERRNO_ERANGE): Likewise.
34027         (IGNORE_RESULT): Likewise.
34028         (check_float_internal): Check signs of NaN results if
34029         TEST_NAN_SIGN used.
34030         (check_complex): Pass TEST_NAN_SIGN flag through to second
34031         check_float_internal call.
34032         (copysign_test_data): Add tests with quiet NaNs as second
34033         argument.  Use TEST_NAN_SIGN.
34034         (fabs_test_data): Add test of negative quiet NaN argument.  Use
34035         TEST_NAN_SIGN.
34036         (signbit_test_data): Add tests of quiet NaN argument.
34037         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
34039         * math/gen-libm-test.pl (show_exceptions): Take extra argument
34040         $ignore_result.
34041         (parse_args): Handle function results specified as IGNORE.
34042         * math/libm-test.inc (IGNORE_RESULT): New macro.
34043         (check_float_internal): Do not check numerical result if flag
34044         IGNORE_RESULT set.
34045         (check_complex): Pass through IGNORE_RESULT to second
34046         check_float_internal call.
34047         (check_int): Do not check numerical result if flag IGNORE_RESULT
34048         set.
34049         (check_long): Likewise.
34050         (check_bool): Likewise.
34051         (check_longlong): Likewise.
34052         (lrint_test_data): Add tests of infinite and NaN arguments.
34053         (lrint_tonearest_test_data): Likewise.
34054         (lrint_towardzero_test_data): Likewise.
34055         (lrint_downward_test_data): Likewise.
34056         (lrint_upward_test_data): Likewise.
34057         (llrint_test_data): Likewise.
34058         (llrint_tonearest_test_data): Likewise.
34059         (llrint_towardzero_test_data): Likewise.
34060         (llrint_downward_test_data): Likewise.
34061         (llrint_upward_test_data): Likewise.
34062         (lround_test_data): Likewise.
34063         (llround_test_data): Likewise.
34065         * math/libm-test.inc (NO_TEST_INLINE): New macro.
34066         (ERRNO_UNCHANGED): Update value.
34067         (ERRNO_EDOM): Likewise.
34068         (ERRNO_ERANGE): Likewise.
34069         (NO_TEST_INLINE_FLOAT): New macro.
34070         (NO_TEST_INLINE_DOUBLE): Likewise.
34071         (enable_test): New function.
34072         (RUN_TEST_f_f): Check enable_test before running test.
34073         (RUN_TEST_2_f): Likewise.
34074         (RUN_TEST_fff_f): Likewise.
34075         (RUN_TEST_c_f): Likewise.
34076         (RUN_TEST_f_f1): Likewise.
34077         (RUN_TEST_fF_f1): Likewise.
34078         (RUN_TEST_fI_f1): Likewise.
34079         (RUN_TEST_ffI_f1): Likewise.
34080         (RUN_TEST_c_c): Likewise.
34081         (RUN_TEST_cc_c): Likewise.
34082         (RUN_TEST_f_i): Likewise.
34083         (RUN_TEST_f_i_tg): Likewise.
34084         (RUN_TEST_ff_i_tg): Likewise.
34085         (RUN_TEST_f_b): Likewise.
34086         (RUN_TEST_f_b_tg): Likewise.
34087         (RUN_TEST_f_l): Likewise.
34088         (RUN_TEST_f_L): Likewise.
34089         (RUN_TEST_fFF_11): Likewise.
34090         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
34091         conditionals.
34092         (cosh_test_data): Likewise.
34093         (exp_test_data): Likewise.
34094         (expm1_test_data): Likewise.
34095         (hypot_test_data): Likewise.
34096         (pow_test_data): Likewise.
34097         (sinh_test_data): Likewise.
34098         (tanh_test_data): Likewise.
34099         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
34100         flags argument.
34102         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
34103         tests with quiet NaN input and output.
34104         (acosh_test_data): Likewise.
34105         (asin_test_data): Likewise.
34106         (asinh_test_data): Likewise.
34107         (atan_test_data): Likewise.
34108         (atanh_test_data): Likewise.
34109         (atan2_test_data): Likewise.
34110         (cbrt_test_data): Likewise.
34111         (cos_test_data): Likewise.
34112         (cosh_test_data): Likewise.
34113         (erf_test_data): Likewise.
34114         (erfc_test_data): Likewise.
34115         (exp_test_data): Likewise.
34116         (exp10_test_data): Likewise.
34117         (exp2_test_data): Likewise.
34118         (expm1_test_data): Likewise.
34119         (hypot_test_data): Likewise.
34120         (j0_test_data): Likewise.
34121         (j1_test_data): Likewise.
34122         (jn_test_data): Likewise.
34123         (lgamma_test_data): Likewise.
34124         (log_test_data): Likewise.
34125         (log10_test_data): Likewise.
34126         (log1p_test_data): Likewise.
34127         (log2_test_data): Likewise.
34128         (pow_test_data): Likewise.
34129         (scalb_test_data): Likewise.
34130         (sin_test_data): Likewise.
34131         (sincos_test_data): Likewise.
34132         (sinh_test_data): Likewise.
34133         (tan_test_data): Likewise.
34134         (tanh_test_data): Likewise.
34135         (tgamma_test_data): Likewise.
34136         (y0_test_data): Likewise.
34137         (y1_test_data): Likewise.
34138         (yn_test_data): Likewise.
34140         [BZ #16167]
34141         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
34142         argument being NaN and avoid computations with second argument in
34143         that case.
34144         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34145         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34146         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34148 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
34150         * locale/iso-639.def: Add Chitwani Tharu (the).
34152 2013-11-14  Andreas Schwab  <schwab@suse.de>
34154         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
34155         word instead of empty string.
34157 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34160         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
34161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34162         (__fe_nomask_env): Likewise.
34164 2013-11-13  Steve Ellcey  <sellcey@mips.com>
34166         * benchtests/bench-timing.h: Include time.h.
34168 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
34170         [BZ #15997]
34171         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
34172         to 3.4.0 for x32.
34173         * sysdeps/unix/sysv/linux/configure: Regenerated.
34175 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
34177         [BZ #16151]
34178         * stdlib/strtod_l.c (round_and_return): Do not consider
34179         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
34180         exponent one less than half the least subnormal exponent.
34181         * stdlib/test-strtod-round-data: Add more tests.
34182         * stdlib/tst-strtod-round.c (tests): Regenerated.
34184 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34186         [BZ #14143]
34187         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
34188         (__fe_mask_env): Likewise.
34189         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
34190         libm_hidden_proto and add function prototype.
34191         (__fe_mask_env): Add function prototype.
34192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34193         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
34194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34195         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
34196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34197         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
34199 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34201         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
34202         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
34204 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34206         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
34207         of htab_find_slot().
34209 2013-11-11  David S. Miller  <davem@davemloft.net>
34211         [BZ #16150]
34212         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
34213         symbol in the non-vis3 case in static builds.
34214         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
34215         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
34216         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
34217         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
34219 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
34221         [BZ #387]
34222         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
34223         it is empty.
34225 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34227         * benchtests/Makefile: Add bench-strtod.
34228         * benchtests/bench-strtod.c: New file: strtod benchtest
34230 2013-11-11  Andreas Schwab  <schwab@suse.de>
34232         [BZ #16153]
34233         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
34234         terminating NUL in key length.
34236 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34238         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34239         Add artificial ODP entry for vDSO symbol for PPC64.
34240         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
34241         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
34243 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
34245         [BZ #15374]
34246         * nss/getent.c (services_keys): Recognize services starting with digit.
34248 2013-11-06  David S. Miller  <davem@davemloft.net>
34250         [BZ #15985]
34251         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
34252         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
34254 2013-11-06  Will Newton  <will.newton@linaro.org>
34256         * manual/memory.texi (Malloc Examples): Remove register
34257         keyword from examples.
34259 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
34261         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
34263 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
34265         [BZ #6981]
34266         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
34267         depending on [__GCC_IEC_559 > 0].
34268         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
34269         depending on [__GCC_IEC_559_COMPLEX > 0].
34271 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
34273         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
34274         to iso-639.def.
34276 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
34278         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
34280 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
34282         [BZ #16112]
34283         * malloc/malloc (malloc_info): Do not handle first bin as
34284         special case.
34286 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
34288         * locale/iso-639.def: Add Central Nahuatl (nhn).
34290 2013-11-01  Bruno Haible  <bruno@clisp.org>
34292         [BZ #7003]
34293         * manual/math.texi (BSD Random): Specify range upper bound as
34294         in POSIX.
34296 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
34298         * locale/iso-639.def: Add Meadow Mari (mhr).
34300 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
34302         [BZ #14752], [BZ #15763]
34303         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
34304         Validate name.
34305         * rt/tst_shm.c: Add test for escaping directory.
34307 2013-10-31  Andreas Schwab  <schwab@suse.de>
34309         [BZ #15917]
34310         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
34311         followed by 'x' as part of digit sequence.
34312         * stdio-common/tst-sscanf.c (double_tests2): New tests.
34314 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
34316         [BZ #16037]
34317         * configure.ac: allow GNU Make 4.0 and greater.
34318         * configure: Regenerated.
34320 2013-10-30  Will Newton  <will.newton@linaro.org>
34322         [BZ #16038]
34323         * malloc/hooks.c (memalign_check): Limit alignment to the
34324         maximum representable power of two.
34325         * malloc/malloc.c (__libc_memalign): Likewise.
34326         * malloc/tst-memalign.c (do_test): Add test for very
34327         large alignment values.
34328         * malloc/tst-posix_memalign.c (do_test): Likewise.
34330 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
34332         [BZ #11087]
34333         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
34334         (munmap_chunk): Likewise.
34335         (mremap_chunk): Likewise.
34337 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
34339         [BZ #15799]
34340         * stdlib/div.c (div): Remove obsolete code.
34341         * stdlib/ldiv.c (ldiv): Likewise.
34342         * stdlib/lldiv.c (lldiv): Likewise.
34344 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34346         [BZ #16071]
34347         * nss/nss_files/files-XXX.c (get_contents_ret): New
34348         enumerator.
34349         (get_contents): New function.
34350         (internal_getent): Use it.  Expand size of LINEBUFLEN.
34352 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
34354         * configure.in: Moved to ...
34355         * configure.ac: ... here. Change reference to configure.in
34356         to configure.ac.
34357         * sysdeps/arm/preconfigure.ac: ... here.
34358         configure.in to configure.ac.
34359         * sysdeps/gnu/configure.in: Moved to ...
34360         * sysdeps/gnu/configure.ac: ... here.
34361         * sysdeps/i386/configure.in: Moved to ...
34362         * sysdeps/i386/configure.ac: ... here.
34363         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
34364         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
34365         * sysdeps/mach/configure.in: Moved to ...
34366         * sysdeps/mach/configure.ac: ... here.
34367         * sysdeps/mach/hurd/configure.in: Moved to ...
34368         * sysdeps/mach/hurd/configure.ac: ... here.
34369         * sysdeps/powerpc/configure.in: Moved to ...
34370         * sysdeps/powerpc/configure.ac: ... here.
34371         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
34372         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
34373         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
34374         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
34375         * sysdeps/s390/s390-32/configure.in: Moved to ...
34376         * sysdeps/s390/s390-32/configure.ac: ... here.
34377         * sysdeps/s390/s390-64/configure.in: Moved to ...
34378         * sysdeps/s390/s390-64/configure.ac: ... here.
34379         * sysdeps/sh/configure.in: Moved to ...
34380         * sysdeps/sh/configure.ac: ... here.
34381         * sysdeps/sparc/configure.in: Moved to ...
34382         * sysdeps/sparc/configure.ac: ... here.
34383         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
34384         * sysdeps/unix/sysv/linux/configure.ac: ... here.
34385         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
34386         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
34387         * sysdeps/x86_64/configure.in: Moved to ...
34388         * sysdeps/x86_64/configure.ac: ... here.
34389         * sysdeps/x86_64/preconfigure.in: Moved to ...
34390         * sysdeps/x86_64/preconfigure.ac: ... here.
34391         * aclocal.m4: Change reference to configure.in to configure.ac.
34392         * config.h.in: Likewise.
34393         * manual/install.texi: Likewise.
34394         * manual/maint.texi: Likewise.
34395         * Makefile: Likewise.
34396         * malloc/Makefile: Likewise.
34397         * nscd/Makefile: Likewise.
34398         * Makeconfig: Change reference to configure.in and
34399         preconfigure.in to configure.ac and preconfigure.ac
34400         respectively.
34401         * INSTALL: Regenerated.
34402         * configure: Likewise.
34403         * sysdeps/gnu/configure: Likewise.
34404         * sysdeps/i386/configure: Likewise.
34405         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
34406         * sysdeps/mach/configure: Likewise.
34407         * sysdeps/mach/hurd/configure: Likewise.
34408         * sysdeps/powerpc/configure: Likewise.
34409         * sysdeps/powerpc/powerpc32/configure: Likewise.
34410         * sysdeps/powerpc/powerpc64/configure: Likewise.
34411         * sysdeps/s390/s390-32/configure: Likewise.
34412         * sysdeps/s390/s390-64/configure: Likewise.
34413         * sysdeps/sh/configure: Likewise.
34414         * sysdeps/sparc/configure: Likewise.
34415         * sysdeps/unix/sysv/linux/configure: Likewise.
34416         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
34417         * sysdeps/x86_64/configure: Likewise.
34418         * sysdeps/x86_64/preconfigure: Likewise.
34420 2013-10-29  Andreas Schwab  <schwab@suse.de>
34422         * stdio-common/Makefile (tst-swscanf-ENV): Define.
34424 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34426         * benchtests/pow-inputs: Add new inputs.
34428         * benchtests/exp-inputs: Add new inputs.
34430         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
34431         conditional check for return value.
34432         (__cos32): Likewise.
34434 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34436         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
34437         to provide a boost for large inputs with word alignment.
34438         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
34439         implementation based on optimized PPC64 strcpy.
34440         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
34441         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
34442         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
34443         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
34445 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34447         [BZ #2801]
34448         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
34450 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34452         [BZ #14876]
34453         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
34454         * time/tst-strptime.c (day_tests): Add testcase.
34456 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34458         [BZ #14029]
34459         * manual/pattern.texi: Acknowledge that fnmatch can fail.
34461 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
34463         [BZ #16074]
34464         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
34465         MAP_FAILED on error.
34467 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34469         [BZ #16072]
34470         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
34471         heap for large requests.
34473 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
34475         [BZ #9954]
34476         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
34477         result if the result has no associated interface.
34478         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
34479         interface for all 127.X.Y.Z addresses.
34481 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
34483         * locale/iso-639.def: Add Ligurian (lij)
34485 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
34487         [BZ #15825]
34488         * sunrpc/rpc_main.c: Document rpcgen -5.
34490 2013-10-19  Michael Stahl  <mstahl@redhat.com>
34492         * elf/rtld.c (do_preload): Print the reason why preloading failed.
34494 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
34496         [BZ #10278]
34497         * posix/glob.c: Match only directories when trailing slash is present.
34498         * posix/tst-gnuglob.c (my_opendir): Do not open files.
34499         (main): Add testcase.
34501 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
34503         [BZ #15670]
34504         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
34506 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
34508         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
34509         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
34510         AUTH_DES and cindex for FIPS 140-2.
34511         (DES Encryption): Add cindex FIPS 46-3.
34513         * locale/locarchive.h (struct locarhandle): Add fname.
34514         * locale/programs/localedef.c (main): Pass ARGV[remaining]
34515         if an optional argument was specified to --list-archive,
34516         otherwise NULL.
34517         * locale/programs/locarchive.c (show_archive_content): Take new
34518         argument fname and pass it via ah.fname to open_archive.
34519         * locale/programs/localedef.h: Update decl.
34520         (open_archive): If AH->fname is non-null, open that file
34521         rather than the default file name, and don't ignore ENOENT.
34522         (create_archive): Set AH.fname to NULL.
34523         (delete_locales_from_archive): Likewise.
34524         (add_locales_to_archive): Likewise.
34525         * locale/programs/locfile.c (write_all_categories): Likewise.
34527 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
34528             Aldy Hernandez  <aldyh@redhat.com>
34530         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
34531         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
34532         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
34533         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
34534         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
34535         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
34536         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
34537         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
34538         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
34539         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
34540         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
34541         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
34542         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
34543         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
34544         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
34545         Likewise.
34546         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
34547         Likewise.
34548         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
34549         Likewise.
34550         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
34551         Likewise.
34552         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
34553         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
34554         Likewise.
34555         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
34556         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
34557         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
34558         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
34559         Likewise.
34560         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
34561         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
34562         * sysdeps/powerpc/preconfigure: Likewise.
34563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
34564         Likewise.
34565         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
34566         Replace contents of file by #include of <fenv_libc.h>.
34567         * sysdeps/powerpc/soft-fp/sfp-machine.h
34568         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
34569         and <sys/prctl.h>.
34570         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
34571         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
34572         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
34573         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
34574         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
34575         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
34576         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
34577         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
34578         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
34579         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
34580         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
34581         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
34582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34583         Allow copysignl PLT reference to be missing.
34585 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
34586             Joseph Myers  <joseph@codesourcery.com
34588         [BZ #15948]
34589         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
34590         single character.
34591         (add_to_tablewc): Assert sequence of wide characters is nonempty.
34593 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34595         * elf/tst-tls-dlinfo.c: Don't include tls.h.
34596         * elf/tst-tls1.c: Likewise.
34597         * elf/tst-tls10.h: Likewise.
34598         * elf/tst-tls14.c: Likewise.
34599         * elf/tst-tls2.c: Likewise.
34600         * elf/tst-tls3.c: Likewise.
34601         * elf/tst-tls4.c: Likewise.
34602         * elf/tst-tls5.c: Likewise.
34603         * elf/tst-tls6.c: Likewise.
34604         * elf/tst-tls7.c: Likewise.
34605         * elf/tst-tls8.c: Likewise.
34606         * elf/tst-tls9.c: Likewise.
34607         * elf/tst-tlsmod1.c: Likewise.
34608         * elf/tst-tlsmod13.c: Likewise.
34609         * elf/tst-tlsmod13a.c: Likewise.
34610         * elf/tst-tlsmod14a.c: Likewise.
34611         * elf/tst-tlsmod16a.c: Likewise.
34612         * elf/tst-tlsmod16b.c: Likewise.
34613         * elf/tst-tlsmod2.c: Likewise.
34614         * elf/tst-tlsmod3.c: Likewise.
34615         * elf/tst-tlsmod4.c: Likewise.
34616         * elf/tst-tlsmod5.c: Likewise.
34617         * elf/tst-tlsmod6.c: Likewise.
34619 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
34621         [BZ #12486]
34622         * malloc/malloc.c: remove checks for statistics.
34624 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34626         [BZ #15277]
34627         * inet/inet_net.c (inet_network): Detect additional invalid strings.
34628         * inet/tst-network.c: Add testcase.
34630 2013-10-17  Andreas Schwab  <schwab@suse.de>
34632         [BZ #15218]
34633         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
34634         to determine canonical name.
34636 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34638         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
34639         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
34640         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34641         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34642         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34643         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34644         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34645         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34646         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34647         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34648         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34649         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34650         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34651         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34652         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34653         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34654         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34655         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34656         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34657         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34658         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34659         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34660         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34661         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
34662         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
34663         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34664         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34665         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
34666         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34667         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
34668         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34669         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34670         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34671         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34672         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34673         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34674         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34675         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34676         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34677         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34678         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34679         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34680         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34681         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34682         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34683         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34684         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34685         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34686         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34687         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34688         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34689         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34690         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34691         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34692         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34693         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34694         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34695         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34697 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
34699         [BZ #16041]
34700         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
34701         make result into a quiet NaN.
34703 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
34705         * soft-fp/adddf3.c: Fix horizontal whitespace.
34706         * soft-fp/addsf3.c: Likewise.
34707         * soft-fp/addtf3.c: Likewise.
34708         * soft-fp/divdf3.c: Likewise.
34709         * soft-fp/divsf3.c: Likewise.
34710         * soft-fp/divtf3.c: Likewise.
34711         * soft-fp/double.h: Likewise.
34712         * soft-fp/eqdf2.c: Likewise.
34713         * soft-fp/eqsf2.c: Likewise.
34714         * soft-fp/eqtf2.c: Likewise.
34715         * soft-fp/extenddftf2.c: Likewise.
34716         * soft-fp/extended.h: Likewise.
34717         * soft-fp/extendsfdf2.c: Likewise.
34718         * soft-fp/extendsftf2.c: Likewise.
34719         * soft-fp/extendxftf2.c: Likewise.
34720         * soft-fp/fixdfdi.c: Likewise.
34721         * soft-fp/fixdfsi.c: Likewise.
34722         * soft-fp/fixdfti.c: Likewise.
34723         * soft-fp/fixsfdi.c: Likewise.
34724         * soft-fp/fixsfsi.c: Likewise.
34725         * soft-fp/fixsfti.c: Likewise.
34726         * soft-fp/fixtfdi.c: Likewise.
34727         * soft-fp/fixtfsi.c: Likewise.
34728         * soft-fp/fixtfti.c: Likewise.
34729         * soft-fp/fixunsdfdi.c: Likewise.
34730         * soft-fp/fixunsdfsi.c: Likewise.
34731         * soft-fp/fixunsdfti.c: Likewise.
34732         * soft-fp/fixunssfdi.c: Likewise.
34733         * soft-fp/fixunssfsi.c: Likewise.
34734         * soft-fp/fixunssfti.c: Likewise.
34735         * soft-fp/fixunstfdi.c: Likewise.
34736         * soft-fp/fixunstfsi.c: Likewise.
34737         * soft-fp/fixunstfti.c: Likewise.
34738         * soft-fp/floatdidf.c: Likewise.
34739         * soft-fp/floatdisf.c: Likewise.
34740         * soft-fp/floatditf.c: Likewise.
34741         * soft-fp/floatsidf.c: Likewise.
34742         * soft-fp/floatsisf.c: Likewise.
34743         * soft-fp/floatsitf.c: Likewise.
34744         * soft-fp/floattidf.c: Likewise.
34745         * soft-fp/floattisf.c: Likewise.
34746         * soft-fp/floattitf.c: Likewise.
34747         * soft-fp/floatundidf.c: Likewise.
34748         * soft-fp/floatundisf.c: Likewise.
34749         * soft-fp/floatunditf.c: Likewise.
34750         * soft-fp/floatunsidf.c: Likewise.
34751         * soft-fp/floatunsisf.c: Likewise.
34752         * soft-fp/floatunsitf.c: Likewise.
34753         * soft-fp/floatuntidf.c: Likewise.
34754         * soft-fp/floatuntisf.c: Likewise.
34755         * soft-fp/floatuntitf.c: Likewise.
34756         * soft-fp/fmadf4.c: Likewise.
34757         * soft-fp/fmasf4.c: Likewise.
34758         * soft-fp/fmatf4.c: Likewise.
34759         * soft-fp/gedf2.c: Likewise.
34760         * soft-fp/gesf2.c: Likewise.
34761         * soft-fp/getf2.c: Likewise.
34762         * soft-fp/ledf2.c: Likewise.
34763         * soft-fp/lesf2.c: Likewise.
34764         * soft-fp/letf2.c: Likewise.
34765         * soft-fp/muldf3.c: Likewise.
34766         * soft-fp/mulsf3.c: Likewise.
34767         * soft-fp/multf3.c: Likewise.
34768         * soft-fp/negdf2.c: Likewise.
34769         * soft-fp/negsf2.c: Likewise.
34770         * soft-fp/negtf2.c: Likewise.
34771         * soft-fp/op-1.h: Likewise.
34772         * soft-fp/op-2.h: Likewise.
34773         * soft-fp/op-4.h: Likewise.
34774         * soft-fp/op-8.h: Likewise.
34775         * soft-fp/op-common.h: Likewise.
34776         * soft-fp/quad.h: Likewise.
34777         * soft-fp/single.h: Likewise.
34778         * soft-fp/soft-fp.h: Likewise.
34779         * soft-fp/sqrtdf2.c: Likewise.
34780         * soft-fp/sqrtsf2.c: Likewise.
34781         * soft-fp/sqrttf2.c: Likewise.
34782         * soft-fp/subdf3.c: Likewise.
34783         * soft-fp/subsf3.c: Likewise.
34784         * soft-fp/subtf3.c: Likewise.
34785         * soft-fp/truncdfsf2.c: Likewise.
34786         * soft-fp/trunctfdf2.c: Likewise.
34787         * soft-fp/trunctfsf2.c: Likewise.
34788         * soft-fp/trunctfxf2.c: Likewise.
34789         * soft-fp/unorddf2.c: Likewise.
34790         * soft-fp/unordsf2.c: Likewise.
34791         * soft-fp/unordtf2.c: Likewise.
34793 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
34795         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
34796         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
34798 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
34800         * elf/dl-libc.c: Clear initfini list after freeing.
34802 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
34804         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
34805         * soft-fp/addsf3.c: Likewise.
34806         * soft-fp/addtf3.c: Likewise.
34807         * soft-fp/divdf3.c: Likewise.
34808         * soft-fp/divsf3.c: Likewise.
34809         * soft-fp/divtf3.c: Likewise.
34810         * soft-fp/double.h: Likewise.
34811         * soft-fp/eqdf2.c: Likewise.
34812         * soft-fp/eqsf2.c: Likewise.
34813         * soft-fp/eqtf2.c: Likewise.
34814         * soft-fp/extenddftf2.c: Likewise.
34815         * soft-fp/extended.h: Likewise.
34816         * soft-fp/extendsfdf2.c: Likewise.
34817         * soft-fp/extendsftf2.c: Likewise.
34818         * soft-fp/extendxftf2.c: Likewise.
34819         * soft-fp/fixdfdi.c: Likewise.
34820         * soft-fp/fixdfsi.c: Likewise.
34821         * soft-fp/fixdfti.c: Likewise.
34822         * soft-fp/fixsfdi.c: Likewise.
34823         * soft-fp/fixsfsi.c: Likewise.
34824         * soft-fp/fixsfti.c: Likewise.
34825         * soft-fp/fixtfdi.c: Likewise.
34826         * soft-fp/fixtfsi.c: Likewise.
34827         * soft-fp/fixtfti.c: Likewise.
34828         * soft-fp/fixunsdfdi.c: Likewise.
34829         * soft-fp/fixunsdfsi.c: Likewise.
34830         * soft-fp/fixunsdfti.c: Likewise.
34831         * soft-fp/fixunssfdi.c: Likewise.
34832         * soft-fp/fixunssfsi.c: Likewise.
34833         * soft-fp/fixunssfti.c: Likewise.
34834         * soft-fp/fixunstfdi.c: Likewise.
34835         * soft-fp/fixunstfsi.c: Likewise.
34836         * soft-fp/fixunstfti.c: Likewise.
34837         * soft-fp/floatdidf.c: Likewise.
34838         * soft-fp/floatdisf.c: Likewise.
34839         * soft-fp/floatditf.c: Likewise.
34840         * soft-fp/floatsidf.c: Likewise.
34841         * soft-fp/floatsisf.c: Likewise.
34842         * soft-fp/floatsitf.c: Likewise.
34843         * soft-fp/floattidf.c: Likewise.
34844         * soft-fp/floattisf.c: Likewise.
34845         * soft-fp/floattitf.c: Likewise.
34846         * soft-fp/floatundidf.c: Likewise.
34847         * soft-fp/floatundisf.c: Likewise.
34848         * soft-fp/floatunsidf.c: Likewise.
34849         * soft-fp/floatunsisf.c: Likewise.
34850         * soft-fp/floatuntidf.c: Likewise.
34851         * soft-fp/floatuntisf.c: Likewise.
34852         * soft-fp/floatuntitf.c: Likewise.
34853         * soft-fp/fmadf4.c: Likewise.
34854         * soft-fp/fmasf4.c: Likewise.
34855         * soft-fp/fmatf4.c: Likewise.
34856         * soft-fp/gedf2.c: Likewise.
34857         * soft-fp/gesf2.c: Likewise.
34858         * soft-fp/getf2.c: Likewise.
34859         * soft-fp/ledf2.c: Likewise.
34860         * soft-fp/lesf2.c: Likewise.
34861         * soft-fp/letf2.c: Likewise.
34862         * soft-fp/muldf3.c: Likewise.
34863         * soft-fp/mulsf3.c: Likewise.
34864         * soft-fp/multf3.c: Likewise.
34865         * soft-fp/negdf2.c: Likewise.
34866         * soft-fp/negsf2.c: Likewise.
34867         * soft-fp/negtf2.c: Likewise.
34868         * soft-fp/op-1.h: Likewise.
34869         * soft-fp/op-2.h: Likewise.
34870         * soft-fp/op-4.h: Likewise.
34871         * soft-fp/op-8.h: Likewise.
34872         * soft-fp/op-common.h: Likewise.
34873         * soft-fp/quad.h: Likewise.
34874         * soft-fp/single.h: Likewise.
34875         * soft-fp/soft-fp.h: Likewise.
34876         * soft-fp/sqrtdf2.c: Likewise.
34877         * soft-fp/sqrtsf2.c: Likewise.
34878         * soft-fp/sqrttf2.c: Likewise.
34879         * soft-fp/subdf3.c: Likewise.
34880         * soft-fp/subsf3.c: Likewise.
34881         * soft-fp/subtf3.c: Likewise.
34882         * soft-fp/truncdfsf2.c: Likewise.
34883         * soft-fp/trunctfdf2.c: Likewise.
34884         * soft-fp/trunctfsf2.c: Likewise.
34885         * soft-fp/trunctfxf2.c: Likewise.
34886         * soft-fp/unorddf2.c: Likewise.
34887         * soft-fp/unordsf2.c: Likewise.
34888         * soft-fp/unordtf2.c: Likewise.
34890 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
34892         [BZ #15672]
34893         * misc/error.c (error_tail): Fix possible buffer overflow.
34895 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
34897         [BZ #13028]
34898         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
34899         address.
34901 2013-10-14  P. J. McDermott  <pj@pehjota.net>
34903         [BZ #832]
34904         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
34905         testing pipefail option.
34907 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34909         * soft-fp/double.h: Indent preprocessor directives inside #if.
34910         * soft-fp/extended.h: Likewise.
34911         * soft-fp/op-2.h: Likewise.
34912         * soft-fp/op-4.h: Likewise.
34913         * soft-fp/op-common.h: Likewise.
34914         * soft-fp/quad.h: Likewise.
34915         * soft-fp/single.h: Likewise.
34916         * soft-fp/soft-fp.h: Likewise.
34918 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
34920         * iconv/iconv_prog.c: Fix typos.
34921         * stdio-common/psiginfo-data.h: Likewise.
34923 2013-10-12   Reuben Thomas <rrt@sc3d.org>
34925         [BZ #15764]
34926         * locale/setlocale.c: Fix typo.
34928 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34930         [BZ #16036]
34931         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
34932         signaling NaN arguments.
34933         * soft-fp/unordsf2.c (__unordsf2): Likewise.
34934         * soft-fp/unordtf2.c (__unordtf2): Likewise.
34936         [BZ #14910]
34937         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
34938         unordered operands.
34939         * soft-fp/gesf2.c (__gesf2): Likewise.
34940         * soft-fp/getf2.c (__getf2): Likewise.
34941         * soft-fp/ledf2.c (__ledf2): Likewise.
34942         * soft-fp/lesf2.c (__lesf2): Likewise.
34943         * soft-fp/letf2.c (__letf2): Likewise.
34945         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
34946         * soft-fp/eqsf2.c (__eqsf2): Likewise.
34947         * soft-fp/eqtf2.c (__eqtf2): Likewise.
34948         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
34949         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
34950         * soft-fp/fixdfti.c (__fixdfti): Likewise.
34951         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
34952         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
34953         * soft-fp/fixsfti.c (__fixsfti): Likewise.
34954         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
34955         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
34956         * soft-fp/fixtfti.c (__fixtfti): Likewise.
34957         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
34958         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
34959         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
34960         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
34961         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
34962         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
34963         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
34964         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
34965         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
34966         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
34967         * soft-fp/floatdisf.c (__floatdisf): Likewise.
34968         * soft-fp/floatsisf.c (__floatsisf): Likewise.
34969         * soft-fp/floattidf.c (__floattidf): Likewise.
34970         * soft-fp/floattisf.c (__floattisf): Likewise.
34971         * soft-fp/floattitf.c (__floattitf): Likewise.
34972         * soft-fp/floatundidf.c (__floatundidf): Likewise.
34973         * soft-fp/floatundisf.c (__floatundisf): Likewise.
34974         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
34975         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
34976         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
34977         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
34978         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
34979         * soft-fp/gesf2.c (__gesf2): Likewise.
34980         * soft-fp/getf2.c (__getf2): Likewise.
34981         * soft-fp/ledf2.c (__ledf2): Likewise.
34982         * soft-fp/lesf2.c (__lesf2): Likewise.
34983         * soft-fp/letf2.c (__letf2): Likewise.
34985         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
34986         Undefine and redefine.
34987         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
34988         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
34989         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
34990         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
34991         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34992         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
34993         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34994         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
34995         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34996         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
34997         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34998         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
34999         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35000         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
35001         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35003         [BZ #16032]
35004         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
35005         without decrementing exponent if mantissa >= that for the
35006         denominator, not >.
35007         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
35008         denominator, not >.  Decrement exponent in < case instead of
35009         incrementing in >= case.
35010         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
35011         without decrementing exponent if mantissa >= that for the
35012         denominator, not >.
35014         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
35015         computing saturated result for unsigned overflow.
35017 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35018             Jeff Law  <law@redhat.com>
35020         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
35021         (atan2Mp): Add systemtap probe marker.
35022         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
35023         (__ieee754_log): Add systemtap probe marker.
35024         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
35025         (atanMp): Add systemtap probe marker.
35026         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
35027         (tanMp): Add systemtap probe marker.
35028         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
35029         (__slowexp): Add systemtap probe marker.
35030         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
35031         (__slowpow): Add systemtap probe marker.
35032         * manual/probes.texi: Document probes.
35034 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
35036         [BZ #15362]
35037         * libio/fileops.c (_IO_new_file_write): Return count of bytes
35038         written.
35039         (_IO_new_file_xsputn): Don't return EOF if nothing has been
35040         written.
35041         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
35042         written to buffer but not flushed.
35043         * libio/iofwrite_u.c:  Likewise.
35044         * libio/iopadn.c:  Return bytes returned even if EOF was
35045         encountered.
35046         * libio/iowpadn.c:  Likewise.
35047         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
35048         if _IO_padn does not write the whole buffer.
35049         [!COMPILE_WPRINTF] (PAD): Likewise.
35051 2013-10-10  David S. Miller  <davem@davemloft.net>
35053         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
35054         directory block.
35056 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
35058         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
35059         instead of FSF address.
35060         * soft-fp/fixdfti.c: Likewise.
35061         * soft-fp/fixsfti.c: Likewise.
35062         * soft-fp/fixtfti.c: Likewise.
35063         * soft-fp/fixunsdfti.c: Likewise.
35064         * soft-fp/fixunssfti.c: Likewise.
35065         * soft-fp/fixunstfti.c: Likewise.
35066         * soft-fp/floattidf.c: Likewise.
35067         * soft-fp/floattisf.c: Likewise.
35068         * soft-fp/floattitf.c: Likewise.
35069         * soft-fp/floatuntidf.c: Likewise.
35070         * soft-fp/floatuntisf.c: Likewise.
35071         * soft-fp/floatuntitf.c: Likewise.
35072         * soft-fp/trunctfxf2.c: Likewise.
35074         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
35075         * soft-fp/fixdfti.c: Likewise.
35076         * soft-fp/fixsfti.c: Likewise.
35077         * soft-fp/fixtfti.c: Likewise.
35078         * soft-fp/fixunsdfti.c: Likewise.
35079         * soft-fp/fixunssfti.c: Likewise.
35080         * soft-fp/fixunstfti.c: Likewise.
35081         * soft-fp/floattidf.c: Likewise.
35082         * soft-fp/floattisf.c: Likewise.
35083         * soft-fp/floattitf.c: Likewise.
35084         * soft-fp/floatuntidf.c: Likewise.
35085         * soft-fp/floatuntisf.c: Likewise.
35086         * soft-fp/floatuntitf.c: Likewise.
35087         * soft-fp/trunctfxf2.c: Likewise.
35089 2013-10-10  David S. Miller  <davem@davemloft.net>
35091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35093 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
35095         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35096         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
35097         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
35098         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
35099         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
35100         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
35101         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
35103         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
35104         for NaNs before doing comparisons on argument.
35105         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35106         Likewise.
35108 2013-10-10  Will Newton  <will.newton@linaro.org>
35110         * malloc/hooks.c (memalign_check): Ensure the value of bytes
35111         passed to _int_memalign does not overflow.
35113 2013-10-10  Torvald Riegel  <triegel@redhat.com>
35115         * scripts/bench.pl: Add include-sources directive.
35116         * benchtests/README: Update documentation.
35118 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
35120         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
35121         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
35122         instead of FP_INIT_ROUNDMODE.
35123         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
35124         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
35126         [BZ #16034]
35127         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
35128         copy class of input value.
35129         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
35130         not handle exceptions.
35131         * soft-fp/negsf2.c (__negsf2): Likewise.
35132         * soft-fp/negtf2.c (__negtf2): Likewise.
35133         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
35135 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
35137         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
35138         semicolon.  From Linux kernel.
35140 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
35142         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
35144 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
35146         [BZ #156]
35147         * manual/socket.texi: Added statement about buffer
35148         for gethostbyname2_r.
35150 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
35152         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
35153         Use .p2align directive instead, throughout.
35154         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35155         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
35156         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
35157         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35158         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35159         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
35160         * sysdeps/x86_64/strchr.S: Likewise.
35161         * sysdeps/x86_64/strrchr.S: Likewise.
35163 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35165         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
35167         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
35169         * sysdeps/generic/math_private.h (__mpsin1): Remove
35170         declaration.
35171         (__mpcos1): Likewise.
35172         (__mpsin): New argument __range_reduce.
35173         (__mpcos): Likewise.
35174         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35175         (slow): Use __mpsin and __mpcos.
35176         (slow1): Likewise.
35177         (slow2): Likewise.
35178         (sloww): Likewise.
35179         (sloww1): Likewise.
35180         (sloww2): Likewise.
35181         (bsloww): Likewise.
35182         (bsloww1): Likewise.
35183         (bsloww2): Likewise.
35184         (cslow2): Likewise.
35185         (csloww): Likewise.
35186         (csloww1): Likewise.
35187         (csloww2): Likewise.
35188         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
35189         range_reduce.  Merge in __mpsin1.
35190         (__mpcos): Likewise.
35191         (__mpsin1): Remove.
35192         (__mpcos1): Likewise.
35194 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
35196         * locale/loadlocale.c (_nl_intern_locale_data): Use
35197         LOCFILE_ALIGNED_P.
35198         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
35199         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
35200         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
35201         obstack data is appropriately aligned.
35202         (obstack_int32_grow_fast): Likewise.
35203         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
35204         * locale/programs/locfile.c (add_locale_uint32): Likewise.
35205         (add_locale_uint32_array): Likewise.
35207 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35209         * benchtests/Makefile: Remove ARGLIST and RET variables.
35210         ($(objpfx)bench-%.c): Pass only function name to the script.
35211         * benchtests/README: Update documentation.
35212         * benchtests/acos-inputs: Add new directives.
35213         * benchtests/acosh-inputs: Likewise.
35214         * benchtests/asin-inputs: Likewise.
35215         * benchtests/asinh-inputs: Likewise.
35216         * benchtests/atan-inputs: Likewise.
35217         * benchtests/atanh-inputs: Likewise.
35218         * benchtests/cos-inputs: Likewise.
35219         * benchtests/cosh-inputs: Likewise.
35220         * benchtests/exp-inputs: Likewise.
35221         * benchtests/log-inputs: Likewise.
35222         * benchtests/pow-inputs: Likewise.
35223         * benchtests/rint-inputs: Likewise.
35224         * benchtests/sin-inputs: Likewise.
35225         * benchtests/sinh-inputs: Likewise.
35226         * benchtests/tan-inputs: Likewise.
35227         * benchtests/tanh-inputs: Likewise.
35228         * scripts/bench.pl: Add support for new directives.
35230 2013-10-07  Alan Modra  <amodra@gmail.com>
35232         * README: Fix careless merge.
35234 2013-10-05  Alan Modra  <amodra@gmail.com>
35236         * NEWS: Mention powerpc64le support and bugs fixed.
35237         * README: Both big-endian and little-endian powerpc64 supported.
35239 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35241         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
35242         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
35243         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
35244         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
35246 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
35248         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
35249         match prototype.
35251 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
35253         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
35254         Move -mhard-float appending from
35255         ports/sysdeps/powerpc/powerpc32/Makefile.
35256         [$(with-fp) = yes] (ASFLAGS): Likewise.
35257         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
35258         * sysdeps/powerpc/nofpu: Move directory from
35259         ports/sysdeps/powerpc/nofpu.
35260         * sysdeps/powerpc/soft-fp: Move directory from
35261         ports/sysdeps/powerpc/soft-fp.
35262         * sysdeps/powerpc/powerpc32/405: Move directory from
35263         ports/sysdeps/powerpc/powerpc32/405.
35264         * sysdeps/powerpc/powerpc32/440: Move directory from
35265         ports/sysdeps/powerpc/powerpc32/440.
35266         * sysdeps/powerpc/powerpc32/464: Move directory from
35267         ports/sysdeps/powerpc/powerpc32/464.
35268         * sysdeps/powerpc/powerpc32/476: Move directory from
35269         ports/sysdeps/powerpc/powerpc32/476.
35270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
35271         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
35272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
35273         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
35274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
35275         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
35276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
35277         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
35278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
35279         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
35280         * README: Update for powerpc-*-linux-gnu software floating point
35281         support in libc.
35283         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
35284         case to powerpc/powerpc32*.
35285         * sysdeps/unix/sysv/linux/configure: Regenerated.
35287         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
35288         (_FPU_MASK_OM): Define as 0x04.
35289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
35290         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
35291         0x00c10080.
35292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
35293         0x0000003c.
35294         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
35296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
35297         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
35298         getcontext_e500.
35299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
35300         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
35301         setcontext_e500.
35302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
35303         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
35304         and setcontext_e500.
35306 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
35308         * locale/iso-3166.def: Update iso-1366.def and related occurrences
35310 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35312         * manual/threads.texi (Default Thread Attributes): Fix typo.
35314 2013-10-04  Will Newton  <will.newton@linaro.org>
35316         * malloc/Makefile: Add tst-memalign.
35317         * malloc/tst-memalign.c: New file.
35319         * malloc/tst-posix_memalign.c: Add comments.
35320         (do_test): Add comments and call free on all potentially
35321         allocated pointers. Add space after cast.
35323         * malloc/tst-pvalloc.c: Add comments.
35324         (do_test): Add comments and call free on all potentially
35325         allocated pointers. Remove duplicate check for NULL pointer.
35326         Add space after cast.
35328         * malloc/tst-valloc.c: Add comments.
35329         (do_test): Add comments and call free on all potentially
35330         allocated pointers. Remove duplicate check for NULL pointer.
35331         Add space after cast.
35333 2013-10-04  Alan Modra  <amodra@gmail.com>
35335         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35336         Use stdint types in rather than __attribute__((mode())).
35337         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35339 2013-10-04  Alan Modra  <amodra@gmail.com>
35341         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35342         Correct handling of unaligned relocs for little-endian.
35343         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35345 2013-10-04  Alan Modra  <amodra@gmail.com>
35347         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
35348         * configure: Regenerate.
35349         * nptl/shlib-versions: Powerpc*le starts at 2.18.
35350         * shlib-versions: Likewise.
35352 2013-10-04  Alan Modra  <amodra@gmail.com>
35354         * string/tester.c (test_memrchr): Increment reported test cycle.
35356 2013-10-04  Alan Modra  <amodra@gmail.com>
35358         * string/test-memcpy.c (do_one_test): When reporting errors, print
35359         string address and don't overrun end of string.
35361 2013-10-04  Alan Modra  <amodra@gmail.com>
35363         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
35364         insrdi.  Make better use of reg selection to speed exit slightly.
35365         Schedule entry path a little better.  Remove useless "are we done"
35366         checks on entry to main loop.  Handle wrapping around zero address.
35367         Correct main loop count.  Handle single left-over word from main
35368         loop inline rather than by using loop_small.  Remove extra word
35369         case in loop_small caused by wrong loop count.  Add little-endian
35370         support.
35371         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35372         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
35373         cache hint.
35374         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35375         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
35376         support.  Avoid rlwimi.
35377         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
35379 2013-10-04  Alan Modra  <amodra@gmail.com>
35381         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
35382         insrdi.  Formatting.
35383         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
35384         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35385         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35386         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35387         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35388         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
35390 2013-10-04  Alan Modra  <amodra@gmail.com>
35392         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
35393         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35394         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
35395         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
35396         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35397         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35398         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35399         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35400         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
35401         use of regs.  Use power7 mtocrf.  Tidy function tails.
35403 2013-10-04  Alan Modra  <amodra@gmail.com>
35405         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
35406         Formatting.  Consistently use rXXX register defines or rN defines.
35407         Use early exit labels that avoid restoring unused non-volatile regs.
35408         Make cr field use more consistent with rWORDn compares.  Rename
35409         regs used as shift registers for unaligned loop, using rN defines
35410         for short lifetime/multiple use regs.
35411         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35412         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
35413         addi 1,1,64 to pop stack frame.  Simplify return value code.
35414         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35416 2013-10-04  Alan Modra  <amodra@gmail.com>
35418         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
35419         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
35420         rather than rlwimi.
35421         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
35422         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
35423         little-endian support.  Correct typos.
35424         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
35425         rather than rlwimi.
35426         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
35427         in loop and entry code to keep "and." results.
35428         (strchr): Add little-endian support.  Comment.  Move cntlzd
35429         earlier in tail.
35430         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
35432 2013-10-04  Alan Modra  <amodra@gmail.com>
35434         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
35435         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
35436         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
35437         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
35439 2013-10-04  Alan Modra  <amodra@gmail.com>
35441         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
35442         (rTMP): Define as r11.
35443         (strcmp): Add little-endian support.  Optimise tail.
35444         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
35445         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35446         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35447         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35448         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35449         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35450         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35452 2013-10-04  Alan Modra  <amodra@gmail.com>
35454         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
35455         little-endian support.  Remove unnecessary "are we done" tests.
35456         Handle "s" wrapping around zero and extremely large "size".
35457         Correct main loop count.  Handle single left-over word from main
35458         loop inline rather than by using small_loop.  Correct comments.
35459         Delete "zero" tail, use "end_max" instead.
35460         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
35462 2013-10-04  Alan Modra  <amodra@gmail.com>
35464         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
35465         support.  Don't branch over align.
35466         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
35467         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
35468         support.  Rearrange tmp reg use to suit.  Comment.
35469         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
35471 2013-10-04  Alan Modra  <amodra@gmail.com>
35473         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
35475 2013-10-04  Alan Modra  <amodra@gmail.com>
35477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
35478         conditional form of branch and link when obtaining pc.
35479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35481 2013-10-04  Alan Modra  <amodra@gmail.com>
35483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
35484         HIWORD/LOWORD.
35485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
35486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
35488 2013-10-04  Alan Modra  <amodra@gmail.com>
35490         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
35491         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
35492         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35493         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
35494         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35495         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35496         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
35497         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35498         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
35499         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
35501 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35502             Alistair Popple <alistair@ozlabs.au.ibm.com>
35503             Alan Modra <amodra@gmail.com>
35505         [BZ #15723]
35506         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
35507         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
35508         _dl_hwcap access for little-endian.
35509         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
35510         destroy vmx regs when saving unaligned.
35511         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
35512         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
35513         destroy vmx regs when saving unaligned.
35515 2013-10-04  Alan Modra  <amodra@gmail.com>
35517         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
35518         Don't use a union to pack hi/low value.
35520 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35522         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
35523         for little-endian.
35524         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35525         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
35526         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35527         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35528         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35530 2013-10-04  Alan Modra  <amodra@gmail.com>
35532         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
35533         constants to usual value for .cst8 section, and remove redundant
35534         high address load.
35535         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
35536         constant for 0x1p52.  Load little-endian words of double from
35537         correct stack offsets.
35539 2013-10-04  Alan Modra  <amodra@gmail.com>
35541         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
35542         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
35543         words of double from correct stack offsets.
35544         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35545         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
35546         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35547         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35548         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35549         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35550         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35551         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35552         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35553         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35554         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35555         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35556         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35557         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35558         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35559         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
35560         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35562 2013-10-04  Alan Modra  <amodra@gmail.com>
35564         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
35565         64-bit int/double union.
35566         (_FPU_SETCW): Likewise.
35567         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
35568         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
35570 2013-10-04  Alan Modra  <amodra@gmail.com>
35572         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
35573         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
35575 2013-10-04  Alan Modra  <amodra@gmail.com>
35577         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
35578         use vector int constants.
35579         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
35581 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35583         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
35584         array with long long.
35585         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
35586         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
35587         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
35588         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
35589         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
35590         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
35591         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
35592         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
35593         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
35594         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
35595         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
35596         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
35597         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
35599 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35601         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
35602         (__signbit): Likewise.  Correct for little-endian.
35603         (__signbitl): Call __signbit.
35604         (lrint): Correct for little-endian.
35605         (lrintf): Call lrint.
35607 2013-10-04  Alan Modra  <amodra@gmail.com>
35609         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
35610         union 32-bit int array member with 64-bit int array.
35611         (t515, tm256): Double rather than long double.
35612         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
35614 2013-10-04  Alan Modra  <amodra@gmail.com>
35616         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
35617         Delete.
35618         (IEEE854_LONG_DOUBLE_BIAS): Delete.
35619         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
35620         version of math_ldbl.h.
35622 2013-10-04  Alan Modra  <amodra@gmail.com>
35624         [BZ #15734], [BZ #15735]
35625         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
35626         all uses of ieee875 long double macros and unions.  Simplify test
35627         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
35628         ldbl_extract_mantissa value for ix,iy exponents.  Properly
35629         normalize after ldbl_extract_mantissa, and don't add hidden bit
35630         already handled.  Don't treat low word of ieee854 mantissa like
35631         low word of IBM long double and mask off bit when testing for
35632         zero.
35633         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
35634         all uses of ieee875 long double macros and unions.  Simplify tests
35635         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
35636         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
35637         two1022, instead use their values.  Recognise that tests for large
35638         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
35639         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
35640         Rewrite all uses of ieee875 long double macros and unions.  Simplify
35641         test for 0.0L and nan.  Correct negation.
35642         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
35643         ieee875 long double macros and unions.  Correct output for large
35644         magnitude x.  Correct absolute value calculation.
35645         (__erfcl): Likewise.
35646         * math/libm-test.inc: Add tests for errors discovered in IBM long
35647         double versions of fmodl, remainderl, erfl and erfcl.
35649 2013-10-04  Alan Modra  <amodra@gmail.com>
35651         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
35652         all uses of ieee854 long double macros and unions.  Simplify tests
35653         for long doubles that are fully specified by the high double.
35654         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35655         Likewise.
35656         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
35657         Remove dead code too.
35658         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35659         (__ieee754_ynl): Likewise.
35660         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
35661         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
35662         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35663         Remove dead code too.
35664         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
35665         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
35666         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
35667         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
35668         Simplify.
35669         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
35670         Simplify.
35671         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
35672         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35673         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
35674         Comment on variable precision.
35675         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
35676         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35677         Likewise.
35678         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35679         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35680         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35681         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
35682         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
35684 2013-10-04  Alan Modra  <amodra@gmail.com>
35686         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
35687         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
35688         all uses of ieee854 long double macros and unions.
35689         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
35690         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35691         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
35692         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
35693         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
35694         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35695         Likewise.
35696         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
35697         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35698         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
35699         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35700         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
35701         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
35702         Simplify sign and nan test too.
35703         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
35704         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35705         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
35706         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35707         Likewise.
35708         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35709         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
35710         Likewise.
35711         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35712         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
35713         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
35714         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
35715         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
35716         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
35718 2013-10-04  Alan Modra  <amodra@gmail.com>
35720         * stdio-common/printf_size.c (__printf_size): Don't use
35721         union ieee854_long_double in fpnum union.
35722         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
35723         signbit macro to retrieve sign from long double.
35724         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
35725         retrieve sign from long double.
35726         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
35727         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
35728         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
35729         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35730         * math/test-misc.c (main): Don't use union ieee854_long_double.
35732 2013-10-04  Alan Modra  <amodra@gmail.com>
35734         [BZ #15680]
35735         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
35736         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
35737         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
35738         calculation.  Remove unnecessary test for denormal exponent.
35739         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
35740         Correct handling of denormals.  Avoid undefined shift behaviour.
35741         Correct normalisation of low mantissa when low double is denormal.
35742         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
35743         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
35744         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
35745         Correct normalisation of low mantissa.  Test for overflow of high
35746         mantissa and normalise.
35747         (ldbl_nearbyint): Use more readable constant for two52.
35748         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
35749         (__mpn_construct_long_double): Fix test for overflow of high
35750         mantissa and correct normalisation.  Avoid undefined shift.
35752 2013-10-04  Alan Modra  <amodra@gmail.com>
35754         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
35755         (union ibm_extended_long_double): Define as an array of ieee754_double.
35756         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
35757         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
35758         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
35759         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35760         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35761         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
35762         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35763         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35764         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35765         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
35766         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35768 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
35770         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
35771         page size instead of calling getpagesize.
35773         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
35774         (LOCFILE_ALIGN_MASK): Likewise.
35775         (LOCFILE_ALIGN_UP): Likewise.
35776         (LOCFILE_ALIGNED_P): Likewise.
35777         * locale/programs/ld-collate.c (collate_output): Use the new
35778         macros instead of __alignof__ (int32_t).
35779         * locale/weight.h (findidx): Likewise.
35781 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
35783         [BZ #431]
35784         * manual/string.texi: Fix strncat and wcsncat.
35786 2013-10-03  Brooks Moses  <bmoses@google.com>
35788         [BZ #15915]
35789         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
35790         * Makerules: ...here, and adjust associated comments.
35792 2013-10-02  Will Newton  <will.newton@linaro.org>
35794         * malloc/Makefile: Add tst-pvalloc.
35795         * malloc/tst-pvalloc.c: New file.
35797 2013-10-02  Will Newton  <will.newton@linaro.org>
35799         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
35800         improve test coverage.
35802 2013-10-02  Will Newton  <will.newton@linaro.org>
35804         * malloc/Makefile: Add tst-posix_memalign.
35805         * malloc/tst-posix_memalign.c: New file.
35807 2013-10-01  Eric Blake  <eblake@redhat.com>
35809         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
35810         Use __THROWNL rather than __THROW on static functions.
35812 2013-09-30  Petr Machata  <pmachata@redhat.com>
35814         * elf/elf.h (R_AARCH64_ABS16): New macro.
35815         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
35816         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
35817         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
35818         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
35819         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
35820         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
35821         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
35822         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
35823         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
35824         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
35825         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
35826         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
35827         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
35828         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
35829         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
35830         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
35831         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
35832         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
35833         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
35834         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
35835         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
35836         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
35837         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
35838         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
35839         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
35840         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
35841         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
35842         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
35843         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
35844         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
35845         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
35846         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
35847         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
35848         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
35849         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
35850         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
35851         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
35852         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
35853         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
35854         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
35855         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
35856         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
35857         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
35858         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
35859         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
35860         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
35861         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
35862         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
35863         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
35864         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
35865         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
35866         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
35867         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
35868         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
35869         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
35870         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
35871         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
35872         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
35873         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
35874         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
35875         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
35876         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
35877         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
35878         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
35879         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
35880         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
35881         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
35882         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
35883         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
35884         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
35885         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
35886         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
35887         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
35888         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
35889         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
35890         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
35891         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
35892         (R_AARCH64_TLSDESC_LDR): Likewise.
35893         (R_AARCH64_TLSDESC_ADD): Likewise.
35894         (R_AARCH64_TLSDESC_CALL): Likewise.
35896 2013-09-30  Andreas Schwab  <schwab@suse.de>
35898         [BZ #15048]
35899         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
35900         the nss database lookup.
35901         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35902         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35904 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
35906         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
35908 2013-09-28  P. J. McDermott  <pj@pehjota.net>
35910         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
35911         ${Bash-specific parameter/pattern/string} parameter expansion.
35912         * sysdeps/unix/make-syscalls.sh: Likewise.
35914 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35916         * sysdeps/sh/stackguard-macros.h: New file.
35918 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
35920         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35921         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
35922         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
35923         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
35924         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35925         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
35927 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35929         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
35930         Fix thread ID register.
35932 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
35934         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
35935         [POSIX || UNIX98]: Require rather than permitting all symbols from
35936         <time.h>.
35937         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
35938         element of struct sched_param.
35939         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
35940         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
35941         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
35942         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
35943         constant.
35945 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
35947         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
35948         argument calculation.
35950 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35952         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
35953         Expect macro.
35954         [POSIX] (pthread_attr_t): Do not require type.
35955         [POSIX] (pthread_cond_t): Likewise.
35956         [POSIX] (pthread_condattr_t): Likewise.
35957         [POSIX] (pthread_key_t): Likewise.
35958         [POSIX] (pthread_mutex_t): Likewise.
35959         [POSIX] (pthread_mutexattr_t): Likewise.
35960         [POSIX] (pthread_once_t): Likewise.
35961         [POSIX] (pthread_t): Likewise.
35962         [POSIX-based standards] (pthread_atfork): Expect function.
35964 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35965             Richard Sandiford  <richard@codesourcery.com>
35967         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
35968         (swap_endianness_p): New extern variable.
35969         (set_big_endian): New inline function.
35970         (maybe_swap_uint32): Likewise.
35971         (maybe_swap_uint32_array): Likewise.
35972         (maybe_swap_uint32_obstack): Likewise.
35973         * locale/programs/locfile.c: Include <stdbool.h>.
35974         (swap_endianness_p): New variable.
35975         (add_locale_uint32): Call maybe_swap_uint32.
35976         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
35977         (write_locale_data): Call maybe_swap_uint32_array.
35978         * locale/programs/ld-collate.c (obstack_int32_grow): Call
35979         maybe_swap_uint32.
35980         (obstack_int32_grow_fast): Likewise.
35981         (output_weightwc): Call maybe_swap_uint32_obstack.
35982         (collate_output): Likewise.
35983         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
35984         (OPT_LITTLE_ENDIAN): Likewise.
35985         (options): Add --little-endian and --big-endian options.
35986         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
35987         * locale/programs/locarchive.c: Include "locfile.h".
35988         (GET): New macro.
35989         (SET): Likewise.
35990         (INC): Likewise.
35991         (create_archive): Use the new macros to access fields of
35992         structures directly mapped from or written to locale archives.
35993         (oldlocrecentcmp): Likewise.
35994         (enlarge_archive): Likewise.
35995         (insert_name): Likewise.
35996         (add_alias): Likewise.
35997         (add_locale): Likewise.
35998         (delete_locales_from_archive): Likewise.
35999         (show_archive_content): Likewise.
36000         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
36001         locale data.
36003 2013-09-24  Roland McGrath  <roland@hack.frob.com>
36005         * manual/freemanuals.texi: Updated from (newly) canonical copy at
36006         http://www.gnu.org/doc/freemanuals.texi.
36007         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
36009 2013-09-24  Will Newton  <will.newton@linaro.org>
36011         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
36012         macro.
36014 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
36016         * locale/hashval.h (compute_hashval): Interpret bytes of key as
36017         unsigned char.
36019 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
36021         * manual/threads.texi (POSIX Threads): Fix a typo.
36023 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36025         [BZ #14547]
36026         * string/tst-strcoll-overflow.c: New test case.
36027         * string/Makefile (xtests): Add tst-strcoll-overflow.
36028         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
36029         cache if string sizes may cause integer overflow.
36031         [BZ #14547]
36032         * string/strcoll_l.c (coll_seq): New members rule, idx,
36033         save_idx and back_us.
36034         (get_next_seq_nocache): New function.
36035         (do_compare_nocache): New function.
36036         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
36037         when malloc fails.
36039 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
36041         [BZ #15754]
36042         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
36043         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
36044         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
36046         [BZ #15754]
36047         * elf/Makefile (tests): Add tst-ptrguard1.
36048         (tests-static): Add tst-ptrguard1-static.
36049         (tst-ptrguard1-ARGS): Define.
36050         (tst-ptrguard1-static-ARGS): Define.
36051         * elf/tst-ptrguard1.c: New file.
36052         * elf/tst-ptrguard1-static.c: New file.
36053         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
36054         * sysdeps/i386/stackguard-macros.h: Likewise.
36055         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36056         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36057         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36058         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36059         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36060         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36062 2013-09-23  Hector Marco  <hecmargi@upv.es>
36063             Ismael Ripoll  <iripoll@disca.upv.es>
36064             Carlos O'Donell  <carlos@redhat.com>
36066         [BZ #15754]
36067         * sysdeps/generic/stackguard-macros.h: Define
36068         __pointer_chk_guard_local and POINTER_CHK_GUARD.
36069         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
36070         Define __pointer_chk_guard_local.
36071         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
36072         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
36074 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
36076         [BZ #15859]
36077         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
36079 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
36081         * include/string.h (__ffs): Declare as hidden.
36082         * string/ffs.c (__ffs): Define as hidden.
36083         * sysdeps/i386/ffs.c (__ffs): Likewise.
36084         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
36085         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
36086         * sysdeps/s390/ffs.c (__ffs): Likewise.
36087         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
36089 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
36091         * NEWS: Mention malloc probes.
36093         * malloc/arena.c (new_heap): New memory_heap_new probe.
36094         (grow_heap): New memory_heap_more probe.
36095         (shrink_heap): New memory_heap_less probe.
36096         (heap_trim): New memory_heap_free probe.
36097         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
36098         (systrim): New memory_sbrk_less probe.
36099         * manual/probes.texi: Document them.
36101         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
36102         * manual/probes.texi: Document it.
36104         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
36105         (__libc_realloc): Add memory_realloc_retry probe.
36106         (__libc_memalign): Add memory_memalign_retry probe.
36107         (__libc_valloc): Add memory_valloc_retry probe.
36108         (__libc_pvalloc): Add memory_pvalloc_retry probe.
36109         (__libc_calloc): Add memory_calloc_retry probe.
36110         * manual/probes.texi: Document them.
36112         * malloc/arena.c (get_free_list): Add probe
36113         memory_arena_reuse_free_list.
36114         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
36115         and memory_arena_reuse.
36116         (arena_get2) [!PER_THREAD]: Likewise.
36117         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
36118         memory_arena_reuse_realloc.
36119         * manual/probes.texi: Document them.
36121         * malloc/malloc.c (__libc_free): Add
36122         memory_mallopt_free_dyn_thresholds probe.
36123         (__libc_mallopt): Add multiple memory_mallopt probes.
36124         * manual/probes.texi: Document them.
36126         * malloc/malloc.c: Include stap-probe.h.
36127         (__libc_mallopt): Add memory_mallopt probe.
36128         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
36129         * manual/probes.texi: New.
36130         * manual/Makefile (chapters): Add probes.
36131         * manual/threads.texi: Set next node.
36133 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
36135         [BZ #15963, #13985]
36136         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
36137         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
36138         Add `Chinese' to `nan' entry name.
36140 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36142         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
36143         (POLYNOMIAL): Likewise.
36144         (TAYLOR_SINCOS): Likewise.
36145         (TAYLOR_SLOW): Likewise.
36146         (__sin): Use TAYLOR_SINCOS.
36147         (__cos): Likewise.
36148         (slow): Use TAYLOR_SLOW.
36149         (sloww): Likewise.
36150         (bsloww): Likewise.
36151         (csloww): Likewise.
36153 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36155         * stdlib/strtod_l.c: Fix buffer overrun.
36157 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36159         * benchtests/Makefile (bench): Add sincos.
36160         * benchtests/bench-sincos.c: New file.
36162         * math/libm-test.inc (cos_test_data): New test inputs.
36163         (sin_test_data): Likewise.
36165         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
36166         macro.
36167         (__sin): Use it.
36168         (__cos): Likewise.
36169         (slow1): Likewise.
36170         (slow2): Likewise.
36171         (sloww1): Likewise.
36172         (sloww2): Likewise.
36173         (bsloww1): Likewise.
36174         (bsloww2): Likewise.
36175         (cslow2): Likewise.
36176         (csloww1): Likewise.
36177         (csloww2): Likewise.
36179         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
36180         function.
36181         (__sin): Use it.
36182         (__cos): Likewise.
36184         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
36185         gotos.
36186         (__cos): Likewise.
36188 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
36190         * config.h.in (HAVE_MIPS_NAN2008): New macro.
36191         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
36192         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
36193         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
36194         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
36195         * elf/cache.c (print_entry): Handle the new cache flags.
36197 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
36198             Aldy Hernandez  <aldyh@redhat.com>
36200         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
36201         Change condition to [_SOFT_FLOAT].
36202         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
36203         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
36204         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
36205         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
36206         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
36207         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
36208         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
36209         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
36210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
36211         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
36212         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
36213         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
36214         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
36215         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
36216         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
36217         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
36218         declaration.
36220 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
36222         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
36223         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
36224         (__longjmp): Use LOAD_GP to load saved GPRs.
36225         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
36226         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
36227         (__sigsetjmp): Use SAVE_GP to save GPRs.
36229         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
36230         Do not append -msoft-float.
36231         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
36233 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36235         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
36237 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
36239         [BZ #15966]
36240         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
36241         (_FPU_GETCW): Use initial "__" on variable and field names but not
36242         on macro parameter name.
36243         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
36244         parentheses around reference to macro parameter.
36246 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
36248         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
36249         prototype.
36250         (ctype_startup): Use uint32_t in cast and sizeof for
36251         ctype->charnames.
36253 2013-09-11  Jia Liu  <proljc@gmail.com>
36255         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
36256         __daddr_t_defined.
36257         [__FreeBSD__]: Likewise.
36259 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
36261         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36262         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
36263         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
36264         (strchr): Remove __strchr_sse42 ifunc selection.
36265         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
36266         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
36268 2013-09-11  Will Newton  <will.newton@linaro.org>
36270         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
36271         parameter to RES. Remove hardcoded 1000 value.
36272         * benchtests/bench-skeleton.c (main): Pass RES parameter
36273         to TIMING_INIT and multiply result by 1000.
36275 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36279 2013-09-11  Andreas Schwab  <schwab@suse.de>
36281         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
36282         if not defined.
36283         (O_TMPFILE) [__USE_GNU]: Define.
36284         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
36285         Define.
36287 2013-09-11  Will Newton  <will.newton@linaro.org>
36289         [BZ #15857]
36290         * malloc/malloc.c (__libc_memalign): Check the value of bytes
36291         does not overflow.
36293 2013-09-11  Will Newton  <will.newton@linaro.org>
36295         [BZ #15856]
36296         * malloc/malloc.c (__libc_valloc): Check the value of bytes
36297         does not overflow.
36299 2013-09-11  Will Newton  <will.newton@linaro.org>
36301         [BZ #15855]
36302         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
36303         does not overflow.
36305 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
36307         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
36308         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36309         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36310         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36311         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36313 2013-09-10  Allan McRae  <allan@archlinux.org>
36315         [BZ #15748]
36316         * manual/arith.texi (Parsing of Floats): Clarify
36317         cross-reference.
36319         [BZ #15849]
36320         * manual/install.texi (Running make install): Mention
36321         --enable-pt-chown.
36322         * INSTALL: Regenerated.
36324 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
36326         * csu/init-first.c (_init): Remove the !SHARED condition around
36327         FPU control word initialization.
36328         * elf/dl-support.c (_dl_fpu_control): New variable.
36329         (_dl_aux_init) <AT_FPUCW>: Initialize it.
36330         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
36331         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
36332         * math/test-fpucw-static.c: New file.
36333         * math/test-fpucw-ieee.c: New file.
36334         * math/test-fpucw-ieee-static.c: New file.
36335         * math/Makefile (tests): Add `test-fpucw-ieee' and
36336         `$(tests-static)'.
36337         (tests-static): New variable.
36338         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
36339         dependency to...
36340         [($(build-shared),yes)]
36341         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36342         ... this.
36343         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
36344         New dependency.
36346 2013-09-09  Allan McRae  <allan@archlinux.org>
36348         [BZ #15939]
36349         * manual/string.texi (Collation Functions): Fix typo in
36350         strcoll example.
36351         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
36353         [BZ #15893]
36354         * stdlib/isomac.c (get_null_defines): Fix memory leak.
36356         [BZ #15892]
36357         * libio/memstream.c (open_memstream): Fix memory leak.
36358         * libio/wmemstream.c (open_wmemstream): Likewise.
36360         [BZ #15895]
36361         * nscd/netgroupcache.c: Fix nesting of ifdefs.
36363 2013-09-09  Will Newton  <will.newton@linaro.org>
36365         * malloc/Makefile: Add tst-realloc to tests.
36366         * malloc/tst-realloc.c: New file.
36368 2013-09-09  Allan McRae  <allan@archlinux.org>
36370         [BZ #15844]
36371         * COPYING: Update from GNU website to fix FSF address.
36372         * COPYING.LIB: Likewise.
36374 2013-09-06  David S. Miller  <davem@davemloft.net>
36376         * po/zh_TW.po: Update Chinese (traditional) translation from
36377         translation project.
36379 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
36380             Joseph Myers  <joseph@codesourcery.com>
36382         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
36383         "localeinfo.h".
36384         (obstack_chunk_alloc): New macro.
36385         (obstack_chunk_free): Likewise.
36386         (record_offset): New function.
36387         (init_locale_data): Likewise.
36388         (align_locale_data): Likewise.
36389         (add_locale_empty): Likewise.
36390         (add_locale_raw_data): Likewise.
36391         (add_locale_raw_obstack): Likewise.
36392         (add_locale_string): Likewise.
36393         (add_locale_wstring): Likewise.
36394         (add_locale_uint32): Likewise.
36395         (add_locale_uint32_array): Likewise.
36396         (add_locale_char): Likewise.
36397         (start_locale_structure): Likewise.
36398         (end_locale_structure): Likewise.
36399         (start_locale_prelude): Likewise.
36400         (end_locale_prelude): Likewise.
36401         (write_locale_data): Take locale_file structure rather than an
36402         iovec.
36403         * locale/programs/locfile.h: Include "obstack.h".
36404         (struct locale_file): Change to store locale file contents instead
36405         of header.
36406         (init_locale_data): New prototype.
36407         (align_locale_data): Likewise.
36408         (add_locale_empty): Likewise.
36409         (add_locale_raw_data): Likewise.
36410         (add_locale_raw_obstack): Likewise.
36411         (add_locale_string): Likewise.
36412         (add_locale_wstring): Likewise.
36413         (add_locale_uint32): Likewise.
36414         (add_locale_uint32_array): Likewise.
36415         (add_locale_char): Likewise.
36416         (start_locale_structure): Likewise.
36417         (end_locale_structure): Likewise.
36418         (start_locale_prelude): Likewise.
36419         (end_locale_prelude): Likewise.
36420         (write_locale_data): Update prototype.
36421         * locale/programs/3level.h (struct TABLE): Remove result field.
36422         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
36423         Use new locale_file interface.
36424         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
36425         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
36426         * locale/programs/ld-address.c (address_output): Use new
36427         locale_file interface.
36428         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
36429         NO_ADD_LOCALE.
36430         (collate_finish): Don't call collseq_table_finalize.
36431         (collate_output): Use new locale_file interface.
36432         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
36433         in file.
36434         (NO_FINALIZE): Change to NO_ADD_LOCALE.
36435         (TABLE): Move defines earlier in file.
36436         (ELEMENT): Likewise.
36437         (DEFAULT): Likewise.
36438         (wctrans_table_add): Move macro and inline function earlier in
36439         file.
36440         (struct wctype_table): Move type earlier in file.
36441         (add_locale_wctype_table): New static prototype.
36442         (struct locale_ctype_t): Use logical types instead of struct iovec
36443         pointers for members.
36444         (ctype_output): Use new locale_file interface.
36445         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
36446         new locale_file interface.
36447         (allocate_arrays): Update for use of new locale_file interface.
36448         * locale/programs/ld-identification.c (identification_output): Use
36449         new locale_file interface.
36450         * locale/programs/ld-measurement.c (measurement_output): Likewise.
36451         * locale/programs/ld-messages.c (messages_output): Likewise.
36452         * locale/programs/ld-monetary.c (monetary_output): Likewise.
36453         * locale/programs/ld-name.c (name_output): Likewise.
36454         * locale/programs/ld-numeric.c (numeric_output): Likewise.
36455         * locale/programs/ld-paper.c (paper_output): Likewise.
36456         * locale/programs/ld-telephone.c (telephone_output): Likewise.
36457         * locale/programs/ld-time.c (time_output): Likewise.
36459 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36461         * benchtests/Makefile: Add memrchr benchmark.
36462         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
36463         benchmark as memrchr.
36464         * benchtests/bench-memrchr-ifunc.c: New file.
36465         * benchtests/bench-memrchr.c: New file.
36467 2013-09-06   Will Newton  <will.newton@linaro.org>
36469         * benchtests/Makefile (string-bench): Add memcpy.
36471 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
36472             Cong Wang  <amwang@redhat.com>
36474         [BZ #15850]
36475         * sysdeps/unix/sysv/linux/bits/in.h
36476         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
36477         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
36478         before __USE_KERNEL_IPV6_DEFS uses.
36479         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
36480         IPPROTO_BEETPH.
36481         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
36482         sockaddr_in6, or ipv6_mreq.
36484 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36486         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
36487         memory access for final bytes in some large inputs.
36488         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
36490 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36492         * string/test-memrchr.c: New file.
36493         * string/test-memrchr-ifunc.c: New file.
36494         * string/Makefile: Add new memrchr testcase.
36496 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
36498         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
36499         fanotify_init returns EPERM.
36501 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
36503         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
36504         errors.
36505         (top level): Treat second token from macro or constant entries for
36506         allowed headers as allowed.
36507         * include/complex.h: Condition internal declarations on
36508         [!_ISOMAC].
36509         * include/fenv.h: Condition include of <stdbool.h> and internal
36510         declarations on [!_ISOMAC].
36512 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
36514         [BZ #15923]
36515         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
36517 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
36519         * configure.in (--enable-versioning): Remove configure option.
36520         (libc_cv_asm_symver_directive): Remove configure test.
36521         (libc_cv_ld_version_script_option): Likewise.
36522         (VERSIONING): Remove variable and AC_SUBST.
36523         (DO_VERSIONING): Remove AC_DEFINE.
36524         * configure: Regenerated.
36525         * config.h.in (DO_VERSIONING): Remove macro.
36526         * Makerules [$(versioning) = yes]: Change conditionals to
36527         [$(build-shared) = yes].
36528         * config.make.in (versioning): Remove variable.
36529         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
36530         [$(build-shared) = yes].
36531         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
36532         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
36533         * elf/Makefile [$(versioning) = yes]: Change conditionals to
36534         [$(build-shared) = yes].
36535         * extra-lib.mk [$(versioning) = yes]: Likewise.
36536         * hurd/Makefile [$(versioning) = yes]: Likewise.
36537         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
36538         [SHARED].
36539         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
36540         [SHARED].
36541         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36542         [SHARED && !NO_HIDDEN].
36543         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
36544         [SHARED].
36545         [SHARED && DO_VERSIONING]: Likewise..
36546         * libio/Makefile [$(versioning) = yes]: Change conditionals to
36547         [$(build-shared) = yes].
36548         * manual/install.texi (--disable-versioning): Remove
36549         documentation.
36550         * INSTALL: Regenerated.
36551         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
36552         to [SHARED].
36553         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
36554         [$(build-shared) = yes].
36555         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
36556         * sysdeps/i386/i686/multiarch/strstr-c.c
36557         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36558         [SHARED && !NO_HIDDEN].
36559         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
36560         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
36561         * sysdeps/powerpc/powerpc32/dl-machine.c
36562         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
36563         * sysdeps/powerpc/powerpc32/sysdep.h
36564         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
36565         to [SHARED && PIC && !NO_HIDDEN].
36566         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
36567         conditional to [SHARED].
36569 2013-09-04   Will Newton  <will.newton@linaro.org>
36571         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
36572         * benchtests/bench-string.h: Include bench-timing.h instead
36573         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
36574         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
36575         call to HP_TIMING_DIFF_INIT.
36576         * benchtests/bench-memccpy.c: Use bench-timing.h macros
36577         instead of hp-timing.h macros.
36578         * benchtests/bench-memchr.c: Likewise.
36579         * benchtests/bench-memcmp.c: Likewise.
36580         * benchtests/bench-memcpy.c: Likewise.
36581         * benchtests/bench-memmem.c: Likewise.
36582         * benchtests/bench-memmove.c: Likewise.
36583         * benchtests/bench-memset.c: Likewise.
36584         * benchtests/bench-rawmemchr.c: Likewise.
36585         * benchtests/bench-strcasecmp.c: Likewise.
36586         * benchtests/bench-strcasestr.c: Likewise.
36587         * benchtests/bench-strcat.c: Likewise.
36588         * benchtests/bench-strchr.c: Likewise.
36589         * benchtests/bench-strcmp.c: Likewise.
36590         * benchtests/bench-strcpy.c: Likewise.
36591         * benchtests/bench-strcpy_chk.c: Likewise.
36592         * benchtests/bench-strlen.c: Likewise.
36593         * benchtests/bench-strncasecmp.c: Likewise.
36594         * benchtests/bench-strncat.c: Likewise.
36595         * benchtests/bench-strncmp.c: Likewise.
36596         * benchtests/bench-strncpy.c: Likewise.
36597         * benchtests/bench-strnlen.c: Likewise.
36598         * benchtests/bench-strpbrk.c: Likewise.
36599         * benchtests/bench-strrchr.c: Likewise.
36600         * benchtests/bench-strspn.c: Likewise.
36601         * benchtests/bench-strstr.c: Likewise.
36603 2013-09-04  Will Newton  <will.newton@linaro.org>
36605         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
36607 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
36609         [BZ #15427]
36610         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36611         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
36612         * math/libm-test.inc (lgamma_test_data): Add more tests.
36613         * sysdeps/i386/fpu/libm-test-ulps: Update.
36614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36616 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
36618         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
36619         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36620         Add ifunc.
36621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36622         Add strcmp-sse2-unaligned
36623         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
36625 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36627         * Versions.def (libc): Add GLIBC_2.19.
36629 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36631         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
36632         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
36634 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
36636         [BZ #14155]
36637         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
36638         intermediate calculations in recurrence.
36639         (__ieee754_ynf): Likewise.
36640         * math/libm-test.inc (jn_test_data): Do not allow spurious
36641         underflow exception.  Add more tests.
36642         (yn_test_data): Add more tests.
36643         * sysdeps/i386/fpu/libm-test-ulps: Update.
36644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36646 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
36648         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
36650 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36652         * csu/init-first.c: Fix then/than typos.
36653         * locale/programs/ld-collate.c: Likewise.
36654         * locale/programs/linereader.h: Likewise.
36655         * manual/charset.texi: Likewise.
36656         * manual/filesys.texi: Likewise.
36657         * manual/stdio.texi: Likewise.
36658         * manual/string.texi: Likewise.
36659         * stdlib/fmtmsg.c: Likewise.
36660         * sysdeps/i386/stpncpy.S: Likewise.
36661         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36662         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36663         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36664         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36666 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36668         * elf/dl-open.c: Fix typos.
36669         * iconvdata/gbbig5.c: Likewise.
36670         * iconvdata/iso-2022-jp.c: Likewise.
36671         * iconv/gconv_int.h: Likewise.
36672         * iconv/loop.c: Likewise.
36673         * nis/rpcsvc/nis.h: Likewise.
36674         * resolv/ns_name.c: Likewise.
36675         * stdio-common/vfscanf.c: Likewise.
36676         * streams/stropts.h: Likewise.
36677         * sunrpc/rpc_thread.c: Likewise.
36678         * sysdeps/i386/strpbrk.S: Likewise.
36679         * sysdeps/ieee754/k_standard.c: Likewise.
36680         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36681         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36682         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
36683         * sysdeps/mach/hurd/profil.c: Likewise.
36684         * sysdeps/s390/dl-procinfo.h: Likewise.
36685         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
36686         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36687         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
36688         * sysdeps/x86_64/dl-trampoline.S: Likewise.
36689         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36691 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
36693         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
36694         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
36696 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
36698         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
36699         aix specific files.
36700         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
36701         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
36702         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
36703         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
36704         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
36705         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
36706         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
36707         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
36709 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36710             Roland McGrath  <roland@hack.frob.com>
36712         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
36713         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
36715 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36717         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
36718         __executable_start symbol instead of _start.
36720 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36722         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
36723         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
36724         Move macros to...
36725         * sysdeps/gnu/ldsodefs.h: ... this new file.
36727         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
36728         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
36729         instead of ELFOSABI_LINUX.
36731         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
36732         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
36733         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
36734         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
36735         Likewise.
36736         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
36737         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
36738         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
36739         Likewise.
36740         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
36741         (ibm_extended_long_double): Add ieee_nan member.
36742         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
36743         (do_test): New function.
36745         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
36746         TEST_TRUNC.
36747         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
36748         functions, renamed from truncdfsf_test, trunctfsf_test,
36749         trunctfdf_test.
36750         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
36751         functions.
36752         (do_test): Run all these.
36754 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
36756         * argp/argp-help.c: Fix typos.
36757         * argp/argp-parse.c: Likewise.
36758         * debug/backtracesyms.c: Likewise.
36759         * elf/elf.h: Likewise.
36760         * malloc/malloc.c: Likewise.
36761         * nis/nis_print.c: Likewise.
36762         * resolv/res_comp.c: Likewise.
36763         * stdlib/stdlib.h: Likewise.
36764         * sunrpc/clnt_tcp.c: Likewise.
36765         * sunrpc/clnt_udp.c: Likewise.
36766         * sunrpc/clnt_unix.c: Likewise.
36767         * sysdeps/unix/bsd/ptsname.c: Likewise.
36768         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
36769         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
36770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
36771         Likewise.
36772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
36773         Likewise.
36774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
36775         Likewise.
36776         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36778 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36780         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
36781         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36783 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
36785         [BZ #15897]
36786         * dlfcn/Makefile (tests): Add bug-dl-leaf.
36787         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
36788         ($(objpfx)bug-dl-leaf): New rule.
36789         ($(objpfx)bug-dl-leaf.so): Likewise.
36790         ($(objpfx)bug-dl-leaf.out): Likewise.
36791         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
36792         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
36793         * dlfcn/bug-dl-leaf.c: New test.
36794         * dlfcn/bug-dl-leaf-lib.c: Likewise.
36795         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
36796         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
36797         (dlclose): Likewise.
36798         (dlmopen): Likewise.
36800 2013-08-27  Roland McGrath  <roland@hack.frob.com>
36802         * include/netdb.h [!_ISOMAC]:
36803         Don't include <tls.h>.
36804         (h_errno, __libc_h_errno): Move declaration and macros out of
36805         [_LIBC_REENTRANT].
36807         * include/resolv.h [_RESOLV_H_]:
36808         Don't include <tls.h>.
36809         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
36810         * resolv/res_libc.c: Don't include <tls.h>.
36811         (_res): Use __attribute__ ((nocommon)) in place of
36812         __attribute__ ((section (".bss"))).
36814         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
36815         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
36817         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
36819         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
36820         only under [SIOCGIFCONF && SIOCGIFNETMASK].
36822         * resolv/res_mkquery.c: Include <sys/time.h>.
36824         * inet/ifreq.c: Moved to ...
36825         * sysdeps/unix/ifreq.c: ... here.
36826         * inet/ifreq.c: New file, true stub version.
36828         * socket/sa_len.c: New file.
36829         * socket/Makefile (aux): Add it.
36830         * sysdeps/unix/sysv/linux/Makefile
36831         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
36832         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
36833         and #include <socket/sa_len.c>.
36834         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
36835         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
36837         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
36838         * bits/socket.h: ... here.
36840         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
36841         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
36842         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
36844 2013-08-27  Andreas Schwab  <schwab@suse.de>
36846         [BZ #15736]
36847         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
36848         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
36849         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
36850         * string/test-strcasecmp.c (test_main): Run tests in several
36851         locales.
36852         * string/test-strncasecmp.c (test_main): Likewise.
36854         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
36855         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
36856         to __strcasecmp_nonascii and __strncasecmp_nonascii.
36857         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
36858         (__strncasecmp_ssse3) [PIC]: Likewise.
36860 2013-08-26  Roland McGrath  <roland@hack.frob.com>
36862         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
36864         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
36865         instead of explicitly declaring xdecrypt.
36866         * nis/nss_nis/nis-publickey.c: Likewise.
36868 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36870         [BZ #15890]
36871         * nscd/aicache.c: Include res_hconf.h.
36872         (addhstaiX): Initialize res_hconf.
36874 2013-08-26  Andreas Schwab  <schwab@suse.de>
36876         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
36877         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
36879 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36881         * nscd/aicache.c (addhstaiX): Fix indentation.
36883 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
36885         * configure.ac: Quote $build_pt_chown test.
36886         * configure: Regenerated.
36888 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
36890         [BZ #15532]
36891         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
36892         * math/s_cexpf.c (__cexpf): Likewise.
36893         * math/s_cexpl.c (__cexpl): Likewise.
36894         * math/libm-test.inc (cexp_test_data): Correct expected return
36895         value for NaN + i0.  Add another test.
36897 2013-08-22  David S. Miller  <davem@davemloft.net>
36899         * po/ca.po: Update Catalan translation from translation project.
36900         * po/uk.po: Add Ukrainian translations from translation project.
36902 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
36904         [BZ #15797]
36905         * math/s_fdim.c (__fdim): Check for infinite arguments if result
36906         is infinite, not alongside NaN test.
36907         * math/s_fdimf.c (__fdimf): Likewise.
36908         * math/s_fdiml.c (__fdiml): Likewise.
36909         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
36910         errno is unchanged.
36912 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
36914         * argp/argp-help.c: Fix typos.
36915         * crypt/speeds.c: Likewise.
36916         * csu/check_fds.c: Likewise.
36917         * elf/dl-load.c: Likewise.
36918         * elf/dl-open.c: Likewise.
36919         * elf/reldep3.c: Likewise.
36920         * elf/reldep.c: Likewise.
36921         * elf/sprof.c: Likewise.
36922         * iconv/iconv_charmap.c: Likewise.
36923         * iconv/skeleton.c: Likewise.
36924         * iconv/strtab.c: Likewise.
36925         * io/lockf64.c: Likewise.
36926         * libio/libioP.h: Likewise.
36927         * resolv/gai_notify.c: Likewise.
36928         * resolv/ns_name.c: Likewise.
36929         * resolv/ns_samedomain.c: Likewise.
36930         * resolv/res_send.c: Likewise.
36931         * stdlib/random.c: Likewise.
36932         * sunrpc/rpc/xdr.h: Likewise.
36933         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
36934         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36935         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36936         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36937         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36938         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36939         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36940         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36941         * sysdeps/mach/hurd/check_fds.c: Likewise.
36942         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36943         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36944         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36945         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36946         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36947         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36948         * sysdeps/pthread/aio_notify.c: Likewise.
36949         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
36950         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
36951         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
36952         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36953         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36955 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36957         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
36958         version if bit_Slow_SSE4_2 is set.
36959         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36960         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36962 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36964         [BZ #15867]
36965         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
36966         trampoline stack frame information.
36967         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
36968         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
36969         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
36970         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
36971         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
36972         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36973         (_libc_vdso_platform_setup): Initialize the signal trampolines.
36974         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
36975         sa_flags value.
36976         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
36977         interrupting a syscall and set with option SA_SIGINFO.
36979 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
36981         [BZ #15531]
36982         * math/s_cproj.c (__cproj): Only return an infinity if one part of
36983         argument is infinite.
36984         * math/s_cprojf.c (__cprojf): Likewise.
36985         * math/s_cprojl.c (__cprojl): Likewise.
36986         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
36987         * math/libm-test.inc (cproj_test_data): Add more tests.
36989         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
36991         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
36992         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
36993         size.  Use __ffs to determine corresponding shift.
36995 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
36996             Roland McGrath  <roland@hack.frob.com>
36998         * Makefile (INSTALL): Remove trailing blank lines from output of
36999         makeinfo.
37001 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37003         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
37004         Align 32 bit compat elf_greg to 8 bytes.
37006 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
37008         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
37010 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37012         * string/strcoll_l.c (coll_seq): New structure.
37013         (get_next_seq_cached): New function.
37014         (get_next_seq): New function.
37015         (do_compare): New function.
37016         (STRCOLL): Use GNU style definition.  Simplify implementation
37017         by using get_next_seq, get_next_seq_cached and do_compare.
37019 2013-08-16  Florian Weimer  <fweimer@redhat.com>
37021         [BZ #14699]
37022         CVE-2013-4237
37023         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
37024         member.
37025         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
37026         member.
37027         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
37028         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
37029         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
37030         conditional.
37031         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
37032         GETDENTS_64BIT_ALIGNED.
37033         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37034         * manual/filesys.texi (Reading/Closing Directory): Document
37035         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
37036         strongly.
37037         * manual/conf.texi (Limits for Files): Add portability note to
37038         NAME_MAX, PATH_MAX.
37039         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
37041 2013-08-13  Andreas Schwab  <schwab@suse.de>
37043         [BZ #15749]
37044         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
37045         of fabs.
37046         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
37047         LDBL_MAX_EXP >= 16384]: Add tests for it.
37049 2013-08-12  David S. Miller  <davem@davemloft.net>
37051         * version.h (RELEASE): Set to "development".
37052         (VERSION): Set to "2.18.90".
37053         * NEWS: Add 2.19 section.
37055 2013-08-03  David S. Miller  <davem@davemloft.net>
37057         * po/ko.po: Update Korean translation from translation project.
37059 2013-08-01  David S. Miller  <davem@davemloft.net>
37061         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
37062         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
37063         Bilka.
37065 2013-07-30  David S. Miller  <davem@davemloft.net>
37067         * po/fr.po: Update French translation from translation project.
37069 2013-07-28  David S. Miller  <davem@davemloft.net>
37071         * po/cs.po: Update Czech translation from translation project.
37073         * po/sv.po: Update Swedish translation from translation project.
37075 2013-07-27  David S. Miller  <davem@davemloft.net>
37077         * po/eo.po: Update Esperanto translation from translation project.
37079         * po/vi.po: Update Vietnamese translation from translation project.
37081         * po/de.po: Update German translation from translation project.
37083 2013-07-26  David S. Miller  <davem@davemloft.net>
37085         * po/bg.po: Update Bulgarian translation from translation project.
37087         * po/nl.po: Update Dutch translation from translation project.
37088         * po/pl.po: Update Polish translation from translation project.
37089         * po/ru.po: Update Russian translation from translation project.
37091 2013-07-24  David S. Miller  <davem@davemloft.net>
37093         * po/libc.pot: Update.
37095 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37097         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
37098         variable page size.
37099         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
37100         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
37101         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
37103 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37105         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
37107 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37108             Andreas Schwab  <schwab@suse.de>
37109             Roland McGrath  <roland@hack.frob.com>
37110             Joseph Myers  <joseph@codesourcery.com>
37111             Carlos O'Donell  <carlos@redhat.com>
37113         [BZ #15755]
37114         * config.h.in: Define HAVE_PT_CHOWN.
37115         * config.make.in (build-pt-chown): New variable.
37116         * configure.in (--enable-pt_chown): New configure option.
37117         * configure: Regenerate.
37118         * login/Makefile: Include Makeconfig.  Build pt_chown only if
37119         build-pt-chown is enabled.
37120         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
37121         pt_chown to fix pty ownership.
37122         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
37123         CLOSE_ALL_FDS.
37124         * manual/install.texi (Configuring and compiling): Mention
37125         --enable-pt_chown. Add @findex for grantpt.
37126         * INSTALL: Regenerate.
37128 2013-07-20  David S. Miller  <davem@davemloft.net>
37130         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
37131         difference between 32-bit and 64-bit.
37133 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
37135         [BZ #15711]
37136         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
37137         Avoid system header dependency with -ffreestanding.
37138         ($(objpfx)bits/syscall%d): Likewise.
37140 2013-07-13  David S. Miller  <davem@davemloft.net>
37142         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
37143         underflows from atanl/atan2l due to bug 15319.
37144         (casinh_test_data): Likewise.
37146 2013-07-07  David S. Miller  <davem@davemloft.net>
37148         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
37150 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
37152         * sysdeps/i386/fpu/libm-test-ulps: Update.
37153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37155 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37157         * configure.in (--enable-lock-elision): Fix message text.
37158         * INSTALL: Regenerate.
37159         * configure: Regenerate.
37161 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37165 2013-07-03  Andreas Jaeger  <aj@suse.de>
37167         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
37168         define.
37169         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
37170         (ptrace_peeksiginfo_args): Add.
37171         (__ptrace_peeksiginfo_flags): Add.
37172         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37173         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37174         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37176 2013-07-03  Allan McRae  <allan@archlinux.org>
37178         * sysdeps/i386/fpu/libm-test-ulps: Update.
37180 2013-07-02  David S. Miller  <davem@davemloft.net>
37182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37184 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
37186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37188 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
37190         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37193 2013-07-02  Andi Kleen <ak@linux.intel.com>
37195         * config.h.in (ENABLE_LOCK_ELISION): Add.
37196         * configure.in (--enable-lock-elision): Add option.
37197         * manual/install.texi: Document --enable lock elision.
37198         * configure: Regenerate
37199         * INSTALL: Regenerate.
37201 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
37203         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
37204         SSE4.2 strcasecmp for libc.a.
37205         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37207 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
37209         [BZ #13304]
37210         * soft-fp/op-common.h (_FP_FMA): New macro.
37211         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
37212         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
37213         (_FP_MUL_MEAT_1_imm): ... here.
37214         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
37215         (_FP_MUL_MEAT_1_wide): ... here.
37216         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
37217         (_FP_MUL_MEAT_1_hard): ... here.
37218         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
37219         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
37220         (_FP_MUL_MEAT_2_wide): ... here.
37221         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
37222         (_FP_MUL_MEAT_2_wide_3mul): ... here.
37223         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
37224         (_FP_MUL_MEAT_2_gmp): ... here.
37225         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
37226         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
37227         (_FP_MUL_MEAT_4_wide): ... here.
37228         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
37229         (_FP_MUL_MEAT_4_gmp): ... here.
37230         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
37231         (_FP_WFRACBITS_DW_S): Likewise.
37232         (_FP_WFRACXBITS_DW_S): Likewise.
37233         (_FP_HIGHBIT_DW_S): Likewise.
37234         (FP_FMA_S): Likewise.
37235         (_FP_FRAC_HIGH_DW_S): Likewise.
37236         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
37237         (_FP_WFRACBITS_DW_D): Likewise.
37238         (_FP_WFRACXBITS_DW_D): Likewise.
37239         (_FP_HIGHBIT_DW_D): Likewise.
37240         (FP_FMA_D): Likewise.
37241         (_FP_FRAC_HIGH_DW_D): Likewise.
37242         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
37243         (_FP_WFRACBITS_DW_E): Likewise.
37244         (_FP_WFRACXBITS_DW_E): Likewise.
37245         (_FP_HIGHBIT_DW_E): Likewise.
37246         (FP_FMA_E): Likewise.
37247         (_FP_FRAC_HIGH_DW_E): Likewise.
37248         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
37249         (_FP_WFRACBITS_DW_Q): Likewise.
37250         (_FP_WFRACXBITS_DW_Q): Likewise.
37251         (_FP_HIGHBIT_DW_Q): Likewise.
37252         (FP_FMA_Q): Likewise.
37253         (_FP_FRAC_HIGH_DW_Q): Likewise.
37254         * soft-fp/fmasf4.c: New file.
37255         * soft-fp/fmadf4.c: Likewise.
37256         * soft-fp/fmatf4.c: Likewise.
37258 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37260         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37261         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
37262         Silvermont.
37263         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
37264         macro.
37265         (index_Slow_SSE4_2): Likewise.
37266         (index_Prefer_PMINUB_for_stringop): Likewise.
37267         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
37268         bit_Slow_SSE4_2 is set.
37269         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37270         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37272 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37274         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
37275         rtld_global._dl_hwcap2.
37276         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
37277         POWER8.
37278         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
37279         POWER8 feature descriptions defined in _dl_hwcap2.
37280         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
37281         string handling for POWER8 feature bits.
37282         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
37283         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
37284         _dl_powerpc_cap_flags.
37285         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
37286         * sysdeps/powerpc/rtld-global-offsets.sym
37287         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
37288         _dl_hwcap2 in the rtld_global_ro structure.
37290 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37292         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
37293         hardware capabilities in support of AT_HWCAP2.
37294         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
37295         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
37296         GLRO(dl_hwcap2).
37297         (_dl_show_auxv): Add support for calling _dl_procinfo to display
37298         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
37299         explicitly the unknown a_type display mechanism is used.
37300         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
37301         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
37302         struct member.
37303         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
37304         to macro prototype for AT_HWCAP2 support.
37305         * sysdeps/i386/dl-procinfo.h: Likewise.
37306         * sysdeps/s390/dl-procinfo.h: Likewise.
37307         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
37308         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
37309         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
37310         return -1 for unknown a_type display fallback.
37311         * sysdeps/sparc/dl-procinfo.h: Likewise.
37312         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
37313         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
37315 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
37317         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
37318         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
37320 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
37322         [BZ #12492]
37323         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
37324         mprotect making __stack_prot writable.
37326 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
37327             Joseph Myers  <joseph@codesourcery.com>
37329         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
37330         as being properly aligned.
37332 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
37334         * dlfcn/modstatic5.c: New file.
37335         * dlfcn/tststatic5.c: New file.
37336         * dlfcn/Makefile (tests): Add tststatic5.
37337         (tests-static): Likewise.
37338         (modules-names): Add modstatic5.
37339         (tststatic5-ENV): New variable.
37340         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
37342         [BZ #15022]
37343         * elf/dl-support.c (_dl_main_map): New variable.
37344         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
37345         (_dl_nns, _dl_load_adds): Set to 1.
37346         (_dl_initial_searchlist): Refer to _dl_main_map.
37347         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
37348         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
37349         call to _dl_get_origin.
37350         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
37351         around call_map.
37352         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
37353         * dlfcn/modstatic3.c: New file.
37354         * dlfcn/tststatic3.c: New file.
37355         * dlfcn/tststatic4.c: New file.
37356         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
37357         (tests-static): Likewise.
37358         (modules-names): Add modstatic3.
37359         (tststatic3-ENV, tststatic4-ENV): New variables.
37360         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
37361         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
37363 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
37365         * configure.in (CC): Require GCC version 4.4 or later.
37366         * configure: Regenerated.
37367         * manual/install.texi (Tools for Compilation): Update GCC version
37368         requirement.
37369         * INSTALL: Regenerated.
37371 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37373         [BZ #15674]
37374         * string/test-memcmp.c (check2): New.
37375         (main): Call check2.
37377         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
37379 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
37381         [BZ #15022]
37382         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
37383         over to...
37384         (dl_open_worker) [!SHARED]: ... here.
37386 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37388         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
37390 2013-06-25  Richard Henderson  <rth@redhat.com>
37392         * locale/programs/locarchive.c: Include <libc-internal.h>
37394 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
37396         * manual/texinfo.tex: Update to version 2013-06-21.17, with
37397         trailing whitespace removed.
37399 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
37401         [BZ #10283]
37402         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
37403         * locale/programs/locarchive.c: Include libc-mmap.h.
37404         (prepare_address_space): Take two new outputs (the mmap base and len).
37405         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
37406         values.
37407         (create_archive): Declare new mmap base and len values for
37408         prepare_address_space, and store the result in ah.
37409         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
37410         (enlarge_archive): If ah->mmap_base is not NULL, use that and
37411         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
37412         Declare new mmap base and len values for
37413         prepare_address_space, and store the result in new_ah.
37414         (open_archive): Declare new mmap base and len values for
37415         prepare_address_space, and store the result in ah.
37416         (close_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         * sysdeps/generic/libc-mmap.h: New file.
37420 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
37422         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
37423         (ALIGN_UP): Likewise.
37424         (PTR_ALIGN_DOWN): Likewise.
37425         (PTR_ALIGN_UP): Likewise.
37427 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37429         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
37430         entry mapped to PPC_PLATFORM_POWER8.
37431         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
37432         POWER8.
37433         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
37434         (_dl_string_platform): Add case for exporting platform position for
37435         POWER8.
37436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
37437         search path to sysdeps/powerpc/powerpc32/power8 directory.
37438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
37439         search path to sysdeps/powerpc/powerpc64/power8 directory.
37440         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
37441         power7 directories.
37442         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
37443         power7 directories.
37445 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37447         * INSTALL: Regenerate.
37449         * nscd/connections.c (nscd_init): Fix comment.
37451 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
37453         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
37455         [BZ #15667]
37456         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
37457         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
37459 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
37461         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
37462         DL_DST_REQ_STATIC.
37463         (DL_DST_REQ_STATIC): Remove macro.
37465 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
37467         [BZ #7006]
37468         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
37469         with a shift of 0 bits.
37471 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
37473         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
37474         $(tststatic-ENV).
37476 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37478         [BZ #15655]
37479         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
37481 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37483         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
37484         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
37485         accepts -fno-tree-loop-distribute-patterns.
37486         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
37487         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
37488         recursive call.
37489         * string/memset.c (memset): Likewise.
37490         * string/test-memmove.c (simple_memmove): Disable loop transformation
37491         to library calls.
37492         * string/test-memset.c (simple_memset): Likewise.
37493         * benchtests/bench-memmove.c (simple_memmove): Likewise.
37494         * benchtests/bench-memset.c (simple_memset): Likewise.
37495         * configure: Regenerated.
37497 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
37499         * math/test-misc.c (main): Ignore fesetround failure when failures
37500         of subsequent rounding tests would be ignored.
37502         [BZ #15654]
37503         * math/fedisblxcpt.c (fedisableexcept): Return 0.
37504         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
37505         * math/fegetenv.c (__fegetenv): Return 0.
37506         * math/fegetexcept.c (fegetexcept): Return 0.
37507         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
37508         FE_TONEAREST.
37509         * math/feholdexcpt.c (feholdexcept): Return 0.
37510         * math/fesetenv.c (__fesetenv): Return 0.
37511         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
37512         argument FE_TONEAREST.
37513         * math/feupdateenv.c (__feupdateenv): Return 0.
37514         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
37516 2013-06-18  Roland McGrath  <roland@hack.frob.com>
37518         * elf/rtld-Rules (rtld-compile-command.S): New variable.
37519         (rtld-compile-command.s, rtld-compile-command.c): New variables.
37520         ($(objpfx)rtld-%.os rules): Use them.
37522 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37524         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
37525         fields.
37527 2013-06-17  Roland McGrath  <roland@hack.frob.com>
37529         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
37530         length of target pattern, then descending length of dependency pattern.
37531         * configure.in (AWK): Require gawk 3.1.2 or newer.
37532         * manual/install.texi (Tools for Compilation): Say that we do.
37533         * configure: Regenerated.
37535         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
37536         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
37537         * scripts/sysd-rules.awk: ... this new script.
37538         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
37539         than a glob-style pattern.
37541 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
37543         * math/test-misc.c (main): Do not treat incorrectly rounded
37544         conversions as failure unless ROUNDING_TESTS passes.
37546 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
37548         [BZ #15631]
37549         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
37550         restore exception state around main square root computation, then
37551         check for inexactness explicitly.
37553         * math/libm-test.inc (fma_test_data): Add another test.
37555 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37557         * manual/threads.texi (Non-POSIX Extensions): New document
37558         node.  Document pthread_getattr_default_np and
37559         pthread_setattr_default_np.
37561         * Versions.def (libpthread): Add GLIBC_2.18.
37562         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
37563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37564         Likewise.
37565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37566         Likewise.
37567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37568         Likewise.
37569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37570         Likewise.
37571         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
37572         Likewise.
37573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37574         Likewise.
37575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37576         Likewise.
37577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37578         Likewise.
37579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37580         Likewise.
37582 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37584         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37585         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
37587 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37588             H.J. Lu  <hjl.tools@gmail.com>
37590         [BZ #15627]
37591         * sysdeps/x86_64/rtld-memset.c: Remove file.
37592         * sysdeps/x86_64/rtld-memset.S: New file.
37594 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
37596         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
37597         (test_in_one_mode): Take arguments for whether the rounding mode
37598         is supported for each floating-point type.
37599         (do_test): Pass new arguments to test_in_one_mode using
37600         ROUNDING_TESTS.
37602 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37604         * posix/tst-waitid.c (do_test): Distinguish different instances of
37605         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
37606         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
37607         before entering the kernel for waitpid.
37609 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37611         * NEWS: Fix note on clock function precision.  Text by Roland
37612         McGrath.
37614 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37616         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
37617         it into place only when and if the sanity check passes.
37619 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
37621         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
37622         output for whether conversion result is exact.  Take argument
37623         indicating whether type is IBM long double.
37624         (round_for_all): Change need_exact field to ibm_ld.
37625         * stdlib/tst-strtod-round.c (struct exactness): New type.
37626         (struct test): Change bool ld_ok field to struct exactness exact.
37627         (TEST): Update all definitions for change to field.
37628         (tests): Regenerate array contents.
37629         (test_in_one_mode): Take pointer to new field instead of old ld_ok
37630         field value.  Check for IBM long double here.
37631         (do_test): Update calls to test_in_one_mode.
37633 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37635         [BZ #12515]
37636         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
37637         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
37639 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37641         [BZ #15605]
37642         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
37643         generated by the compiler on loop optimizations.
37644         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
37645         general definitions.
37647 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
37649         * math/bug-nextafter.c: Include <math-tests.h>.
37650         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37651         the relevant type.
37652         * math/bug-nexttoward.c: Include <math-tests.h>.
37653         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37654         the relevant type.
37655         * math/test-misc.c: Include <math-tests.h>.
37656         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37657         the relevant type.
37659 2013-06-12  Andreas Jaeger  <aj@suse.de>
37661         * po/ia.po: Update Interlingua translation from translation
37662         project.
37664 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37666         * include/fenv.h: Include stdbool.h.
37667         (struct rm_ctx): New structure.
37668         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
37669         Define macro.
37670         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
37671         (SET_RESTORE_ROUNDF): Likewise.
37672         (SET_RESTORE_ROUNDL): Likewise.
37673         (SET_RESTORE_ROUND_NOEX): Likewise.
37674         (SET_RESTORE_ROUND_NOEXF): Likewise.
37675         (SET_RESTORE_ROUND_NOEXL): Likewise.
37676         (SET_RESTORE_ROUND_53BIT): Likewise.
37677         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
37678         (libc_feresetround_noexf_ctx): Likewise.
37679         (libc_feresetround_noexl_ctx): Likewise.
37680         (libc_feholdsetround_53bit_ctx): Likewise.
37681         (libc_feresetround_53bit_ctx): Likewise.
37682         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
37683         (libc_feholdexcept_setround_sse_ctx): New function.
37684         (libc_fesetenv_sse_ctx): Likewise.
37685         (libc_feupdateenv_sse_ctx): Likewise.
37686         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
37687         (libc_feholdexcept_setround_387_ctx): Likewise.
37688         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
37689         (libc_feholdsetround_387_prec_ctx): Likewise.
37690         (libc_feholdsetround_387_ctx): Likewise.
37691         (libc_feholdsetround_387_53bit_ctx): Likewise.
37692         (libc_feholdsetround_sse_ctx): Likewise.
37693         (libc_feresetround_sse_ctx): Likewise.
37694         (libc_feresetround_387_ctx): Likewise.
37695         (libc_feupdateenv_387_ctx): Likewise.
37696         (libc_feholdexcept_setroundf_ctx): Define macro.
37697         (libc_fesetenvf_ctx): Likewise.
37698         (libc_feupdateenvf_ctx): Likewise.
37699         (libc_feholdsetroundf_ctx): Likewise.
37700         (libc_feresetroundf_ctx): Likewise.
37701         (libc_feholdexcept_setround_ctx): Likewise.
37702         (libc_fesetenv_ctx): Likewise.
37703         (libc_feupdateenv_ctx): Likewise.
37704         (libc_feholdsetround_ctx): Likewise.
37705         (libc_feresetround_ctx): Likewise.
37706         (libc_feholdexcept_setroundl_ctx): Likewise.
37707         (libc_feupdateenvl_ctx): Likewise.
37708         (libc_feholdsetroundl_ctx): Likewise.
37709         (libc_feresetroundl_ctx): Likewise.
37710         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
37711         (libc_feresetround_53bit_ctx): Likewise.
37713 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37715         * locale/iso-639.def: Convert to UTF-8.
37717 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
37719         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
37720         (EXCEPTION_TESTS_double): Likewise.
37721         (EXCEPTION_TESTS_long_double): Likewise.
37722         (EXCEPTION_TESTS): Likewise.
37723         * math/libm-test.inc (test_exceptions): Only test exceptions if
37724         EXCEPTION_TESTS (FLOAT).
37726 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37728         * benchtests/Makefile (string-bench): Add strcpy_chk and
37729         stpcpy_chk.
37730         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
37731         * benchtests/bench-stpcpy_chk.c: New file.
37732         * benchtests/bench-strcpy_chk-ifunc.c: New file.
37733         * benchtests/bench-strcpy_chk.c: New file.
37734         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
37735         code.
37736         (do_test): Likewise.
37738 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37740         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
37741         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
37742         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
37743         with tabs where appropriate.
37744         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
37745         dl-procinfo.h.
37746         [PPC_PLATFORM_PPC440]: Likewise.
37747         [PPC_PLATFORM_PPC464]: Likewise.
37748         [PPC_PLATFORM_PPC476]: Likewise.
37749         (_dl_string_platform): Add support for detecting ppc405, ppc440,
37750         ppc464, and ppc476 platform strings merging from ports/
37751         dl-procinfo.h.
37753 2013-06-11  Andreas Schwab  <schwab@suse.de>
37755         [BZ #14991]
37756         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
37757         (from_ucs4_idx): Regenerate.
37758         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
37759         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
37760         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
37761         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
37762         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
37763         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
37764         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
37765         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
37766         from FROM_LOOP and TO_LOOP specific macros.
37767         (BODY): Handle combining characters.
37768         * iconvdata/BIG5HKSCS.irreversible: Update.
37769         * iconvdata/BIG5HKSCS.precomposed: New file.
37770         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
37771         characters.
37772         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
37774 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37776         * include/sys/time.h: Fix indentation and add copyright header.
37778         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
37779         (do_test): Likewise.
37780         * string/test-memchr.c (do_one_test): Likewise.
37781         (do_test): Likewise.
37782         * string/test-memcmp.c (do_one_test): Likewise.
37783         (do_test): Likewise.
37784         * string/test-memcpy.c (do_one_test): Likewise.
37785         (do_test): Likewise.
37786         * string/test-memmem.c (do_one_test): Likewise.
37787         (do_test): Likewise.
37788         (do_random_tests): Likewise.
37789         * string/test-memmove.c (do_one_test): Likewise.
37790         (do_test): Likewise.
37791         * string/test-memset.c (do_one_test): Likewise.
37792         (do_test): Likewise.
37793         * string/test-rawmemchr.c (do_one_test): Likewise.
37794         (do_test): Likewise.
37795         * string/test-strcasecmp.c (do_one_test): Likewise.
37796         (do_test): Likewise.
37797         * string/test-strcasestr.c (do_one_test): Likewise.
37798         (do_test): Likewise.
37799         * string/test-strcat.c (do_one_test): Likewise.
37800         (do_test): Likewise.
37801         * string/test-strchr.c (do_one_test): Likewise.
37802         (do_test): Likewise.
37803         * string/test-strcmp.c (do_one_test): Likewise.
37804         (do_test): Likewise.
37805         * string/test-strcpy.c (do_one_test): Likewise.
37806         (do_test): Likewise.
37807         * string/test-string.h: Likewise.
37808         (test_init): Likewise.
37809         * string/test-strlen.c (do_one_test): Likewise.
37810         (do_test): Likewise.
37811         * string/test-strncasecmp.c (do_one_test): Likewise.
37812         (do_test): Likewise.
37813         * string/test-strncat.c (do_one_test): Likewise.
37814         (do_test): Likewise.
37815         * string/test-strncmp.c (do_one_test): Likewise.
37816         (do_test_limit): Likewise.
37817         (do_test): Likewise.
37818         * string/test-strncpy.c (do_one_test): Likewise.
37819         (do_test): Likewise.
37820         * string/test-strnlen.c (do_one_test): Likewise.
37821         (do_test): Likewise.
37822         * string/test-strpbrk.c (do_one_test): Likewise.
37823         (do_test): Likewise.
37824         * string/test-strrchr.c (do_one_test): Likewise.
37825         (do_test): Likewise.
37826         * string/test-strspn.c (do_one_test): Likewise.
37827         (do_test): Likewise.
37828         * string/test-strstr.c (do_one_test): Likewise.
37829         (do_test): Likewise.
37831         * benchtests/Makefile (string-bench): Add string benchmarks.
37832         * benchtests/bench-bcopy-ifunc.c: New file.
37833         * benchtests/bench-bcopy.c: New file.
37834         * benchtests/bench-bzero-ifunc.c: New file.
37835         * benchtests/bench-bzero.c: New file.
37836         * benchtests/bench-memccpy-ifunc.c: New file.
37837         * benchtests/bench-memccpy.c: New file.
37838         * benchtests/bench-memchr-ifunc.c: New file.
37839         * benchtests/bench-memchr.c: New file.
37840         * benchtests/bench-memcmp-ifunc.c: New file.
37841         * benchtests/bench-memcmp.c: New file.
37842         * benchtests/bench-memmem-ifunc.c: New file.
37843         * benchtests/bench-memmem.c: New file.
37844         * benchtests/bench-memmove-ifunc.c: New file.
37845         * benchtests/bench-memmove.c: New file.
37846         * benchtests/bench-mempcpy-ifunc.c: New file.
37847         * benchtests/bench-mempcpy.c: New file.
37848         * benchtests/bench-memset-ifunc.c: New file.
37849         * benchtests/bench-memset.c: New file.
37850         * benchtests/bench-rawmemchr-ifunc.c: New file.
37851         * benchtests/bench-rawmemchr.c: New file.
37852         * benchtests/bench-stpcpy-ifunc.c: New file.
37853         * benchtests/bench-stpcpy.c: New file.
37854         * benchtests/bench-stpncpy-ifunc.c: New file.
37855         * benchtests/bench-stpncpy.c: New file.
37856         * benchtests/bench-strcasecmp-ifunc.c: New file.
37857         * benchtests/bench-strcasecmp.c: New file.
37858         * benchtests/bench-strcasestr-ifunc.c: New file.
37859         * benchtests/bench-strcasestr.c: New file.
37860         * benchtests/bench-strcat-ifunc.c: New file.
37861         * benchtests/bench-strcat.c: New file.
37862         * benchtests/bench-strchr-ifunc.c: New file.
37863         * benchtests/bench-strchr.c: New file.
37864         * benchtests/bench-strchrnul-ifunc.c: New file.
37865         * benchtests/bench-strchrnul.c: New file.
37866         * benchtests/bench-strcmp-ifunc.c: New file.
37867         * benchtests/bench-strcmp.c: New file.
37868         * benchtests/bench-strcpy-ifunc.c: New file.
37869         * benchtests/bench-strcpy.c: New file.
37870         * benchtests/bench-strcspn-ifunc.c: New file.
37871         * benchtests/bench-strcspn.c: New file.
37872         * benchtests/bench-strlen-ifunc.c: New file.
37873         * benchtests/bench-strlen.c: New file.
37874         * benchtests/bench-strncasecmp-ifunc.c: New file.
37875         * benchtests/bench-strncasecmp.c: New file.
37876         * benchtests/bench-strncat-ifunc.c: New file.
37877         * benchtests/bench-strncat.c: New file.
37878         * benchtests/bench-strncmp-ifunc.c: New file.
37879         * benchtests/bench-strncmp.c: New file.
37880         * benchtests/bench-strncpy-ifunc.c: New file.
37881         * benchtests/bench-strncpy.c: New file.
37882         * benchtests/bench-strnlen-ifunc.c: New file.
37883         * benchtests/bench-strnlen.c: New file.
37884         * benchtests/bench-strpbrk-ifunc.c: New file.
37885         * benchtests/bench-strpbrk.c: New file.
37886         * benchtests/bench-strrchr-ifunc.c: New file.
37887         * benchtests/bench-strrchr.c: New file.
37888         * benchtests/bench-strspn-ifunc.c: New file.
37889         * benchtests/bench-strspn.c: New file.
37890         * benchtests/bench-strstr-ifunc.c: New file.
37891         * benchtests/bench-strstr.c: New file.
37893         * benchtests/Makefile: Disable parallel execution of targets.
37894         (string-bench): Add memcpy.
37895         (benchset): New variable to store a list of benchmark sets.
37896         (bench-func): Renamed from bench.
37897         (bench-set): New target.
37898         (bench): Depend on bench-func and bench-set.
37899         * benchtests/README: Add section on benchmark sets.
37900         * benchtests/bench-memcpy-ifunc.c: New file.
37901         * benchtests/bench-memcpy.c: New file.
37902         * benchtests/bench-string.h: New file.
37904 2013-06-11  Andreas Schwab  <schwab@suse.de>
37906         [BZ #15577]
37907         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
37908         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
37909         values in the triple.
37910         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
37911         terminator in the group key.
37913 2013-06-11  Andreas Jaeger  <aj@suse.de>
37915         * po/zh_TW.po: Update Chinese (traditional) translation from
37916         translation project.
37918 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37920         * include/time.h (__clock_gettime): Add libc_hidden_proto.
37921         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
37922         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
37923         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37924         (clock_getcpuclockid): Likewise.
37925         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
37926         Add weak_alias and libc_hidden_def.
37927         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
37928         * rt/clock_gettime.c (clock_gettime): Rename to
37929         __clock_gettime.  Add weak_alias and libc_hidden_def.
37930         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
37931         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
37932         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
37933         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
37934         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
37935         Likewise.
37936         * rt/clock_settime.c (clock_settime): Rename to
37937         __clock_settime.  Add weak_alias and libc_hidden_def.
37938         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
37940 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
37942         * mach/err_boot.sub: Remove trailing whitespace.
37943         * mach/err_ipc.sub: Likewise.
37944         * mach/err_mach.sub: Likewise.
37946         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
37947         (ROUNDING_TESTS_double): Likewise.
37948         (ROUNDING_TESTS_long_double): Likewise.
37949         (ROUNDING_TESTS): Likewise.
37950         * math/libm-test.inc: Include <math-tests.h>.
37951         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
37952         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37953         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37954         (IF_ROUND_INIT_FE_UPWARD): Likewise.
37956 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37958         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
37959         of assigning.
37961 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
37963         * sysdeps/gnu/errlist.awk: Do not generate space at end of
37964         otherwise empty TRANS lines.
37965         * sysdeps/gnu/errlist.c: Regenerated.
37967         * catgets/gencat.c (error_print): Use (void) in function
37968         definition.
37969         * crypt/crypt_util.c (__init_des): Likewise.
37970         * crypt/speeds.c (Stop): Likewise.
37971         (main): Likewise.
37972         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
37973         * inet/ruserpass.c (token): Likewise.
37974         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
37975         * intl/localealias.c (extend_alias_table): Likewise.
37976         * intl/plural-exp.c (init_germanic_plural): Likewise.
37977         * libio/fcloseall.c (__fcloseall): Likewise.
37978         * libio/genops.c (_IO_flush_all): Likewise.
37979         (_IO_flush_all_linebuffered): Likewise.
37980         (_IO_cleanup): Likewise.
37981         (_IO_iter_begin): Likewise.
37982         (_IO_iter_end): Likewise.
37983         (_IO_list_lock): Likewise.
37984         (_IO_list_unlock): Likewise.
37985         (_IO_list_resetlock): Likewise.
37986         * libio/getchar.c (getchar): Likewise.
37987         * libio/getchar_u.c (getchar_unlocked): Likewise.
37988         * libio/getwchar.c (getwchar): Likewise.
37989         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
37990         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
37991         * login/getpt.c (__getpt): Likewise.
37992         * login/tst-utmp.c (main): Likewise.
37993         * malloc/hooks.c (__malloc_check_init): Likewise.
37994         * malloc/malloc.c (__malloc_stats): Likewise.
37995         * malloc/mtrace.c (tr_break): Likewise.
37996         (mtrace): Likewise.
37997         (muntrace): Likewise.
37998         * misc/fstab.c (endfsent): Likewise.
37999         * misc/getclktck.c (__getclktck): Likewise.
38000         * misc/getdtsz.c (__getdtablesize): Likewise.
38001         * misc/gethostid.c (gethostid): Likewise.
38002         * misc/getpagesize.c (__getpagesize): Likewise.
38003         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
38004         (__get_nprocs): Likewise.
38005         (__get_phys_pages): Likewise.
38006         (__get_avphys_pages): Likewise.
38007         * misc/getttyent.c (getttyent): Likewise.
38008         (setttyent): Likewise.
38009         (endttyent): Likewise.
38010         * misc/getusershell.c (getusershell): Likewise.
38011         (endusershell): Likewise.
38012         (setusershell): Likewise.
38013         (initshells): Likewise.
38014         * misc/hsearch.c (__hdestroy): Likewise.
38015         * misc/sync.c (sync): Likewise.
38016         * misc/syslog.c (closelog_internal): Likewise.
38017         (closelog): Likewise.
38018         * misc/ttyslot.c (ttyslot): Likewise.
38019         * misc/vhangup.c (vhangup): Likewise.
38020         * posix/fork.c (__fork): Likewise.
38021         * posix/getegid.c (__getegid): Likewise.
38022         * posix/geteuid.c (__geteuid): Likewise.
38023         * posix/getgid.c (__getgid): Likewise.
38024         * posix/getpid.c (__getpid): Likewise.
38025         * posix/getppid.c (__getppid): Likewise.
38026         * posix/getuid.c (__getuid): Likewise.
38027         * posix/pause.c (pause): Likewise.
38028         * posix/setpgrp.c (setpgrp): Likewise.
38029         * posix/setsid.c (__setsid): Likewise.
38030         * posix/test-vfork.c (noop): Likewise.
38031         * resolv/gethnamaddr.c (_endhtent): Likewise.
38032         (_gethtent): Likewise.
38033         (ht_endhostent): Likewise.
38034         (gethostent): Likewise.
38035         (dns_service): Likewise.
38036         * stdlib/drand48.c (drand48): Likewise.
38037         * stdlib/lrand48.c (lrand48): Likewise.
38038         * stdlib/mrand48.c (mrand48): Likewise.
38039         * stdlib/rand.c (rand): Likewise.
38040         * stdlib/random.c (__random): Likewise.
38041         * stdlib/setenv.c (clearenv): Likewise.
38042         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
38043         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
38044         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
38045         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
38046         (__get_nprocs): Likewise.
38047         (__get_phys_pages): Likewise.
38048         (__get_avphys_pages): Likewise.
38049         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
38050         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
38051         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
38052         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
38053         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
38054         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
38055         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
38056         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
38057         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
38058         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
38059         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
38060         * sysdeps/mach/hurd/sync.c (sync): Likewise.
38061         * sysdeps/posix/clock.c (clock): Likewise.
38062         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
38063         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
38064         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
38065         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
38066         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
38067         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
38068         (__get_nprocs_conf): Likewise.
38069         (__get_phys_pages): Likewise.
38070         (__get_avphys_pages): Likewise.
38071         * time/clock.c (clock): Likewise.
38072         * time/tzset.c (__tzname_max): Likewise.
38074 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
38076         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
38077         (__bswap_32): Do not use "register".
38078         * crypt/crypt.c (_ufc_doit_r): Likewise.
38079         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38080         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38081         * gmon/gmon.c (__monstartup): Likewise.
38082         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
38083         * hurd/hurdmalloc.c (more_memory): Likewise.
38084         (malloc): Likewise.
38085         (free): Likewise.
38086         (realloc): Likewise.
38087         (malloc_fork_prepare): Likewise.
38088         (malloc_fork_parent): Likewise.
38089         (malloc_fork_child): Likewise.
38090         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
38091         (_svcauth_des): Likewise.
38092         * inet/inet_lnaof.c (inet_lnaof): Likewise.
38093         * inet/inet_net.c (inet_network): Likewise.
38094         * inet/inet_netof.c (inet_netof): Likewise.
38095         * inet/rcmd.c (__validuser2_sa): Likewise.
38096         * io/fts.c (fts_open): Likewise.
38097         (fts_load): Likewise.
38098         (fts_close): Likewise.
38099         (fts_read): Likewise.
38100         (fts_children): Likewise.
38101         (fts_build): Likewise.
38102         (fts_stat): Likewise.
38103         (fts_sort): Likewise.
38104         (fts_alloc): Likewise.
38105         (fts_lfree): Likewise.
38106         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
38107         (_IO_file_xsgetn): Likewise.
38108         (_IO_file_xsgetn_mmap): Likewise.
38109         * libio/iofopncook.c (_IO_cookie_read): Likewise.
38110         (_IO_cookie_write): Likewise.
38111         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
38112         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
38113         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
38114         * malloc/obstack.c (_obstack_begin): Likewise.
38115         (_obstack_begin_1): Likewise.
38116         (_obstack_newchunk): Likewise.
38117         (_obstack_allocated_p): Likewise.
38118         (obstack_free): Likewise.
38119         (_obstack_memory_used): Likewise.
38120         * misc/getttyent.c (getttynam): Likewise.
38121         (getttyent): Likewise.
38122         (skip): Likewise.
38123         (value): Likewise.
38124         * misc/getusershell.c (initshells): Likewise.
38125         * misc/syslog.c (__vsyslog_chk): Likewise.
38126         * misc/ttyslot.c (ttyslot): Likewise.
38127         * nis/nis_hash.c (__nis_hash): Likewise.
38128         * posix/fnmatch_loop.c (FCT): Likewise.
38129         * posix/getconf.c (print_all): Likewise.
38130         (main): Likewise.
38131         * posix/getopt.c (exchange): Likewise.
38132         * posix/glob.c (globfree): Likewise.
38133         (prefix_array): Likewise.
38134         (__glob_pattern_type): Likewise.
38135         * resolv/arpa/nameser.h (NS_GET16): Likewise.
38136         (NS_GET32): Likewise.
38137         (NS_PUT16): Likewise.
38138         (NS_PUT32): Likewise.
38139         * resolv/gethnamaddr.c (getanswer): Likewise.
38140         (gethostbyname2): Likewise.
38141         (gethostbyaddr): Likewise.
38142         (_gethtent): Likewise.
38143         (_gethtbyname2): Likewise.
38144         (_gethtbyaddr): Likewise.
38145         * resolv/ns_print.c (dst_s_get_int16): Likewise.
38146         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
38147         * resolv/res_init.c (__res_vinit): Likewise.
38148         (net_mask): Likewise.
38149         * resolv/res_mkquery.c (outchar): Likewise.
38150         (PRINT): Likewise.
38151         * stdio-common/printf_fp.c (outchar): Likewise.
38152         (PRINT): Likewise.
38153         * stdio-common/printf_fphex.c (outchar): Likewise.
38154         (PRINT): Likewise.
38155         * stdio-common/printf_size.c (outchar): Likewise.
38156         (PRINT): Likewise.
38157         * stdio-common/test_rdwr.c (main): Likewise.
38158         * stdio-common/tfformat.c (matches): Likewise.
38159         * stdio-common/vfprintf.c (outchar): Likewise.
38160         (printf_unknown): Likewise.
38161         (buffered_vfprintf): Likewise.
38162         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38163         * stdio-common/xbug.c (AppendToBuffer): Likewise.
38164         (ReadFile): Likewise.
38165         * stdlib/qsort.c (SWAP): Likewise.
38166         (_quicksort): Likewise.
38167         * stdlib/setenv.c (__add_to_environ): Likewise.
38168         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38169         * stdlib/strtol_l.c (__strtol_l): Likewise.
38170         * stdlib/tst-strtod.c (main): Likewise.
38171         * stdlib/tst-strtol.c (main): Likewise.
38172         * stdlib/tst-strtoll.c (main): Likewise.
38173         * string/bits/string2.h (__strcmp_cc): Likewise.
38174         (__strcmp_cg): Likewise.
38175         (__strcspn_c1): Likewise.
38176         (__strcspn_c2): Likewise.
38177         (__strcspn_c3): Likewise.
38178         (__strspn_c1): Likewise.
38179         (__strspn_c2): Likewise.
38180         (__strspn_c3): Likewise.
38181         (__strsep_1c): Likewise.
38182         (__strsep_2c): Likewise.
38183         (__strsep_3c): Likewise.
38184         * string/memccpy.c (__memccpy): Likewise.
38185         * string/stpcpy.c (__stpcpy): Likewise.
38186         * string/strcmp.c (strcmp): Likewise.
38187         * string/strrchr.c (strrchr): Likewise.
38188         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
38189         Likewise.
38190         * sysdeps/mach/hurd/getcwd.c
38191         (_hurd_canonicalize_directory_name_internal): Likewise.
38192         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
38193         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
38194         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
38195         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
38196         Likewise, in both definitions.
38197         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
38198         definitions.
38199         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
38200         64] (__bswap_64): Likewise.
38201         * time/test_time.c (main): Likewise.
38202         * time/tzfile.c (__tzfile_read): Likewise.
38203         (__tzfile_compute): Likewise.
38204         * time/tzset.c (__tzset_parse_tz): Likewise.
38205         (tzset_internal): Likewise.
38206         (compute_change): Likewise.
38207         * wcsmbs/wcscat.c (__wcscat): Likewise.
38208         * wcsmbs/wcschr.c (wcschr): Likewise.
38209         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
38210         * wcsmbs/wcscspn.c (wcscspn): Likewise.
38211         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
38212         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
38213         * wcsmbs/wcsspn.c (wcsspn): Likewise.
38214         * wcsmbs/wcsstr.c (wcsstr): Likewise.
38215         * wcsmbs/wmemchr.c (wmemchr): Likewise.
38216         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38217         * wcsmbs/wmemset.c (wmemset): Likewise.
38219 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
38221         * scripts/config.guess: Update to version 2013-05-16.
38222         * scripts/config.sub: Update to version 2013-04-24.
38223         * scripts/install-sh: Update to version 2011-11-20.07.
38224         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
38225         * scripts/move-if-change: Update to version 2012-01-06 07:23.
38227 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
38229         * debug/fgetws_u_chk.c: Fix leading whitespaces.
38230         * elf/sln.c: Likewise.
38231         * hurd/hurd/ioctl.h: Likewise.
38232         * hurd/hurdmalloc.c: Likewise.
38233         * hurd/xattr.c: Likewise.
38234         * include/shlib-compat.h: Likewise.
38235         * inet/ruserpass.c: Likewise.
38236         * libio/iofgets_u.c: Likewise.
38237         * libio/iofgetws_u.c: Likewise.
38238         * locale/programs/ld-identification.c: Likewise.
38239         * locale/programs/ld-time.c: Likewise.
38240         * mach/msg-destroy.c: Likewise.
38241         * nss/nss_files/files-netgrp.c: Likewise.
38242         * resolv/res_data.c: Likewise.
38243         * soft-fp/op-1.h: Likewise.
38244         * soft-fp/op-2.h: Likewise.
38245         * soft-fp/op-4.h: Likewise.
38246         * soft-fp/op-common.h: Likewise.
38247         * stdio-common/printf_fphex.c: Likewise.
38248         * stdlib/strtod_l.c: Likewise.
38249         * sunrpc/rpc/clnt.h: Likewise.
38250         * sysdeps/generic/framestate.c: Likewise.
38251         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38252         * sysdeps/i386/bsd-setjmp.S: Likewise.
38253         * sysdeps/i386/__longjmp.S: Likewise.
38254         * sysdeps/i386/setjmp.S: Likewise.
38255         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38256         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38257         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38258         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38259         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38260         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38261         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38262         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38263         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38264         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38265         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38266         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38267         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38268         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38269         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38270         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38271         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38272         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
38273         * sysdeps/ieee754/support.c: Likewise.
38274         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38275         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
38276         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
38277         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
38278         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
38279         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
38280         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
38281         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
38282         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
38283         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
38284         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
38285         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
38286         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
38287         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
38288         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
38289         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
38290         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38293 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
38295         * posix/transbug.c: Remove executable mode.
38297 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
38299         * crypt/speeds.c: Remove trailing whitespace.
38300         * dlfcn/default.c: Likewise.
38301         * elf/ifuncdep2.c: Likewise.
38302         * elf/ifuncmain1.c: Likewise.
38303         * elf/ifuncmain1vis.c: Likewise.
38304         * elf/testobj.h: Likewise.
38305         * elf/tst-stackguard1.c: Likewise.
38306         * gmon/sys/gmon.h: Likewise.
38307         * hurd/hurdmsg.c: Likewise.
38308         * hurd/new-fd.c: Likewise.
38309         * hurd/ports-get.c: Likewise.
38310         * iconvdata/ibm1008_420.c: Likewise.
38311         * inet/tst-getni1.c: Likewise.
38312         * inet/tst-getni2.c: Likewise.
38313         * libio/ioungetc.c: Likewise.
38314         * libio/wfiledoalloc.c: Likewise.
38315         * manual/libm-err-tab.pl: Likewise.
38316         * math/w_dremf.c: Likewise.
38317         * misc/ftruncate.c: Likewise.
38318         * posix/bug-glob2.c: Likewise.
38319         * posix/tst-pcre.c: Likewise.
38320         * posix/wait4.c: Likewise.
38321         * resolv/README: Likewise.
38322         * resolv/res_debug.h: Likewise.
38323         * resolv/tst-inet_ntop.c: Likewise.
38324         * setjmp/bug269-setjmp.c: Likewise.
38325         * soft-fp/extended.h: Likewise.
38326         * soft-fp/op-1.h: Likewise.
38327         * soft-fp/op-2.h: Likewise.
38328         * soft-fp/op-4.h: Likewise.
38329         * soft-fp/op-8.h: Likewise.
38330         * soft-fp/testit.c: Likewise.
38331         * stdio-common/bug16.c: Likewise.
38332         * stdlib/random.c: Likewise.
38333         * sunrpc/rpcsvc/rquota.x: Likewise.
38334         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
38335         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38336         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38337         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38338         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38339         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38340         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38341         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38342         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38343         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38344         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38345         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38346         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38347         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38348         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38349         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38350         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38351         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38352         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38353         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38354         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38355         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38356         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
38357         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38358         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38359         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38360         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38361         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38362         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38363         * sysdeps/ieee754/s_lib_version.c: Likewise.
38364         * sysdeps/mach/hurd/check_fds.c: Likewise.
38365         * sysdeps/mach/hurd/getsockname.c: Likewise.
38366         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
38367         * sysdeps/mach/hurd/recvfrom.c: Likewise.
38368         * sysdeps/powerpc/bits/link.h: Likewise.
38369         * sysdeps/powerpc/dl-procinfo.c: Likewise.
38370         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
38371         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
38372         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
38373         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38374         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38375         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
38376         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38377         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
38378         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38379         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
38380         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38381         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
38382         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38383         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38384         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38385         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38386         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38387         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38388         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38389         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38390         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
38391         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38392         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38393         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
38394         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38395         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38396         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38397         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38398         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38399         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38400         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38401         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38402         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38403         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
38404         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38405         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
38406         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38407         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
38408         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
38409         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
38410         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
38411         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
38412         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
38413         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38414         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
38415         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
38416         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38417         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
38418         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
38419         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38420         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38421         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38422         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38423         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
38424         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
38425         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
38426         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38427         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
38428         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
38429         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
38430         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
38431         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
38432         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38433         * sysdeps/powerpc/sysdep.h: Likewise.
38434         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38435         * sysdeps/s390/s390-64/sub_n.S: Likewise.
38436         * sysdeps/sh/dl-trampoline.S: Likewise.
38437         * sysdeps/sh/memset.S: Likewise.
38438         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
38439         * sysdeps/sh/strlen.S: Likewise.
38440         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
38441         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
38442         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
38443         * sysdeps/sparc/sparc32/rem.S: Likewise.
38444         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
38445         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
38446         * sysdeps/sparc/sparc32/strchr.S: Likewise.
38447         * sysdeps/sparc/sparc32/udiv.S: Likewise.
38448         * sysdeps/sparc/sparc32/urem.S: Likewise.
38449         * sysdeps/sparc/sparc64/add_n.S: Likewise.
38450         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38451         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
38452         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
38453         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
38454         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
38455         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38456         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
38457         * sysdeps/unix/bsd/times.c: Likewise.
38458         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
38459         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
38460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38463         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
38464         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38465         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
38466         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
38467         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
38468         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
38469         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38470         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
38471         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38472         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38473         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
38474         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38475         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
38476         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
38477         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
38478         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
38479         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
38480         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38481         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
38482         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
38483         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
38484         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
38485         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38486         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
38487         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
38488         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
38489         * sysdeps/x86_64/strcspn.S: Likewise.
38491 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38493         * locale/C-translit.h: Revert #include <stdint.h> because this is a
38494         generated file.  Regenerate properly from gen-translit.pl.
38495         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
38496         locale/C-translit.h.
38498 2013-06-05  Andreas Schwab  <schwab@suse.de>
38500         [BZ #15100]
38501         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
38502         week as 6 instead of -1.
38503         * time/tst-strptime.c (day_tests): Add test case.
38505 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38507         * sysdeps/generic/math_private.h
38508         (libc_feholdexcept_setround_53bit): Replace with
38509         libc_feholdsetround_53bit.
38510         (libc_feupdateenv_53bit): Replace with
38511         libc_feresetround_53bit.
38512         (SET_RESTORE_ROUND_53BIT): Adjust.
38514 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38516         * string/test-strchrnul.c: Add copyright header.
38518         * posix/tst-getaddrinfo4.c: Increase test timeout.
38520 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
38522         [BZ #15536]
38523         * math/libm-test.inc (MAX_EXP): Remove
38524         (MIN_EXP): Define.
38525         (ulp): Use MIN_EXP - MANT_DIG.
38526         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
38528 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
38530         * po/be.po: Revert last change.
38531         * po/zh_CN.po: Likewise.
38532         * po/header.pot: Likewise.
38534 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
38536         * Makefile ($(common-objpfx)linkobj/libc.so): Define
38537         link-libc-deps to empty as target-specific variable.
38538         * Makerules (link-libc-args): New variable.
38539         (libc-for-link): Likewise.
38540         (link-libc-deps): Likewise.
38541         (lib%.so): Depend on $(link-libc-deps).  Link with
38542         $(link-libc-args).
38543         (build-module): Link with $(link-libc-args).
38544         (build-module-asneeded): Likewise.
38545         (build-module-helper-objlist): Filter out $(link-libc-deps) from
38546         list of objects.
38547         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
38548         target-specific variable.
38549         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
38550         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
38551         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
38552         libc.
38553         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
38554         libc and ld.so.
38555         ($(objpfx)libpcprofile.so): Likewise.
38556         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
38557         libc_nonshared.a.
38558         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
38559         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
38560         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
38561         $(link-libc-deps).
38562         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
38563         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
38564         * login/Makefile ($(objpfx)libutil.so): Likewise.
38565         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
38566         * math/Makefile ($(objpfx)libm.so): Likewise.
38567         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
38568         $(objpfx)libnsl.so): Define libc-for-link as target-specific
38569         variable instead of depending directly on libc.
38570         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
38571         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
38572         $(link-libc-deps).
38573         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
38574         libc.
38575         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
38576         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
38577         ($(objpfx)libanl.so): Likewise.
38578         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
38579         ld.so.
38580         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
38581         $(link-libc-deps).
38582         * sysdeps/i386/fpu/Makefile: Remove file.
38583         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
38584         ($(objpfx)libm.so): Remove dependency on ld.so.
38586 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
38588         [BZ # 15553]
38589         * nis/yp_xdr.c (XDRMAXNAME): Define.
38590         (XDRMAXRECORD): Define.
38591         (xdr_domainname): Use XDRMAXNAME.
38592         (xdr_mapname): Likewise.
38593         (xdr_peername): Likewise.
38594         (xdr_keydat): Use XDRMAXRECORD.
38595         (xdr_valdat): Likewise.
38597 2013-05-30  Jeff Law  <law@redhat.com>
38599         [BZ #14256]
38600         * manual/errno.texi (ESTALE): Update to account for more than
38601         just NFS file systems.
38602         * sysdeps/gnu/errlist.c: Regenerated.
38604 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38606         [BZ #15465]
38607         * elf/Makefile (tests): Add tst-null-argv.
38608         (modules-names):  Add tst-null-argv-lib.
38609         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
38610         (tst-null-argv-ENV): Set environment for tst-null-argv.
38611         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
38612         (RTLD_PROGNAME): New macro.
38613         * elf/tst-null-argv.c: New test case.
38614         * elf/tst-null-argv-lib.c: Library for test case.
38615         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
38616         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
38617         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
38618         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
38619         * elf/dl-init.c (call_init): Likewise.
38620         (_dl_init): Likewise.
38621         * elf/dl-load.c (print_search_path): Likewise.
38622         (_dl_map_object): Likewise.
38623         * elf/dl-lookup.c (do_lookup_x): Likewise.
38624         (add_dependency): Likewise.
38625         (_dl_lookup_symbol_x): Likewise.
38626         (_dl_debug_bindings): Likewise.
38627         * elf/dl-open.c (_dl_show_scope): Likewise.
38628         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38629         * elf/dl-version.c (match_symbol): Likewise.
38630         (_dl_check_map_versions): Likewise.
38631         * elf/rtld.c (dl_main): Likewise.
38632         (print_unresolved): Use RTLD_PROGNAME.
38633         (print_missing_version): Likewise.
38634         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
38635         (elf_machine_rela): Likewise.
38636         * sysdeps/powerpc/powerpc32/dl-machine.c
38637         (__process_machine_rela): Likewise.
38638         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38639         Likewise.
38640         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38641         Likewise.
38642         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38643         Likewise.
38644         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38645         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
38646         Likewise.
38647         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
38648         Likewise.
38649         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38651 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
38653         * po/be.po: Add descriptive title.
38654         * po/zh_CN.po: Likewise.
38655         * po/header.pot: Likewise.
38657 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
38659         * locale/programs/locarchive.c (create_archive): Inlucde fname in
38660         error message.
38661         (enlarge_archive): Likewise.
38663 2013-05-28  Ben North  <ben@redfrontdoor.org>
38665         * manual/arith.texi (frexp): It is the magnitude of the return
38666         value which lies in [0.5, 1), not the return value itself.
38668 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38672 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
38674         * stdio-common/bug26.c (main): Correct fscanf template.
38676         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
38677         declare _dl_skip_args.
38679         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
38680         Don't declare.
38682         * manual/platform.texi: Add missing @end deftypefun.
38684 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38686         [BZ #15529]
38687         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
38688         bit of mantissa of 2^16382.
38689         * math/libm-test.inc (hypot_test_data): Add more tests.
38691         * math/libm-test.inc: Add drem and pow10 to list of tested
38692         functions.
38693         (pow10_test): New function.
38694         (drem_test): Likewise.
38695         (drem_test_tonearest): Likewise.
38696         (drem_test_towardzero): Likewise.
38697         (drem_test_downward): Likewise.
38698         (drem_test_upward): Likewise.
38699         (main): Call the new functions.
38701         * math/libm-test.inc (finite_test_data): Remove.
38702         (finite_test): Run tests from isfinite_test_data.
38703         (gamma_test_data): Remove.
38704         (gamma_test): Run tests from lgamma_test_data.
38705         * sysdeps/i386/fpu/libm-test-ulps: Update.
38706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38708 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38710         * manual/platform.texi: Add PowerPC PPR function set documentation.
38711         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
38712         implementation.
38714 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
38716         * math/libm-test.inc (MAX_EXP): Define.
38717         (ULPDIFF): Define.
38718         (ulp): New function.
38719         (check_float_internal): Use ULPDIFF.
38720         (cpow_test): Disable failing test.
38721         (check_ulp): Test ulp() implemetnation.
38722         (main): Call check_ulp before starting tests.
38724 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38726         * math/gen-libm-test.pl (generate_testfile): Do not handle
38727         START_DATA and END_DATA.
38728         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
38729         END_DATA.
38730         (acos_tonearest_test_data): Likewise.
38731         (acos_towardzero_test_data): Likewise.
38732         (acos_downward_test_data): Likewise.
38733         (acos_upward_test_data): Likewise.
38734         (acosh_test_data): Likewise.
38735         (asin_test_data): Likewise.
38736         (asin_tonearest_test_data): Likewise.
38737         (asin_towardzero_test_data): Likewise.
38738         (asin_downward_test_data): Likewise.
38739         (asin_upward_test_data): Likewise.
38740         (asinh_test_data): Likewise.
38741         (atan_test_data): Likewise.
38742         (atanh_test_data): Likewise.
38743         (atan2_test_data): Likewise.
38744         (cabs_test_data): Likewise.
38745         (cacos_test_data): Likewise.
38746         (cacosh_test_data): Likewise.
38747         (carg_test_data): Likewise.
38748         (casin_test_data): Likewise.
38749         (casinh_test_data): Likewise.
38750         (catan_test_data): Likewise.
38751         (catanh_test_data): Likewise.
38752         (cbrt_test_data): Likewise.
38753         (ccos_test_data): Likewise.
38754         (ccosh_test_data): Likewise.
38755         (ceil_test_data): Likewise.
38756         (cexp_test_data): Likewise.
38757         (cimag_test_data): Likewise.
38758         (clog_test_data): Likewise.
38759         (clog10_test_data): Likewise.
38760         (conj_test_data): Likewise.
38761         (copysign_test_data): Likewise.
38762         (cos_test_data): Likewise.
38763         (cos_tonearest_test_data): Likewise.
38764         (cos_towardzero_test_data): Likewise.
38765         (cos_downward_test_data): Likewise.
38766         (cos_upward_test_data): Likewise.
38767         (cosh_test_data): Likewise.
38768         (cosh_tonearest_test_data): Likewise.
38769         (cosh_towardzero_test_data): Likewise.
38770         (cosh_downward_test_data): Likewise.
38771         (cosh_upward_test_data): Likewise.
38772         (cpow_test_data): Likewise.
38773         (cproj_test_data): Likewise.
38774         (creal_test_data): Likewise.
38775         (csin_test_data): Likewise.
38776         (csinh_test_data): Likewise.
38777         (csqrt_test_data): Likewise.
38778         (ctan_test_data): Likewise.
38779         (ctan_tonearest_test_data): Likewise.
38780         (ctan_towardzero_test_data): Likewise.
38781         (ctan_downward_test_data): Likewise.
38782         (ctan_upward_test_data): Likewise.
38783         (ctanh_test_data): Likewise.
38784         (ctanh_tonearest_test_data): Likewise.
38785         (ctanh_towardzero_test_data): Likewise.
38786         (ctanh_downward_test_data): Likewise.
38787         (ctanh_upward_test_data): Likewise.
38788         (erf_test_data): Likewise.
38789         (erfc_test_data): Likewise.
38790         (exp_test_data): Likewise.
38791         (exp_tonearest_test_data): Likewise.
38792         (exp_towardzero_test_data): Likewise.
38793         (exp_downward_test_data): Likewise.
38794         (exp_upward_test_data): Likewise.
38795         (exp10_test_data): Likewise.
38796         (exp2_test_data): Likewise.
38797         (expm1_test_data): Likewise.
38798         (fabs_test_data): Likewise.
38799         (fdim_test_data): Likewise.
38800         (finite_test_data): Likewise.
38801         (floor_test_data): Likewise.
38802         (fma_test_data): Likewise.
38803         (fma_towardzero_test_data): Likewise.
38804         (fma_downward_test_data): Likewise.
38805         (fma_upward_test_data): Likewise.
38806         (fmax_test_data): Likewise.
38807         (fmin_test_data): Likewise.
38808         (fmod_test_data): Likewise.
38809         (fpclassify_test_data): Likewise.
38810         (frexp_test_data): Likewise.
38811         (gamma_test_data): Likewise.
38812         (hypot_test_data): Likewise.
38813         (ilogb_test_data): Likewise.
38814         (isfinite_test_data): Likewise.
38815         (isgreater_test_data): Likewise.
38816         (isgreaterequal_test_data): Likewise.
38817         (isinf_test_data): Likewise.
38818         (isless_test_data): Likewise.
38819         (islessequal_test_data): Likewise.
38820         (islessgreater_test_data): Likewise.
38821         (isnan_test_data): Likewise.
38822         (isnormal_test_data): Likewise.
38823         (issignaling_test_data): Likewise.
38824         (isunordered_test_data): Likewise.
38825         (j0_test_data): Likewise.
38826         (j1_test_data): Likewise.
38827         (jn_test_data): Likewise.
38828         (ldexp_test_data): Likewise.
38829         (lgamma_test_data): Likewise.
38830         (lrint_test_data): Likewise.
38831         (lrint_tonearest_test_data): Likewise.
38832         (lrint_towardzero_test_data): Likewise.
38833         (lrint_downward_test_data): Likewise.
38834         (lrint_upward_test_data): Likewise.
38835         (llrint_test_data): Likewise.
38836         (llrint_tonearest_test_data): Likewise.
38837         (llrint_towardzero_test_data): Likewise.
38838         (llrint_downward_test_data): Likewise.
38839         (llrint_upward_test_data): Likewise.
38840         (log_test_data): Likewise.
38841         (log10_test_data): Likewise.
38842         (log1p_test_data): Likewise.
38843         (log2_test_data): Likewise.
38844         (logb_test_data): Likewise.
38845         (logb_downward_test_data): Likewise.
38846         (lround_test_data): Likewise.
38847         (llround_test_data): Likewise.
38848         (modf_test_data): Likewise.
38849         (nearbyint_test_data): Likewise.
38850         (nextafter_test_data): Likewise.
38851         (nexttoward_test_data): Likewise.
38852         (pow_test_data): Likewise.
38853         (pow_tonearest_test_data): Likewise.
38854         (pow_towardzero_test_data): Likewise.
38855         (pow_downward_test_data): Likewise.
38856         (pow_upward_test_data): Likewise.
38857         (remainder_test_data): Likewise.
38858         (remainder_tonearest_test_data): Likewise.
38859         (remainder_towardzero_test_data): Likewise.
38860         (remainder_downward_test_data): Likewise.
38861         (remainder_upward_test_data): Likewise.
38862         (remquo_test_data): Likewise.
38863         (rint_test_data): Likewise.
38864         (rint_tonearest_test_data): Likewise.
38865         (rint_towardzero_test_data): Likewise.
38866         (rint_downward_test_data): Likewise.
38867         (rint_upward_test_data): Likewise.
38868         (round_test_data): Likewise.
38869         (scalb_test_data): Likewise.
38870         (scalbn_test_data): Likewise.
38871         (scalbln_test_data): Likewise.
38872         (signbit_test_data): Likewise.
38873         (sin_test_data): Likewise.
38874         (sin_tonearest_test_data): Likewise.
38875         (sin_towardzero_test_data): Likewise.
38876         (sin_downward_test_data): Likewise.
38877         (sin_upward_test_data): Likewise.
38878         (sincos_test_data): Likewise.
38879         (sinh_test_data): Likewise.
38880         (sinh_tonearest_test_data): Likewise.
38881         (sinh_towardzero_test_data): Likewise.
38882         (sinh_downward_test_data): Likewise.
38883         (sinh_upward_test_data): Likewise.
38884         (sqrt_test_data): Likewise.
38885         (tan_test_data): Likewise.
38886         (tan_tonearest_test_data): Likewise.
38887         (tan_towardzero_test_data): Likewise.
38888         (tan_downward_test_data): Likewise.
38889         (tan_upward_test_data): Likewise.
38890         (tanh_test_data): Likewise.
38891         (tgamma_test_data): Likewise.
38892         (trunc_test_data): Likewise.
38893         (y0_test_data): Likewise.
38894         (y1_test_data): Likewise.
38895         (yn_test_data): Likewise.
38896         (significand_test_data): Likewise.
38898         * math/gen-libm-test.pl (@functions): Remove variable.
38899         (generate_testfile): Don't handle START and END lines.
38900         * math/libm-test.inc (START): New macro.
38901         (END): Likewise.
38902         (END_COMPLEX): Likewise.
38903         (acos_test): Use END macro without arguments.
38904         (acos_test_tonearest): Likewise.
38905         (acos_test_towardzero): Likewise.
38906         (acos_test_downward): Likewise.
38907         (acos_test_upward): Likewise.
38908         (acosh_test): Likewise.
38909         (asin_test): Likewise.
38910         (asin_test_tonearest): Likewise.
38911         (asin_test_towardzero): Likewise.
38912         (asin_test_downward): Likewise.
38913         (asin_test_upward): Likewise.
38914         (asinh_test): Likewise.
38915         (atan_test): Likewise.
38916         (atanh_test): Likewise.
38917         (atan2_test): Likewise.
38918         (cabs_test): Likewise.
38919         (cacos_test): Use END_COMPLEX macro without arguments.
38920         (cacosh_test): Likewise.
38921         (carg_test): Use END macro without arguments.
38922         (casin_test): Use END_COMPLEX macro without arguments.
38923         (casinh_test): Likewise.
38924         (catan_test): Likewise.
38925         (catanh_test): Likewise.
38926         (cbrt_test): Use END macro without arguments.
38927         (ccos_test): Use END_COMPLEX macro without arguments.
38928         (ccosh_test): Likewise.
38929         (ceil_test): Use END macro without arguments.
38930         (cexp_test): Use END_COMPLEX macro without arguments.
38931         (cimag_test): Use END macro without arguments.
38932         (clog_test): Use END_COMPLEX macro without arguments.
38933         (clog10_test): Likewise.
38934         (conj_test): Likewise.
38935         (copysign_test): Use END macro without arguments.
38936         (cos_test): Likewise.
38937         (cos_test_tonearest): Likewise.
38938         (cos_test_towardzero): Likewise.
38939         (cos_test_downward): Likewise.
38940         (cos_test_upward): Likewise.
38941         (cosh_test): Likewise.
38942         (cosh_test_tonearest): Likewise.
38943         (cosh_test_towardzero): Likewise.
38944         (cosh_test_downward): Likewise.
38945         (cosh_test_upward): Likewise.
38946         (cpow_test): Use END_COMPLEX macro without arguments.
38947         (cproj_test): Likewise.
38948         (creal_test): Use END macro without arguments.
38949         (csin_test): Use END_COMPLEX macro without arguments.
38950         (csinh_test): Likewise.
38951         (csqrt_test): Likewise.
38952         (ctan_test): Likewise.
38953         (ctan_test_tonearest): Likewise.
38954         (ctan_test_towardzero): Likewise.
38955         (ctan_test_downward): Likewise.
38956         (ctan_test_upward): Likewise.
38957         (ctanh_test): Likewise.
38958         (ctanh_test_tonearest): Likewise.
38959         (ctanh_test_towardzero): Likewise.
38960         (ctanh_test_downward): Likewise.
38961         (ctanh_test_upward): Likewise.
38962         (erf_test): Use END macro without arguments.
38963         (erfc_test): Likewise.
38964         (exp_test): Likewise.
38965         (exp_test_tonearest): Likewise.
38966         (exp_test_towardzero): Likewise.
38967         (exp_test_downward): Likewise.
38968         (exp_test_upward): Likewise.
38969         (exp10_test): Likewise.
38970         (exp2_test): Likewise.
38971         (expm1_test): Likewise.
38972         (fabs_test): Likewise.
38973         (fdim_test): Likewise.
38974         (finite_test): Likewise.
38975         (floor_test): Likewise.
38976         (fma_test): Likewise.
38977         (fma_test_towardzero): Likewise.
38978         (fma_test_downward): Likewise.
38979         (fma_test_upward): Likewise.
38980         (fmax_test): Likewise.
38981         (fmin_test): Likewise.
38982         (fmod_test): Likewise.
38983         (fpclassify_test): Likewise.
38984         (frexp_test): Likewise.
38985         (gamma_test): Likewise.
38986         (hypot_test): Likewise.
38987         (ilogb_test): Likewise.
38988         (isfinite_test): Likewise.
38989         (isgreater_test): Likewise.
38990         (isgreaterequal_test): Likewise.
38991         (isinf_test): Likewise.
38992         (isless_test): Likewise.
38993         (islessequal_test): Likewise.
38994         (islessgreater_test): Likewise.
38995         (isnan_test): Likewise.
38996         (isnormal_test): Likewise.
38997         (issignaling_test): Likewise.
38998         (isunordered_test): Likewise.
38999         (j0_test): Likewise.
39000         (j1_test): Likewise.
39001         (jn_test): Likewise.
39002         (ldexp_test): Likewise.
39003         (lgamma_test): Likewise.
39004         (lrint_test): Likewise.
39005         (lrint_test_tonearest): Likewise.
39006         (lrint_test_towardzero): Likewise.
39007         (lrint_test_downward): Likewise.
39008         (lrint_test_upward): Likewise.
39009         (llrint_test): Likewise.
39010         (llrint_test_tonearest): Likewise.
39011         (llrint_test_towardzero): Likewise.
39012         (llrint_test_downward): Likewise.
39013         (llrint_test_upward): Likewise.
39014         (log_test): Likewise.
39015         (log10_test): Likewise.
39016         (log1p_test): Likewise.
39017         (log2_test): Likewise.
39018         (logb_test): Likewise.
39019         (logb_test_downward): Likewise.
39020         (lround_test): Likewise.
39021         (llround_test): Likewise.
39022         (modf_test): Likewise.
39023         (nearbyint_test): Likewise.
39024         (nextafter_test): Likewise.
39025         (nexttoward_test): Likewise.
39026         (pow_test): Likewise.
39027         (pow_test_tonearest): Likewise.
39028         (pow_test_towardzero): Likewise.
39029         (pow_test_downward): Likewise.
39030         (pow_test_upward): Likewise.
39031         (remainder_test): Likewise.
39032         (remainder_test_tonearest): Likewise.
39033         (remainder_test_towardzero): Likewise.
39034         (remainder_test_downward): Likewise.
39035         (remainder_test_upward): Likewise.
39036         (remquo_test): Likewise.
39037         (rint_test): Likewise.
39038         (rint_test_tonearest): Likewise.
39039         (rint_test_towardzero): Likewise.
39040         (rint_test_downward): Likewise.
39041         (rint_test_upward): Likewise.
39042         (round_test): Likewise.
39043         (scalb_test): Likewise.
39044         (scalbn_test): Likewise.
39045         (scalbln_test): Likewise.
39046         (signbit_test): Likewise.
39047         (sin_test): Likewise.
39048         (sin_test_tonearest): Likewise.
39049         (sin_test_towardzero): Likewise.
39050         (sin_test_downward): Likewise.
39051         (sin_test_upward): Likewise.
39052         (sincos_test): Likewise.
39053         (sinh_test): Likewise.
39054         (sinh_test_tonearest): Likewise.
39055         (sinh_test_towardzero): Likewise.
39056         (sinh_test_downward): Likewise.
39057         (sinh_test_upward): Likewise.
39058         (sqrt_test): Likewise.
39059         (tan_test): Likewise.
39060         (tan_test_tonearest): Likewise.
39061         (tan_test_towardzero): Likewise.
39062         (tan_test_downward): Likewise.
39063         (tan_test_upward): Likewise.
39064         (tanh_test): Likewise.
39065         (tgamma_test): Likewise.
39066         (trunc_test): Likewise.
39067         (y0_test): Likewise.
39068         (y1_test): Likewise.
39069         (yn_test): Likewise.
39070         (significand_test): Likewise.
39072 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
39074         [BZ #15381]
39075         * libio/genops.c (_IO_no_init): Initialize wide struct info.
39077 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
39079         [BZ #14894]
39080         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
39081         __ppc_mdoio and __ppc_mdoom.
39082         * manual/platform.texi: Document new functions __ppc_yield,
39083         __ppc_mdoio and __ppc_mdoom.
39085 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
39087         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
39088         (main): Mention "tls" pseudo-hwcap is legacy.
39089         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
39091 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
39093         * math/gen-libm-test.pl (parse_args): Output only string of
39094         arguments as text for test name, not full call or descriptions of
39095         tests for extra outputs.
39096         (generate_testfile): Do not pass function name to parse_args.
39097         Generate this_func variable from START.
39098         * math/libm-test.inc (struct test_f_f_data): Rename test_name
39099         field to arg_str.
39100         (struct test_ff_f_data): Likewise.
39101         (test_ff_f_data_nexttoward): Likewise.
39102         (struct test_fi_f_data): Likewise.
39103         (struct test_fl_f_data): Likewise.
39104         (struct test_if_f_data): Likewise.
39105         (struct test_fff_f_data): Likewise.
39106         (struct test_c_f_data): Likewise.
39107         (struct test_f_f1_data): Likewise.  Remove field extra_name.
39108         (struct test_fF_f1_data): Likewise.
39109         (struct test_ffI_f1_data): Likewise.
39110         (struct test_c_c_data): Rename test_name field to arg_str.
39111         (struct test_cc_c_data): Likewise.
39112         (struct test_f_i_data): Likewise.
39113         (struct test_ff_i_data): Likewise.
39114         (struct test_f_l_data): Likewise.
39115         (struct test_f_L_data): Likewise.
39116         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
39117         and extra2_name.
39118         (COMMON_TEST_SETUP): New macro.
39119         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
39120         (COMMON_TEST_CLEANUP): Likewise.
39121         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
39122         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
39123         macros.
39124         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
39125         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
39126         macros.
39127         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
39128         (RUN_TEST_fff_f): Take argument string.  Call new setup and
39129         cleanup macros.
39130         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
39131         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
39132         macros.
39133         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
39134         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
39135         macros.
39136         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
39137         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
39138         cleanup macros.
39139         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
39140         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
39141         cleanup macros.
39142         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
39143         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
39144         cleanup macros.
39145         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
39146         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
39147         macros.
39148         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
39149         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
39150         macros.
39151         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
39152         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
39153         macros.
39154         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
39155         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
39156         cleanup macros.
39157         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
39158         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
39159         cleanup macros.
39160         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
39161         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
39162         macros.
39163         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
39164         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
39165         cleanup macros.
39166         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
39167         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
39168         macros.
39169         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
39170         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
39171         macros.
39172         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
39173         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
39174         cleanup macros.
39175         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
39177 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
39179         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
39180         to _sifields.sigfault.
39181         (si_addr_lsb): Define new macro.
39182         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
39183         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39184         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
39186 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
39188         [BZ #15441]
39189         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
39190         returns -1.
39191         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
39192         null return -1.
39193         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
39194         loading the domain.
39196 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
39198         * math/gen-libm-test.pl (parse_args): Do not include expected
39199         result in test name.
39200         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
39201         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39202         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39203         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39204         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39207 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39209         * benchtests/Makefile: Sort function entries.
39211         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
39212         tanh, asinh, acosh, atanh.
39213         * benchtests/acos-inputs: New file.
39214         * benchtests/acosh-inputs: New file.
39215         * benchtests/asin-inputs: New file.
39216         * benchtests/asinh-inputs: New file.
39217         * benchtests/atanh-inputs: New file.
39218         * benchtests/cosh-inputs: New file.
39219         * benchtests/log-inputs: New file.
39220         * benchtests/sinh-inputs: New file.
39221         * benchtests/tanh-inputs: New file.
39223 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
39225         [BZ #15339]
39226         * posix/tst-getaddrinfo4.c: New test.
39227         * posix/Makefile (tests): Add it.
39229 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39231         [BZ #15339]
39232         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
39233         when no services were used.
39234         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
39235         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
39237 2013-05-21  Andreas Schwab  <schwab@suse.de>
39239         [BZ #15014]
39240         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
39241         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
39242         successful.
39243         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
39244         redundant variable declarations and reallocation of buffer when
39245         parsing as IPv6 address.  Always set NSS status when called from
39246         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
39247         buffer too small.  Correct computation of needed size.
39248         * nss/Makefile (tests): Add test-digits-dots.
39249         * nss/test-digits-dots.c: New test.
39251 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39253         * benchtests/Makefile: Remove instructions for adding
39254         benchmark tests.
39255         * benchtests/README: New file to explain how to execute and
39256         enhance the benchmark tests.
39258 2013-05-21  Andreas Schwab  <schwab@suse.de>
39260         [BZ #15493]
39261         * setjmp/Makefile (tests): Add tst-sigsetjmp.
39262         * setjmp/tst-sigsetjmp.c: New test.
39264 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
39266         * sysdeps/x86_64/memset.S (memset): New implementation.
39267         (__bzero): Likewise.
39268         (__memset_tail): New function.
39270 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
39272         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
39273         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
39274         __memcpy_sse2_unaligned ifunc selection.
39275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39276         Add memcpy-sse2-unaligned.S.
39277         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39278         Add: __memcpy_sse2_unaligned.
39280 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
39282         [BZ #15490]
39283         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39284         math_force_eval before restoring floating-point envrionment.
39285         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
39286         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
39287         Likewise.
39288         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
39289         <math_private.h>.
39290         (__nearbyintl): Use math_force_eval before restoring
39291         floating-point environment.
39292         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
39294         * math/gen-libm-test.pl (special_functions): Remove.
39295         (parse_args): Don't handle TEST_extra.  Handle functions with no
39296         return value.
39297         * math/libm-test.inc (struct test_sincos_data): Replace with
39298         struct test_fFF_11_data.
39299         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
39300         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
39301         (sincos_test_data): Change element type to struct
39302         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
39303         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
39304         RUN_TEST_LOOP_sincos.
39305         * math/README.libm-test: Don't mention special handling of
39306         individual functions.
39307         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
39308         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39309         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39310         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39311         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39314         * math/gen-libm-test.pl (get_variable): Remove function.
39315         (parse_args): Don't show pointer parameters to call in test
39316         names.  Use "extra output N" in test names for extra outputs
39317         rather than naming variables.
39319 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
39321         [BZ #15488]
39322         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
39323         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
39324         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
39325         double tests.
39326         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
39327         disable.
39328         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
39329         check_long_double.
39331         * math/gen-libm-test.pl (@tests): Remove variable.
39332         ($count): Likewise.
39333         (new_test): Remove function.
39334         (show_exceptions): New function.
39335         (special_functions): Use show_exceptions instead of new_test.
39336         (parse_args): Likewise.
39337         (generate_testfile): Pass only function name in generated call to
39338         print_max_error or print_complex_max_error.
39339         (get_ulps): Do not handle complex tests specially.
39340         (output_test): Rename to ...
39341         (get_all_ulps_for_test): ... this.  Return a string rather than
39342         printing to a file.  Require ulps to be present.
39343         (output_ulps): Generate arrays rather than #defines.
39344         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
39345         (struct ulp_data): New type.
39346         (BUILD_COMPLEX_ULP): Remove macro.
39347         (compare_ulp_data): New function.
39348         (find_ulps): Likewise.
39349         (find_test_ulps): Likewise.
39350         (find_function_ulps): Likewise.
39351         (find_complex_function_ulps): Likewise.
39352         (print_max_error): Determine allowed ulps using
39353         find_function_ulps.
39354         (print_complex_max_error): Determine allowed ulps using
39355         find_complex_function_ulps.
39356         (check_float_internal): Determine max ulps using find_test_ulps.
39357         (check_float): Do not take max_ulp parameter.  Update call to
39358         check_float_internal.
39359         (check_complex): Likewise.
39360         (check_int): Do not take max_ulp parameter.
39361         (check_long): Likewise.
39362         (check_bool): Likewise.
39363         (check_longlong): Likewise.
39364         (struct test_f_f_data): Remove max_ulp field.
39365         (struct test_ff_f_data): Likewise.
39366         (struct test_ff_f_data_nexttoward): Likewise.
39367         (struct test_fi_f_data): Likewise.
39368         (struct test_fl_f_data): Likewise.
39369         (struct test_if_f_data): Likewise.
39370         (struct test_fff_f_data): Likewise.
39371         (struct test_c_f_data): Likewise.
39372         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
39373         (struct test_fF_f1_data): Likewise.
39374         (struct test_ffI_f1_data): Likewise.
39375         (struct test_c_c_data): Remove max_ulp field.
39376         (struct test_cc_c_data): Likewise.
39377         (struct test_f_i_data): Likewise.
39378         (struct test_ff_i_data): Likewise.
39379         (struct test_f_l_data): Likewise.
39380         (struct test_f_L_data): Likewise.
39381         (struct test_sincos_data): Likewise.
39382         (RUN_TEST_f_f): Do not handle ulps.
39383         (RUN_TEST_LOOP_f_f): Likewise.
39384         (RUN_TEST_2_f): Likewise.
39385         (RUN_TEST_LOOP_2_f): Likewise.
39386         (RUN_TEST_fff_f): Likewise.
39387         (RUN_TEST_LOOP_fff_f): Likewise.
39388         (RUN_TEST_c_f): Likewise.
39389         (RUN_TEST_LOOP_c_f): Likewise.
39390         (RUN_TEST_f_f1): Likewise.
39391         (RUN_TEST_LOOP_f_f1): Likewise.
39392         (RUN_TEST_fF_f1): Likewise.
39393         (RUN_TEST_LOOP_fF_f1): Likewise.
39394         (RUN_TEST_fI_f1): Likewise.
39395         (RUN_TEST_LOOP_fI_f1): Likewise.
39396         (RUN_TEST_ffI_f1): Likewise.
39397         (RUN_TEST_LOOP_ffI_f1): Likewise.
39398         (RUN_TEST_c_c): Likewise.
39399         (RUN_TEST_LOOP_c_c): Likewise.
39400         (RUN_TEST_cc_c): Likewise.
39401         (RUN_TEST_LOOP_cc_c): Likewise.
39402         (RUN_TEST_f_i): Likewise.
39403         (RUN_TEST_LOOP_f_i): Likewise.
39404         (RUN_TEST_f_i_tg): Likewise.
39405         (RUN_TEST_LOOP_f_i_tg): Likewise.
39406         (RUN_TEST_ff_i_tg): Likewise.
39407         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39408         (RUN_TEST_f_b): Likewise.
39409         (RUN_TEST_LOOP_f_b): Likewise.
39410         (RUN_TEST_f_b_tg): Likewise.
39411         (RUN_TEST_LOOP_f_b_tg): Likewise.
39412         (RUN_TEST_f_l): Likewise.
39413         (RUN_TEST_LOOP_f_l): Likewise.
39414         (RUN_TEST_f_L): Likewise.
39415         (RUN_TEST_LOOP_f_L): Likewise.
39416         (RUN_TEST_sincos): Likewise.
39417         (RUN_TEST_LOOP_sincos): Likewise.
39419 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
39421         [BZ #15480]
39422         [BZ #15485]
39423         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
39424         main case of finite arguments, set rounding mode to FE_TONEAREST
39425         and discard exceptions.
39426         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
39427         exceptions.
39428         (remainder_tonearest_test_data): New variable.
39429         (remainder_test_tonearest): New function.
39430         (remainder_towardzero_test_data): New variable.
39431         (remainder_test_towardzero): New function.
39432         (remainder_downward_test_data): New variable.
39433         (remainder_test_downward): New function.
39434         (remainder_upward_test_data): New variable.
39435         (remainder_test_upward): New function.
39436         (main): Call the new test functions.
39438         * math/libm-test.inc (struct test_f_f1_data): Remove field
39439         extra_init.
39440         (struct test_fF_f1_data): Likewise.
39441         (struct test_ffI_f1_data): Likewise.
39442         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
39443         based on value of EXTRA_EXPECTED.
39444         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
39445         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
39446         EXTRA_VAR based on value of EXTRA_EXPECTED.
39447         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
39448         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
39449         EXTRA_VAR based on value of EXTRA_EXPECTED.
39450         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
39451         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
39452         EXTRA_VAR based on value of EXTRA_EXPECTED.
39453         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
39454         * math/gen-libm-test.pl (parse_args): Don't output initializers
39455         for extra output values.
39457         * math/libm-test.inc (check_int): Expect result to be exactly
39458         equal to expected value and do not handle ulps.
39459         (check_long): Likewise.
39460         (check_longlong): Likewise.
39462         * math/libm-test.inc (ceil_test_data): Test for "inexact"
39463         exceptions.
39464         (cimag_test_data): Likewise.
39465         (conj_test_data): Likewise.
39466         (copysign_test_data): Likewise.
39467         (cproj_test_data): Likewise.
39468         (creal_test_data): Likewise.
39469         (fabs_test_data): Likewise.
39470         (fdim_test_data): Likewise.
39471         (finite_test_data): Likewise.
39472         (floor_test_data): Likewise.
39473         (fmax_test_data): Likewise.
39474         (fmin_test_data): Likewise.
39475         (fmod_test_data): Likewise.
39476         (fpclassify_test_data): Likewise.
39477         (frexp_test_data): Likewise.
39478         (ilogb_test_data): Likewise.
39479         (isfinite_test_data): Likewise.
39480         (isgreater_test_data): Likewise.
39481         (isgreaterequal_test_data): Likewise.
39482         (isinf_test_data): Likewise.
39483         (isless_test_data): Likewise.
39484         (islessequal_test_data): Likewise.
39485         (islessgreater_test_data): Likewise.
39486         (isnan_test_data): Likewise.
39487         (isnormal_test_data): Likewise.
39488         (issignaling_test_data): Likewise.
39489         (isunordered_test_data): Likewise.
39490         (ldexp_test_data): Likewise.
39491         (lrint_test_data): Likewise.
39492         (lrint_test_data) [TEST_FLOAT]: Disable one test.
39493         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
39494         (lrint_tonearest_test_data): Test for "inexact" exceptions.
39495         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
39496         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
39497         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
39498         test input.
39499         (lrint_towardzero_test_data): Test for "inexact" exceptions.
39500         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
39501         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
39502         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
39503         that test input.
39504         (lrint_downward_test_data): Test for "inexact" exceptions.
39505         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39506         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
39507         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
39508         test input.
39509         (lrint_upward_test_data): Test for "inexact" exceptions.
39510         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
39511         test input.
39512         (llrint_test_data): Test for "inexact" exceptions.
39513         (llrint_test_data) [TEST_FLOAT]: Disable one test.
39514         (llrint_tonearest_test_data): Test for "inexact" exceptions.
39515         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
39516         (llrint_towardzero_test_data): Test for "inexact" exceptions.
39517         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
39518         (llrint_downward_test_data): Test for "inexact" exceptions.
39519         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39520         (llrint_upward_test_data): Test for "inexact" exceptions.
39521         (logb_test_data): Likewise.
39522         (logb_downward_test_data): Likewise.
39523         (nextafter_test_data): Likewise.
39524         (nexttoward_test_data): Likewise.
39525         (remainder_test_data): Likewise.
39526         (remquo_test_data): Likewise.
39527         (scalbn_test_data): Likewise.
39528         (scalbln_test_data): Likewise.
39529         (signbit_test_data): Likewise.
39530         (sqrt_test_data): Likewise.
39531         (significand_test_data): Likewise.
39533 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39535         [BZ #15424]
39536         * benchtests/bench-modf.c (struct args): Mark arg0 as
39537         volatile.
39538         * scripts/bench.pl: Mark members of struct args as volatile.
39540 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39542         [BZ # 15497]
39543         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
39544         negative infinity on POWER6 or lower.
39545         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
39547 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
39549         [BZ #15442]
39550         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
39551         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
39552         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
39553         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
39554         (_FP_SETQNAN): New macro.
39555         (_FP_SETQNAN_SEMIRAW): Likewise.
39556         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
39557         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
39558         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
39559         (FP_EXTEND): Use _FP_FRAC_SNANP.
39560         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
39561         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
39562         into account.
39563         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39564         New macro.
39565         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39566         Likewise.
39568 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39570         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
39571         with DIVIDE_BY_ZERO_EXCEPTION.
39572         (gamma_test_data): Likewise.
39573         (lgamma_test_data): Likewise.
39574         (log_test_data): Likewise.
39575         (log10_test_data): Likewise.
39576         (log2_test_data): Likewise.
39577         (tgamma_test_data): Likewise.
39579         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
39580         (acos_test_tonearest): Likewise.
39581         (acos_test_towardzero): Likewise.
39582         (acos_test_downward): Likewise.
39583         (acos_test_upward): Likewise.
39584         (acosh_test): Likewise.
39585         (asin_test): Likewise.
39586         (asin_test_tonearest): Likewise.
39587         (asin_test_towardzero): Likewise.
39588         (asin_test_downward): Likewise.
39589         (asin_test_upward): Likewise.
39590         (asinh_test): Likewise.
39591         (atan_test): Likewise.
39592         (atanh_test): Likewise.
39593         (atan2_test): Likewise.
39594         (cabs_test): Likewise.
39595         (cacos_test): Likewise.
39596         (cacosh_test): Likewise.
39597         (casin_test): Likewise.
39598         (casinh_test): Likewise.
39599         (catan_test): Likewise.
39600         (catanh_test): Likewise.
39601         (cbrt_test): Likewise.
39602         (ccos_test): Likewise.
39603         (ccosh_test): Likewise.
39604         (cexp_test): Likewise.
39605         (clog_test): Likewise.
39606         (clog10_test): Likewise.
39607         (cos_test): Likewise.
39608         (cos_test_tonearest): Likewise.
39609         (cos_test_towardzero): Likewise.
39610         (cos_test_downward): Likewise.
39611         (cos_test_upward): Likewise.
39612         (cosh_test): Likewise.
39613         (cosh_test_tonearest): Likewise.
39614         (cosh_test_towardzero): Likewise.
39615         (cosh_test_downward): Likewise.
39616         (cosh_test_upward): Likewise.
39617         (cpow_test): Likewise.
39618         (csin_test): Likewise.
39619         (csinh_test): Likewise.
39620         (csqrt_test): Likewise.
39621         (ctan_test): Likewise.
39622         (ctan_test_tonearest): Likewise.
39623         (ctan_test_towardzero): Likewise.
39624         (ctan_test_downward): Likewise.
39625         (ctan_test_upward): Likewise.
39626         (ctanh_test): Likewise.
39627         (ctanh_test_tonearest): Likewise.
39628         (ctanh_test_towardzero): Likewise.
39629         (ctanh_test_downward): Likewise.
39630         (ctanh_test_upward): Likewise.
39631         (erf_test): Likewise.
39632         (erfc_test): Likewise.
39633         (exp_test): Likewise.
39634         (exp_test_tonearest): Likewise.
39635         (exp_test_towardzero): Likewise.
39636         (exp_test_downward): Likewise.
39637         (exp_test_upward): Likewise.
39638         (exp10_test): Likewise.
39639         (exp2_test): Likewise.
39640         (expm1_test): Likewise.
39641         (fmod_test): Likewise.
39642         (gamma_test): Likewise.
39643         (hypot_test): Likewise.
39644         (j0_test): Likewise.
39645         (j1_test): Likewise.
39646         (jn_test): Likewise.
39647         (lgamma_test): Likewise.
39648         (log_test): Likewise.
39649         (log10_test): Likewise.
39650         (log1p_test): Likewise.
39651         (log2_test): Likewise.
39652         (logb_test_downward): Likewise.
39653         (pow_test): Likewise.
39654         (pow_test_tonearest): Likewise.
39655         (pow_test_towardzero): Likewise.
39656         (pow_test_downward): Likewise.
39657         (pow_test_upward): Likewise.
39658         (remainder_test): Likewise.
39659         (remquo_test): Likewise.
39660         (sin_test): Likewise.
39661         (sin_test_tonearest): Likewise.
39662         (sin_test_towardzero): Likewise.
39663         (sin_test_downward): Likewise.
39664         (sin_test_upward): Likewise.
39665         (sincos_test): Likewise.
39666         (sinh_test): Likewise.
39667         (sinh_test_tonearest): Likewise.
39668         (sinh_test_towardzero): Likewise.
39669         (sinh_test_downward): Likewise.
39670         (sinh_test_upward): Likewise.
39671         (sqrt_test): Likewise.
39672         (tan_test): Likewise.
39673         (tan_test_tonearest): Likewise.
39674         (tan_test_towardzero): Likewise.
39675         (tan_test_downward): Likewise.
39676         (tan_test_upward): Likewise.
39677         (tanh_test): Likewise.
39678         (tgamma_test): Likewise.
39679         (y0_test): Likewise.
39680         (y1_test): Likewise.
39681         (yn_test): Likewise.
39683         * math/gen-libm-test.pl (adjust_arg): Remove function.
39684         (special_function): Remove argument $in_func.  Only handle
39685         generating output for tables of tests, not inside functions.
39686         (parse_args): Likewise.
39687         (generate_testfile): Remove variable $in_func.  Update call to
39688         parse_args.
39689         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
39690         (MINUS_ZERO_INIT): Rename macro to minus_zero.
39691         (PLUS_INFTY_INIT): Rename macro to plus_infty.
39692         (MINUS_INFTY_INIT): Rename macro to minus_infty.
39693         (QNAN_VALUE_INIT): Rename macro to qnan_value.
39694         (MAX_VALUE_INIT): Rename macro to max_value.
39695         (MIN_VALUE_INIT): Rename macro to min_value.
39696         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
39697         (plus_zero): Remove variable.
39698         (minus_zero): Likewise.
39699         (plus_infty): Likewise.
39700         (minus_infty): Likewise.
39701         (qnan_value): Likewise.
39702         (max_value): Likewise.
39703         (min_value): Likewise.
39704         (min_subnorm_value): Likewise.
39706 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39708         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
39709         uint64_t or uint32_t usage.
39710         * crypt/sha256-block.c: Likewise.
39711         * crypt/sha256-crypt.c: Likewise.
39712         * crypt/sha256.c: Likewise.
39713         * crypt/sha512-block.c: Likewise.
39714         * crypt/sha512-crypt.c: Likewise.
39715         * crypt/sha512.c: Likewise.
39716         * debug/backtrace-tst.c: Likewise.
39717         * debug/pcprofiledump.c: Likewise.
39718         * elf/cache.c: Likewise.
39719         * elf/dl-cache.c: Likewise.
39720         * elf/dl-misc.c: Likewise.
39721         * elf/dl-profile.c: Likewise.
39722         * elf/dl-support.c: Likewise.
39723         * elf/ldconfig.c: Likewise.
39724         * elf/sprof.c: Likewise.
39725         * iconv/dummy-repertoire.c: Likewise.
39726         * iconv/iconv_charmap.c: Likewise.
39727         * iconv/skeleton.c: Likewise.
39728         * iconvdata/8bit-generic.c: Likewise.
39729         * iconvdata/cp737.h: Likewise.
39730         * iconvdata/cp775.h: Likewise.
39731         * iconvdata/ibm1008.h: Likewise.
39732         * iconvdata/ibm1025.h: Likewise.
39733         * iconvdata/ibm1046.h: Likewise.
39734         * iconvdata/ibm1097.h: Likewise.
39735         * iconvdata/ibm1112.h: Likewise.
39736         * iconvdata/ibm1122.h: Likewise.
39737         * iconvdata/ibm1123.h: Likewise.
39738         * iconvdata/ibm1124.h: Likewise.
39739         * iconvdata/ibm1129.h: Likewise.
39740         * iconvdata/ibm1130.h: Likewise.
39741         * iconvdata/ibm1132.h: Likewise.
39742         * iconvdata/ibm1133.h: Likewise.
39743         * iconvdata/ibm1137.h: Likewise.
39744         * iconvdata/ibm1140.h: Likewise.
39745         * iconvdata/ibm1141.h: Likewise.
39746         * iconvdata/ibm1142.h: Likewise.
39747         * iconvdata/ibm1143.h: Likewise.
39748         * iconvdata/ibm1144.h: Likewise.
39749         * iconvdata/ibm1145.h: Likewise.
39750         * iconvdata/ibm1146.h: Likewise.
39751         * iconvdata/ibm1147.h: Likewise.
39752         * iconvdata/ibm1148.h: Likewise.
39753         * iconvdata/ibm1149.h: Likewise.
39754         * iconvdata/ibm1153.h: Likewise.
39755         * iconvdata/ibm1154.h: Likewise.
39756         * iconvdata/ibm1155.h: Likewise.
39757         * iconvdata/ibm1156.h: Likewise.
39758         * iconvdata/ibm1157.h: Likewise.
39759         * iconvdata/ibm1158.h: Likewise.
39760         * iconvdata/ibm1160.h: Likewise.
39761         * iconvdata/ibm1161.h: Likewise.
39762         * iconvdata/ibm1162.h: Likewise.
39763         * iconvdata/ibm1163.h: Likewise.
39764         * iconvdata/ibm1164.h: Likewise.
39765         * iconvdata/ibm1166.h: Likewise.
39766         * iconvdata/ibm1167.h: Likewise.
39767         * iconvdata/ibm12712.h: Likewise.
39768         * iconvdata/ibm1390.h: Likewise.
39769         * iconvdata/ibm1399.h: Likewise.
39770         * iconvdata/ibm16804.h: Likewise.
39771         * iconvdata/ibm4517.h: Likewise.
39772         * iconvdata/ibm4899.h: Likewise.
39773         * iconvdata/ibm4909.h: Likewise.
39774         * iconvdata/ibm4971.h: Likewise.
39775         * iconvdata/ibm5347.h: Likewise.
39776         * iconvdata/ibm803.h: Likewise.
39777         * iconvdata/ibm856.h: Likewise.
39778         * iconvdata/ibm901.h: Likewise.
39779         * iconvdata/ibm902.h: Likewise.
39780         * iconvdata/ibm9030.h: Likewise.
39781         * iconvdata/ibm9066.h: Likewise.
39782         * iconvdata/ibm921.h: Likewise.
39783         * iconvdata/ibm922.h: Likewise.
39784         * iconvdata/ibm9448.h: Likewise.
39785         * iconvdata/isiri-3342.h: Likewise.
39786         * iconvdata/jis0201.h: Likewise.
39787         * include/link.h: Likewise.
39788         * include/netdb.h: Likewise.
39789         * inet/check_native.c: Likewise.
39790         * inet/check_pf.c: Likewise.
39791         * inet/getipv4sourcefilter.c: Likewise.
39792         * inet/getnameinfo.c: Likewise.
39793         * inet/getsourcefilter.c: Likewise.
39794         * inet/htonl.c: Likewise.
39795         * inet/setipv4sourcefilter.c: Likewise.
39796         * inet/setsourcefilter.c: Likewise.
39797         * inet/test-inet6_opt.c: Likewise.
39798         * inet/tst-network.c: Likewise.
39799         * locale/C-collate.c: Likewise.
39800         * locale/C-ctype.c: Likewise.
39801         * locale/C-time.c: Likewise.
39802         * locale/C-translit.h: Likewise.
39803         * locale/loadarchive.c: Likewise.
39804         * locale/programs/3level.h: Likewise.
39805         * locale/programs/charmap.c: Likewise.
39806         * locale/programs/charmap.h: Likewise.
39807         * locale/programs/ld-address.c: Likewise.
39808         * locale/programs/ld-collate.c: Likewise.
39809         * locale/programs/ld-ctype.c: Likewise.
39810         * locale/programs/ld-identification.c: Likewise.
39811         * locale/programs/ld-measurement.c: Likewise.
39812         * locale/programs/ld-messages.c: Likewise.
39813         * locale/programs/ld-monetary.c: Likewise.
39814         * locale/programs/ld-name.c: Likewise.
39815         * locale/programs/ld-numeric.c: Likewise.
39816         * locale/programs/ld-paper.c: Likewise.
39817         * locale/programs/ld-telephone.c: Likewise.
39818         * locale/programs/ld-time.c: Likewise.
39819         * locale/programs/linereader.c: Likewise.
39820         * locale/programs/locale.c: Likewise.
39821         * locale/programs/locarchive.c: Likewise.
39822         * locale/programs/locfile.h: Likewise.
39823         * locale/programs/repertoire.c: Likewise.
39824         * locale/programs/simple-hash.c: Likewise.
39825         * locale/programs/simple-hash.h: Likewise.
39826         * malloc/memusage.c: Likewise.
39827         * malloc/memusagestat.c: Likewise.
39828         * nis/nis_defaults.c: Likewise.
39829         * nis/nis_hash.c: Likewise.
39830         * nis/nis_print.c: Likewise.
39831         * nis/nis_xdr.c: Likewise.
39832         * nscd/connections.c: Likewise.
39833         * nscd/hstcache.c: Likewise.
39834         * nscd/nscd_gethst_r.c: Likewise.
39835         * nscd/nscd_getserv_r.c: Likewise.
39836         * nscd/nscd_helper.c: Likewise.
39837         * nscd/servicescache.c: Likewise.
39838         * nss/makedb.c: Likewise.
39839         * nss/nss_db/db-XXX.c: Likewise.
39840         * nss/nss_db/db-initgroups.c: Likewise.
39841         * nss/nss_db/db-netgrp.c: Likewise.
39842         * nss/nss_files/files-network.c: Likewise.
39843         * nss/nss_files/files-parse.c: Likewise.
39844         * posix/bug-regex5.c: Likewise.
39845         * posix/fnmatch_loop.c: Likewise.
39846         * posix/regcomp.c: Likewise.
39847         * posix/regexec.c: Likewise.
39848         * posix/tst-rfc3484-2.c: Likewise.
39849         * posix/tst-rfc3484-3.c: Likewise.
39850         * posix/tst-rfc3484.c: Likewise.
39851         * resolv/nss_dns/dns-canon.c: Likewise.
39852         * resolv/nss_dns/dns-network.c: Likewise.
39853         * resolv/res_init.c: Likewise.
39854         * resolv/res_mkquery.c: Likewise.
39855         * resolv/tst-aton.c: Likewise.
39856         * stdlib/cxa_atexit.c: Likewise.
39857         * stdlib/cxa_finalize.c: Likewise.
39858         * stdlib/gen-fpioconst.c: Likewise.
39859         * stdlib/strtol_l.c: Likewise.
39860         * string/tst-endian.c: Likewise.
39861         * sunrpc/auth_des.c: Likewise.
39862         * sunrpc/clnt_udp.c: Likewise.
39863         * sunrpc/rtime.c: Likewise.
39864         * sunrpc/svcauth_des.c: Likewise.
39865         * sunrpc/xdr.c: Likewise.
39866         * sunrpc/xdr_intXX_t.c: Likewise.
39867         * sunrpc/xdr_rec.c: Likewise.
39868         * sysdeps/generic/ldconfig.h: Likewise.
39869         * sysdeps/generic/ldsodefs.h: Likewise.
39870         * sysdeps/generic/memusage.h: Likewise.
39871         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39872         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
39873         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
39874         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39875         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39876         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39877         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39878         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39879         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39880         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39881         * sysdeps/posix/getaddrinfo.c: Likewise.
39882         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39883         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39884         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39885         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39886         * sysdeps/powerpc/test-gettimebase.c: Likewise.
39887         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39888         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
39889         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
39890         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
39891         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
39892         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39893         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39894         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
39895         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
39896         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
39897         * sysdeps/x86_64/dl-tls.h: Likewise.
39898         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
39899         * time/alt_digit.c: Likewise.
39900         * time/era.c: Likewise.
39901         * wcsmbs/tst-c16c32-1.c: Likewise.
39903 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39905         * math/libm-test.inc (struct test_sincos_data): New type.
39906         (RUN_TEST_LOOP_sincos): New macro.
39907         (sincos_test_data): New variable.
39908         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
39910 2013-05-16  Richard Henderson  <rth@redhat.com>
39912         * math/atest-exp2.c (LIMB64): New macro.
39913         (CONSTSZ): New macro.
39914         (mp_exp1, mp_exp_m1, mp_log2): New variables.
39915         (hexdig): Move ...
39916         (print_mpn_fp): ... to function scope.
39917         (read_mpn_hex): Remove.
39918         (get_log2): Remove.
39919         (exp2_mpn): Use mp_log2.
39920         (main): Use mp_exp1.
39922 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39924         * math/libm-test.inc: Remove comment about not testing "inexact"
39925         exceptions.
39926         (INEXACT_EXCEPTION): New macro.
39927         (NO_INEXACT_EXCEPTION): Likewise.
39928         (INVALID_EXCEPTION_OK): Update value.
39929         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39930         (OVERFLOW_EXCEPTION_OK): Likewise.
39931         (UNDERFLOW_EXCEPTION_OK): Likewise.
39932         (IGNORE_ZERO_INF_SIGN): Likewise.
39933         (ERRNO_UNCHANGED): Likewise.
39934         (ERRNO_EDOM): Likewise.
39935         (ERRNO_ERANGE): Likewise.
39936         (test_exceptions): Handle testing "inexact" exceptions.
39937         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
39938         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
39939         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
39940         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
39941         INEXACT_EXCEPTION.
39942         (rint_towardzero_test_data): Likewise.
39943         (rint_downward_test_data): Likewise.
39944         (rint_upward_test_data): Likewise.
39946         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
39947         with OVERFLOW_EXCEPTION.
39948         (exp10_test_data): Likewise.
39949         (exp2_test_data): Likewise.
39950         (expm1_test_data): Likewise.
39951         (lgamma_test_data): Likewise.
39952         (pow_test_data): Likewise.
39953         (tgamma_test_data): Likewise.
39954         (yn_test_data): Remove duplicate test of overflow.
39956         * math/libm-test.inc (struct test_cc_c_data): New type.
39957         (RUN_TEST_LOOP_cc_c): New macro.
39958         (cpow_test_data): New variable.
39959         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
39961         * math/libm-test.inc (struct test_f_L_data): New type.
39962         (RUN_TEST_LOOP_f_L): New macro.
39963         (llrint_test_data): New variable.
39964         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
39965         (llrint_tonearest_test_data): New variable.
39966         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
39967         (llrint_towardzero_test_data): New variable.
39968         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
39969         (llrint_downward_test_data): New variable.
39970         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
39971         (llrint_upward_test_data): New variable.
39972         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
39973         (llround_test_data): New variable.
39974         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
39976 2013-05-13  Peter Collingbourne  <pcc@google.com>
39978         * math/atest-exp2.c (get_log2): Remove const attribute.
39980 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
39982         * math/libm-test.inc (struct test_f_l_data): New type.
39983         (RUN_TEST_LOOP_f_l): New macro.
39984         (lrint_test_data): New variable.
39985         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
39986         (lrint_tonearest_test_data): New variable.
39987         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
39988         (lrint_towardzero_test_data): New variable.
39989         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
39990         (lrint_downward_test_data): New variable.
39991         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
39992         (lrint_upward_test_data): New variable.
39993         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
39994         (lround_test_data): New variable.
39995         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
39997 2013-05-15  Peter Collingbourne  <pcc@google.com>
39999         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
40000         (EXTRACT_WORDS64) Use where appropriate.
40001         (INSERT_WORDS64) Likewise.
40003         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
40004         constraints with x constraints.
40005         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
40007         * malloc/obstack.c (_obstack_compat): Add initializer.
40009 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40011         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
40012         si_trapno and add si_addr_lsb to _sifields.sigfault.
40013         (si_trapno): Remove macro.
40014         (si_addr_lsb): Define new macro.
40015         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40017 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
40019         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
40020         instead of TEST_f_l.
40021         (llrint_test_tonearest): Likewise.
40022         (llrint_test_towardzero): Likewise.
40023         (llrint_test_downward): Likewise.
40024         (llrint_test_upward): Likewise.
40025         (llround_test): Likewise.
40027         * math/libm-test.inc (struct test_f_i_data): Add comment.
40028         (RUN_TEST_LOOP_f_b): New macro.
40029         (RUN_TEST_LOOP_f_b_tg): Likewise.
40030         (finite_test_data): New variable.
40031         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
40032         (isfinite_test_data): New variable.
40033         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40034         (isinf_test_data): New variable.
40035         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40036         (isnan_test_data): New variable.
40037         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40038         (isnormal_test_data): New variable.
40039         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40040         (issignaling_test_data): New variable.
40041         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40042         (signbit_test_data): New variable.
40043         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40045         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
40046         with INVALID_EXCEPTION.
40047         (acosh_test_data): Likewise.
40048         (asin_test_data): Likewise.
40049         (atanh_test_data): Likewise.
40050         (fmod_test_data): Likewise.
40051         (log_test_data): Likewise.
40052         (log10_test_data): Likewise.
40053         (log2_test_data): Likewise.
40054         (pow_test_data): Likewise.
40055         (sqrt_test_data): Likewise.
40056         (y0_test_data): Likewise.
40057         (y1_test_data): Likewise.
40058         (yn_test_data): Likewise.
40060         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
40061         function contents.
40063         * math/libm-test.inc (struct test_ff_i_data): New type.
40064         (RUN_TEST_LOOP_ff_i_tg): New macro.
40065         (isgreater_test_data): New variable.
40066         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40067         (isgreaterequal_test_data): New variable.
40068         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40069         (isless_test_data): New variable.
40070         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40071         (islessequal_test_data): New variable.
40072         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40073         (islessgreater_test_data): New variable.
40074         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40075         (isunordered_test_data): New variable.
40076         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40078 2013-05-14  David S. Miller  <davem@davemloft.net>
40080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40082 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
40084         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
40086         * math/libm-test.inc (struct test_fF_f1_data): Change type of
40087         extra_test to int.
40088         (struct test_f_i_data): Change type of max_ulp to int.
40090         * math/libm-test.inc (test_ffI_f1_data): New type.
40091         (RUN_TEST_LOOP_ffI_f1): New macro.
40092         (remquo_test_data): New variable.
40093         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
40095         * setjmp/tst-setjmp-fp.c: New file.
40096         * setjmp/Makefile (tests): Add tst-setjmp-fp.
40097         (link-libm): New variable.
40098         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
40100         * math/libm-test.inc (struct test_f_i_data): New type.
40101         (RUN_TEST_LOOP_f_i): New macro.
40102         (RUN_TEST_LOOP_f_i_tg): Likewise.
40103         (fpclassify_test_data): New variable.
40104         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
40105         (ilogb_test_data): New variable.
40106         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
40108         * math/libm-test.inc (scalbln_test): Correct function name in END
40109         call.
40111         * math/libm-test.inc (struct test_f_f1_data): Add comment.
40112         (RUN_TEST_LOOP_fI_f1): New macro.
40113         (frexp_test_data): New variable.
40114         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
40116         * math/libm-test.inc (struct test_fF_f1_data): New type.
40117         (RUN_TEST_LOOP_fF_f1): New macro.
40118         (modf_test_data): New variable.
40119         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
40121         * math/libm-test.inc (struct test_f_f1_data): New type.
40122         (RUN_TEST_LOOP_f_f1): New macro.
40123         (gamma_test_data): New variable.
40124         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
40125         (lgamma_test_data): New variable.
40126         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
40128 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
40130         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
40131         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
40132         (main): Comment "tls" pseudo-hwcap.
40134 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
40136         * math/libm-test.inc (struct test_fl_f_data): New type.
40137         (RUN_TEST_LOOP_fl_f): New variable.
40138         (scalbln_test_data): New variable.
40139         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
40141         * math/libm-test.inc (struct test_fi_f_data): New type.
40142         (RUN_TEST_LOOP_fi_f): New macro.
40143         (ldexp_test_data): New variable.
40144         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
40145         (scalbn_test_data): New variable.
40146         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
40148         * math/libm-test.inc (struct test_c_f_data): New type.
40149         (RUN_TEST_LOOP_c_f): New macro.
40150         (cabs_test_data): New variable.
40151         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
40152         (carg_test_data): New variable.
40153         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
40154         (cimag_test_data): New variable.
40155         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
40156         (creal_test_data): New variable.
40157         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
40159         * math/libm-test.inc (struct test_if_f_data): New type.
40160         (RUN_TEST_LOOP_if_f): New macro.
40161         (jn_test_data): New variable.
40162         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
40163         (yn_test_data): New variable.
40164         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
40166         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
40168 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40170         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
40171         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
40173 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40175         * benchtests/Makefile (CPPFLAGS-nonlib): Add
40176         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
40177         (bench-deps): Add bench-timing.h.
40178         * benchtests-bench-skeleton.c: Include bench-timing.h.
40179         (main): Use TIMING_* macros instead of clock_gettime.
40180         * benchtests/bench-timing.h: New file.
40182         [BZ #14582]
40183         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
40184         Renamed from _LIB_VERSION.
40185         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
40187 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
40189         * math/libm-test.inc (struct test_fff_f_data): New type.
40190         (RUN_TEST_LOOP_fff_f): New macro.
40191         (fma_test_data): New variable.
40192         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
40193         (fma_towardzero_test_data): New variable.
40194         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
40195         (fma_downward_test_data): New variable.
40196         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
40197         (fma_upward_test_data): New variable.
40198         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
40200         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
40201         (struct test_c_c_data): New type.
40202         (RUN_TEST_LOOP_c_c): New macro.
40203         (cacos_test_data): New variable.
40204         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
40205         (cacosh_test_data): New variable.
40206         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
40207         (casin_test_data): New variable.
40208         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
40209         (casinh_test_data): New variable.
40210         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
40211         (catan_test_data): New variable.
40212         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
40213         (catanh_test_data): New variable.
40214         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
40215         (ccos_test_data): New variable.
40216         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
40217         (ccosh_test_data): New variable.
40218         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
40219         (cexp_test_data): New variable.
40220         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
40221         (clog_test_data): New variable.
40222         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
40223         (clog10_test_data): New variable.
40224         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
40225         (conj_test_data): New variable.
40226         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
40227         (cproj_test_data): New variable.
40228         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
40229         (csin_test_data): New variable.
40230         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
40231         (csinh_test_data): New variable.
40232         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
40233         (csqrt_test_data): New variable.
40234         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
40235         (ctan_test_data): New variable.
40236         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
40237         (ctan_tonearest_test_data): New variable.
40238         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
40239         (ctan_towardzero_test_data): New variable.
40240         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
40241         (ctan_downward_test_data): New variable.
40242         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
40243         (ctan_upward_test_data): New variable.
40244         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
40245         (ctanh_test_data): New variable.
40246         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
40247         (ctanh_tonearest_test_data): New variable.
40248         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
40249         (ctanh_towardzero_test_data): New variable.
40250         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
40251         (ctanh_downward_test_data): New variable.
40252         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
40253         (ctanh_upward_test_data): New variable.
40254         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
40255         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
40256         of BUILD_COMPLEX.
40258         * math/libm-test.inc (struct test_ff_f_data): New type.
40259         (struct test_ff_f_data_nexttoward): Likewise.
40260         (RUN_TEST_LOOP_2_f): New macro.
40261         (RUN_TEST_LOOP_ff_f): Likewise.
40262         (atan2_test_data): New variable.
40263         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
40264         (copysign_test_data): New variable.
40265         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
40266         (fdim_test_data): New variable.
40267         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
40268         (fmax_test_data): New variable.
40269         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
40270         (fmin_test_data): New variable.
40271         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
40272         (fmod_test_data): New variable.
40273         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
40274         (hypot_test_data): New variable.
40275         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
40276         (nextafter_test_data): New variable.
40277         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
40278         (nexttoward_test_data): New variable.
40279         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
40280         (pow_test_data): New variable.
40281         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
40282         (pow_tonearest_test_data): New variable.
40283         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
40284         (pow_towardzero_test_data): New variable.
40285         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
40286         (pow_downward_test_data): New variable.
40287         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
40288         (pow_upward_test_data): New variable.
40289         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
40290         (remainder_test_data): New variable.
40291         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
40292         (scalb_test_data): New variable.
40293         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
40294         * sysdeps/i386/fpu/libm-test-ulps: Update.
40296 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
40298         * math/libm-test.inc (fma_test): Use max_value instead of local
40299         variable fltmax.
40300         (nextafter_test): Likewise.
40302         * math/libm-test.inc (acos_towardzero_test_data): New variable.
40303         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40304         (acos_downward_test_data): New variable.
40305         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40306         (acos_upward_test_data): New variable.
40307         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40308         (acosh_test_data): New variable.
40309         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
40310         (asin_test_data): New variable.
40311         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
40312         (asin_tonearest_test_data): New variable.
40313         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40314         (asin_towardzero_test_data): New variable.
40315         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40316         (asin_downward_test_data): New variable.
40317         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40318         (asin_upward_test_data): New variable.
40319         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40320         (asinh_test_data): New variable.
40321         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
40322         (atan_test_data): New variable.
40323         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
40324         (atanh_test_data): New variable.
40325         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
40326         (cbrt_test_data): New variable.
40327         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
40328         (ceil_test_data): New variable.
40329         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
40330         (cos_test_data): New variable.
40331         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
40332         (cos_tonearest_test_data): New variable.
40333         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40334         (cos_towardzero_test_data): New variable.
40335         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40336         (cos_downward_test_data): New variable.
40337         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40338         (cos_upward_test_data): New variable.
40339         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40340         (cosh_test_data): New variable.
40341         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
40342         (cosh_tonearest_test_data): New variable.
40343         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40344         (cosh_towardzero_test_data): New variable.
40345         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40346         (cosh_downward_test_data): New variable.
40347         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40348         (cosh_upward_test_data): New variable.
40349         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40350         (erf_test_data): New variable.
40351         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
40352         (erfc_test_data): New variable.
40353         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
40354         (exp_test_data): New variable.
40355         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
40356         (exp_tonearest_test_data): New variable.
40357         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40358         (exp_towardzero_test_data): New variable.
40359         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40360         (exp_downward_test_data): New variable.
40361         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40362         (exp_upward_test_data): New variable.
40363         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40364         (exp10_test_data): New variable.
40365         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
40366         (exp2_test_data): New variable.
40367         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
40368         (expm1_test_data): New variable.
40369         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
40370         (fabs_test_data): New variable.
40371         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
40372         (floor_test_data): New variable.
40373         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
40374         (j0_test_data): New variable.
40375         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
40376         (j1_test_data): New variable.
40377         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
40378         (log_test_data): New variable.
40379         (log_test): Run tests with RUN_TEST_LOOP_f_f.
40380         (log10_test_data): New variable.
40381         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
40382         (log1p_test_data): New variable.
40383         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
40384         (log2_test_data): New variable.
40385         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
40386         (logb_test_data): New variable.
40387         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
40388         (logb_downward_test_data): New variable.
40389         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40390         (nearbyint_test_data): New variable.
40391         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
40392         (rint_test_data): New variable.
40393         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
40394         (rint_tonearest_test_data): New variable.
40395         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40396         (rint_towardzero_test_data): New variable.
40397         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40398         (rint_downward_test_data): New variable.
40399         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40400         (rint_upward_test_data): New variable.
40401         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40402         (round_test_data): New variable.
40403         (round_test): Run tests with RUN_TEST_LOOP_f_f.
40404         (sin_test_data): New variable.
40405         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
40406         (sin_tonearest_test_data): New variable.
40407         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40408         (sin_towardzero_test_data): New variable.
40409         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40410         (sin_downward_test_data): New variable.
40411         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40412         (sin_upward_test_data): New variable.
40413         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40414         (sinh_test_data): New variable.
40415         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
40416         (sinh_tonearest_test_data): New variable.
40417         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40418         (sinh_towardzero_test_data): New variable.
40419         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40420         (sinh_downward_test_data): New variable.
40421         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40422         (sinh_upward_test_data): New variable.
40423         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40424         (sqrt_test_data): New variable.
40425         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
40426         (tan_test_data): New variable.
40427         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
40428         (tan_tonearest_test_data): New variable.
40429         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40430         (tan_towardzero_test_data): New variable.
40431         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40432         (tan_downward_test_data): New variable.
40433         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40434         (tan_upward_test_data): New variable.
40435         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40436         (tanh_test_data): New variable.
40437         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
40438         (tgamma_test_data): New variable.
40439         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
40440         (trunc_test_data): New variable.
40441         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
40442         (y0_test_data): New variable.
40443         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
40444         (y1_test_data): New variable.
40445         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
40446         (significand_test_data): New variable.
40447         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
40449 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
40451         [BZ #12387]
40452         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
40454 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40456         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
40458 2013-05-10  Andreas Jaeger  <aj@suse.de>
40460         [BZ #15448]
40461         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
40462         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
40464 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
40466         * math/gen-libm-test.pl (adjust_arg): New function.
40467         (special_functions): Handle generating output in both functions
40468         and arrays.
40469         (parse_args): Likewise.
40470         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
40471         $in_func argument to parse_args.
40472         * math/libm-test.inc (struct test_f_f_data): New type.
40473         (IF_ROUND_INIT_): New macro.
40474         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
40475         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40476         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40477         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40478         (ROUND_RESTORE_): Likewise.
40479         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
40480         (ROUND_RESTORE_FE_TONEAREST): Likewise.
40481         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
40482         (ROUND_RESTORE_FE_UPWARD): Likewise.
40483         (RUN_TEST_LOOP_f_f): New macro.
40484         (acos_test_data): New variable.
40485         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
40486         (acos_tonearest_test_data): New variable.
40487         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40489 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40491         * benchtests/bench-skeleton.c (startup): Fix coding style.
40493 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
40495         [BZ #6809]
40496         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
40497         negative infinity argument.
40498         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
40499         negative infinity argument.
40500         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
40501         negative infinity argument.
40502         * math/libm-test.inc (tgamma_test): Expect errno to be set for
40503         domain errors.
40505 2013-05-10  Florian Weimer  <fweimer@redhat.com>
40507         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
40508         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
40509         * iconv/iconv_prog.c (main): Likewise.
40510         * locale/programs/charmap-dir.c (charmap_readdir)
40511         (fopen_uncompressed): Likewise.
40512         * locale/programs/locfile.c (siblings_uncached)
40513         (write_locale_data): Use lstat64 instead of lstat.
40514         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
40515         stat.
40517 2013-05-10  Andreas Jaeger  <aj@suse.de>
40519         [BZ #15395]
40520         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
40521         localization.
40522         Include <locale.h>.
40524 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
40526         * elf/dl-close.c (_dl_close_worker): Add comments.
40528 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
40530         [BZ #15359]
40531         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
40532         high part of pi/2.
40533         (__ieee754_rem_pio2l): Update comments.
40535         [BZ #15429]
40536         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
40537         high part of pi/2.
40538         (__ieee754_rem_pio2l): Update comments.
40540         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
40541         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
40543         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
40544         M_PI_4l.
40546         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
40547         (M_PI_34_LOG10El): Likewise.
40548         (M_PI2_LOG10El): Likewise.
40549         (M_PI4_LOG10El): Likewise.
40550         (M_PI_LOG10El): Likewise.
40552 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40556 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
40558         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
40559         (MINUS_ZERO_INIT): Likewise.
40560         (PLUS_INFTY_INIT): Likewise.
40561         (MINUS_INFTY_INIT): Likewise.
40562         (QNAN_VALUE_INIT): Likewise.
40563         (MAX_VALUE_INIT): Likewise.
40564         (MIN_VALUE_INIT): Likewise.
40565         (MIN_SUBNORM_VALUE_INIT): Likewise.
40566         (plus_zero): Initialize with PLUS_ZERO_INIT.
40567         (minus_zero): Initialize with MINUS_ZERO_INIT.
40568         (plus_infty): Initialize with PLUS_INFTY_INIT.
40569         (minus_infty): Initialize with MINUS_INFTY_INIT.
40570         (qnan_value): Initialize with QNAN_VALUE_INIT.
40571         (max_value): Initialize with MAX_VALUE_INIT.
40572         (min_value): Initialize with MIN_VALUE_INIT.
40573         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
40575         * math/libm-test.inc (RUN_TEST_if_f): New macro.
40576         (jn_test): Use TEST_if_f instead of TEST_ff_f.
40577         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
40578         (yn_test): Use TEST_if_f instead of TEST_ff_f.
40580         * math/libm-test.inc (RUN_TEST_f_f): New macro.
40581         (RUN_TEST_2_f): Likewise.
40582         (RUN_TEST_ff_f): Likewise.
40583         (RUN_TEST_fi_f): Likewise.
40584         (RUN_TEST_fl_f): Likewise.
40585         (RUN_TEST_fff_f): Likewise.
40586         (RUN_TEST_c_f): Likewise.
40587         (RUN_TEST_f_f1): Likewise.
40588         (RUN_TEST_fF_f1): Likewise.
40589         (RUN_TEST_fI_f1): Likewise.
40590         (RUN_TEST_ffI_f1): Likewise.
40591         (RUN_TEST_c_c): Likewise.
40592         (RUN_TEST_cc_c): Likewise.
40593         (RUN_TEST_f_i): Likewise.
40594         (RUN_TEST_f_i_tg): Likewise.
40595         (RUN_TEST_ff_i_tg): Likewise.
40596         (RUN_TEST_f_b): Likewise.
40597         (RUN_TEST_f_b_tg): Likewise.
40598         (RUN_TEST_f_l): Likewise.
40599         (RUN_TEST_f_L): Likewise.
40600         (RUN_TEST_sincos): Likewise.
40601         * math/gen-libm-test.pl (new_test): Take new argument to indicate
40602         whether to show exceptions.  Do not include ");\n" in return
40603         value.
40604         (special_functions): Output call to RUN_TEST_sincos instead of
40605         check_float calls.  Update calls to new_test.
40606         (parse_args): Output call to single RUN_TEST_* macro instead of
40607         check_* calls and other assignments.  Update calls to new_test.
40609         [BZ #2546]
40610         [BZ #2560]
40611         [BZ #5159]
40612         [BZ #15426]
40613         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
40614         input to result for tgamma overflow.
40615         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
40616         (gamma_coeff): New variable.
40617         (NCOEFF): New macro.
40618         (gamma_positive): New function.
40619         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
40620         underflow here.  Use gamma_positive instead of exp (lgamma) for
40621         other arguments.
40622         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
40623         (gamma_coeff): New variable.
40624         (NCOEFF): New macro.
40625         (gammaf_positive): New function.
40626         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
40627         underflow here.  Use gamma_positive instead of exp (lgamma) for
40628         other arguments.
40629         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
40630         (gamma_coeff): New variable.
40631         (NCOEFF): New macro.
40632         (gammal_positive): New function.
40633         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
40634         underflow here.  Use gamma_positive instead of exp (lgamma) for
40635         other arguments.
40636         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
40637         (gamma_coeff): New variable.
40638         (NCOEFF): New macro.
40639         (gammal_positive): New function.
40640         (__ieee754_gammal_r): Handle positive infinity, overflow and
40641         underflow here.  Handle NaN the same as positive infinity.  Remove
40642         check x < 0xffffffff for negative integers.  Use gamma_positive
40643         instead of exp (lgamma) for other arguments.
40644         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
40645         (gamma_coeff): New variable.
40646         (NCOEFF): New macro.
40647         (gammal_positive): New function.
40648         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
40649         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
40650         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
40651         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
40652         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
40653         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
40654         * sysdeps/generic/math_private.h (__gamma_productf): New
40655         prototype.
40656         (__gamma_product): Likewise.
40657         (__gamma_productl): Likewise.
40658         * math/Makefile (libm-calls): Add gamma_product.
40659         * math/libm-test.inc (tgamma_test): Add more tests.
40660         * sysdeps/i386/fpu/libm-test-ulps: Update.
40661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40663 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
40665         * benchtests/bench-skeleton.c (main): Preheat CPU.
40667 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
40669         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
40671 2013-05-07  Roland McGrath  <roland@hack.frob.com>
40673         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
40674         and _dl_skip_args_internal.
40676 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
40678         * manual/message.texi (Message Translation): Talk about users.
40679         Message to key mapping impacts design.
40681 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40683         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
40685         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
40687         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
40688         * sysdeps/wordsize-64/glob64.c: ... here.
40690         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
40691         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
40692         New macros.
40694         * debug/getlogin_r_chk.c: Moved to ...
40695         * login/getlogin_r_chk.c: ... here.
40696         * debug/Makefile (routines): Move getlogin_r_chk to ...
40697         * login/Makefile (routines): ... here.
40698         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
40699         * login/Versions (libc: GLIBC_2.4): ... here.
40701         * io/poll.c (__poll): Renamed from poll.
40702         Add libc_hidden_def.
40703         (poll): Define as weak alias.
40705         * debug/ptsname_r_chk.c: Moved to ...
40706         * login/ptsname_r_chk.c: ... here.
40707         * debug/Makefile (routines): Move ptsname_r_chk to ...
40708         * login/Makefile (routines): ... here.
40709         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
40710         * login/Versions (libc: GLIBC_2.4): ... here.
40712         * posix/getlogin.c: Moved to ...
40713         * login/getlogin.c: ... here.
40714         * posix/getlogin_r.c: Moved to ...
40715         * login/getlogin_r.c: ... here.
40716         * posix/getlogin_r.c: Moved to ...
40717         * login/getlogin_r.c: ... here.
40718         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
40719         * login/Makefile (routines): ... here.
40720         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
40721         * login/Versions (libc: GLIBC_2.0): ... here.
40723         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
40724         (setrlimit): Define as weak alias.
40726         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
40727         Call __ names for open, ftruncate, and close.
40728         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
40729         (truncate): Define as weak alias.
40731 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
40733         * math/gen-libm-test.pl (parse_args): Initialize x before each
40734         test of frexp, modf and remquo.
40736         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
40737         test signgam value.
40739 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40741         [BZ #15418]
40742         [BZ #15419]
40743         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
40744         internal tests.
40745         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40747 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40749         * elf/dl-writev.h: New file.
40750         * elf/dl-misc.c: Include it.
40751         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
40752         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
40754 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
40756         * math/libm-test.inc (noXFails): Remove variable.
40757         (noXPasses): Likewise.
40758         (BUILD_COMPLEX_INT): Remove macro.
40759         (print_screen): Remove xfail argument.
40760         (print_screen_max_error): Likewise.
40761         (update_stats): Likewise.
40762         (print_max_error): Likewise.  Update calls to other affected
40763         functions.
40764         (print_complex_max_error): Likewise.
40765         (test_single_exception): Update calls to print_screen.
40766         (test_single_errno): Likewise.
40767         (check_float_internal): Remove xfail argument.  Update calls to
40768         other affected functions.
40769         (check_float): Likewise.
40770         (check_complex): Likewise.
40771         (check_int): Likewise.
40772         (check_long): Likewise.
40773         (check_bool): Likewise.
40774         (check_longlong): Likewise.
40775         (main): Don't print noXFails and noXPasses.
40776         * math/gen-libm-test.pl (top level): Don't mention expected
40777         failure handling in comment.
40778         (new_test): Don't handle expected failures.
40779         (parse_args): Don't mention expected failure handling in comment.
40780         (generate_testfile): Don't handle expected failures.
40781         (parse_ulps): Likewise.
40782         (print_ulps_file): Likewise.
40783         (get_failure): Remove function.
40784         (output_test): Don't handle expected failures.
40785         * make/README.libm-test: Don't mention expected failure handling.
40787         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
40788         (minus_zero): Likewise.
40789         (plus_infty): Likewise.
40790         (minus_infty): Likewise.
40791         (qnan_value): Likewise.
40792         (max_value): Likewise.
40793         (min_value): Likewise.
40794         (min_subnorm_value): Likewise.
40795         (initialize): Do not initialize those variables dynamically.
40797 2013-05-03  Roland McGrath  <roland@hack.frob.com>
40799         * io/open.c (__open_2): Moved to ...
40800         * io/open_2.c: ... this new file.
40801         * io/open64.c (__open64_2): Moved to ...
40802         * io/open64_2.c: ... this new file.
40803         * io/openat.c (__openat_2): Moved to ...
40804         * io/openat_2.c: ... this new file.
40805         * io/openat64.c (__openat64_2): Moved to ...
40806         * io/openat64_2.c: ... this new file.
40807         * io/Makefile (routines): Add them.
40808         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
40809         * sysdeps/unix/sysv/linux/open_2.c: File removed.
40810         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
40811         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
40812         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
40813         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
40814         (__openat64): Add hidden_ver.
40815         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
40816         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
40818         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
40819         Separately conditionalize setting of GLRO(dl_sysinfo) so
40820         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
40821         as well, but the actual setting is only under [NEED_DL_SYSINFO].
40823 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40825         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
40826         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
40827         definition.
40828         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
40829         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40830         (_libc_vdso_platform_setup): Add __vdso_time initialization.
40831         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
40832         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
40834 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
40836         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
40837         test signgam value.
40839         * math/libm-test.inc (hypot_test): Do not use
40840         IGNORE_ZERO_INF_SIGN.
40842 2013-05-03  Andreas Jaeger  <aj@suse.de>
40844         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
40845         Linux 3.9.
40846         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
40847         (PF_MAX): Adjust for VSOCK change.
40849 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40853 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
40855         [BZ #15264]
40856         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
40857         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
40858         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
40860 2013-05-02  David S. Miller  <davem@davemloft.net>
40862         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40864 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
40866         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
40868 2013-05-01  Roland McGrath  <roland@hack.frob.com>
40870         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
40872 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
40874         [BZ #14952]
40875         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
40876         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40877         Use __attribute__ ((__gnu_inline__)).
40878         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40879         Don't use __attribute__ ((__gnu_inline__)).
40881 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
40883         [BZ #15423]
40884         * math/s_catan.c (__catan): Handle small real or imaginary part of
40885         input specially to avoid spurious underflow.
40886         * math/s_catanf.c (__catanf): Likewise.
40887         * math/s_catanh.c (__catanh): Likewise.
40888         * math/s_catanhf.c (__catanhf): Likewise.
40889         * math/s_catanhl.c (__catanhl): Likewise.
40890         * math/s_catanl.c (__catanl): Likewise.
40891         * math/libm-test.inc (catan_test): Add more tests.
40892         (catanh_test): Likewise.
40893         * sysdeps/i386/fpu/libm-test-ulps: Update.
40894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40896 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40900 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
40902         [BZ #15416]
40903         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
40904         accurately for denominator in atan2.
40905         * math/s_catanf.c (__catanf): Likewise.
40906         * math/s_catanh.c (__catanh): Likewise.
40907         * math/s_catanhf.c (__catanhf): Likewise.
40908         * math/s_catanhl.c (__catanhl): Likewise.
40909         * math/s_catanl.c (__catanl): Likewise.
40910         * math/libm-test.inc (catan_test): Add more tests.
40911         (catanh_test): Likewise.
40912         * sysdeps/i386/fpu/libm-test-ulps: Update.
40913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40915 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40917         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
40919         * benchtests/Makefile (bench): Remove slow benchmarks.
40920         * benchtests/atan-inputs: Add slow benchmark inputs.
40921         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
40922         (BENCH_FUNC): Accept variant offset.
40923         (VARIANT): Define.
40924         * benchtests/bench-skeleton.c (main): Run benchmark for each
40925         variant.
40926         * benchtests/cos-inputs: Add slow benchmark inputs.
40927         * benchtests/exp-inputs: Likewise.
40928         * benchtests/pow-inputs: Likewise.
40929         * benchtests/sin-inputs: Likewise.
40930         * benchtests/slowatan-inputs: Remove.
40931         * benchtests/slowatan.c: Remove.
40932         * benchtests/slowcos-inputs: Remove.
40933         * benchtests/slowcos.c: Remove.
40934         * benchtests/slowexp-inputs: Remove.
40935         * benchtests/slowexp.c: Remove.
40936         * benchtests/slowpow-inputs: Remove.
40937         * benchtests/slowpow.c: Remove.
40938         * benchtests/slowsin-inputs: Remove.
40939         * benchtests/slowsin.c: Remove.
40940         * benchtests/slowtan-inputs: Remove.
40941         * benchtests/slowtan.c: Remove.
40942         * benchtests/tan-inputs: Add slow benchmark inputs.
40943         * scripts/bench.pl: Parse comments and directives.
40945         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
40946         in CPPFLAGS.
40947         ($(objpfx)bench-%.c): Remove *-ITER.
40948         * benchtests/bench-modf.c: Remove definition of ITER.
40949         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
40950         (main): Loop for DURATION seconds instead of fixed number of
40951         iterations.
40952         * scripts/bench.pl: Don't expect iterations in parameters.
40954 2013-04-29  Roland McGrath  <roland@hack.frob.com>
40956         * io/fchdir.c (__fchdir): Renamed from fchdir.
40957         (fchdir): Define as weak alias.
40959 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
40961         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
40962         (ERRNO_EDOM): Likewise.
40963         (ERRNO_ERANGE): Likewise.
40964         (noErrnoTests): New variable.
40965         (init_max_error): Set errno to 0.
40966         (test_single_errno): New function.
40967         (test_errno): Likewise.
40968         (check_float_internal): Call test_errno.  Set errno to 0.
40969         (check_complex): Refer to errno tests in comment.
40970         (check_int): Call test_errno.  Set errno to 0.
40971         (check_long): Likewise.
40972         (check_bool): Likewise.
40973         (check_longlong): Likewise.
40974         (cos_test): Use ERRNO_* flags for errno tests instead of
40975         check_int.
40976         (expm1_test): Likewise.
40977         (fmod_test): Likewise.
40978         (ilogb_test): Likewise.
40979         (lgamma_test): Likewise.
40980         (pow_test): Likewise.
40981         (remainder_test): Likewise.
40982         (sin_test): Likewise.
40983         (tan_test): Likewise.
40984         (yn_test): Likewise.
40985         (initialize): Set errno to 0.
40986         (main): Print number of errno tests.
40987         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
40989 2013-04-29  Andreas Jaeger  <aj@suse.de>
40991         [BZ #15084]
40992         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
40993         and RES_USEVC.
40995         [BZ #15085]
40996         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
40997         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
40998         unimplemented.
41000         [BZ #15380]
41001         * stdlib/random.c (__initstate): Return NULL if
41002         __initstate fails.
41004         [BZ #15086]
41005         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
41006         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
41007         RES_SNGLKUPREOP.
41009 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41013 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
41015         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
41016         of individual tests.
41017         (casin_test): Likewise.
41018         (casinh_test): Likewise.
41020 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
41022         [BZ #15409]
41023         * math/s_catan.c (__catan): Handle arguments with large real or
41024         imaginary part separately without squaring.
41025         * math/s_catanf.c (__catanf): Likewise.
41026         * math/s_catanh.c (__catanh): Likewise.
41027         * math/s_catanhf.c (__catanhf): Likewise.
41028         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
41029         and redefine.
41030         (__catanhl): Handle arguments with large real or imaginary part
41031         separately without squaring.
41032         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
41033         and redefine.
41034         (__catanl): Handle arguments with large real or imaginary part
41035         separately without squaring.
41036         * math/libm-test.inc (catan_test): Add more tests.
41037         (catanh_test): Likewise.
41038         * sysdeps/i386/fpu/libm-test-ulps: Update.
41039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41041 2013-04-27  Andreas Jaeger  <aj@suse.de>
41043         [BZ #15007]
41044         * stdlib/stdlib.h: Update guards for qecvt.
41045         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
41046         <stdlib.h>.
41048 2013-04-27  Allan McRae  <allan@archlinux.org>
41050         * sysdeps/i386/fpu/libm-test-ulps: Update.
41052 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
41054         [BZ #15406]
41055         * math/s_catan.c: Include <float.h>.
41056         (__catan): Ensure underflow exception occurs for underflowed
41057         result.
41058         * math/s_catanf.c: Include <float.h>.
41059         (__catanf): Ensure underflow exception occurs for underflowed
41060         result.
41061         * math/s_catanh.c: Include <float.h>.
41062         (__catanh): Ensure underflow exception occurs for underflowed
41063         result.
41064         * math/s_catanhf.c: Include <float.h>.
41065         (__catanhf): Ensure underflow exception occurs for underflowed
41066         result.
41067         * math/s_catanhl.c: Include <float.h>.
41068         (__catanhl): Ensure underflow exception occurs for underflowed
41069         result.
41070         * math/s_catanl.c: Include <float.h>.
41071         (__catanl): Ensure underflow exception occurs for underflowed
41072         result.
41073         * math/libm-test.inc (catan_test): Add more tests.
41074         (catanh_test): Likewise.
41076         [BZ #15405]
41077         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
41078         underflowed result.
41079         * math/s_ccoshf.c (__ccoshf): Likewise.
41080         * math/s_ccoshl.c (__ccoshl): Likewise.
41081         * math/s_csin.c (__csin): Likewise.
41082         * math/s_csinf.c (__csinf): Likewise.
41083         * math/s_csinh.c (__csinh): Likewise.
41084         * math/s_csinhf.c (__csinhf): Likewise.
41085         * math/s_csinhl.c (__csinhl): Likewise.
41086         * math/s_csinl.c (__csinl): Likewise.
41087         * math/libm-test.inc (ccos_test): Add more tests.
41088         (ccosh_test): Likewise.
41089         (csin_test): Likewise.
41090         (csinh_test): Likewise.
41092 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41094         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
41095         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
41096         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
41097         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
41098         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
41099         powerpc/power5+/fpu folders.
41100         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
41103 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
41105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41107 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
41109         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
41110         additions to variable.
41111         [$(config-machine) = x86_64] (modules-names): Likewise.
41112         ($(objpfx)tst-audit3): Remove dependency.
41113         ($(objpfx)tst-audit3.out): Likewise.
41114         ($(objpfx)tst-audit4): Likewise.
41115         ($(objpfx)tst-audit4.out): Likewise.
41116         ($(objpfx)tst-audit5): Likewise.
41117         ($(objpfx)tst-audit5.out): Likewise.
41118         ($(objpfx)tst-audit6): Likewise.
41119         ($(objpfx)tst-audit6.out): Likewise.
41120         ($(objpfx)tst-audit7): Likewise.
41121         ($(objpfx)tst-audit7.out): Likewise.
41122         (tst-audit3-ENV): Remove variable.
41123         (tst-audit4-ENV): Likewise.
41124         (tst-audit5-ENV): Likewise.
41125         (tst-audit6-ENV): Likewise.
41126         (tst-audit7-ENV): Likewise.
41127         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
41128         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
41129         addition to variable.
41130         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
41131         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
41132         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
41133         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
41134         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
41135         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
41136         tst-audit3, tst-audit4 and tst-audit5.
41137         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
41138         tst-audit6 and tst-audit7.
41139         [$(subdir) = elf] (modules-names): Add audit modules for those
41140         tests.
41141         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
41142         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
41143         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
41144         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
41145         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
41146         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
41147         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
41148         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
41149         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
41150         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
41151         [$(subdir) = elf] (tst-audit3-ENV): New variable.
41152         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
41153         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
41154         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
41155         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
41156         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
41157         Likewise.
41158         [$(subdir) = elf && $(config-cflags-avx) = yes]
41159         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
41160         [$(subdir) = elf && $(config-cflags-avx) = yes]
41161         (CFLAGS-tst-auditmod4a.c): Likewise.
41162         [$(subdir) = elf && $(config-cflags-avx) = yes]
41163         (CFLAGS-tst-auditmod4b.c): Likewise.
41164         [$(subdir) = elf && $(config-cflags-avx) = yes]
41165         (CFLAGS-tst-auditmod6b.c): Likewise.
41166         [$(subdir) = elf && $(config-cflags-avx) = yes]
41167         (CFLAGS-tst-auditmod6c.c): Likewise.
41168         [$(subdir) = elf && $(config-cflags-avx) = yes]
41169         (CFLAGS-tst-auditmod7b.c): Likewise.
41170         * elf/tst-audit3.c: Move to ...
41171         * sysdeps/x86_64/tst-audit3.c: ... here.
41172         * elf/tst-audit4.c: Move to ...
41173         * sysdeps/x86_64/tst-audit4.c: ... here.
41174         * elf/tst-audit5.c: Move to ...
41175         * sysdeps/x86_64/tst-audit5.c: ... here.
41176         * elf/tst-audit6.c: Move to ...
41177         * sysdeps/x86_64/tst-audit6.c: ... here.
41178         * elf/tst-audit7.c: Move to ...
41179         * sysdeps/x86_64/tst-audit7.c: ... here.
41180         * elf/tst-auditmod3a.c: Move to ...
41181         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
41182         * elf/tst-auditmod3b.c: Move to ...
41183         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
41184         * elf/tst-auditmod4a.c: Move to ...
41185         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
41186         * elf/tst-auditmod4b.c: Move to ...
41187         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
41188         * elf/tst-auditmod5a.c: Move to ...
41189         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
41190         * elf/tst-auditmod5b.c: Move to ...
41191         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
41192         * elf/tst-auditmod6a.c: Move to ...
41193         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
41194         * elf/tst-auditmod6b.c: Move to ...
41195         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
41196         * elf/tst-auditmod6c.c: Move to ...
41197         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
41198         * elf/tst-auditmod7a.c: Move to ...
41199         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
41200         * elf/tst-auditmod7b.c: Move to ...
41201         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
41203 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
41205         [BZ #15366]
41206         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
41207         define unconditionally.
41208         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
41209         define unconditionally.
41210         (INT8_C, INT16_C, etc.): Likewise.
41212 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
41214         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
41215         __ehdr_start with hidden visibility.
41217         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
41219 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
41221         * math/libm-test.inc (cos_test): Use accurate hex constants.
41222         (sincost_test): Likewise.
41224 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
41226         * math/libm-test.inc (catan_test): Add more tests.
41227         (catanh_test): Likewise.
41229         * math/s_catanf.c (__catanf): Use suffixed floating-point
41230         constants.
41231         * math/s_catanhf.c (__catanhf): Likewise.
41232         * math/s_catanhl.c (__catanhl): Likewise.
41233         * math/s_catanl.c (__catanl): Likewise.
41235         [BZ #15394]
41236         * math/s_catan.c (__catan): Calculate imaginary part of result
41237         with log1p not log unless computing log of number close to 0.
41238         * math/s_catanf.c (__catanf): Likewise.
41239         * math/s_catanl.c (__catanl): Likewise.
41240         * math/s_catanh.c (__catanh): Calculate real part of result with
41241         log1p not log unless computing log of number close to 0.
41242         * math/s_catanhf.c (__catanhf): Likewise.
41243         * math/s_catanhl.c (__catanhl): Likewise.
41244         * math/libm-test.inc (catan_test): Add more tests.
41245         (catanh_test): Likewise.
41246         * sysdeps/i386/fpu/libm-test-ulps: Update.
41247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41249 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41251         * benchtests/Makefile: Mention files in which fast and slow
41252         paths of math functions are implemented.
41254 2013-04-23  Roland McGrath  <roland@hack.frob.com>
41256         * sysdeps/posix/timespec_get.c: New file.
41258 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41260         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
41261         POWER.
41262         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
41263         for POWER.
41264         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
41265         powerpc/power5/fpu folders.
41266         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
41267         * benchtests/Makefile: Add modf testcase.
41268         * benchtests/bench-modf.c: New file: Benchmark test for mo
41270 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41272         [BZ #14888]
41273         * time/Makefile (tests): Add tst-strptime-whitespace.
41274         * time/strptime_l.c (get_number): Use ISSPACE.
41275         (__strptime_internal): Likewise.
41276         * time/tst-strptime-whitespace.c: New test case.
41278 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
41280         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
41281         member.
41282         (_nss_files_init): Set it here.
41284 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
41286         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
41287         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
41288         unsigned.
41290 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
41292         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
41294 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41296         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
41297         size just once.
41299 2013-04-21  David S. Miller  <davem@davemloft.net>
41301         * po/ru.po: Update Russion translation from translation project.
41303 2013-04-17  Adam Conrad  <adconrad@0c3.net>
41305         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
41306         and setfsgid.
41308 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
41310         * configure.in: Remove i386 configure warning. Remove i386 case.
41311         * configure: Regenerate.
41312         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
41313         Add example to error message.
41314         * sysdeps/i386/configure: Regenerate.
41316 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41318         * benchtests/Makefile (bench): Add cos, tan, slowcos and
41319         slowtan.
41320         * benchtests/cos-inputs: New file.
41321         * benchtests/slowcos-inputs: New file.
41322         * benchtests/slowcos.c: New file.
41323         * benchtests/slowtan-inputs: New file.
41324         * benchtests/slowtan.c: New file.
41325         * benchtests/tan-inputs: New file.
41327 2013-04-16  Roland McGrath  <roland@hack.frob.com>
41329         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
41330         considered kosher.
41332 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41334         * benchtests/Makefile: Include cppflags-iterator.mk to add
41335         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
41337         * Makefile.in (bench-clean): New target.
41338         * benchtests/Makefile (bench-clean): Likewise.
41340 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
41342         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
41344 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
41346         * stdio-common/tstdiomisc.c: Fix coding-style violation.
41348 2013-04-15  Andreas Schwab  <schwab@suse.de>
41350         * nscd/grpcache.c (cache_addgr): Properly check for short write.
41351         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41352         * nscd/pwdcache.c (cache_addpw): Likewise.
41353         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
41354         more than recsize.
41356 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41358         * benchtests/Makefile (bench): Write all output to
41359         bench-out.tmp together.
41361 2013-04-15  Andreas Schwab  <schwab@suse.de>
41363         * nscd/nscd.c (main): Don't fork again after closing files.
41365 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41367         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
41369         * benchtests/Rules (bench-deps): Collect dependencies into a
41370         single variable.  Add Makefile to dependencies.
41371         ($(objpfx)bench-%.c): Depend on bench-deps.
41373 2013-04-12  Roland McGrath  <roland@hack.frob.com>
41374             Xavier Roche  <roche+kml2@exalead.com>
41376         [BZ #15361]
41377         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
41378         just that it's a file descriptor.
41379         * manual/llio.texi (Synchronizing AIO Operations): Update description
41380         for EBADF error from aio_fsync.
41382 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41384         * Rules (bench): Move target definition...
41385         * benchtests/Makefile: ... here.
41387 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
41389         * math/libm-test.inc (cos_test): Fix PI/2 test.
41390         (sincos_test): Likewise.
41391         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41392         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
41394 2013-04-11  Andreas Schwab  <schwab@suse.de>
41396         [BZ #13988]
41397         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
41398         accept exponent character only when digits were seen.
41399         * stdio-common/Makefile (tests): Add bug26.
41400         * stdio-common/bug26.c: New file.
41402         [BZ #14293]
41403         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
41404         non-freeable.
41406 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41408         * Makeconfig (rtld-prefix): Define built linker prefix.
41409         * Rules (run-bench): Use it.
41410         * math/Makefile (run-regen-ulps): Likewise.
41412         * Rules (bench): Remove eval.
41414 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41415             Roland McGrath  <roland@hack.frob.com>
41416             Ondrej Bilka  <neleai@seznam.cz>
41418         [BZ #15346]
41419         * time/getdate.c: Include ctype.h and alloca.h.
41420         (__getdate_r): Trim leading and trailing spaces of input.
41421         * time/tst-getdate.c (tests): Add tests with leading and
41422         trailing spaces.
41424 2013-04-08  Roland McGrath  <roland@hack.frob.com>
41426         [BZ #14280]
41427         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
41428         when computing value.
41430 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41432         * math/README.libm-test (How can I generate "libm-test-ulps"?):
41433         Use testrun.sh to run libm tests.
41435         [BZ #15309]
41436         * elf/dl-open.c (dl_open_worker): memset all of seen array.
41438 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
41440         [BZ #15264]
41441         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
41443 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41445         * Makefile.in (regen-ulps): New target.
41446         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
41447         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
41448         [ifneq (no,$(PERL)] (regen-ulps): New target.
41449         [ifeq (no,$(PERL)] (regen-ulps): New target.
41450         * math/libm-test.inc (ulps_file_name): Define.
41451         (output_dir): New variable.
41452         (options): Add "output-dir" option.
41453         (parse_opt): Handle 'o' case.
41454         (main): If output_dir is non-NULL use it as a prefix
41455         otherwise use "".
41456         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
41458 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41460         [BZ #10060, #10062]
41461         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
41462         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
41463         fail configure if __sync_val_compare_and_swap is not inlined.
41464         * sysdeps/i386/configure: Regenerate.
41465         * configure.in: Build for i686 when configured for i386.
41466         * configure: Regenerate.
41467         * README: Remove i386 reference.
41469 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41471         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
41472         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41474 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
41476         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
41477         (lmsnanval): New variables.
41478         (F): Add conversion tests.
41479         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
41480         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
41482         * stdio-common/tstdiomisc.c (F): Properly collect individual
41483         tests' results.
41485         [BZ #14686, #15336]
41486         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
41487         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
41488         Instead, use input NaN values or generate a qNaN by arithmetic
41489         operation.  Also fix bugs to comply with the standard.
41490         * math/libm-test.inc (remainder_test): Add more tests.
41492         [BZ #15335, #15342]
41493         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
41494         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
41495         input NaN values or generate a qNaN by arithmetic operation.
41497         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
41498         unreachable code.
41500         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
41501         definitions.
41503 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
41505         [BZ #14478]
41506         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
41507         underflowed result.
41508         * math/s_cexpf.c (__cexpf): Likewise.
41509         * math/s_cexpl.c (__cexpl): Likewise.
41510         * math/libm-test.inc (cexp_test): Add more tests.
41512 2013-04-03  Andreas Schwab  <schwab@suse.de>
41514         [BZ #15330]
41515         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
41516         order arrays from heap if bigger than alloca cutoff.
41518 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
41520         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
41521         (SNAN_TESTS_double): Refer to GCC PR56831.
41522         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
41523         GCC PR56828.
41525 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41527         * Rules (bench): Move bench.out after the run is complete.
41529         * Rules (bench): Echo currently running benchmark.
41531         * benchtests/Makefile (bench): Add atan and slowatan.
41532         * benchtests/atan-inputs: New file.
41533         * benchtests/slowatan-inputs: New file.
41534         * benchtests/slowatan.c: New file.
41536         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
41537         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
41538         its value.
41540         [BZ #15305]
41541         * sysdeps/unix/sysv/linux/kernel-features.h
41542         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
41543         __ASSUME_XFS_RESTRICTED_CHOWN.
41544         * sysdeps/unix/sysv/linux/pathconf.c
41545         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41546         Save and restore errno.
41548 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
41550         [BZ #15327]
41551         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
41552         arguments using __kernel_casinh.
41553         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
41554         arguments using __kernel_casinhf.
41555         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
41556         arguments using __kernel_casinhl.
41557         * math/libm-test.inc (cacosh_test): Add more tests.
41558         * sysdeps/i386/fpu/libm-test-ulps: Update.
41559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41561 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41563         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
41564         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
41566         * bench/Makefile (bench): Add sin and slowsin.
41567         * benchtests/sin-inputs: New file.
41568         * benchtests/slowsin-inputs: New file.
41569         * benchtests/slowsin.c: New file.
41571         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
41572         (bench): Add slowexp and slowpow.
41573         (exp-ITER): Increase iterations.
41574         (pow-ITER): Likewise.
41575         * benchtests/exp-inputs: Change input.
41576         * benchtests/pow-inputs: Likewise.
41577         * benchtests/slowexp-inputs: New file.
41578         * benchtests/slowexp.c: New file.
41579         * benchtests/slowpow-inputs: New file.
41580         * benchtests/slowpow.c: New file.
41582 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41584         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
41585         instructions.
41586         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41587         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
41588         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41589         * benchtests/Makefile: Add rint benchtest.
41590         * benchtests/rint-inputs: Input for rint benchtest.
41592 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
41594         * Versions.def (libm): Add GLIBC_2.18.
41595         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
41596         hidden libm prototypes.
41597         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
41598         * math/Makefile (libm-calls): Add s_issignaling.
41599         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
41600         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
41601         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
41602         declaration.
41603         * math/math.h [__USE_GNU] (issignaling): New macro.
41604         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
41605         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
41606         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
41607         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
41608         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
41609         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
41610         * manual/arith.texi (issignaling): New section.
41611         * manual/libm-err-tab.pl (@all_functions): Update comment.
41612         * math/gen-libm-test.pl (parse_args): Apply special handling for
41613         issignaling.
41614         * math/libm-test.inc (print_float, issignaling_test): New
41615         functions.
41616         (check_float_internal): Add issignaling checks.
41617         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
41618         default definition.
41619         * sysdeps/powerpc/math-tests.h: New file.
41620         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
41621         tests.
41622         * math/test-snan.c (TEST_FUNC): Likewise.
41624 2013-03-30  David S. Miller  <davem@davemloft.net>
41626         * po/de.po: Update from translation team.
41628 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
41630         [BZ #10357]
41631         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41632         imaginary part less than 1.0 and real part less than 0.5
41633         specially.
41634         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41635         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41636         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
41637         (cacos_test): Add more tests.
41638         (casin_test): Likewise.
41639         (casinh_test): Likewise.
41640         * sysdeps/i386/fpu/libm-test-ulps: Update.
41641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41643 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41645         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
41646         ONE with its value.
41648         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
41649         (__pow_mp): Replace ONE and MONE with their values.
41650         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41651         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
41652         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41653         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
41654         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41655         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41657         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
41659         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
41660         (__pow_mp): Replace ZERO and MZERO with their values.
41661         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41662         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41663         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41664         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41665         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41666         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
41667         (__sqr): Likewise.
41669         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
41671         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
41673 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41675         * include/stdlib.h [!SHARED] (__call_tls_dtors):
41676         Declare with __attribute__ ((weak)).
41677         * stdlib/exit.c (__libc_atexit) [!SHARED]:
41678         Call __call_tls_dtors only if it's not NULL.
41680 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41682         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
41683         didn't do it already, then set _dl_phdr and _dl_phnum based on the
41684         magic __ehdr_start linker symbol if it's defined.
41685         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
41686         them up here if it was already done.
41688         * elf/dl-support.c (_dl_phdr): Make pointer to const.
41689         (_dl_aux_init): Use const in cast when setting it.
41690         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
41691         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
41692         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
41694         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
41695         Declare them here.
41696         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
41697         * csu/libc-tls.c: Nor here.
41698         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
41700         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
41701         (__libc_message): Never call vsyslog.
41703 2013-03-28  Alan Modra  <amodra@gmail.com>
41705         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
41706         Define as empty.
41707         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
41708         Likewise.
41710 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41712         [BZ #15214]
41713         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
41714         underflow.
41715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41717 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41719         [BZ #15304]
41720         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41721         Don't add gid passed as argument.
41723         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
41725 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
41727         [BZ #15307]
41728         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41729         imaginary part between 1.0 and 1.5 and real part less than 0.5
41730         specially.
41731         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41732         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41733         * math/libm-test.inc (cacos_test): Add more tests.
41734         (casin_test): Likewise.
41735         (casinh_test): Likewise.
41736         * sysdeps/i386/fpu/libm-test-ulps: Update.
41737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41739 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41741         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
41742         constants.
41743         (norm): Likewise.
41744         (denorm): Likewise.
41745         (__dbl_mp): Likewise.
41746         (add_magnitudes): Likewise.
41747         (sub_magnitudes): Likewise.
41748         (__add): Likewise.
41749         (__sub): Likewise.
41750         (__mul): Likewise.
41751         (__sqr): Likewise.
41752         (__inv): Likewise.
41753         (__dvd): Likewise.
41755         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
41756         commented code.
41757         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
41758         (__dubcos): Likewise.
41759         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
41760         (__ieee754_acos): Likewise.
41761         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41762         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
41763         (__exp1): Likewise.
41764         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41765         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41766         (log1): Likewise.
41767         (my_log2): Likewise.
41768         (checkint): Likewise.
41769         * sysdeps/ieee754/dbl-64/e_remainder.c
41770         (__ieee754_remainder): Likewise.
41771         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41772         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
41773         (bsloww): Likewise.
41774         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41776         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
41777         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
41778         MANTISSA_STORE_T to store computations on mantissa.  Use
41779         macros for rounding and division.
41780         (denorm): Likewise.
41781         (__dbl_mp): Likewise.
41782         (add_magnitudes): Likewise.
41783         (sub_magnitudes): Likewise.
41784         (__mul): Likewise.
41785         (__sqr): Likewise.
41786         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
41787         powers of two in terms of TWOPOW macro.
41788         (mp_no): Make type of mantissa as MANTISSA_T.
41789         [!RADIXI]: Define RADIXI.
41790         [!TWO52]: Define TWO52.
41791         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
41793 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41795         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
41796         llroundl symbol when building for PPC32.
41798 2013-03-24  Mark H Weaver  <mhw@netris.org>
41800         * manual/arith.texi (Normalization Functions): Fix prototypes for
41801         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
41803 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41805         [BZ #13889]
41806         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
41807         high value to check if expl overflow.
41808         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
41809         to check for underflow and overflow.
41810         * math/libm-test.inc: Add exp test.
41812 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
41814         [BZ #11120]
41815         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
41816         with NOT_IN_libc.
41818 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41820         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
41821         symbol.
41823 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41825         * math/gen-libm-test.pl (parse_args, special_functions): Properly
41826         wrap blocks consisting of several statements.
41828         * sysdeps/generic/math-tests.h: New file.
41829         * sysdeps/i386/fpu/math-tests.h: Likewise.
41830         * math/test-snan.c: Include it.
41831         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
41833 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41835         [BZ #15285]
41836         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
41837         (__ieee754_j0l): Do not improve calculations using cos of twice
41838         input for inputs above LDBL_MAX / 2.0L.
41839         (__ieee754_y0l): Likewise.
41840         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
41841         (__ieee754_j1l): Do not improve calculations using cos of twice
41842         input for inputs above LDBL_MAX / 2.0L.
41843         (__ieee754_y1l): Likewise.
41844         * math/libm-test.inc (j0_test): Add another test.
41845         (j1_test): Likewise.
41846         (y0_test): Likewise.
41847         (y1_test): Likewise.
41848         * sysdeps/i386/fpu/libm-test-ulps: Update.
41850 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41852         * Rules ($(objpfx)bench-%.c): Include code from a C source
41853         file.
41855 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41857         [BZ #15287]
41858         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41859         imaginary part 1.0 and real part less than 0.5 specially.
41860         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41861         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41862         * math/libm-test.inc (cacos_test): Add more tests.
41863         (casin_test): Likewise.
41864         (casinh_test): Likewise.
41865         * sysdeps/i386/fpu/libm-test-ulps: Update.
41866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41868 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41870         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
41871         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
41873 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
41875         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
41876         * config.make.in (config-cflags-sse4): Remove variable.
41877         (config-cflags-avx): Likewise.
41878         (config-cflags-sse2avx): Likewise.
41879         (config-cflags-novzeroupper): Likewise.
41880         (config-asflags-i686): Likewise.
41881         (have-mfma4): Likewise.
41882         (have-as-vis3): Likewise.
41883         (MIG): Likewise.
41884         * configure.in (MIG): Do not AC_SUBST.
41885         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
41886         (libc_cv_cc_sse4): Do not AC_SUBST.
41887         (libc_cv_cc_avx): Likewise.
41888         (libc_cv_cc_sse2avx): Likewise.
41889         (libc_cv_cc_novzeroupper): Likewise.
41890         (libc_cv_cc_fma4): Likewise.
41891         (libc_cv_as_i686): Likewise.
41892         (libc_cv_sparc_as_vis3): Likewise.
41893         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
41894         LIBC_CONFIG_VAR.
41895         (config-asflags-i686): Likewise.
41896         (config-cflags-avx): Likewise.
41897         (config-cflags-sse2avx): Likewise.
41898         (have-mfma4): Likewise.
41899         (config-cflags-novzeroupper): Likewise.
41900         * sysdeps/mach/configure.in (MIG): Likewise.
41901         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
41902         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
41903         LIBC_CONFIG_VAR.
41904         (config-cflags-avx): Likewise.
41905         (config-cflags-sse2avx): Likewise.
41906         (have-mfma4): Likewise.
41907         (config-cflags-novzeroupper): Likewise.
41908         * configure: Regenerated.
41909         * sysdeps/i386/configure: Likewise.
41910         * sysdeps/mach/configure: Likewise.
41911         * sysdeps/sparc/configure: Likewise.
41912         * sysdeps/x86_64/configure: Likewise.
41914 2013-03-20  Roland McGrath  <roland@hack.frob.com>
41916         [BZ #14812]
41917         * locale/programs/localedef.c (options): Put N_ translation marker
41918         on argument names, not just descriptions.
41920 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41922         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
41924 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
41926         [BZ #14176]
41927         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
41929 2013-03-19  Roland McGrath  <roland@hack.frob.com>
41931         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
41932         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
41933         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
41934         [!BEFORE_ABORT] (before_abort): New function.
41935         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
41936         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
41937         (writev_for_fatal): New function.
41938         (WRITEV_FOR_FATAL): New macro; call that.
41939         (backtrace_and_maps): New function.
41940         (BEFORE_ABORT): New macro; call that.
41941         (struct str_list): Type removed.
41942         (__libc_message, __libc_fatal): Functions removed.
41943         Include <sysdeps/posix/libc_fatal.c> instead.
41945 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
41947         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
41948         constants.
41949         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
41950         double constants.
41952 2013-03-19  Andreas Schwab  <schwab@suse.de>
41954         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
41955         * sysdeps/gnu/configure: Regenerate.
41957         * configure.in: Substitute libc_cv_rtlddir.
41958         * configure: Regenerate.
41959         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
41960         * Makeconfig (rtlddir, inst_rtlddir): New variables.
41961         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
41962         * elf/Makefile (install-others, CFLAGS-interp.c)
41963         (ldso_install, common-ldd-rewrite): Likewise.
41964         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
41965         $(inst_slibdir)/$(rtld-installed-name).
41966         * scripts/rellns-sh: Add -p option.
41967         * Makerules (make-shlib-link): Use rellns-sh to get relative name
41968         for source.
41970 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41972         * manual/nptl.texi: Renamed to ...
41973         * manual/threads.texi: ... this.
41974         * manual/Makefile (chapters): Update.
41976 2013-03-18  Roland McGrath  <roland@hack.frob.com>
41978         [BZ #14812]
41979         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
41980         on argument names, not just descriptions.
41981         * malloc/memusagestat.c (options): Likewise.
41982         * nss/getent.c (options): Likewise.
41984 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
41986         [BZ #14812]
41987         * iconv/iconv_prog.c (options): Put N_ translation marker
41988         on argument names, not just descriptions.
41989         * iconv/iconvconfig.c (options): Likewise.
41991 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
41993         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
41994         implementation which is faster on all x86_64 architectures.
41995         Tested on AMD, Intel Nehalem, SNB, IVB.
41996         * sysdeps/x86_64/strnlen.S: Likewise.
41998         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41999         Remove all multiarch strlen and strnlen versions.
42000         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42001         Remove strlen and strnlen related parts.
42003         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
42004         Inline strlen part.
42005         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
42007         * sysdeps/x86_64/multiarch/strlen.S: Remove.
42008         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
42009         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
42010         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
42011         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42012         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
42014 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
42016         * manual/memory.texi (Malloc Tunable Parameters):
42017         Sort parameters alphabetically. Add comments for missing entries.
42019 2013-03-17  David S. Miller  <davem@davemloft.net>
42021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42023 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
42025         [BZ #15283]
42026         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
42027         for arguments at most half maximum finite value.
42028         * math/libm-test.inc (j0_test): Add more tests.
42029         (j1_test): Likewise.
42030         (y0_test): Likewise.
42031         (y1_test): Likewise.
42032         * sysdeps/i386/fpu/libm-test-ulps: Update.
42033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42035         [BZ #14155]
42036         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
42037         1 / x and functions P and Q for arguments above 0x1p256L.
42038         (__ieee754_y0l): Likewise.
42039         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
42040         (__ieee754_y1l): Likewise.
42041         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
42042         (j1_test): Likewise.
42043         (y0_test): Likewise.
42044         (y1_test): Likewise.
42046 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
42048         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
42049         variable.
42051 2013-03-15  Roland McGrath  <roland@hack.frob.com>
42053         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
42054         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
42055         zero since it's initialized to EXEC_PAGESIZE.
42057         * sysdeps/unix/sysv/linux/ldsodefs.h
42058         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
42059         * sysdeps/generic/ldsodefs.h: ... here.
42061 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
42063         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
42065         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
42066         math/test-snan.c.
42067         * math/test-snan.c: Renamed from
42068         sysdeps/powerpc/fpu/test-powerpc-snan.c.
42069         * math/Makefile (tests): Add test-snan.
42070         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
42071         test-powerpc-snan.
42073         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
42074         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
42075         functions.
42076         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
42077         __builtin_nan family of functions.
42078         * math/libm-test.inc (initialize): Initialize qnan_value with
42079         __builtin_nan family of functions.
42080         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
42081         Remove variables.
42082         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
42083         Remove functions.
42084         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
42085         storage class.  Initialize qNaN_var and sNaN_var with
42086         __builtin_nan and __builtin_nans families of functions,
42087         respectively.
42089         * math/libm-test.inc (acosh_test): Also test with qNaN input.
42090         (sqrt_test): Remove duplicate test with qNaN input.
42091         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
42092         (round_test, signbit_test, significand_test): Note missing +/-Inf
42093         as well as qNaN tests.
42095         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
42096         qNaN_var.  Fix a few strings, too.
42097         * math/libm-test.inc (nan_value): Rename to qnan_value.
42098         * math/gen-libm-test.pl (%beautify): Adjust to that.
42099         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
42100         * math/test-misc.c (main): Likewise.
42101         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
42102         to __qnan_bytes, and __qnan_union, respectively.
42103         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
42104         Likewise.
42105         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
42106         and lqnanval, respectively.
42107         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
42108         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
42109         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
42110         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
42112         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
42113         * math/test-misc.c (main) [__x86_64__]: Enable test for long
42114         doubles.
42116         * math/test-misc.c (main): Fix copy'n'pastos.
42117         * misc/tst-efgcvt.c (special): Likewise.
42119         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
42120         Remove declarations.
42122 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42124         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
42125         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
42126         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
42127         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
42129 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42131         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
42132         macro to return vdso values correctly in IFUNC implementations.
42133         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42134         Optimization by using IFUNC.
42136 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42137             Richard Henderson  <rth@redhat.com>
42138             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42140         * Makefile.in (bench): New target.
42141         * NEWS: Mention the benchmark framework.
42142         * Rules (bench): Likewise.
42143         (binaries-bench): Generate binaries for functions to
42144         benchmark.
42145         * benchtests/Makefile: New makefile for benchmark tests.
42146         * benchtests/bench-skeleton.c: New skeleton file for benchmark
42147         programs.
42148         * benchtests/exp-inputs: New input file for EXP function.
42149         * benchtests/pow-inputs: New input file for POW function.
42150         * scripts/bench.pl: New script to generate source files for
42151         benchmark programs.
42153 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42155         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
42156         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
42157         computations on mantissa.  Use macros for rounding and
42158         division.
42159         (denorm): Likewise.
42160         (__dbl_mp): Likewise.
42161         (add_magnitudes): Likewise.
42162         (sub_magnitudes): Likewise.
42163         (__mul): Likewise.
42164         (__sqr): Likewise.
42165         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
42166         powers of two in terms of TWOPOW macro.
42167         (mp_no): Make type of mantissa as MANTISSA_T.
42168         [!RADIXI]: Define RADIXI.
42169         [!TWO52]: Define TWO52.
42170         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
42172         * manual/nptl.texi (cindex): Modify threads to pthreads.
42174 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
42176         * sysdeps/x86_64/preconfigure: Regenerated.
42178 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
42180         [BZ #14155]
42181         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
42182         0x1p28 and above.
42183         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
42184         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
42185         0x1p28 and above.
42186         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
42187         * math/libm-test.inc (j0_test): Do not allow one spurious
42188         underflow exception.
42189         (y1_test): Likewise.
42191 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42193         * manual/Makefile (chapters): Add nptl.
42194         * manual/debug.texi (Debugging Support): Add link to Threads
42195         chapter.
42196         * manual/nptl.texi: New file.
42198         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
42200 2013-03-14  Petr Baudis  <pasky@ucw.cz>
42202         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
42203         for non-NULL pointer before the memory validity test. Pointed
42204         out by Holger Brunck <holger.brunck@keymile.com>.
42206 2013-03-13  Andreas Schwab  <schwab@suse.de>
42208         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
42209         instead of .os.
42211 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
42213         * timezone/zic.c: Update from tzcode 2013b.
42215 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
42217         * manual/install.texi (Configuring and compiling):
42218         Mention i686 and i586.
42219         * INSTALL: Regenerate.
42221 2013-03-12  Roland McGrath  <roland@hack.frob.com>
42223         * sysdeps/init_array/elf-init.c: New file.
42224         * csu/elf-init.c
42225         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
42226         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
42228         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
42229         __gmon_start__ as global, but as static with a .preinit_array pointer.
42230         * sysdeps/init_array/gmon-start.c: New file.  Use that.
42231         * sysdeps/init_array/crti.S: New file, empty except for comments.
42232         * sysdeps/init_array/crtn.S: Likewise.
42234 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
42236         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
42237         definining bcopy.
42238         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42239         Remove Prefer_SSE_for_memop.
42240         * sysdeps/x86_64/multiarch/init-arch.h: Remove
42241         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
42242         HAS_PREFER_SSE_FOR_MEMOP.
42243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
42244         memset-x86-64.
42245         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42246         Remove bzero, memset ifunc support.
42247         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
42248         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
42249         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42250         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42252 2013-03-11  Andreas Schwab  <schwab@suse.de>
42254         [BZ #15234]
42255         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
42256         by SHLIB_COMPAT.
42257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
42258         (GLIBC_2.16): Remove pthread_atfork.
42260 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
42262         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
42263         (ptestcases.h): Likewise.
42265 2013-03-08  Roland McGrath  <roland@hack.frob.com>
42267         * Makeconfig ($(common-objpfx)config.status): Depend on
42268         sysdeps/*/preconfigure{,.in} too.
42270 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
42272         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
42273         (__free_hook): Use void * instead of __malloc_ptr_t.
42274         (__malloc_hook): Likewise.
42275         (__realloc_hook): Likewise.
42276         (__memalign_hook): Likewise.
42277         (__after_morecore_hook): Likewise.
42278         * malloc/arena.c (save_malloc_hook): Likewise.
42279         (save_free_hook): Likewise.
42280         * malloc/hooks.c (malloc_hook_ini): Likewise.
42281         (realloc_hook_ini): Likewise.
42282         (memalign_hook_ini): Likewise.
42283         * malloc/malloc.c (malloc_hook_ini): Likewise.
42284         (realloc_hook_ini): Likewise.
42285         (memalign_hook_ini): Likewise.
42286         (__free_hook): Likewise.
42287         (__malloc_hook): Likewise.
42288         (__realloc_hook): Likewise.
42289         (__memalign_hook): Likewise.
42290         (__libc_malloc): Likewise.
42291         (__libc_free): Likewise.
42292         (__libc_realloc): Likewise.
42293         (__libc_memalign): Likewise.
42294         (__libc_valloc): Likewise.
42295         (__libc_pvalloc): Likewise.
42296         (__libc_calloc): Likewise.
42297         (__posix_memalign): Likewise.
42298         * malloc/morecore.c (__sbrk): Likewise.
42299         (__default_morecore): Likewise.
42301         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
42303         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
42304         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
42305         __malloc_ptrdiff_t.
42307         * malloc/malloc.h (__malloc_size_t): Remove macro.
42308         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
42309         __malloc_size_t.
42310         (old_memalign_hook): Likewise.
42311         (old_realloc_hook): Likewise.
42312         (struct hdr): Likewise.
42313         (flood): Likewise.
42314         (mallochook): Likewise.
42315         (memalignhook): Likewise.
42316         (reallochook): Likewise.
42317         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
42318         (tr_old_realloc_hook): Likewise.
42319         (tr_old_memalign_hook): Likewise.
42320         (tr_mallochook): Likewise.
42321         (tr_reallochook): Likewise.
42322         (tr_memalignhook): Likewise.
42324 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42326         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
42327         default_ldbl_pack and using as default implementation.
42328         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
42329         implementation.
42330         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
42331         redundant definition.
42332         (ldbl_insert_mantissa): Likewise.
42333         (ldbl_canonicalize): Likewise.
42334         (ldbl_nearbyint): Likewise.
42335         (ldbl_pack): Rename to ldbl_pack_ppc.
42336         (ldbl_unpack): Rename to ldbl_unpack_ppc.
42337         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
42338         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
42340 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42342         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
42343         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
42344         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
42345         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
42346         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
42347         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
42348         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
42349         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
42351 2013-03-07  Andreas Jaeger  <aj@suse.de>
42353         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42354         bits/mman-linux.h.
42356 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42358         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
42359         Include mpa.h and declare __MPEXP.
42360         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
42361         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
42362         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
42363         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
42364         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
42365         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
42366         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
42368         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
42369         (__slowpow): Use long double EXPL and LOGL functions to
42370         compute POW.
42371         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
42372         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
42373         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
42374         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
42375         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
42376         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
42378         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
42379         intermediate variable to calculate exponent.
42380         (__sqr): Likewise.
42381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
42382         Likewise.
42383         (__sqr): Likewise.
42385         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
42386         [!NO__SQR]: Define __sqr.
42387         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
42388         and NO__SQR.  Remove all code except __mul and __sqr.  Include
42389         sysdeps/ieee754/dbl-64/mpa.c.
42390         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42392         [BZ #12723]
42393         * posix/Makefile (tests): Add tst-pathconf.
42394         * posix/tst-pathconf.c: New test case.
42395         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
42396         _PC_PIPE_BUF.
42397         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
42399 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
42401         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
42403 2013-03-06  Andreas Jaeger  <aj@suse.de>
42405         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
42406         definition via __MAP_ANONYMOUS.
42408         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
42409         it's not part of Linux headers.
42411         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
42412         (MAP_HUGE_MASK): Define.
42414         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42415         Define.
42416         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42417         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42418         Define.
42419         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42420         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42421         Define.
42422         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42423         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
42424         Define.
42425         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42427         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
42428         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
42429         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
42430         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
42431         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
42432         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
42434         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42435         Handle f2fs.
42437         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42438         Handle f2fs and efivarfs.
42440         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
42441         f2fs.
42443         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
42444         (EFIVARFS_MAGIC): Add.
42445         (F2FS_LINK_MAX): Add.
42447 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42449         * stdio-common/vfprintf.c: Replace __builtin_expect with
42450         __glibc_unlikely.
42452 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
42454         [BZ #13550]
42455         * sysdeps/generic/bp-sym.h: Remove file.
42456         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
42457         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
42458         <bp-sym.h> and <bp-asm.h>.
42459         (__longjmp): Don't use BP_SYM.
42460         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
42461         and <bp-asm.h>.
42462         (memcpy): Don't use BP_SYM.
42463         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
42464         <bp-sym.h> and <bp-asm.h>.
42465         (memcpy): Don't use BP_SYM.
42466         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
42467         <bp-asm.h>.
42468         (memcpy): Don't use BP_SYM.
42469         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
42470         <bp-asm.h>.
42471         (memset): Don't use BP_SYM.
42472         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42473         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42474         (__bzero): Don't use BP_SYM.
42475         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42476         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42477         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
42478         <bp-sym.h> and <bp-asm.h>.
42479         (memcmp): Don't use BP_SYM.  Remove comment about bounded
42480         pointers.
42481         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
42482         <bp-sym.h> and <bp-asm.h>.
42483         (memcpy): Don't use BP_SYM.
42484         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
42485         <bp-sym.h> and <bp-asm.h>.
42486         (memset): Don't use BP_SYM.
42487         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42488         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42489         (__bzero): Don't use BP_SYM.
42490         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42491         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42492         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
42493         <bp-sym.h> and <bp-asm.h>.
42494         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42495         pointers.
42496         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
42497         <bp-sym.h> and <bp-asm.h>.
42498         (memcpy): Don't use BP_SYM.
42499         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
42500         <bp-sym.h> and <bp-asm.h>.
42501         (memset): Don't use BP_SYM.
42502         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42503         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42504         (__bzero): Don't use BP_SYM.
42505         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42506         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42507         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
42508         <bp-sym.h> and <bp-asm.h>.
42509         (__memchr): Don't use BP_SYM.
42510         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
42511         <bp-sym.h> and <bp-asm.h>.
42512         (memcmp): Don't use BP_SYM.  Remove comment about bounded
42513         pointers.
42514         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
42515         <bp-sym.h> and <bp-asm.h>.
42516         (memcpy): Don't use BP_SYM.
42517         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
42518         <bp-sym.h> and <bp-asm.h>.
42519         (__mempcpy): Don't use BP_SYM.
42520         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
42521         <bp-sym.h> and <bp-asm.h>.
42522         (__memrchr): Don't use BP_SYM.
42523         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
42524         <bp-sym.h> and <bp-asm.h>.
42525         (memset): Don't use BP_SYM.
42526         (__bzero): Likewise.
42527         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
42528         <bp-sym.h> and <bp-asm.h>.
42529         (__rawmemchr): Don't use BP_SYM.
42530         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
42531         <bp-sym.h> and <bp-asm.h>.
42532         (__STRCMP): Don't use BP_SYM.
42533         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
42534         <bp-sym.h> and <bp-asm.h>.
42535         (strchr): Don't use BP_SYM.
42536         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
42537         <bp-sym.h> and <bp-asm.h>.
42538         (__strchrnul): Don't use BP_SYM.
42539         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
42540         <bp-sym.h> and <bp-asm.h>.
42541         (strlen): Don't use BP_SYM.
42542         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
42543         <bp-sym.h> and <bp-asm.h>.
42544         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42545         pointers.
42546         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
42547         <bp-sym.h> and <bp-asm.h>.
42548         (__strnlen): Don't use BP_SYM.
42549         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
42550         <bp-sym.h> and <bp-asm.h>.
42551         (__GI__setjmp): Don't use BP_SYM.
42552         (_setjmp): Likewise.
42553         (__sigsetjmp): Likewise.
42554         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
42555         (L(start_addresses)): Don't use BP_SYM.
42556         (_start): Likewise.
42557         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
42558         <bp-asm.h>.
42559         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
42560         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
42561         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42562         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42563         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
42564         <bp-asm.h>.
42565         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
42566         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
42567         about bounded pointers.
42568         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42569         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42570         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
42571         <bp-asm.h>.
42572         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42573         about bounded pointers.  Remove GKM FIXME comments.
42574         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42575         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
42576         <bp-asm.h>.
42577         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
42578         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
42579         Remove GKM FIXME comments.
42580         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42581         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42582         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
42583         <bp-asm.h>.
42584         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42585         about bounded pointers.  Remove GKM FIXME comment.
42586         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
42587         and <bp-asm.h>.
42588         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42589         pointers.
42590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
42591         <bp-sym.h> and <bp-asm.h>.
42592         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
42594         <bp-sym.h> and <bp-asm.h>.
42595         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42596         comment.
42598 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42600         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
42601         call free(NULL).
42603 2013-03-05  David S. Miller  <davem@davemloft.net>
42605         * po/es.po: Update from translation team.
42607 2013-03-05  Andreas Jaeger  <aj@suse.de>
42609         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
42610         <bits/mman-linux.h>.
42611         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42612         is fine.
42613         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
42614         <bits/mman-linux.h> to end of file.
42615         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42616         is fine.
42617         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
42618         <bits/mman-linux.h> to end of file.
42619         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42620         is fine.
42621         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
42622         <bits/mman-linux.h> to end of file.
42624         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
42625         (MCL_CURRENT, MCL_FUTURE): Define here.
42627 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42629         [BZ #15232]
42630         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
42631         attribute_hidden.
42632         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42634 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42636         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
42637         fourth parameter needed for rt_sigprocmask syscall.
42638         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
42639         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42640         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
42641         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42642         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42643         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
42645 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
42647         [BZ #13550]
42648         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
42649         comment about bounded pointers.
42650         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
42651         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
42653 2013-03-04  Andreas Jaeger  <aj@suse.de>
42655         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
42656         common definitions.
42658         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
42659         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
42660         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
42661         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42662         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42663         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42665 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42667         [BZ #15055]
42668         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
42669         __ieee754_sqrl instead of __sqrl.
42671 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
42673         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
42674         * sysdeps/powerpc/fpu_control.h: ... here.
42675         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
42676         * sysdeps/powerpc/bits/fenvinline.h: ... here.
42677         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
42678         * sysdeps/powerpc/bits/mathinline.h: ... here.
42680 2013-03-01  Roland McGrath  <roland@hack.frob.com>
42682         * elf/dl-hwcaps.c (_dl_important_hwcaps):
42683         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
42684         to just [NEED_DL_SYSINFO_DSO].
42685         * elf/dl-support.c: Likewise.
42686         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
42687         * elf/rtld.c (dl_main): Likewise.
42688         * elf/setup-vdso.h (setup_vdso): Likewise.
42689         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
42690         * sysdeps/unix/sysv/linux/dl-sysdep.c
42691         (_dl_discover_osversion): Likewise.
42693 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
42695         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
42696         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42698 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42700         * NEWS: Mention libm performance improvements and non-x86 PI
42701         futex support.
42703         * csu/libc-start.c (__pthread_initialize_minimal): Change
42704         function arguments.
42705         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42707 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
42709         [BZ #13550]
42710         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
42711         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
42712         <bp-sym.h> and <bp-asm.h>.
42713         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42714         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
42715         and <bp-asm.h>.
42716         (memcpy): Don't use BP_SYM.
42717         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
42718         <bp-asm.h>.
42719         (__mpn_add_n): Don't use BP_SYM.
42720         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
42721         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
42722         and <bp-asm.h>.
42723         (__mpn_addmul_1): Don't use BP_SYM.
42724         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42725         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
42726         <bp-sym.h>.
42727         (_setjmp): Don't use BP_SYM.
42728         (__novmx_setjmp): Likewise.
42729         (__GI__setjmp): Likewise.
42730         (__vmx_setjmp): Likewise.
42731         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
42732         <bp-sym.h>.
42733         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
42734         (__bzero): Don't use BP_SYM.
42735         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42736         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42737         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
42738         <bp-sym.h> and <bp-asm.h>.
42739         (memcpy): Don't use BP_SYM.
42740         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
42741         <bp-sym.h> and <bp-asm.h>.
42742         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42743         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
42744         <bp-sym.h> and <bp-asm.h>.
42745         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42746         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
42747         <bp-asm.h>.
42748         (__mpn_lshift): Don't use BP_SYM.
42749         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42750         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
42751         <bp-asm.h>.
42752         (memset): Don't use BP_SYM.
42753         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42754         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42755         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
42756         <bp-asm.h>.
42757         (__mpn_mul_1): Don't use BP_SYM.
42758         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42759         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
42760         <bp-sym.h> and <bp-asm.h>.
42761         (memcmp): Don't use BP_SYM.
42762         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
42763         <bp-sym.h> and <bp-asm.h>.
42764         (memcpy): Don't use BP_SYM.
42765         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
42766         <bp-sym.h> and <bp-asm.h>.
42767         (memset): Don't use BP_SYM.
42768         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
42769         <bp-sym.h> and <bp-asm.h>.
42770         (strncmp): Don't use BP_SYM.
42771         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
42772         <bp-sym.h> and <bp-asm.h>.
42773         (memcpy): Don't use BP_SYM.
42774         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
42775         <bp-sym.h> and <bp-asm.h>.
42776         (memset): Don't use BP_SYM.
42777         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
42778         <bp-sym.h> and <bp-asm.h>.
42779         (__memchr): Don't use BP_SYM.
42780         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
42781         <bp-sym.h> and <bp-asm.h>.
42782         (memcmp): Don't use BP_SYM.
42783         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
42784         <bp-sym.h> and <bp-asm.h>.
42785         (memcpy): Don't use BP_SYM.
42786         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
42787         <bp-sym.h> and <bp-asm.h>.
42788         (__mempcpy): Don't use BP_SYM.
42789         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
42790         <bp-sym.h> and <bp-asm.h>.
42791         (__memrchr): Don't use BP_SYM.
42792         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
42793         <bp-sym.h> and <bp-asm.h>.
42794         (memset): Don't use BP_SYM.
42795         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
42796         <bp-sym.h> and <bp-asm.h>.
42797         (__rawmemchr): Don't use BP_SYM.
42798         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
42799         <bp-sym.h> and <bp-asm.h>.
42800         (__STRCMP): Don't use BP_SYM.
42801         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
42802         <bp-sym.h> and <bp-asm.h>.
42803         (strchr): Don't use BP_SYM.
42804         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
42805         <bp-sym.h> and <bp-asm.h>.
42806         (__strchrnul): Don't use BP_SYM.
42807         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
42808         <bp-sym.h> and <bp-asm.h>.
42809         (strlen): Don't use BP_SYM.
42810         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
42811         <bp-sym.h> and <bp-asm.h>.
42812         (strncmp): Don't use BP_SYM.
42813         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
42814         <bp-sym.h> and <bp-asm.h>.
42815         (__strnlen): Don't use BP_SYM.
42816         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
42817         <bp-asm.h>.
42818         (__mpn_rshift): Don't use BP_SYM.
42819         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42820         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
42821         <bp-sym.h> and <bp-asm.h>.
42822         (__sigsetjmp): Don't use BP_SYM.
42823         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
42824         (L(start_addresses)): Don't use BP_SYM.
42825         (_start): Likewise.
42826         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
42827         <bp-asm.h>.
42828         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
42829         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42830         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42831         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
42832         <bp-asm.h>.
42833         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
42834         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42835         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42836         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
42837         <bp-asm.h>.
42838         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42839         comments.
42840         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42841         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
42842         <bp-asm.h>.
42843         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
42844         FIXME comments.
42845         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42846         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42847         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
42848         <bp-asm.h>.
42849         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42850         comment.
42851         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
42852         and <bp-asm.h>.
42853         (strncmp): Don't use BP_SYM,
42854         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
42855         <bp-asm.h>.
42856         (__mpn_sub_n): Don't use BP_SYM.
42857         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42858         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
42859         and <bp-asm.h>.
42860         (__mpn_submul_1): Don't use BP_SYM.
42861         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
42863         <bp-sym.h> and <bp-asm.h>.
42864         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
42866         <bp-sym.h> and <bp-asm.h>.
42867         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42868         comment.
42870 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42872         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
42873         Use ZK to minimize writes to Z.
42874         (sub_magnitudes): Simplify code a bit.
42875         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
42876         Use ZK to minimize writes to Z.
42877         (sub_magnitudes): Simplify code a bit.
42879 2013-02-27  Roland McGrath  <roland@hack.frob.com>
42881         * csu/gmon-start.c: Add special exception to license text.
42883 2013-02-27  Richard Henderson  <rth@redhat.com>
42885         * scripts/config.guess: Update from config.git.
42886         * scripts/config.sub: Likewise.
42888 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42890         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
42892         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
42894         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
42896         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
42898         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
42900 2013-02-26  Roland McGrath  <roland@hack.frob.com>
42902         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
42903         [$(build-shared = yes].
42905 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42907         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
42908         (__mul): Reduce iterations for calculating mantissa.
42910         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
42911         MPTWO.
42912         (__mpranred): Likewise.
42914         [BZ #15160]
42915         * malloc/memusagestat.c (main): Draw graphs for heap and stack
42916         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
42918 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
42920         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
42921         Define __attribute__.
42923 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42925         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
42926         unused.
42927         * posix/regex_internal.h (__attribute): Remove.
42928         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
42929         (re_string_context_at): Likewise.
42930         (bitset_not): Use __attribute__ and mark function as possibly
42931         unused.
42932         (bitset_merge): Likewise.
42933         (bitset_mask): Likewise.
42934         (re_string_char_size_at): Likewise.
42935         (re_string_wchar_at): Likewise.
42936         (re_string_elem_size_at): Likewise.
42938 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42940         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
42941         code.
42942         (cc32): Likewise.
42944         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
42945         (__acr): Likewise.
42946         (__cpy): Likewise.
42947         (norm): Likewise.
42948         (denorm): Likewise.
42949         (__dbl_mp): Likewise.
42950         (add_magnitudes): Likewise.
42951         (sub_magnitudes): Likewise.
42952         (__mul): Likewise.
42953         (__inv): Likewise.
42955         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
42956         style.
42958         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
42959         style.
42961         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
42962         code.
42964         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
42965         up changes with default code.
42966         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
42967         Likewise.
42969 2013-02-24  Allan McRae  <allan@archlinux.org>
42971         * manual/socket.texi (The Internet Namespace): Order menu items
42972         to match that in the file.
42974         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
42975         node listing of the info page menu.
42977 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
42979         [BZ #13550]
42980         * sysdeps/i386/bp-asm.h: Remove file.
42981         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
42982         (PARMS): Do not use macros from bp-asm.h.
42983         (S1): Likewise.
42984         (S2): Likewise.
42985         (SIZE): Likewise.
42986         (__mpn_add_n): Do not use BP_SYM
42987         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
42988         "bp-asm.h".
42989         (PARMS): Do not use macros from bp-asm.h.
42990         (S1): Likewise.
42991         (SIZE): Likewise.
42992         (__mpn_addmul_1): Do not use BP_SYM
42993         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
42994         "bp-asm.h".
42995         (PARMS): Do not use macros from bp-asm.h.
42996         (SIGMSK): Likewise.
42997         (_setjmp): Likewise.  Do not use BP_SYM.
42998         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
42999         "bp-asm.h".
43000         (PARMS): Do not use macros from bp-asm.h.
43001         (SIGMSK): Likewise.
43002         (setjmp): Likewise.  Do not use BP_SYM.
43003         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
43004         "bp-asm.h".
43005         (PARMS): Do not use macros from bp-asm.h.
43006         (__frexp): Do not use BP_SYM.
43007         (frexp): Likewise.
43008         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
43009         "bp-asm.h".
43010         (PARMS): Do not use macros from bp-asm.h.
43011         (__frexpf): Do not use BP_SYM.
43012         (frexpf): Likewise.
43013         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
43014         "bp-asm.h".
43015         (PARMS): Do not use macros from bp-asm.h.
43016         (__frexpl): Do not use BP_SYM.
43017         (frexpl): Likewise.
43018         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
43019         "bp-asm.h".
43020         (PARMS): Do not use macros from bp-asm.h.
43021         (__remquo): Do not use BP_SYM.
43022         (remquo): Likewise.
43023         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
43024         "bp-asm.h".
43025         (PARMS): Do not use macros from bp-asm.h.
43026         (__remquof): Do not use BP_SYM.
43027         (remquof): Likewise.
43028         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
43029         "bp-asm.h".
43030         (PARMS): Do not use macros from bp-asm.h.
43031         (__remquol): Do not use BP_SYM.
43032         (remquol): Likewise.
43033         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
43034         "bp-asm.h".
43035         (PARMS): Do not use macros from bp-asm.h.
43036         (DEST): Likewise.
43037         (SRC): Likewise.
43038         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
43039         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
43040         "bp-asm.h".
43041         (PARMS): Do not use macros from bp-asm.h.
43042         (strlen): Do not use BP_SYM.
43043         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
43044         "bp-asm.h".
43045         (PARMS): Do not use macros from bp-asm.h.
43046         (S1): Likewise.
43047         (S2): Likewise.
43048         (SIZE): Likewise.
43049         (__mpn_add_n): Do not use BP_SYM.
43050         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
43051         "bp-asm.h".
43052         (PARMS): Do not use macros from bp-asm.h.
43053         (S1): Likewise.
43054         (SIZE): Likewise.
43055         (__mpn_addmul_1): Do not use BP_SYM.
43056         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
43057         weak_alias.
43058         (bzero): Likewise.
43059         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
43060         "bp-asm.h".
43061         (PARMS): Do not use macros from bp-asm.h.
43062         (S): Likewise.
43063         (SIZE): Likewise.
43064         (__mpn_lshift): Do not use BP_SYM.
43065         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
43066         "bp-asm.h".
43067         (PARMS): Do not use macros from bp-asm.h.
43068         (DEST): Likewise.
43069         (SRC): Likewise.
43070         (LEN): Likewise.
43071         (memcpy): Likewise.  Do not use BP_SYM.
43072         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
43073         libc_hidden_def and weak_alias.
43074         (mempcpy): Do not use BP_SYM in weak_alias.
43075         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
43076         "bp-asm.h".
43077         (PARMS): Do not use macros from bp-asm.h.
43078         (DEST): Likewise.
43079         (LEN): Likewise.
43080         [!BZERO_P] (CHR): Likewise.
43081         (memset): Likewise.  Do not use BP_SYM.
43082         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
43083         "bp-asm.h".
43084         (PARMS): Do not use macros from bp-asm.h.
43085         (S1): Likewise.
43086         (SIZE): Likewise.
43087         (__mpn_mul_1): Do not use BP_SYM.
43088         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
43089         "bp-asm.h".
43090         (PARMS): Do not use macros from bp-asm.h.
43091         (S): Likewise.
43092         (SIZE): Likewise.
43093         (__mpn_rshift): Do not use BP_SYM.
43094         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
43095         "bp-asm.h".
43096         (PARMS): Do not use macros from bp-asm.h.
43097         (STR): Likewise.
43098         (CHR): Likewise.
43099         (strchr): Likewise.  Do not use BP_SYM.
43100         (index): Do not use BP_SYM in weak_alias.
43101         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
43102         "bp-asm.h".
43103         (PARMS): Do not use macros from bp-asm.h.
43104         (DEST): Likewise.
43105         (SRC): Likewise.
43106         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
43107         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
43108         "bp-asm.h".
43109         (PARMS): Do not use macros from bp-asm.h.
43110         (strlen): Do not use BP_SYM.
43111         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
43112         "bp-asm.h".
43113         (PARMS): Do not use macros from bp-asm.h.
43114         (S1): Likewise.
43115         (S2): Likewise.
43116         (SIZE): Likewise.
43117         (__mpn_sub_n): Do not use BP_SYM.
43118         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
43119         "bp-asm.h".
43120         (PARMS): Do not use macros from bp-asm.h.
43121         (S1): Likewise.
43122         (SIZE): Likewise.
43123         (__mpn_submul_1): Do not use BP_SYM.
43124         * sysdeps/i386/i686/add_n.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         (S2): Likewise.
43129         (SIZE): Likewise.
43130         (__mpn_add_n): Do not use BP_SYM.
43131         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
43132         weak_alias.
43133         (bzero): Likewise.
43134         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
43135         "bp-asm.h".
43136         (PARMS): Do not use macros from bp-asm.h.
43137         (BLK2): Likewise.
43138         (LEN): Likewise.
43139         (memcmp): Do not use BP_SYM.
43140         (bcmp): Do not use BP_SYM in weak_alias.
43141         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
43142         "bp-asm.h".
43143         (PARMS): Do not use macros from bp-asm.h.
43144         (DEST): Likewise.
43145         (SRC): Likewise.
43146         (LEN): Likewise.
43147         (memcpy): Likewise.  Do not use BP_SYM.
43148         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
43149         "bp-asm.h".
43150         (PARMS): Do not use macros from bp-asm.h.
43151         (DEST): Likewise.
43152         (SRC): Likewise.
43153         (LEN): Likewise.
43154         (memmove): Likewise.  Do not use BP_SYM.
43155         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
43156         "bp-asm.h".
43157         (PARMS): Do not use macros from bp-asm.h.
43158         (DEST): Likewise.
43159         (SRC): Likewise.
43160         (LEN): Likewise.
43161         (__mempcpy): Likewise.  Do not use BP_SYM.
43162         (mempcpy): Do not use BP_SYM in weak_alias.
43163         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
43164         "bp-asm.h".
43165         (PARMS): Do not use macros from bp-asm.h.
43166         (DEST): Likewise.
43167         (LEN): Likewise.
43168         [!BZERO_P] (CHR): Likewise.
43169         (memset): Likewise.  Do not use BP_SYM.
43170         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
43171         "bp-asm.h".
43172         (PARMS): Do not use macros from bp-asm.h.
43173         (STR2): Likewise.
43174         (strcmp): Do not use BP_SYM.
43175         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
43176         "bp-asm.h".
43177         (PARMS): Do not use macros from bp-asm.h.
43178         (STR): Likewise.
43179         (DELIM): Likewise.
43180         [USE_AS_STRTOK_R] (SAVE): Likewise.
43181         (FUNCTION): Likewise.  Do not use BP_SYM.
43182         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
43183         aliases.
43184         (strtok_r): Likewise.
43185         (__GI___strtok_r): Likewise.
43186         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
43187         (PARMS): Do not use macros from bp-asm.h.
43188         (S): Likewise.
43189         (SIZE): Likewise.
43190         (__mpn_lshift): Do not use BP_SYM.
43191         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
43192         (PARMS): Do not use macros from bp-asm.h.
43193         (STR): Likewise.
43194         (CHR): Likewise.
43195         (__memchr): Do not use BP_SYM.
43196         (memchr): Do not use BP_SYM in weak_alias.
43197         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
43198         (PARMS): Do not use macros from bp-asm.h.
43199         (BLK2): Likewise.
43200         (LEN): Likewise.
43201         (memcmp): Do not use BP_SYM.
43202         (bcmp): Do not use BP_SYM in weak_alias.
43203         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
43204         (PARMS): Do not use macros from bp-asm.h.
43205         (S1): Likewise.
43206         (SIZE): Likewise.
43207         (__mpn_mul_1): Do not use BP_SYM.
43208         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
43209         "bp-asm.h".
43210         (PARMS): Do not use macros from bp-asm.h.
43211         (STR): Likewise.
43212         (CHR): Likewise.
43213         (__rawmemchr): Do not use BP_SYM.
43214         (rawmemchr): Do not use BP_SYM in weak_alias.
43215         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
43216         (PARMS): Do not use macros from bp-asm.h.
43217         (S): Likewise.
43218         (SIZE): Likewise.
43219         (__mpn_rshift): Do not use BP_SYM.
43220         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
43221         (PARMS): Do not use macros from bp-asm.h.
43222         (SIGMSK): Likewise.
43223         (__sigsetjmp): Likewise.  Do not use BP_SYM.
43224         * sysdeps/i386/start.S: Do not include "bp-sym.h".
43225         (_start): Do not use BP_SYM.
43226         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
43227         (PARMS): Do not use macros from bp-asm.h.
43228         (DEST): Likewise.
43229         (SRC): Likewise.
43230         (__stpcpy): Likewise.  Do not use BP_SYM.
43231         (stpcpy): Do not use BP_SYM in weak_alias.
43232         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
43233         "bp-asm.h".
43234         (PARMS): Do not use macros from bp-asm.h.
43235         (DEST): Likewise.
43236         (SRC): Likewise.
43237         (LEN): Likewise.
43238         (__stpncpy): Likewise.  Do not use BP_SYM.
43239         (stpncpy): Do not use BP_SYM in weak_alias.
43240         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
43241         (PARMS): Do not use macros from bp-asm.h.
43242         (STR): Likewise.
43243         (CHR): Likewise.
43244         (strchr): Likewise.  Do not use BP_SYM.
43245         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
43246         "bp-asm.h".
43247         (PARMS): Do not use macros from bp-asm.h.
43248         (STR): Likewise.
43249         (CHR): Likewise.
43250         (__strchrnul): Likewise.  Do not use BP_SYM.
43251         (strchrnul): Do not use BP_SYM in weak_alias.
43252         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
43253         "bp-asm.h".
43254         (PARMS): Do not use macros from bp-asm.h.
43255         (STOP): Likewise.
43256         (strcspn): Do not use BP_SYM.
43257         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
43258         "bp-asm.h".
43259         (PARMS): Do not use macros from bp-asm.h.
43260         (STR): Likewise.
43261         (STOP): Likewise.
43262         (strpbrk): Likewise.  Do not use BP_SYM.
43263         * sysdeps/i386/strrchr.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         (CHR): Likewise.
43268         (strrchr): Likewise.  Do not use BP_SYM.
43269         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
43270         (PARMS): Do not use macros from bp-asm.h.
43271         (SKIP): Likewise.
43272         (strspn): Do not use BP_SYM.
43273         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
43274         (PARMS): Do not use macros from bp-asm.h.
43275         (STR): Likewise.
43276         (DELIM): Likewise.
43277         (SAVE): Likewise.
43278         (FUNCTION): Likewise.  Do not use BP_SYM.
43279         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
43280         aliases.
43281         (strtok_r): Likewise.
43282         (__GI___strtok_r): Likewise.
43283         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
43284         (PARMS): Do not use macros from bp-asm.h.
43285         (S1): Likewise.
43286         (S2): Likewise.
43287         (SIZE): Likewise.
43288         (__mpn_sub_n): Do not use BP_SYM.
43289         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
43290         "bp-asm.h".
43291         (PARMS): Do not use macros from bp-asm.h.
43292         (S1): Likewise.
43293         (SIZE): Likewise.
43294         (__mpn_submul_1): Do not use BP_SYM.
43295         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
43296         <bp-sym.h>.
43297         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
43298         and <bp-asm.h>.
43299         (PARMS): Do not use macros from bp-asm.h.
43300         (FLAGS): Likewise.
43301         (PTID): Likewise.
43302         (TLS): Likewise.
43303         (CTID): Likewise.
43304         (__clone): Do not use BP_SYM.
43305         (clone): Do not use BP_SYM in weak_alias.
43306         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
43307         and <bp-asm.h>.
43308         (PARMS): Do not use macros from bp-asm.h.
43309         (LEN): Likewise.
43310         (__mmap64): Do not use BP_SYM.
43311         (mmap64): Do not use BP_SYM in weak_alias.
43312         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43313         <bp-sym.h> and <bp-asm.h>.
43314         (PARMS): Do not use macros from bp-asm.h.
43315         (__posix_fadvise64_l64): Do not use BP_SYM.
43316         * sysdeps/unix/sysv/linux/i386/semtimedop.S
43317         (PARMS): Do not use macros from bp-asm.h.
43318         (NSOPS): Likewise.
43319         (semtimedop): Do not use BP_SYM.
43320         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
43321         and <bp-asm.h>.
43323 2013-02-21  Allan McRae  <allan@archlinux.org>
43325         * manual/message.texi (Charset conversion in gettext):
43326         Move @end statement to beginning of line.
43328 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43330         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
43331         static.
43332         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
43333         Likewise.
43335         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
43336         (denorm): Likewise.
43337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
43338         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
43340 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43342         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
43343         tail-call to the resolved function if pltexit isn't needed.
43345 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43347         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
43348         or Y being zero as being unlikely.
43349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43350         Likewise.
43352 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
43354         * manual/nss.texi (System Databases and Name Service Switch):
43355         Remove frobnicate @pxref.
43357 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
43359         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
43360         __attribute__ ((unused)) to __attribute__ ((__unused__)).
43362 2013-02-20  Petr Machata  <pmachata@redhat.com>
43364         * elf/elf.h (R_ARM_TARGET1): New macro.
43365         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
43366         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
43367         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
43368         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
43369         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
43370         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
43371         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
43372         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
43373         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
43374         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
43375         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
43376         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
43377         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
43378         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
43379         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
43380         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
43381         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
43382         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
43383         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
43384         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
43385         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
43386         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
43387         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
43388         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
43389         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
43390         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
43391         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
43392         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
43393         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
43394         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
43395         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
43396         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
43397         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
43398         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
43399         (R_ARM_THM_GOT_BREL12): Likewise.
43400         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
43401         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
43402         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
43403         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
43404         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
43405         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
43406         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
43407         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
43408         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
43410 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
43412         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
43413         __attribute_used__ to __attribute__ ((unused)).
43415 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43417         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
43418         powerpc mpa.c.
43419         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
43420         comment formatting.
43421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
43423 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
43425         [BZ #13550]
43426         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
43427         Remove macro.
43428         (ENTER): Remove both macro definitions.
43429         (LEAVE): Likewise.
43430         (CHECK_BOUNDS_LOW): Likewise.
43431         (CHECK_BOUNDS_HIGH): Likewise.
43432         (CHECK_BOUNDS_BOTH): Likewise.
43433         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
43434         (RETURN_BOUNDED_POINTER): Likewise.
43435         (RETURN_NULL_BOUNDED_POINTER): Likewise.
43436         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
43437         (POP_ERRNO_LOCATION_RETURN): Likewise.
43438         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
43439         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43440         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
43441         macros.
43442         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43443         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
43444         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
43445         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
43446         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
43447         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
43448         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
43449         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
43450         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
43451         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
43452         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
43453         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
43454         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43455         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
43456         removed macros.
43457         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43458         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
43459         macros.
43460         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43461         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
43462         * sysdeps/i386/i586/memset.S (memset): Likewise.
43463         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
43464         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43465         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
43466         macros.
43467         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43468         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
43469         Change uses of L(2) to L(out).
43470         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
43471         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
43472         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
43473         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43474         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
43475         removed macros.
43476         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43477         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
43478         macros.
43479         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43480         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
43481         (RETURN): Do not use macro LEAVE.
43482         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
43483         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
43484         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
43485         * sysdeps/i386/i686/memset.S (memset): Likewise.
43486         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
43487         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
43488         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43489         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
43490         Likewise.
43491         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43492         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
43493         L(1_2) and L(1_3) into L(1).
43494         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43495         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
43496         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43497         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
43498         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43499         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
43500         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
43501         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43502         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
43503         macros.
43504         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
43505         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43506         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
43507         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
43508         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
43509         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43510         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
43511         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
43512         * sysdeps/i386/strcspn.S (strcspn): Likewise.
43513         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
43514         * sysdeps/i386/strrchr.S (strrchr): Likewise.
43515         * sysdeps/i386/strspn.S (strspn): Likewise.
43516         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
43517         conditional code.
43518         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43519         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
43520         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43521         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
43522         L(1_3) into L(1_1).
43523         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
43524         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43525         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
43526         macros.
43527         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43529 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
43531         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
43532         macro.
43534 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43536         * math/atest-exp.c (exp_mpn): Remove ROUND.
43537         * math/atest-exp2.c (exp_mpn): Likewise.
43538         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
43540         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
43541         * stdlib/tst-tls-atexit-lib.c: Likewise.
43542         * stdlib/tst-tls-atexit.c: Likewise.
43544 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43546         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
43547         and __attribute_alloc_size__.
43549 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43551         * include/programs/xmalloc.h: Change __attribute_alloc_size to
43552         __attribute_alloc_size__.
43553         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
43554         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
43556 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43558         * include/programs/xmalloc.h: New file.
43559         * catgets/gencat.c: Include it.
43560         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
43561         * elf/pldd.c: Likewise.
43562         * iconv/iconv_charmap.c: Likewise.
43563         * iconv/iconvconfig.c: Likewise.
43564         * iconv/strtab.c: Likewise.
43565         * locale/programs/locale.c: Likewise.
43566         * locale/programs/localedef.h: Likewise.
43567         * locale/programs/simple-hash.c: Likewise.
43568         * nscd/nscd.h: Likewise.
43569         * nss/makedb.c: Likewise.
43570         * sysdeps/generic/ldconfig.h: Likewise.
43572 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43574         * Versions.def: Add GLIBC_2.18.
43575         * include/link.h (struct link_map): New member l_tls_dtor_count.
43576         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
43577         (__call_tls_dtors): Likewise.
43578         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
43579         __cxa_thread_atexit_impl.
43580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43581         Likewise.
43582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43583         Likewise.
43584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43585         Likewise.
43586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43587         Likewise.
43588         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
43590         Likewise.
43591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
43592         Likewise.
43593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43595         Likewise.
43596         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
43597         (tests): Add test case tst-tls-atexit.
43598         (modules-names): Add shared library for tst-tls-atexit.
43599         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
43600         (GLIBC_PRIVATE): Add __call_tls_dtors.
43601         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
43602         for libstdc++.
43603         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
43604         * stdlib/tst-tls-atexit.c: New test case.
43605         * stdlib/tst-tls-atexit-lib.c: New test case.
43607         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
43609         * elf/Versions (ld): Add _dl_find_dso_for_object.
43610         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
43611         * elf/dl-open.c (_dl_find_dso_for_object): New function.
43612         (dl_open_worker): Use _dl_find_dso_for_object.
43613         * elf/dl-sym.c (do_sym): Likewise.
43614         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
43616 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43618         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
43619         Syntactic changes only.
43620         (_dl_runtime_profile): Do a tail-call to the resolved function.
43622 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
43624         [BZ #13550]
43625         * sysdeps/x86_64/bp-asm.h: Remove file.
43626         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
43627         <bp-sym.h> and <bp-asm.h>.
43628         (__clone): Do not use BP_SYM.
43629         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
43630         <bp-sym.h> and <bp-asm.h>.
43631         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43632         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
43633         "bp-asm.h".
43634         (_setjmp): Do not use BP_SYM.
43635         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
43636         "bp-asm.h".
43637         (setjmp): Do not use BP_SYM.
43638         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
43639         libc_hidden_def.
43640         (mempcpy): Do not use BP_SYM in weak_alias.
43641         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
43642         "bp-asm.h".
43643         (strchr): Do not use BP_SYM.
43644         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
43645         "bp-asm.h".
43646         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
43647         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
43648         (_start): Do not use BP_SYM.
43649         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
43650         "bp-asm.h".
43651         (strcat): Do not use BP_SYM.
43652         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
43653         "bp-asm.h".
43654         (STRCMP): Do not use BP_SYM.
43655         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
43656         "bp-asm.h".
43657         (STRCPY): Do not use BP_SYM.
43658         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
43659         "bp-asm.h".
43660         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
43661         "bp-asm.h".
43662         (FUNCTION): Do not use BP_SYM.
43663         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
43664         weak_alias.
43665         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
43667 2013-02-17  Andreas Jaeger  <aj@suse.de>
43669         * time/Versions: Sort entries.
43670         * string/Versions: Likewise.
43671         * resolv/Versions: Likewise.
43672         * posix/Versions: Likewise.
43673         * iconv/Versions: Likewise.
43674         * elf/Versions: Likewise.
43675         * wcsmbs/Versions: Likewise.
43677 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43679         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
43680         loop termination condition.
43682         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
43683         variable to calculate EZ.
43684         (__sqr): Likewise.
43686         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
43687         the lower precision input.
43689 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
43691         [BZ #13550]
43692         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
43693         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
43694         (run-via-rtld-prefix): Do not handle %-bp tests.
43695         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
43696         (all-object-suffixes): Remove .ob.
43697         (bppfx): Remove variable.
43698         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
43699         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
43700         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
43701         [$(build-bounded) = yes] (libtype.ob): Likewise.
43702         * Makerules (elide-routines.ob): Remove variable.
43703         (do-tests-clean): Do not handle *-bp.out.
43704         (common-mostlyclean): Do not handle *-bp and *-bp.out.
43705         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
43706         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
43707         (tests): Do not include $(tests-bp.out).
43708         (xtests): Do not include $(xtests-bp.out).
43709         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
43710         [$(build-bounded) = yes] ($(addprefix
43711         $(objpfx),$(binaries-bounded))): Remove rule.
43712         ($(objpfx)%-bp.out): Remove rule.
43713         * config.make.in (build-bounded): Remove variable.
43714         * crypt/Makefile [$(build-bounded) = yes]
43715         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
43716         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
43717         append to variable.
43718         [$(build-bounded) = yes] (install-lib): Likewise.
43719         [$(build-bounded) = yes] (generated): Likewise.
43720         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
43721         Remove rule.
43722         * intl/Makefile [$(build-bounded) = yes]
43723         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
43724         * math/Makefile [$(build-bounded) = yes]
43725         ($(tests:%=$(objpfx)%-bp): Likewise.
43726         * misc/Makefile [$(build-bounded) = yes]
43727         ($(objpfx)tst-tsearch-bp): Likewise.
43728         * nptl/Makeconfig (bounded-thread-library): Remove variable.
43729         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
43730         Remove dependency.
43731         * string/Makefile (o-objects.ob): Remove variable.
43732         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
43733         (CFLAGS-.ob): Remove variable.
43734         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
43735         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
43736         both definitions of variable.
43737         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
43738         (ASFLAGS-.ob): Remove variable.
43740 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
43742         [BZ #13550]
43743         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
43744         Remove __BOUNDED_POINTERS__ from condition.
43745         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
43746         * string/bits/string2.h [!__NO_STRING_INLINES &&
43747         !__BOUNDED_POINTERS__]: Likewise.
43748         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
43749         Likewise.
43750         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
43751         Remove conditional code.
43752         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
43753         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
43754         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
43755         condition.
43757         [BZ #13550]
43758         * csu/libc-start.c: Do not include <bp-sym.h>.
43759         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
43760         * elf/dl-open.c: Do not include <bp-sym.h>.
43761         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
43762         * math/fegetenv.c: Do not include <bp-sym.h>.
43763         (fegetenv): Do not use BP_SYM in versioned symbols.
43764         * nptl/sysdeps/pthread/bits/libc-lockP.h
43765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
43766         <bp-sym.h>.
43767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43768         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
43769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43770         (__pthread_mutex_destroy): Likewise.
43771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43772         (__pthread_mutex_lock): Likewise.
43773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43774         (__pthread_mutex_trylock): Likewise.
43775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43776         (__pthread_mutex_unlock): Likewise.
43777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43778         (__pthread_mutexattr_init): Likewise.
43779         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43780         (__pthread_mutexattr_destroy): Likewise.
43781         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43782         (__pthread_mutexattr_settype): Likewise.
43783         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43784         (__pthread_rwlock_init): Likewise.
43785         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43786         (__pthread_rwlock_destroy): Likewise.
43787         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43788         (__pthread_rwlock_rdlock): Likewise.
43789         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43790         (__pthread_rwlock_tryrdlock): Likewise.
43791         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43792         (__pthread_rwlock_wrlock): Likewise.
43793         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43794         (__pthread_rwlock_trywrlock): Likewise.
43795         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43796         (__pthread_rwlock_unlock): Likewise.
43797         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43798         (__pthread_key_create): Likewise.
43799         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43800         (__pthread_setspecific): Likewise.
43801         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43802         (__pthread_getspecific): Likewise.
43803         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
43804         Likewise.
43805         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43806         (_pthread_cleanup_push_defer): Likewise.
43807         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43808         (_pthread_cleanup_pop_restore): Likewise.
43809         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43810         (pthread_setcancelstate): Likewise.
43811         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
43812         <bp-sym.h>.
43813         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
43814         (memchr): Do not use BP_SYM in weak_alias.
43815         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
43816         (fegetenv): Do not use BP_SYM in versioned symbols.
43817         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
43818         (fesetenv): Do not use BP_SYM in versioned symbols.
43819         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43820         (feupdateenv): Do not use BP_SYM in versioned symbols.
43821         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43822         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43823         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
43824         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
43825         (open64): Do not use BP_SYM in weak_alias.
43826         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
43827         (fegetenv): Do not use BP_SYM in versioned symbols.
43828         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
43829         (fesetenv): Do not use BP_SYM in versioned symbols.
43830         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43831         (feupdateenv): Do not use BP_SYM in versioned symbols.
43832         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
43833         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
43834         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
43835         (feraiseexcept): Do not use BP_SYM in versioned symbols.
43836         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43837         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43838         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
43839         <bp-sym.h>.
43840         (__libc_start_main): Do not use BP_SYM.
43842 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
43845         redundant return line.
43846         (norm): Likewise.
43847         (denorm): Likewise.
43848         (dbl_mp): Likewise.
43849         (sub_magnitudes): Likewise.
43850         (__add): Likewise.
43851         (__sub): Likewise.
43852         (__mul): Likewise.
43853         (__inv): Likewise.
43854         (__dvd): Likewise.
43855         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
43856         (norm): Likewise.
43857         (denorm): Likewise.
43858         (dbl_mp): Likewise.
43859         (sub_magnitudes): Likewise.
43860         (__add): Likewise.
43861         (__sub): Likewise.
43862         (__mul): Likewise.
43863         (__inv): Likewise.
43864         (__dvd): Likewise.
43866         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
43867         instead of __mul.
43868         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43869         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
43870         (cc32): Likewise.
43872         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
43873         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
43874         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
43875         of __mul for squares.
43876         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
43877         function
43878         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
43879         Likewise.
43880         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
43881         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43883 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
43885         [BZ #13550]
43886         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
43887         code.
43888         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
43889         prototype or function definition.  Rename ubp_* variables and
43890         parameters.  Remove argv definitions conditional on
43891         [__BOUNDED_POINTERS__].
43892         * debug/backtrace.c (__backtrace): Do not use __unbounded.
43893         * elf/dl-runtime.c (_dl_fixup): Likewise.
43894         * include/set-hooks.h (RUN_HOOK): Likewise.
43895         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
43896         definition.
43897         * string/strcpy.c (strcpy): Do not use __unbounded.
43898         * sysdeps/generic/frame.h (struct layout): Likewise.
43899         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
43900         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
43901         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
43902         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
43903         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
43904         (__backtrace): Likewise.
43905         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
43906         use __ptrvalue.
43907         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
43908         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
43909         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
43910         Likewise.
43911         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
43912         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
43913         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43914         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
43915         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
43916         Do not use __unbounded.
43917         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
43918         Rename __unboundedrlimits parameter to rlimits in prototype.
43919         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
43920         Do not use __unbounded.
43921         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
43922         not use __ptrvalue.
43923         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
43924         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
43925         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
43926         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
43927         __ptrvalue or __unbounded.
43928         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
43929         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
43930         use __unbounded.
43931         (__new_msgctl): Do not use __ptrvalue.
43932         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
43933         __unbounded.
43934         (__libc_msgrcv): Do not use __ptrvalue.
43935         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
43936         startup_info): Do not use __unbounded.
43937         (__libc_start_main): Likewise.  Rename ubp_* variables and
43938         parameters.  Remove argv definitions conditional on
43939         [__BOUNDED_POINTERS__].
43940         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
43941         __ptrvalue.
43942         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
43943         use __unbounded.
43944         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
43945         or __ptrvalue.
43946         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
43947         use __unbounded.
43948         (__new_shmctl): Do not use __ptrvalue.
43949         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
43950         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
43951         Likewise.
43952         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
43953         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
43954         (__libc_sigaction): Likewise.
43955         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
43956         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
43957         Likewise.
43958         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
43960 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
43962         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
43964         * string/mempcpy.c: Implement by calling memcpy.
43966 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43968         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
43970         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
43971         evaluation.
43973         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
43974         values in the mantissa.
43976         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
43977         minimize writes to Z.
43978         (sub_magnitudes): Simplify code a bit.
43980 2013-02-12  Roland McGrath  <roland@hack.frob.com>
43982         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
43983         from the message.  The linker prefixes all warnings with that already.
43985 2013-02-12  Andreas Schwab  <schwab@suse.de>
43987         [BZ #15078]
43988         * posix/regexec.c (extend_buffers): Add parameter min_len.
43989         (check_matching): Pass minimum needed length.
43990         (clean_state_log_if_needed): Likewise.
43991         (get_subexp): Likewise.
43992         * posix/Makefile (tests): Add bug-regex34.
43993         (bug-regex34-ENV): Define.
43994         * posix/bug-regex34.c: New file.
43996         [BZ #11561]
43997         * posix/regcomp.c (parse_bracket_exp): When looking up collating
43998         elements compare against the byte sequence of it, not its name.
43999         * posix/Makefile (tests): Add bug-regex35.
44000         (bug-regex35-ENV): Define.
44001         * posix/bug-regex35.c: New file.
44003 2013-02-11  Tom de Vries  <tom@codesourcery.com>
44005         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
44006         comment.
44007         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
44008         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
44009         (CHECK_EOL): Add undef.
44011 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
44013         * bits/stdlib-bsearch.h: New file.
44014         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
44015         * stdlib/stdlib.h: Likewise.
44017 2013-02-11  Roland McGrath  <roland@hack.frob.com>
44019         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
44020         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
44021         declaration.
44022         * manual/search.texi (Array Search Function): Add missing const in
44023         lfind prototype.
44024         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
44025         declaration to use rlim_t.
44026         (Basic Scheduling Functions): Remove erroneous const from
44027         sched_getparam prototype.  Remove erroneous * from
44028         sched_get_priority_max and sched_get_priority_min prototypes.
44029         (Resource Usage): Fix summary @comment on vtimes to refer to
44030         sys/vtimes.h rather than vtimes.h.
44031         Add missing *s in vtimes prototype.
44032         (Limits on Resources): Fix ulimit prototype to return long int.
44033         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
44034         prototypes to use long int rather than double.
44035         (BSD Random): Fix initstate and setstate to use char *, not void *.
44036         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
44037         prototype to make second argument 'struct aiocb64 *const[]'.
44038         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
44039         (Status of AIO Operations): Remove erroneous const in aio_return and
44040         aio_return64 prototypes.
44041         (Synchronizing I/O): Fix sync prototype to return void.
44042         * manual/startup.texi (Suboptions): Remove an erroneous const in
44043         getsubopt prototype.
44044         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
44045         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
44046         use size_t rather than int.
44047         (Scanning All Users): Likewise for getpwent_r.
44048         (Setting Groups): Add missing const to setgroups prototype.
44049         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
44050         * manual/socket.texi (Host Names): Fix gethostbyaddr and
44051         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
44052         'const void *' rather than 'const char *'.
44053         (Host Address Functions): Likewise for inet_ntop.
44054         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
44055         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
44056         ssize_t for return value.
44057         (Sending Data): Likewise for send, sendto, sendmsg.
44058         (Socket Option Functions): Add a missing const in setsockopt prototype.
44059         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
44060         use wchar_t for the argument.
44061         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
44062         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
44063         take no arguments.
44064         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
44065         double/float/long double for second argument.
44066         Fix return types of significand, significandf, significandl.
44067         * manual/filesys.texi (Setting Permissions): Use mode_t for second
44068         argument in fchmod prototype.
44069         (File Owner): Use uid_t and gid_t in fchown prototype.
44070         (File Times): Add const to utimes, futimes, and lutimes prototypes.
44071         (Making Special Files): Use mode_t and dev_t in mknod prototype.
44072         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
44073         use 'const struct dirent **' as argument types to CMP function pointer
44074         argument.
44075         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
44076         (File Times): Fix summary magic @comment for struct utimbuf and utime
44077         to refer to utime.h, not time.h.
44078         * manual/string.texi (Argz Functions): Add missing const in
44079         argz_extract and argz_next prototypes.
44080         (Finding Tokens in a String): Likewise for basename.
44081         (String/Array Comparison): Fix typo in wcscasecmp prototype.
44082         (Copying and Concatenation): Fix typo in wmemmove prototype.
44083         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
44084         (Signal Stack): Remove erroneous const in sigstack prototype.
44085         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
44086         prototype.
44087         (Simple Calendar Time): Likewise for stime.
44088         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
44089         prototype.
44090         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
44091         say sys/sysctl.h instead.
44092         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
44093         and vsyslog prototypes.
44095 2013-02-11  Tom de Vries  <tom@codesourcery.com>
44097         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
44098         Remove.
44100 2013-02-11  Roland McGrath  <roland@hack.frob.com>
44102         * misc/sys/mman.h: Fix typo in mremap comment.
44104 2013-02-08  Roland McGrath  <roland@hack.frob.com>
44106         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
44107         the '\0' terminator.
44109 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
44111         [BZ #13550]
44112         * debug/segfault.c: Don't include <bp-checks.h>.
44113         * sysdeps/generic/bp-checks.h: Remove file.
44114         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
44115         (__GETDENTS): Don't use CHECK_N.
44116         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
44117         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
44118         (__getgroups): Don't use CHECK_N.
44119         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
44120         (setgroups): Don't use CHECK_N.
44121         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
44122         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
44123         (__libc_msgrcv): Don't use CHECK_N.
44124         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
44125         (__libc_msgsnd): Don't use CHECK_N.
44126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
44127         <bp-checks.h>.
44128         (__libc_pread): Don't use CHECK_N.
44129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
44130         include <bp-checks.h>.
44131         (__libc_pread64): Don't use CHECK_N.
44132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
44133         include <bp-checks.h>.
44134         (__libc_pwrite): Don't use CHECK_N.
44135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
44136         include <bp-checks.h>.
44137         (__libc_pwrite64): Don't use CHECK_N.
44138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
44139         <bp-checks.h>.
44140         (__libc_pread): Don't use CHECK_N.
44141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
44142         include <bp-checks.h>.
44143         (__libc_pread64): Don't use CHECK_N.
44144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
44145         include <bp-checks.h>.
44146         (__libc_pwrite): Don't use CHECK_N.
44147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
44148         include <bp-checks.h>.
44149         (__libc_pwrite64): Don't use CHECK_N.
44150         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
44151         (do_pread): Don't use CHECK_N.
44152         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
44153         (do_pread64): Don't use CHECK_N.
44154         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
44155         (do_pwrite): Don't use CHECK_N.
44156         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
44157         (do_pwrite64): Don't use CHECK_N.
44158         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
44159         (__libc_readv): Don't use CHECK_N.
44160         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
44161         (semop): Don't use CHECK_N.
44162         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
44163         <bp-checks.h>.
44164         (semtimedop): Don't use CHECK_N.
44165         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
44166         (__libc_pread): Don't use CHECK_N.
44167         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
44168         <bp-checks.h>.
44169         (__libc_pread64): Don't use CHECK_N.
44170         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
44171         <bp-checks.h>.
44172         (__libc_pwrite): Don't use CHECK_N.
44173         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
44174         <bp-checks.h>.
44175         (__libc_pwrite64): Don't use CHECK_N.
44176         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
44177         <bp-checks.h>.
44178         (__libc_msgrcv): Don't use CHECK_N.
44179         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
44180         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
44181         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
44182         (__libc_writev): Don't use CHECK_N.
44184 2013-02-08  Roland McGrath  <roland@hack.frob.com>
44186         * string/strcpy.c: Removed unused variable.
44188         * Makeconfig (+sysdep-includes): Define with := rather than =.
44189         Use an existing include/ subdir of each sysdeps dir before it.
44191 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44193         * nscd/connection.c (register_traced_file): Comment function.
44194         [HAVE_INOTIFY] (union __inev): Define.
44195         [HAVE_INOTIFY] (inotify_check_files): New function.
44196         [HAVE_INOTIFY] (clear_db_cache): Likewise.
44197         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
44198         clear_db_cache.
44199         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
44201 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44203         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
44204         loaded if not already and that a failure is permanent.
44206 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44208         [BZ #15006]
44209         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
44210         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
44212 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
44214         [BZ #13550]
44215         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
44216         (CHECK_1_NULL_OK): Likewise.
44217         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
44218         (__fxstat): Do not use CHECK_1.
44219         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
44220         <bp-checks.h>.
44221         (___fxstat64): Do not use CHECK_1.
44222         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
44223         <bp-checks.h>.
44224         (__fxstatat): Do not use CHECK_1.
44225         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
44226         <bp-checks.h>.
44227         (__fxstatat64): Do not use CHECK_1.
44228         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
44229         <bp-checks.h>.
44230         (__fxstat): Do not use CHECK_1.
44231         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
44232         <bp-checks.h>.
44233         (__fxstatat): Do not use CHECK_1.
44234         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44235         <bp-checks.h>.
44236         (__getresgid): Do not use CHECK_1.
44237         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44238         <bp-checks.h>.
44239         (__getresuid): Do not use CHECK_1.
44240         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
44241         <bp-checks.h>.
44242         (__lxstat): Do not use CHECK_1.
44243         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44244         <bp-checks.h>.
44245         (__old_msgctl): Do not use CHECK_1.
44246         (__new_msgctl): Likewise.
44247         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
44248         <bp-checks.h>.
44249         (__new_setrlimit): Do not use CHECK_1.
44250         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44251         <bp-checks.h>.
44252         (__old_shmctl): Do not use CHECK_1.
44253         (__new_shmctl): Likewise.
44254         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
44255         <bp-checks.h>.
44256         (__xstat): Do not use CHECK_1.
44257         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
44258         (__lxstat): Do not use CHECK_1.
44259         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
44260         <bp-checks.h>.
44261         (___lxstat64): Do not use CHECK_1.
44262         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
44263         (__old_msgctl): Do not use CHECK_1.
44264         (__new_msgctl): Likewise.
44265         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
44266         <bp-checks.h>.
44267         (__gettimeofday): Do not use CHECK_1.
44268         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
44269         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
44270         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
44271         <bp-checks.h>.
44272         (__gettimeofday): Do not use CHECK_1.
44273         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
44274         (__old_shmctl): Do not use CHECK_1_NULL_OK.
44275         (__new_shmctl): Do not use CHECK_1.
44276         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
44277         <bp-checks.h>.
44278         (do_sigtimedwait): Do not use CHECK_1.
44279         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
44280         <bp-checks.h>.
44281         (do_sigwaitinfo): Do not use CHECK_1.
44282         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
44283         <bp-checks.h>.
44284         (msgctl): Do not use CHECK_1.
44285         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
44286         <bp-checks.h>.
44287         (shmctl): Do not use CHECK_1.
44288         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
44289         (ustat): Do not use CHECK_1.
44290         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
44291         <bp-checks.h>.
44292         (__fxstat): Do not use CHECK_1.
44293         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
44294         <bp-checks.h>.
44295         (__fxstatat): Do not use CHECK_1.
44296         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
44297         <bp-checks.h>.
44298         (__lxstat): Do not use CHECK_1.
44299         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
44300         <bp-checks.h>.
44301         (__xstat): Do not use CHECK_1.
44302         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
44303         (__xstat): Do not use CHECK_1.
44304         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
44305         (___xstat64): Do not use CHECK_1.
44307         [BZ #13550]
44308         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
44309         definitions.
44310         (CHECK_BOUNDS_HIGH): Likewise.
44311         * string/strcpy.c: Do not include <bp-checks.h>.
44312         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
44314 2013-02-07  Roland McGrath  <roland@hack.frob.com>
44316         * nscd/nscd-client.h (__nscd_drop_map_ref):
44317         Add __attribute__ ((unused)).
44318         * nis/nss-nisplus.h (niserr2nss): Likewise.
44320         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
44321         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
44323         * csu/libc-tls.c (init_static_tls, init_slotinfo):
44324         Remove inline keyword.
44325         * include/rounding-mode.h (round_away): Likewise.
44326         * libio/wfileops.c (adjust_wide_data): Likewise.
44327         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
44328         (__m128i_strloadu_tolower): Likewise.
44329         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
44330         (__m128i_strloadu_tolower): Likewise.
44331         * time/mktime.c (ydhms_diff): Likewise.
44332         * locale/elem-hash.h (elem_hash): Likewise.
44333         * locale/setlocale.c (setdata): Likewise.
44334         * posix/regex_internal.h (re_string_char_size_at): Likewise.
44335         (re_string_wchar_at): Likewise.
44336         (bitset_not, bitset_merge, bitset_mask): Likewise.
44337         [!(__GNUC__ > 3)] (inline): Remove macro.
44338         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
44339         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
44340         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
44341         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
44342         * string/memcmp.c (memcmp_bytes): Likewise.
44343         * locale/programs/locarchive.c (compute_hashval): Likewise.
44344         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
44345         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
44346         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
44347         * nss/getent.c (print_rpc, print_protocols): Likewise.
44348         (print_passwd, print_group, print_aliases): Likewise.
44349         * nis/nss-nisplus.h (niserr2nss): Likewise.
44350         * nscd/connections.c (restart_p): Likewise.
44351         Change return type to bool.
44353 2013-02-05  Roland McGrath  <roland@hack.frob.com>
44355         * Makeconfig (all-Depend-files): Add existing
44356         $(sorted-subdirs:=/Depend) files.
44357         (all-subdirs): Remove nss.
44358         * sysdeps/unix/inet/Subdirs: Add it here instead.
44359         * hesiod/Depend: New file.
44361         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
44362         instead of calling alloca.
44364         * io/lseek.c (__lseek): Rename to __libc_lseek.
44365         Define __lseek as an alias.
44367         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
44369 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
44371         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
44372         else clause and remove check for non-standard endianness.
44374 2013-02-04  David S. Miller  <davem@davemloft.net>
44376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44378 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
44380         [BZ #13550]
44381         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
44382         (__ubp_memchr): Remove prototype.
44383         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
44384         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
44385         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
44386         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
44387         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
44388         Remove alias.
44389         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
44390         (__ubp_memchr): Likewise.
44391         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
44392         (__ubp_memchr): Likewise.
44393         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
44394         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
44395         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
44396         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
44397         CHECK_STRING.
44398         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44399         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
44400         (__getcwd): Do not use CHECK_STRING.
44401         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44402         <bp-checks.h>.
44403         (__real_chown): Do not use CHECK_STRING.
44404         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
44405         <bp-checks.h>.
44406         (fchownat): Do not use CHECK_STRING.
44407         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
44408         CHECK_STRING.
44409         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44410         <bp-checks.h>.
44411         (__lchown): Do not use CHECK_STRING.
44412         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
44413         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
44414         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
44415         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
44416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44417         include <bp-checks.h>.
44418         (truncate64): Do not use CHECK_STRING.
44419         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44420         <bp-checks.h>.
44421         (__real_chown): Do not use CHECK_STRING.
44422         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44423         <bp-checks.h>.
44424         (__lchown): Do not use CHECK_STRING.
44425         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44426         <bp-checks.h>.
44427         (__chown): Do not use CHECK_STRING.
44428         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
44429         <bp-checks.h>.
44430         (truncate64): Do not use CHECK_STRING.
44431         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
44432         Likewise.
44433         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
44434         (__xmknod): Do not use CHECK_STRING.
44435         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
44436         <bp-checks.h>.
44437         (__xmknodat): Do not use CHECK_STRING.
44438         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
44439         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
44441 2013-02-04  Andreas Schwab  <schwab@suse.de>
44443         [BZ #14142]
44444         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
44445         * include/netdb.h: Likewise for h_errno.
44446         * elf/tst-stackguard1.c: Include <tls.h>.
44448 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
44450         * elf/link.h (struct link_map): Extend the l_addr comment.
44451         * include/link.h (struct link_map): Likewise.
44453 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
44455         [BZ #13550]
44456         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
44457         (BOUNDED_1): Remove macro.
44458         * debug/backtrace.c: Don't include <bp-checks.h>.
44459         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
44460         (__backtrace): Likewise.
44461         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
44462         <bp-checks.h>.
44463         (__backtrace): Don't use BOUNDED_1.
44464         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
44465         <bp-checks.h>.
44466         (__backtrace): Don't use BOUNDED_1.
44467         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
44468         (__backtrace): Don't use BOUNDED_1.
44469         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
44470         (shmat): Don't use BOUNDED_N.
44472 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
44474         [BZ #13550]
44475         * sysdeps/generic/bp-start.h: Remove file.
44476         * csu/libc-start.c: Don't include <bp-start.h>.
44477         (LIBC_START_MAIN): Set up __environ directly instead of using
44478         INIT_ARGV_and_ENVIRON.
44479         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
44480         <bp-start.h>.
44482         [BZ #13550]
44483         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
44484         definitions.
44485         (CHECK_FCNTL): Likewise.
44486         (CHECK_N_PAGES): Likewise.
44488         [BZ #13550]
44489         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
44490         definitions.
44491         (CHECK_SIGSET_NULL_OK): Likewise.
44492         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
44493         <bp-checks.h>.
44494         (sigpending): Don't use CHECK_SIGSET.
44495         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
44496         <bp-checks.h>.
44497         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44498         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
44499         <bp-checks.h>.
44500         (do_sigsuspend): Don't use CHECK_SIGSET.
44501         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
44502         use CHECK_SIGSET.
44503         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
44504         (do_sigwait): Don't use CHECK_SIGSET.
44505         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
44506         use CHECK_SIGSET.
44507         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
44508         include <bp-checks.h>.
44509         (sigpending): Don't use CHECK_SIGSET.
44510         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
44511         include <bp-checks.h>.
44512         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44513         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
44514         <bp-checks.h>.
44515         (sigpending): Don't use CHECK_SIGSET.
44516         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
44517         <bp-checks.h>.
44518         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44520         [BZ #13550]
44521         * sysdeps/generic/bp-semctl.h: Remove file.
44522         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
44523         <bp-checks.h> and <bp-semctl.h>.
44524         (__old_semctl): Don't use CHECK_SEMCTL.
44525         (__new_semctl): Likewise.
44526         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
44527         and <bp-semctl.h>.
44528         (__old_semctl): Don't use CHECK_SEMCTL.
44529         (__new_semctl): Likewise.
44530         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
44531         <bp-checks.h> and <bp-semctl.h>.
44532         (__old_semctl): Don't use CHECK_SEMCTL.
44533         (__new_semctl): Likewise.
44534         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
44535         <bp-checks.h> and <bp-semctl.h>.
44536         (semctl): Don't use CHECK_SEMCTL.
44538         [BZ #13550]
44539         * Makerules (elide-bp-thunks): Remove variable.
44540         (elide-routines.oS): Don't use $(elide-bp-thunks).
44541         (elide-routines.os): Likewise.
44542         (elide-routines.o): Likewise.
44543         (elide-routines.op): Likewise.
44544         (elide-routines.og): Likewise.
44545         (objects): Don't use $(bp-thunks).
44546         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
44547         include.
44548         (common-generated): Do not add s-proto-bp.d.
44549         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
44550         (int): Likewise.
44551         (typ): Likewise.
44552         Do not generate makefile rules for bounded-pointer thunks.
44553         * sysdeps/generic/bp-thunks.h: Remove file.
44554         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
44555         * sysdeps/unix/s-proto-bp.S: Likewise.
44557         [BZ #15062]
44558         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
44559         parts of result separately when argument is not close to line from
44560         -i to i and one part of argument is small.
44561         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44562         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44563         * math/libm-test.inc (cacos_test): Add more tests.
44564         (casin_test): Likewise.
44565         (casinh_test): Likewise.
44566         * sysdeps/i386/fpu/libm-test-ulps: Update.
44567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44569 2013-01-31  David S. Miller  <davem@davemloft.net>
44571         * po/de.po: Update from translation team.
44573 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
44575         * time/tzfile.c: Include stdint.h for SIZE_MAX.
44577 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
44579         * configure.in (_AC_PROG_CC_C89): New definition.
44580         * configure: Regenerate.
44582         * configure.in (AC_PROG_CPP): New definition.
44583         * configure: Regenerate.
44585 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44587         * debug/tst-backtrace.h: New file.
44588         * debug/tst-backtrace2.c: Include tst-backtrace.h.
44589         (ret): Remove variable.
44590         (x): Likewise.
44591         (FAIL): Remove macro.
44592         (NO_INLINE): Likewise.
44593         (fn1): Use match function instead of strstr.
44594         * debug/tst-backtrace3.c: Include tst-backtrace.h.
44595         (ret): Remove variable.
44596         (x): Likewise.
44597         (FAIL): Remove macro.
44598         (NO_INLINE): Likewise.
44599         (fn): Use match function instead of strstr.
44600         * debug/tst-backtrace4.c: Include tst-backtrace.h.
44601         (ret): Remove variable.
44602         (x): Likewise.
44603         (FAIL): Remove macro.
44604         (NO_INLINE): Likewise.
44605         (handle_signal): Use match function instead of strstr.
44606         * debug/tst-backtrace5.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.
44613 2013-01-23  Roland McGrath  <roland@hack.frob.com>
44615         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
44617 2013-01-23  David S. Miller  <davem@davemloft.net>
44619         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
44620         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
44621         argument of CAS if possible.
44622         * sysdeps/sparc/sparc64/bits/atomic.h
44623         (__arch_compare_and_exchange_val_32_acq): Likewise.
44624         (__arch_compare_and_exchange_val_64_acq): Likewise.
44626 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
44628         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
44629         * sysdeps/posix/ulimit.c: ... this.
44630         Include <limits.h>.
44631         * sysdeps/unix/bsd/ulimit.c: Remove file.
44633 2013-01-23  Adam Conrad  <adconrad@0c3.net>
44635         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
44636         (LDFLAGS-tst-array5): Likewise.
44638 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44640         [BZ #15036]
44641         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
44642         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
44643         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
44644         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
44646 2013-01-21  David S. Miller  <davem@davemloft.net>
44648         * sysdeps/sparc/backtrace.c: New file.
44649         * sysdeps/sparc/sparc32/backtrace.h: New file.
44650         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
44651         * sysdeps/sparc/sparc64/backtrace.h: New file.
44652         * sysdeps/sparc/sparc64/backtrace.c: Delete.
44653         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
44654         -funwind-tables.
44656 2013-01-21  Andreas Schwab  <schwab@suse.de>
44658         [BZ #15020]
44659         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
44660         closed its stdout.
44662 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
44664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
44665         "mpa2.h".
44666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44668 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
44669             Mark Mitchell  <mark@codesourcery.com>
44670             Tom de Vries  <tom@codesourcery.com>
44671             Paul Pluzhnikov  <ppluzhnikov@google.com>
44673         * debug/tst-backtrace2.c: New file.
44674         * debug/tst-backtrace3.c: Likewise.
44675         * debug/tst-backtrace4.c: Likewise.
44676         * debug/tst-backtrace5.c: Likewise.
44677         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
44678         (CFLAGS-tst-backtrace3.c): Likewise.
44679         (CFLAGS-tst-backtrace4.c): Likewise.
44680         (CFLAGS-tst-backtrace5.c): Likewise.
44681         (LDFLAGS-tst-backtrace2): Likewise.
44682         (LDFLAGS-tst-backtrace3): Likewise.
44683         (LDFLAGS-tst-backtrace4): Likewise.
44684         (LDFLAGS-tst-backtrace5): Likewise.
44685         (tests): Add new tests tst-backtrace2, tst-backtrace3,
44686         tst-backtrace4 and tst-backtrace5.
44688 2013-01-18  Anton Blanchard  <anton@samba.org>
44689             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44691         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
44692         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
44693         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
44694         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
44695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
44696         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
44697         "+r" and remove output regs list as redundant.  Add explicit inline
44698         asm to specify register of return val to work around compiler codegen
44699         bug.  Remove (int) cast on return value.  Add return type parameter to
44700         use in macro so that this macro does not truncate return value for
44701         64-bit values.
44702         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
44703         pass to INTERNAL_VSYSCALL_NCS.
44704         (INLINE_VSYSCALL): Add 'long int' as return type to
44705         INTERNAL_VSYSCALL_NCS macro invocation.
44706         (INTERNAL_VSYSCALL): Add 'long int' as return type to
44707         INTERNAL_VSYSCALL_NCS macro invocation.
44708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44710 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44712         [BZ #14496]
44713         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
44714         Fix application of SIMD FP exception mask.
44716         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
44717         mp_no from a power of two.
44718         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
44719         __mpexp_twomm1.  Use __pow_mp.
44721         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
44722         multiplication.
44724 2013-01-17  David S. Miller  <davem@davemloft.net>
44726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44728 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44730         [BZ #15023]
44731         * include/complex.h: Condition contents on [!_COMPLEX_H].
44732         (__kernel_casinhf): New prototype.
44733         (__kernel_casinh): Likewise.
44734         (__kernel_casinhl): Likewise.
44735         * math/Makefile (libm_calls): Add k_casinh.
44736         * math/k_casinh.c: New file.
44737         * math/k_casinhf.c: Likewise.
44738         * math/k_casinhl.c: Likewise.
44739         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
44740         finite nonzero arguments.
44741         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
44742         finite nonzero arguments.
44743         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
44744         finite nonzero arguments.
44745         * math/s_casinh.c: Do not include <float.h>.
44746         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
44747         * math/s_casinhf.c: Do not include <float.h>.
44748         (__casinhf): Move code for finite nonzero arguments to
44749         k_casinhf.c.
44750         * math/s_casinhl.c: Do not include <float.h>.
44751         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
44752         redefine.
44753         (__casinhl): Move code for finite nonzero arguments to
44754         k_casinhl.c.
44755         * math/libm-test.inc (cacos_test): Add more tests.
44756         * sysdeps/i386/fpu/libm-test-ulps: Update.
44757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44759 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
44761         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
44762         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
44763         [!HAVE_MREMAP]: Remove [defined linux] case.
44764         * malloc/arena.c: Do not include <malloc-sysdep.h>.
44766 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44768         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
44770 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
44772         * elf/elf.h (R_386_SIZE32): New relocation.
44773         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
44774         R_386_SIZE32.
44775         (elf_machine_rela): Likewise.
44776         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44777         R_X86_64_SIZE64 and R_X86_64_SIZE32.
44779 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44781         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
44782         (FP_FAST_FMA): Do not define.
44783         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
44784         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
44785         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
44786         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
44787         !_SOFT_FLOAT]: Likewise.
44788         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
44789         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
44790         value.
44791         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
44792         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
44793         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
44794         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
44795         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
44796         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
44797         file.
44799 2013-01-16  Andreas Schwab  <schwab@suse.de>
44801         [BZ #14327]
44802         * include/stdlib.h (__mktemp): Add declaration.
44803         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
44804         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
44806 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44808         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
44809         definitions.
44810         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
44811         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
44812         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
44813         definitions here.
44814         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
44815         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
44816         definitions.
44817         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
44818         and ONE.
44819         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
44820         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
44821         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
44822         definitions.
44823         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
44824         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
44825         definitions.
44826         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
44828         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
44830 2013-01-15  David S. Miller  <davem@davemloft.net>
44832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44833         trunc{,f} to libm-sysdep_routes.
44834         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
44836         file.
44837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
44838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
44839         file.
44840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
44841         file.
44842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
44843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
44844         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
44845         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
44846         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
44847         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
44848         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
44849         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
44851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44852         nearbyint{,f} to libm-sysdep_routes.
44853         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
44855         New file.
44856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
44857         file.
44858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
44859         New file.
44860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
44861         file.
44862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
44863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
44864         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
44865         file.
44866         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
44867         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
44868         file.
44869         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
44870         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
44871         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
44873         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
44874         libc_feholdexcept and libc_fesetenv.
44876 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
44878         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
44880 2013-01-14  David S. Miller  <davem@davemloft.net>
44882         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
44883         (SPARC_ASM_VIS2_IFUNC): Likewise.
44884         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
44885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
44886         use of 'siam' instruction.
44887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
44888         Likewise.
44889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
44890         Likewise.
44891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
44892         Likewise.
44893         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
44894         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
44895         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
44896         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
44897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
44898         file.
44899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
44900         file.
44901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
44902         file.
44903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
44904         file.
44905         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
44906         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
44907         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
44908         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
44909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
44910         new VIS2 routines.
44911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44914         Likewise.
44915         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44916         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44917         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44918         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
44920         routines to libm-sysdep_routines.
44921         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44924         fdim/fdimf to libm-sysdep_routines.
44925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
44926         file.
44927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
44928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
44929         file.
44930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
44931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
44932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
44933         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
44934         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
44935         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
44936         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
44938 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44940         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
44941         to optimize copies.
44943         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
44944         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
44945         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
44948         local variable MPTWO.
44949         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44950         Likewise.
44952 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44954         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
44955         GLOB_NOESCAPE.
44957 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44959         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
44961 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44963         * manual/pattern.texi (glob_t): Document gl_flags.
44964         (glob64_t): Likewise.
44966 2013-01-11  David S. Miller  <davem@davemloft.net>
44968         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
44969         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
44970         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
44971         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
44972         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
44973         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
44974         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
44975         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
44976         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
44977         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
44978         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
44979         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
44980         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
44982         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
44983         sparc V9 rather than using V8 code.
44984         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44985         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44987         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44988         Move to...
44989         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
44990         Here.
44992 2013-01-11  Roland McGrath  <roland@hack.frob.com>
44994         [BZ #14941]
44995         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
44996         not in the main loop.
44997         * configure: Regenerated.
44999 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
45001         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
45002         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
45003         to just #else.
45004         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
45005         [!__GLIBC_HAVE_LONG_LONG] case.
45006         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
45007         condition to just #else.
45008         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
45009         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
45010         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
45011         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
45012         unconditional.
45013         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
45014         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
45015         #elif condition to just #else.
45016         * sysdeps/unix/sysv/linux/sys/sysmacros.h
45017         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
45018         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
45019         #elif condition to just #else.
45021 2013-01-11  Steve Ellcey  <sellcey@mips.com>
45023         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
45024         (EF_MIPS_ARCH_64): Fix value.
45025         (EF_MIPS_ARCH_32R2): New.
45026         (EF_MIPS_ARCH_64R2): New.
45028 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
45030         * Makeconfig (+link-pie-before-libc): New.
45031         (+link-pie-after-libc): Likewise.
45032         (+link-pie-tests): Likewise.
45033         (+link-pie): Rewritten.
45034         (link-before-libc): Remove $(config-LDFLAGS).
45035         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
45036         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
45037         (config-LDFLAGS): Renamed to ...
45038         (rtld-LDFLAGS): This.
45039         (rtld-tests-LDFLAGS): New macro.
45040         (link-libc-rpath-link): Likewise.
45041         (link-libc-tests-rpath-link): Likewise.
45042         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
45043         (link-libc): Prepand $(link-libc-rpath-link).
45044         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
45045         (test-program-prefix): New macro.
45046         (test-via-rtld-prefix): Likewise.
45047         (test-program-cmd): Likewise.
45048         (host-test-program-cmd): Likewise.
45049         * Makefile ($(common-objpfx)testrun.sh): Replace
45050         $(run-program-prefix) with $(test-program-prefix).
45051         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
45052         $(rtld-LDFLAGS).
45053         ($(common-objpfx)shlib.lds): Likewise.
45054         (build-module-helper): Likewise.
45055         ($(common-objpfx)format.lds): Likewise.
45056         * Rules (binaries-pie-tests): New.
45057         (binaries-pie-notests): Likewise.
45058         (binaries-pie): Rewritten.
45059         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
45060         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
45061         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
45062         (make-test-out): Replace $(host-built-program-cmd) with
45063         $(host-test-program-cmd).
45064         * config.make.in (build-hardcoded-path-in-tests): New variable.
45065         * configure.in (--enable-hardcoded-path-in-tests): New configure
45066         option.
45067         (hardcoded_path_in_tests): New AC_SUBST.
45068         * configure: Regenerated.
45069         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
45070         $(built-program-cmd) with $(test-program-cmd).
45071         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
45072         (test_program_cmd): This.
45073         * elf/Makefile ($(objpfx)order.out): Run test with
45074         $(test-program-prefix).
45075         ($(objpfx)order2.out): Likewise.
45076         ($(objpfx)tst-initorder.out): Likewise.
45077         ($(objpfx)tst-initorder2.out): Likewise.
45078         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
45079         $(test-program-cmd).
45080         ($(objpfx)tst-array1-static.out): Likewise.
45081         ($(objpfx)tst-array2.out): Likewise.
45082         ($(objpfx)tst-array3.out): Likewise.
45083         ($(objpfx)tst-array4.out): Likewise.
45084         ($(objpfx)tst-array5.out): Likewise.
45085         ($(objpfx)tst-array5-static.out): Likewise.
45086         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
45087         $(test-program-cmd).
45088         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
45089         $(run-program-prefix) with $(test-program-prefix).
45090         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
45091         (test_program_prefix): This.
45092         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
45093         $(run-program-prefix) with $(test-program-prefix).
45094         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
45095         (test_program_prefix): This.
45096         * iconvdata/tst-tables.sh: Likewise.
45097         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
45098         $(run-program-prefix) with $(test-program-prefix).
45099         ($(objpfx)tst-translit.out): Likewise.
45100         ($(objpfx)tst-gettext2.out): Likewise.
45101         ($(objpfx)tst-gettext4.out): Likewise.
45102         ($(objpfx)tst-gettext6.out): Likewise.
45103         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
45104         (test_program_prefix): This.
45105         * intl/tst-gettext2.sh: Likewise.
45106         * intl/tst-gettext4.sh  Likewise.
45107         * intl/tst-gettext6.sh: Likewise.
45108         * intl/tst-translit.sh: Likewise.
45109         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
45110         with $(test-program-cmd).
45111         * libio/Makefile ($(objpfx)test-freopen.out): Replace
45112         $(run-program-prefix) with $(test-program-prefix).
45113         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
45114         (test_program_prefix): This.
45115         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
45116         $(run-program-prefix) with $(test-program-prefix).
45117         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
45118         (test_program_prefix): This.
45119         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
45120         * posix/Makefile ($(objpfx)globtest.out): Replace
45121         $(run-via-rtld-prefix) and $(test-wrapper) with
45122         $(test-program-prefix) and $(test-via-rtld-prefix).
45123         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
45124         $(test-program-prefix).
45125         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
45126         $(host-test-program-cmd).
45127         (tst-spawn-ARGS): Likewise.
45128         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
45129         $(test-program-prefix).
45130         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
45131         (test_via_rtld_prefix): This.
45132         (test_wrapper): Renamed to ...
45133         (test_program_prefix): This.
45134         (run_program_prefix): Replaced by test_program_prefix.
45135         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
45136         (test_program_prefix): This.
45137         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
45138         with $(host-test-program-cmd).
45139         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
45140         $(run-program-prefix) with $(test-program-prefix).
45141         ($(objpfx)tst-printf.out): Likewise.
45142         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
45143         $(test-program-cmd).
45144         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
45145         (test_program_prefix): This.
45146         * stdio-common/tst-unbputc.sh: Likewise.
45147         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
45148         $(run-program-prefix) with $(test-program-prefix).
45149         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
45150         (test_program_prefix): This.
45151         * string/Makefile ($(objpfx)tst-svc.out):  Replace
45152         $(built-program-cmd) with $(test-program-cmd).
45154 2013-01-11  Andreas Jaeger  <aj@suse.de>
45156         [BZ #15003]
45157         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
45158         value. Sync with Linux 3.7.
45160 2013-01-10  David S. Miller  <davem@davemloft.net>
45162         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
45163         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45164         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45166 2013-01-10  Roland McGrath  <roland@hack.frob.com>
45168         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
45169         never set.
45170         * configure: Regenerated.
45172 2013-01-10  David S. Miller  <davem@davemloft.net>
45174         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
45175         sparc V9 rather than using V8 code.
45176         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45177         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45179 2013-01-10  Roland McGrath  <roland@hack.frob.com>
45181         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
45182         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
45183         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
45184         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
45185         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
45186         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
45187         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
45188         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
45189         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
45190         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
45191         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
45192         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
45193         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
45194         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
45195         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
45196         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
45197         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
45198         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
45199         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
45200         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
45201         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
45202         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
45203         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
45204         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
45205         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
45206         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
45207         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
45209 2013-01-10  David S. Miller  <davem@davemloft.net>
45211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45213 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
45215         * posix/Makefile (tests-static): New variable.
45216         (tests): Add $(tests-static).
45217         (tst-exec-static-ARGS): New variable.
45218         (tst-spawn-static-ARGS): Likewise.
45219         * posix/tst-exec-static.c: New file.
45220         * posix/tst-spawn-static.c: Likewise.
45221         * posix/tst-exec.c: Support run directly.
45222         * posix/tst-spawn.c: Likewise.
45224 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
45226         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
45227         long.
45228         * math/bits/mathcalls.h (llrint): Likewise.
45229         (llround): Likewise.
45230         * stdlib/stdlib.h (struct drand48_data): Likewise.
45231         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
45232         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
45233         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
45234         Likewise.
45235         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
45236         Likewise.
45237         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
45238         (elf_greg_t): Likewise.
45239         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
45240         (__jmp_buf): Likewise.
45241         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
45242         definitions.
45243         (llrint): Likewise, for all definitions.
45244         (llrintl): Likewise.
45246         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
45247         Remove [__GNUC__] condition.
45248         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
45249         condition to just [__USE_ISOC99].
45250         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
45252 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
45254         [BZ #14200]
45255         * sysdeps/unix/sysv/linux/x86/bits/environments.h
45256         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
45257         defined.
45258         (_POSIX_V6_ILP32_OFF32): Likewise.
45259         (_XBS5_ILP32_OFF32): Likewise.
45260         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
45261         (__ILP32_OFFBIG_LDFLAGS): Likewise.
45263 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45265         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
45267         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
45268         doubles __mpexp_twomm1.  Adjust usage.
45269         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
45270         Remove.
45272 2013-01-10  Andreas Schwab  <schwab@suse.de>
45274         [BZ #14964]
45275         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
45276         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
45278 2013-01-09  David S. Miller  <davem@davemloft.net>
45280         [BZ #15003]
45281         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
45282         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
45283         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
45284         (TCP_FASTOPEN): Define.
45285         (tcp_repair_opt): New structure.
45286         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
45287         enum values.
45288         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
45289         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
45290         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
45291         (tcp_cookie_transactions): New structure.
45293 2013-01-09  Anton Blanchard  <anton@samba.org>
45295         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
45296         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
45297         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
45298         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
45300 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
45302         * include/features.h (__USE_ANSI): Remove.
45304 2013-01-09  Roland McGrath  <roland@hack.frob.com>
45306         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
45308         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
45310 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
45312         * sysdeps/s390/fpu/libm-test-ulps: Update.
45314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45316         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
45317         (__acr): Likewise.
45318         (__cpy): Likewise.
45319         (norm): Likewise.
45320         (denorm): Likewise.
45321         (__mp_dbl): Likewise.
45322         (__dbl_mp): Likewise.
45323         (add_magnitudes): Likewise.
45324         (sub_magnitudes): Likewise.
45325         (__add): Likewise.
45326         (__sub): Likewise.
45327         (__mul): Likewise.
45328         (__inv): Likewise.
45329         (__dvd): Likewise.
45330         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
45331         (__acr): Likewise.
45332         (__cpy): Likewise.
45333         (norm): Likewise.
45334         (denorm): Likewise.
45335         (__mp_dbl): Likewise.
45336         (__dbl_mp): Likewise.
45337         (add_magnitudes): Likewise.
45338         (sub_magnitudes): Likewise.
45339         (__add): Likewise.
45340         (__sub): Likewise.
45341         (__mul): Likewise.
45342         (__inv): Likewise.
45343         (__dvd): Likewise.
45344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
45345         (__acr): Likewise.
45346         (__cpy): Likewise.
45347         (norm): Likewise.
45348         (denorm): Likewise.
45349         (__mp_dbl): Likewise.
45350         (__dbl_mp): Likewise.
45351         (add_magnitudes): Likewise.
45352         (sub_magnitudes): Likewise.
45353         (__add): Likewise.
45354         (__sub): Likewise.
45355         (__mul): Likewise.
45356         (__inv): Likewise.
45357         (__dvd): Likewise.
45359 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
45361         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
45362         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
45363         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
45364         2 && __USE_EXTERN_INLINES]: Likewise.
45366 2013-01-08  Andreas Jaeger  <aj@suse.de>
45368         [BZ# 14985]
45369         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
45370         Remove.
45371         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
45372         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
45374 2013-01-07  Anton Blanchard  <anton@samba.org>
45376         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
45377         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45378         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
45379         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45380         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45381         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45382         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
45383         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
45384         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45385         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45386         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45387         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45388         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45389         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45390         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45391         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45392         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45393         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45394         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45395         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45396         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45397         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
45398         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45399         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45400         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
45401         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45402         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45403         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45404         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
45405         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45406         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45407         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45408         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45409         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45410         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45411         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45412         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45413         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45414         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
45415         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45416         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
45417         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45418         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45420 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
45422         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
45423         (__MALLOC_PMT): Likewise.
45424         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
45425         [__GNUC__], only on [_LIBC].
45426         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
45427         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
45428         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
45429         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
45430         forward declaration.
45431         (realloc_hook_ini): Likewise.
45432         (memalign_hook_ini): Likewise.
45433         (__libc_memalign): Do not use __MALLOC_PMT in variable
45434         declaration.
45435         (__libc_valloc): Likewise.
45436         (__libc_pvalloc): Likewise.
45437         (__libc_calloc): Likewise.
45438         (__posix_memalign): Likewise.
45440         [BZ #14996]
45441         * math/s_casinh.c: Include <float.h>.
45442         (__casinh): Do not do computation with squaring and square root
45443         for large arguments.
45444         * math/s_casinhf.c: Include <float.h>.
45445         (__casinhf): Do not do computation with squaring and square root
45446         for large arguments.
45447         * math/s_casinhl.c: Include <float.h>.
45448         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
45449         (__casinhl): Do not do computation with squaring and square root
45450         for large arguments.
45451         * math/libm-test.inc (casin_test): Add more tests.
45452         (casinh_test): Likewise.
45453         * sysdeps/i386/fpu/libm-test-ulps: Update.
45454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45456 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
45458         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
45459         (__x86_64_raw_data_cache_size): Likewise.
45460         (__x86_64_data_cache_size_half): Likewise.
45461         (__x86_64_raw_data_cache_size_half): Likewise.
45462         (__x86_64_shared_cache_size): Likewise.
45463         (__x86_64_raw_shared_cache_size): Likewise.
45464         (__x86_64_shared_cache_size_half): Likewise.
45465         (__x86_64_raw_shared_cache_size_half): Likewise.
45466         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
45467         to ...
45468         (__x86_data_cache_size): This.
45469         (__x86_64_raw_data_cache_size): Renamed to ...
45470         (__x86_raw_data_cache_size): This.
45471         (__x86_64_data_cache_size_half): Renamed to ...
45472         (__x86_data_cache_size_half): This.
45473         (__x86_64_raw_data_cache_size_half): Renamed to ...
45474         (__x86_raw_data_cache_size_half): This.
45475         (__x86_64_shared_cache_size): Renamed to ...
45476         (__x86_shared_cache_size): This.
45477         (__x86_64_raw_shared_cache_size): Renamed to ...
45478         (__x86_raw_shared_cache_size): This.
45479         (__x86_64_shared_cache_size_half): Renamed to ...
45480         (__x86_shared_cache_size_half): This.
45481         (__x86_64_raw_shared_cache_size_half): Renamed to ...
45482         (__x86_raw_shared_cache_size_half): This.
45483         * sysdeps/x86_64/memcpy.S: Updated.
45484         * sysdeps/x86_64/memset.S: Likewise.
45485         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45486         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45487         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45489 2013-01-04  David S. Miller  <davem@davemloft.net>
45491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45493 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
45495         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
45496         1 to avoid redefinition warning.
45497         (__USE_GNU): Don't define.
45498         (init_signaling_nan): Protoize.
45500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45502 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45504         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
45505         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
45506         (__cpymn): Likewise.
45507         (norm): Remove commented code.
45508         (denorm): Likewise.
45509         (__mp_dbl): Likewise.
45510         (__inv): Likewise.
45511         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
45512         (__cpymn): Likewise.
45513         (norm): Remove commented code.
45514         (denorm): Likewise.
45515         (__mp_dbl): Likewise.
45516         (__inv): Likewise.
45518         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
45519         mp_no value for 1.0 and 2.0.
45520         (norm): Use RADIXI instead of radixi.d.
45521         (denorm): Likewise.
45522         (__mul): Use 0.0 instead of zero.d.
45523         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
45524         mp_no value for 1.0 and 2.0.
45525         (norm): Use RADIXI instead of radixi.d.
45526         (denorm): Likewise.
45527         (__mul): Use 0.0 instead of zero.d.
45529 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
45531         [BZ #14994]
45532         * math/s_casinh.c (__casinh): Reduce finite argument to first
45533         quadrant then set signs of results at the end.
45534         * math/s_casinhf.c (__casinhf): Likewise.
45535         * math/s_casinhl.c (__casinhl): Likewise.
45536         * math/libm-test.inc (casin_test): Add more tests.
45537         (casinh_test): Likewise.
45538         * sysdeps/i386/fpu/libm-test-ulps: Update.
45539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45541 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45543         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
45545         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
45547         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
45548         declarations.
45549         (denorm): Likewise.
45550         (__mp_dbl): Likewise.
45551         (__inv): Likewise.
45553         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
45554         and adjust the header comment.
45556         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
45557         variable name from declaration.
45559 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
45561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45562         Initialize COMMON_CPUID_INDEX_7 element.
45563         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
45564         (CPUID_RTM): Likewise.
45565         (HAS_RTM): Likewise.
45566         (COMMON_CPUID_INDEX_7): New enum.
45568 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
45570         [BZ #14981]
45571         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
45572         size is zero, record memory as freed.
45574 2013-01-03  Andreas Jaeger  <aj@suse.de>
45576         * po/ia.po: Add new Interlingua translation.
45578 2012-01-03  Allan McRae  <allan@archlinux.org>
45580         * locale/programs/localedef.c: Fix description of '--posix' flag.
45582 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
45584         * NEWS: Update dates in second copyright notice.
45585         * README: Update copyright dates in example.
45586         * manual/libc.texinfo: Update copyright dates.
45587         * scripts/test-installation.pl: Update copyright date in --version
45588         output.
45590         * hurd/ctty-input.c: Fix copyright notice formatting.
45591         * hurd/ctty-output.c: Likewise.
45592         * hurd/dtable.c: Likewise.
45593         * hurd/hurd-raise.c: Likewise.
45594         * hurd/hurdprio.c: Likewise.
45595         * hurd/msgportdemux.c: Likewise.
45596         * misc/sys/file.h: Likewise.
45597         * misc/sys/ioctl.h: Likewise.
45598         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45599         * sysdeps/mach/hurd/chdir.c: Likewise.
45600         * sysdeps/mach/hurd/fchdir.c: Likewise.
45601         * sysdeps/mach/hurd/rename.c: Likewise.
45602         * sysdeps/mach/hurd/rmdir.c: Likewise.
45603         * sysdeps/mach/hurd/seekdir.c: Likewise.
45604         * sysdeps/mach/hurd/setsid.c: Likewise.
45605         * sysdeps/posix/wait3.c: Likewise.
45607         * All files with FSF copyright notices: Update copyright dates
45608         using scripts/update-copyrights.
45609         * intl/plural.c: Regenerated.
45610         * locale/programs/charmap-kw.h: Likewise.
45611         * locale/programs/locfile-kw.h: Likewise.
45613 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45615         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
45616         four values.
45618         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
45619         calculation loop and add branch prediction.
45621         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
45622         check access beyond bounds of m1np.
45624         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45625         MPTWO.
45626         (__inv): Remove local variable MPTWO to use the global
45627         constant.
45628         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
45629         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45630         variable MPTWO.
45631         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
45632         MP3HALFS static const.
45634 2013-01-01  David S. Miller  <davem@davemloft.net>
45636         * po/ca.po: Update from translation team.
45638 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
45640         * scripts/update-copyrights: New file.
45641         * Makeconfig: Reformat copyright notice.
45642         * ctype/ctype.h: Likewise.
45643         * debug/swprintf_chk.c: Likewise.
45644         * elf/dl-cache.c: Likewise.
45645         * elf/dl-debug.c: Likewise.
45646         * elf/dl-object.c: Likewise.
45647         * grp/initgroups.c: Likewise.
45648         * hurd/Makefile: Likewise.
45649         * hurd/hurd/signal.h: Likewise.
45650         * hurd/hurdfault.c: Likewise.
45651         * hurd/hurdioctl.c: Likewise.
45652         * hurd/hurdlookup.c: Likewise.
45653         * hurd/intr-msg.c: Likewise.
45654         * iconv/gconv_open.c: Likewise.
45655         * libio/swprintf.c: Likewise.
45656         * locale/lc-ctype.c: Likewise.
45657         * locale/nl_langinfo.c: Likewise.
45658         * mach/Machrules: Likewise.
45659         * mach/Makefile: Likewise.
45660         * malloc/obstack.h: Likewise.
45661         * manual/Makefile: Likewise.
45662         * manual/tsort.awk: Likewise.
45663         * misc/bits/stab.def: Likewise.
45664         * nis/nis_print_group_entry.c: Likewise.
45665         * nis/nis_table.c: Likewise.
45666         * nis/nss_compat/compat-pwd.c: Likewise.
45667         * nis/nss_compat/compat-spwd.c: Likewise.
45668         * po/Makefile: Likewise.
45669         * posix/fnmatch.c: Likewise.
45670         * posix/regex.h: Likewise.
45671         * resolv/Makefile: Likewise.
45672         * resolv/nss_dns/dns-network.c: Likewise.
45673         * resolv/res_hconf.c: Likewise.
45674         * scripts/gen-sorted.awk: Likewise.
45675         * soft-fp/soft-fp.h: Likewise.
45676         * stdio-common/printf.h: Likewise.
45677         * stdlib/monetary.h: Likewise.
45678         * stdlib/random.c: Likewise.
45679         * stdlib/random_r.c: Likewise.
45680         * sysdeps/generic/Makefile: Likewise.
45681         * sysdeps/gnu/Makefile: Likewise.
45682         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45683         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45684         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45685         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45686         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45687         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45688         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45689         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45690         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45691         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45692         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45693         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45694         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45695         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45696         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
45697         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45698         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45699         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45700         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45701         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45702         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45703         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45704         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45705         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45706         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
45707         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45708         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45709         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
45710         * sysdeps/mach/hurd/errnos.awk: Likewise.
45711         * sysdeps/mach/hurd/fork.c: Likewise.
45712         * sysdeps/mach/hurd/getcwd.c: Likewise.
45713         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
45714         * sysdeps/mach/hurd/mmap.c: Likewise.
45715         * sysdeps/mach/hurd/utimes.c: Likewise.
45716         * sysdeps/mach/hurd/xmknod.c: Likewise.
45717         * sysdeps/posix/profil.c: Likewise.
45718         * sysdeps/posix/readdir_r.c: Likewise.
45719         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45720         * sysdeps/powerpc/bits/setjmp.h: Likewise.
45721         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
45722         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
45723         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45724         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45725         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45726         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45727         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45728         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45729         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45730         * sysdeps/pthread/lio_listio.c: Likewise.
45731         * sysdeps/sparc/dl-procinfo.h: Likewise.
45732         * sysdeps/unix/i386/sysdep.S: Likewise.
45733         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
45734         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
45735         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
45736         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
45737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45738         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
45739         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
45740         * sysdeps/unix/sysv/linux/speed.c: Likewise.
45741         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45742         * sysdeps/wordsize-32/divdi3.c: Likewise.
45743         * time/sys/time.h: Likewise.
45744         * wcsmbs/Makefile: Likewise.
45746 2013-01-01  David S. Miller  <davem@davemloft.net>
45748         * po/fr.po: Update from translation team.
45750         * catgets/gencat.c: Update copyright year.
45751         * csu/version.c: Likewise.
45752         * debug/catchsegv.sh: Likewise.
45753         * debug/pcprofiledump.c: Likewise.
45754         * debug/xtrace.sh: Likewise.
45755         * elf/ldconfig.c: Likewise.
45756         * elf/ldd.bash.in: Likewise.
45757         * elf/pldd.c: Likewise.
45758         * elf/sotruss.ksh: Likewise.
45759         * elf/sprof.c: Likewise.
45760         * iconv/iconv_prog.c: Likewise.
45761         * iconv/iconvconfig.c: Likewise.
45762         * locale/programs/locale.c: Likewise.
45763         * locale/programs/localedef.c: Likewise.
45764         * login/programs/pt_chown.c: Likewise.
45765         * malloc/memusage.sh: Likewise.
45766         * malloc/memusagestat.c: Likewise.
45767         * malloc/mtrace.pl: Likewise.
45768         * nscd/nscd.c: Likewise.
45769         * nss/getent.c: Likewise.
45770         * nss/makedb.c: Likewise.
45771         * posix/getconf.c: Likewise.
45773 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45775         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
45776         numbers.
45778 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
45780         * math/bits/mathcalls.h (modf): Use __nonnull.
45782 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45784         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
45785         (split): Use macro CN instead of the bare value.
45786         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
45787         could be used.
45788         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
45789         instead of the bare value.
45790         (power1): Likewise.
45792 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45794         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
45795         __ATAN_TWOM.
45796         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45798         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
45799         their values.
45800         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
45801         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45802         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
45803         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
45805 2012-12-28  Andreas Jaeger  <aj@suse.de>
45807         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
45808         values are from Linux 3.7.
45810         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
45811         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
45813 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45815         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
45816         TRUE case.
45818         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
45819         (norm): Likewise.
45820         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
45821         variables with preprocessor constants.
45822         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45823         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45824         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45826 2012-12-27  Bruno Haible  <bruno@clisp.org>
45828         [BZ #14317]
45829         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
45830         only if needed.
45832 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45834         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
45835         and use variable directly.
45836         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
45838         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45839         MPONE.
45840         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
45841         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45842         variable MPONE.
45843         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45844         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45845         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
45846         include directive.  Remove local variable MPONE.
45847         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
45848         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
45849         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45851 2012-12-25  David S. Miller  <davem@davemloft.net>
45853         * version.h (RELEASE): Set to "development".
45854         (VERSION): Set to "2.17.90".
45855         * NEWS: Add 2.18 section.
45857 2012-12-21  David S. Miller  <davem@davemloft.net>
45859         * po/hr.po: Update from translation team.
45861 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45863         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
45865 2012-12-19  Steve Ellcey  <sellcey@mips.com>
45867         * NEWS:  Mention new memcpy for MIPS.
45869 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45871         * manual/contrib.texi (Contributors): Spelling correction.
45873 2012-12-15  David S. Miller  <davem@davemloft.net>
45875         * po/ru.po: Update from translation team.
45877 2012-12-13  David S. Miller  <davem@davemloft.net>
45879         * NEWS: Mention IFUNC testsuite enhancements.
45881         * po/pl.po: Update from translation team.
45882         * po/bg.po: Likewise.
45884         * manual/contrib.texi (Contributors): Update entries for Hongjiu
45885         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
45887 2012-12-11  David S. Miller  <davem@davemloft.net>
45889         * po/sv.po: Update from translation team.
45891         * po/vi.po: Update from translation team.
45893         * po/cs.po: Update from translation team.
45895         * po/de.po: Update from translation team.
45896         * po/eo.po: Likewise.
45897         * po/nl.po: Likewise.
45899 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45901         [BZ #14246]
45902         * manual/argp.texi (Argp Helper Functions): Move node to follow
45903         Argp Parsing State.
45905         [BZ #14872]
45906         * manual/conf.texi (Limits on File System Capacity): Mention if
45907         terminating null is included in the max size.
45909 2012-12-10  Andreas Jaeger  <aj@suse.de>
45911         * po/cs.po: Update from translation team.
45913 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45915         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
45916         void pointer and cast to uintptr_t.
45917         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
45918         path.
45919         * sysdeps/s390/s390-64/memcpy.S: Likewise.
45920         * sysdeps/s390/s390-64/memset.S: Likewise.
45922 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
45924         [BZ #14833]
45925         * menual/message.texi (Message Translation): Fix typos.
45926         (Helper programs for gettext): Likewise.
45928 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
45930         [BZ #14898]
45931         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
45932         Change to -1.
45934 2012-12-07  David S. Miller  <davem@davemloft.net>
45936         * po/libc.pot: Update.
45938 2012-12-07  Richard Henderson  <rth@redhat.com>
45940         [BZ #10114]
45941         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
45942         normal/normal case to before the switch.
45943         (_FP_DIV): Likewise.
45945 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
45946             Mike Frysinger  <vapier@gentoo.org>
45948         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
45949         check for __NR_fadvise64_64.
45951 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
45953         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
45954         0, not just to plain "0" as a statement.
45955         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
45956         with cw.
45958 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
45960         * NEWS: Use sourceware.org in Bugzilla URL.
45962 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
45965         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
45967         * stdio-common/tst-put-error.c (do_test): Add newline to the
45968         padded test to ensure flush.
45970 2012-12-05  Jeff Law  <law@redhat.com>
45972         * sunrpc/etc.rpc (fedfs_admin): Add entry.
45974 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
45976         * README: Don't refer to ports add-on as distributed separately.
45977         Mention AArch64 in list of systems supported in the ports add-on.
45979         * LICENSES: Add more non-FSF copyright and license notices.
45981         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
45982         ((unused)).
45984         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
45986         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
45987         10000 as width of padded output.
45989 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
45991         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
45993         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
45994         variable LX with __attribute__ ((unused)).
45995         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45996         Likewise.
45997         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45998         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45999         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
46000         with __attribute__ ((unused)).
46002 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
46004         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
46006 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
46008         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
46009         (CFLAGS-nldbl-acos.c): New variable.
46010         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
46011         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
46012         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
46013         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
46014         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
46015         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
46016         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
46017         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
46018         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
46019         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
46020         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
46021         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
46022         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
46023         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
46024         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
46025         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
46026         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
46027         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
46028         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
46029         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
46030         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
46031         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
46032         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
46033         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
46034         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
46035         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
46036         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
46037         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
46038         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
46039         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
46040         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
46041         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
46042         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
46043         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
46044         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
46045         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
46046         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
46047         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
46048         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
46049         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
46050         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
46051         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
46052         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
46053         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
46054         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
46055         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
46056         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
46057         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
46058         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
46059         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
46060         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
46061         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
46062         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
46063         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
46064         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
46065         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
46066         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
46067         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
46068         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
46069         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
46070         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
46071         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
46072         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
46073         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
46074         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
46075         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
46076         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
46077         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
46078         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
46079         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
46080         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
46081         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
46082         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
46083         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
46084         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
46085         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
46086         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
46087         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
46088         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
46089         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
46090         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
46091         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
46092         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
46093         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
46094         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
46095         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
46096         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
46097         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
46098         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
46099         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
46100         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
46101         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
46102         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
46103         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
46104         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
46105         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
46106         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
46108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46109         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
46111         [BZ #14914]
46112         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
46113         whole low double instead of just low 47 bits when splitting values
46114         into two parts.
46116 2012-12-03  Allan McRae  <allan@archlinux.org>
46118         * manual/stdio.texi (Predefined Printf Handlers): Remove
46119         @hsep and @vsep usage.
46121 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
46123         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
46124         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
46126 2012-12-03  Jeff Law  <law@redhat.com>
46128         * time/sys/time.h (settimeofday): Do not mark TV argument
46129         as __nonnull.
46131 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
46133         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
46134         when currently writing and seek to current position when not.
46135         * libio/Makefile (tests): Remove bug-fclose1.
46136         * libio/bug-fclose1.c: Delete.
46138 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
46140         * manual/arith.texi (feenableexcept): Fix typo.
46141         (fedisableexcept): Likewise.
46143 2012-11-30  Roland McGrath  <roland@hack.frob.com>
46145         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
46146         second, differently-typed declaration, rather than a cast.
46148 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46150         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
46151         * include/rpc/svc.h: ... here.
46153 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
46155         [BZ #13013]
46156         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
46157         depending n and resplen2 to catch cases where answer
46158         equals answerp2.
46160 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
46162         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
46163         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
46165 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
46167         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
46169 2012-11-29  Roland McGrath  <roland@hack.frob.com>
46171         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
46173 2012-11-28  Jeff Law  <law@redhat.com>
46175         [BZ #13761]
46176         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
46177         dataset_temporary.  Track alloca usage into alloca_used.
46178         If dataset is large allocate and release it via malloc/free.
46180 2012-06-04  Florian Weimer  <fweimer@redhat.com>
46182         [BZ #14197]
46183         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
46185 2012-11-28  David S. Miller  <davem@davemloft.net>
46187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46189 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
46191         [BZ #14803]
46192         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
46193         of pi/2 rounded to nearest to 64 bits.
46194         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
46195         nearest to 64 bits.
46196         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
46197         bits.
46199 2012-11-28  Jeff Law <law@redhat.com>
46200             Martin Osvald <mosvald@redhat.com>
46202         [BZ #14889]
46203         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
46204         * sunrpc/svc.c: Include time.h.
46205         (__svc_accept_failed): New function.
46206         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
46207         any reason other than EINTR, call __svc_accept_failed.
46208         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
46209         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
46211 2012-11-28  Andreas Schwab  <schwab@suse.de>
46213         * scripts/abilist.awk: Also handle indirect functions in .opd
46214         section.
46216 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
46218         [BZ #13881]
46219         * sysdeps/x86/fpu/powl_helper.c: New file.
46220         * sysdeps/x86/fpu/Makefile: Likewise.
46221         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
46222         (p3): New object.
46223         (__ieee754_powl): Use __powl_helper for finite arguments except
46224         integer exponents below 8.
46225         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
46226         (p3): New object.
46227         (__ieee754_powl): Use __powl_helper for finite arguments except
46228         integer exponents below 8.
46229         * math/libm-test.inc (pow_test): Add more tests and enable some
46230         previously disabled tests.
46231         * sysdeps/i386/fpu/libm-test-ulps: Update.
46232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46234 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46235             Carlos O'Donell  <carlos_odonell@mentor.com>
46237         * nss/makedb.c (is_prime): Assert that input is odd and greater
46238         than 4.  Note that fact in a comment too.
46239         (next_prime): Add 4 to input.
46241 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46243         [BZ #11741]
46244         * libio/Makefile (tests): Add test case tst-fwrite-error.
46245         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
46246         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
46247         * libio/tst-fwrite-error.c: New test case.
46249 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
46251         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
46252         before casting to void *.
46253         * include/libc-internal.h (__pointer_type): New macro.
46254         (__integer_if_pointer_type_sub): Likewise.
46255         (__integer_if_pointer_type): Likewise.
46256         (cast_to_integer): Likewise.
46257         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
46258         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
46259         before casting to atomic64_t.
46260         (atomic_exchange_acq): Likewise.
46261         (__arch_exchange_and_add_body): Likewise.
46262         (__arch_add_body): Likewise.
46263         (atomic_add_negative): Likewise.
46264         (atomic_add_zero): Likewise.
46266 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
46268         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
46269         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
46270         (add_fdes): Likewise.
46271         (linear_search_fdes): Likewise.
46272         (binary_search_unencoded_fdes): Likewise.
46274 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
46276         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
46278 2012-11-24  Adam Conrad  <adconrad@0c3.net>
46280         * configure.in: Autodetect C++ header directories.
46281         * configure: Regenerated.
46283 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
46285         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
46287 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
46289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46291 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
46293         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
46294         LDBL_MANT_DIG == 106]: Disable some tests.
46295         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
46296         Likewise.
46297         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
46298         Likewise.
46300         [BZ #14871]
46301         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
46302         input for small inputs.  Return +/- pi/2 for large inputs.
46303         * math/libm-test.inc (atan_test): Add more tests.
46305         * sysdeps/generic/unwind-dw2-fde-glibc.c
46306         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
46307         __attribute__ ((unused)).
46309         [BZ #14645]
46310         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
46311         x * y if x and y are nonzero and z is zero.
46313         [BZ #14811]
46314         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
46315         nonzero exponents with absolute value below 0x1p-117 to +/-
46316         0x1p-117.
46318         [BZ #14869]
46319         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
46320         up arguments below 2**-450, not just those below 2**-500.
46321         * math/libm-test.inc (hypot_test): Add another test.
46323         [BZ #14868]
46324         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
46325         Return a+b for ratio over 2**120, not 2**60.
46326         * math/libm-test.inc (hypot_test): Add another test.
46328         * math/libm-test.inc (clog_test): Use
46329         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
46330         (clog10_test): Likewise.
46332         [BZ #6778]
46333         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
46335 2012-11-22  Andreas Schwab  <schwab@suse.de>
46337         * sysdeps/i386/fpu/libm-test-ulps: Update.
46339 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
46341         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
46342         printf output with newline.
46344 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
46346         [BZ #14865]
46347         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
46348         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
46349         -z nodlopen, -z initfirst and -z execstack support.
46350         * configure: Regenerated.
46352         * elf/elf.h (DF_1_NODIRECT): New macro.
46353         (DF_1_IGNMULDEF): Likewise.
46354         (DF_1_NOKSYMS): Likewise.
46355         (DF_1_NOHDR): Likewise.
46356         (DF_1_EDITED): Likewise.
46357         (DF_1_NORELOC): Likewise.
46358         (DF_1_SYMINTPOSE): Likewise.
46359         (DF_1_GLOBAUDIT): Likewise.
46360         (DF_1_SINGLETON): Likewise.
46361         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
46362         DT_1_SUPPORTED_MASK bits.
46363         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
46365 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
46367         * sysdeps/unix/make-syscalls.sh: Document prefixes.
46369 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
46371         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
46372         macro.
46374         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
46375         (sendmmsg): Move declarations...
46376         * socket/sys/socket.h: ... here.
46377         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
46378         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
46379         include it from...
46380         * socket/recvmmsg.c: ... this new file.
46381         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
46382         (sendmmsg): Rename to __sendmmsg, create weak alias and make
46383         definition of __sendmmsg hidden.
46384         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
46385         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
46386         Move ENOSYS stub into and include it from...
46387         * socket/sendmmsg.c: ... this new file.
46388         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
46389         (sysdep_routines): Move recvmmsg and sendmmsg...
46390         * socket/Makefile (routines): ... here.
46391         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
46392         (GLIBC_PRIVATE): Add __sendmmsg.
46393         * include/sys/socket.h (__sendmmsg): Add declarations.
46394         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
46395         sendmmsg.
46397 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
46399         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
46400         variable I1 with __attribute__ ((unused)).
46401         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46403 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
46405         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
46406         DUMMY variables with __attribute__ ((unused)).
46408         * bits/byteswap.h: Include <bits/types.h>.
46409         (__bswap_64): Use __uint64_t instead of unsigned long long int.
46411 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
46413         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
46414         string_t.  Do not manually set errno.
46415         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
46416         length with __strnlen.  Make sure to both set errno and return it on
46417         failure.
46419 2012-11-19  David S. Miller  <davem@davemloft.net>
46421         With help from Joseph Myers.
46422         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
46423         very large arguments properly.
46424         * math/libm-test.inc (atan_test): New tests.
46425         (atan2_test): New tests.
46426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46427         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46429 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
46431         [BZ #14856]
46432         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
46433         Define to 3.
46435         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
46436         [POSIX] (EADDRNOTAVAIL): Likewise.
46437         [POSIX] (EAFNOSUPPORT): Likewise.
46438         [POSIX] (EALREADY): Likewise.
46439         [POSIX] (ECONNABORTED): Likewise.
46440         [POSIX] (ECONNREFUSED): Likewise.
46441         [POSIX] (ECONNRESET): Likewise.
46442         [POSIX] (EDESTADDRREQ): Likewise.
46443         [POSIX] (EDQUOT): Likewise.
46444         [POSIX] (EHOSTUNREACH): Likewise.
46445         [POSIX] (EIDRM): Likewise.
46446         [POSIX] (EISCONN): Likewise.
46447         [POSIX] (ELOOP): Likewise.
46448         [POSIX] (EMULTIHOP): Likewise.
46449         [POSIX] (ENETDOWN): Likewise.
46450         [POSIX] (ENETUNREACH): Likewise.
46451         [POSIX] (ENOBUFS): Likewise.
46452         [POSIX] (ENODATA): Likewise.
46453         [POSIX] (ENOLINK): Likewise.
46454         [POSIX] (ENOMSG): Likewise.
46455         [POSIX] (ENOPROTOOPT): Likewise.
46456         [POSIX] (ENOSR): Likewise.
46457         [POSIX] (ENOSTR): Likewise.
46458         [POSIX] (ENOTCONN): Likewise.
46459         [POSIX] (ENOTSOCK): Likewise.
46460         [POSIX] (EOPNOTSUPP): Likewise.
46461         [POSIX] (EOVERFLOW): Likewise.
46462         [POSIX] (EPROTO): Likewise.
46463         [POSIX] (EPROTONOSUPPORT): Likewise.
46464         [POSIX] (EPROTOTYPE): Likewise.
46465         [POSIX] (ESTALE): Likewise.
46466         [POSIX] (ETIME): Likewise.
46467         [POSIX] (ETXTBSY): Likewise.
46468         [POSIX] (EWOULDBLOCK): Likewise.
46469         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
46470         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
46471         [POSIX] (SEEK_CUR): Likewise.
46472         [POSIX] (SEEK_END): Likewise.
46473         [POSIX || UNIX98] (mode_t): Do not require.
46474         [POSIX] (off_t): Likewise.
46475         [POSIX] (pid_t): Likewise.
46476         [POSIX] (sys/stat.h): Do not allow header.
46477         [POSIX] (unistd.h): Likewise.
46478         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
46479         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
46480         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
46481         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
46482         require.
46483         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
46484         sigevent): Specify elements.
46485         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
46486         entry.
46487         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
46488         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
46490         * conform/data/cpio.h-data [POSIX]: Disable whole file.
46491         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
46492         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
46493         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
46494         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
46495         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
46496         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
46497         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
46498         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
46499         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
46500         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
46501         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
46502         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
46503         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
46504         Likewise.
46505         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
46506         Likewise.
46507         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
46508         Likewise.
46509         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
46510         Likewise.
46511         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
46512         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
46513         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
46514         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
46515         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
46516         Specify lower bound on value.
46517         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
46518         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
46519         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
46520         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
46521         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
46522         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
46523         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
46524         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
46525         value.
46526         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
46527         as optional.
46528         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
46529         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
46530         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
46531         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
46532         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
46533         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
46534         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
46535         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
46536         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
46537         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
46538         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
46539         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
46540         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
46541         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
46542         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
46543         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
46544         entry.
46545         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
46546         optional.
46547         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
46548         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
46549         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
46550         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
46551         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
46552         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
46553         Likewise.
46554         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
46555         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
46556         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
46557         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
46558         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
46559         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
46560         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
46561         as optional.
46562         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
46563         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
46564         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
46565         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
46566         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
46567         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
46568         specify as optional.
46569         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
46570         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
46571         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
46572         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
46573         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
46574         [XPG3] (NL_LANGMAX): Likewise.
46575         [POSIX || XPG3] (NL_MSGMAX): Likewise.
46576         [POSIX || XPG3] (NL_NMAX): Likewise.
46577         [POSIX || XPG3] (NL_SETMAX): Likewise.
46578         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
46579         [XPG3] (NZERO): Likewise.
46580         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
46581         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
46582         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
46583         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
46584         (REG_ERANGE): Expect.
46585         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
46586         optional-constant.
46587         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
46588         Use (void) in prototype.
46589         [POSIX] (*_t): Allow.
46590         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
46591         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
46592         (WRDE_BADVAL): Expect.
46594         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
46595         expect.
46596         [XPG3 || XPG4] (O_RSYNC): Likewise.
46597         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
46598         Likewise.
46599         [XPG3 || XPG4] (pthread_sigmask): Likewise.
46600         [XPG3 || XPG4] (sigqueue): Likewise.
46601         [XPG3 || XPG4] (sigtimedwait): Likewise.
46602         [XPG3 || XPG4] (sigwaitinfo): Likewise.
46603         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
46604         [XPG3 || XPG4] (vsnprintf): Likewise.
46605         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
46606         Likewise.
46607         [XPG3 || XPG4] (blksize_t): Likewise.
46608         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
46609         Likewise.
46610         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
46611         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
46612         [XPG3 || XPG4] (struct itimerspec): Likewise.
46613         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
46614         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
46615         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
46616         [XPG3 || XPG4] (clockid_t): Likewise.
46617         [XPG3 || XPG4] (timer_t): Likewise.
46618         [XPG3 || XPG4] (clock_getres): Likewise.
46619         [XPG3 || XPG4] (clock_gettime): Likewise.
46620         [XPG3 || XPG4] (clock_settime): Likewise.
46621         [XPG3 || XPG4] (nanosleep): Likewise.
46622         [XPG3 || XPG4] (timer_create): Likewise.
46623         [XPG3 || XPG4] (timer_delete): Likewise.
46624         [XPG3 || XPG4] (timer_gettime): Likewise.
46625         [XPG3 || XPG4] (timer_getoverrun): Likewise.
46626         [XPG3 || XPG4] (timer_settime): Likewise.
46627         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
46628         [XPG3 || XPG4] (getlogin_r): Likewise.
46629         [XPG3 || XPG4] (pread): Likewise.
46630         [XPG3 || XPG4] (pthread_atfork): Likewise.
46631         [XPG3 || XPG4] (pwrite): Likewise.
46633         [BZ #14835]
46634         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
46635         <bits/siginfo.h>.
46637 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
46639         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
46640         finalizing MALLSTREAM.
46642         * sysdeps/mach/hurd/syncfs.c: New file.
46644 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46646         [BZ #14719]
46647         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
46648         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
46649         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
46650         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
46651         (_nss_dns_gethostbyname4_r): Likewise.
46652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
46653         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
46655 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
46657         [BZ #13763]
46658         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
46660 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
46662         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
46663         * elf/cache.c (print_entry): Print ",AArch64" for
46664         FLAG_AARCH64_LIB64
46666         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
46667         * elf/cache.c (print_entry): Print ",hard-float" for
46668         FLAG_ARM_LIBHF.
46670 2012-11-18  David S. Miller  <davem@davemloft.net>
46672         With help from Joseph Myers.
46673         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
46674         cutoff to 2**-13.
46675         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
46676         cutoff to 2**-25.
46677         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
46678         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
46679         small.
46680         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
46681         * math/libm-test.inc (y0_test): New tests.
46682         (y1_test): New tests.
46683         * sysdeps/i386/fpu/libm-test-ulps: Update.
46684         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46687 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
46689         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
46690         64-bit targets.
46691         * configure: Regenerated.
46693 2012-11-17  David S. Miller  <davem@davemloft.net>
46695         [BZ #14811]
46696         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
46697         nonzero exponents with absolute value below 0x1p-128 to +/-
46698         0x1p-128.
46700 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
46702         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
46704         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
46706         * posix/getconf-speclist.c: New file.
46707         * posix/posix-envs.def: Likewise.
46708         * posix/confstr.c (START_ENV_GROUP): New macro.
46709         (END_ENV_GROUP): Likewise.
46710         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46711         (KNOWN_PRESENT_ENV_STRING): Likewise.
46712         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46713         (UNKNOWN_ENVIRONMENT): Likewise.
46714         (confstr): Include posix-envs.def instead of handling
46715         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
46716         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
46717         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
46718         (END_ENV_GROUP): Likewise.
46719         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46720         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46721         (UNKNOWN_ENVIRONMENT): Likewise.
46722         (__sysconf): Include posix-envs.def instead of handling associated
46723         cases directly here.
46724         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
46725         preprocessing getconf-speclist.c rather than running getconf or
46726         generating empty file.
46728 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
46730         * scripts/check-local-headers.sh: Ignore 'mach' headers.
46732 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
46734         [BZ #14672]
46735         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
46737 2012-11-16  David S. Miller  <davem@davemloft.net>
46739         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
46740         smaller than LDBL_EPSILON/2.0L, just return xm1.
46742 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
46744         * elf/tst-array1.c (init): Set constructor priority to 1000.
46745         (fini): Set destructor priority to 1000.
46746         * elf/tst-array2dep.c: Likewise.
46748 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46750         [BZ #11741]
46751         * libio/fileops.c (_IO_new_file_write): Correctly return error.
46752         (_IO_new_file_xsputn): Also return EOF if none of the input
46753         data was written when overflow failed.
46754         * libio/iopadn.c (_IO_padn): Likewise.
46755         * libio/iowpadn.c (_IO_wpadn): Likewise.
46756         * stdio-common/tst-put-error.c: Add copyright notice.
46757         (do_test): Add case for printing padded string.
46758         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
46759         _IO_padn returned error.
46760         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
46761         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
46762         return EOF.
46764 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46766         * libio/libioP.h: Add comment note that the references to C++
46767         bits are now obsolete.
46769 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46771         * math/libm-test.inc (check_complex): Use asprintf.
46773 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
46775         * debug/pcprofiledump.c (print_version): Update copyright year.
46776         * malloc/memusagestat.c (print_version): Likewise.
46778 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
46780         [BZ #14831]
46781         * elf/Makefile (tests): Add tst-audit8.
46782         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
46783         ($(objpfx)tst-audit8.out): New target.
46784         (tst-audit8-ENV): New variable.
46785         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
46786         audit if l_reloc_result is NULL.
46787         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
46788         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
46789         * elf/tst-audit8.c: New file.
46791 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46793         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
46794         * misc/Makefile (CFLAGS-select.c): Define.
46795         * posix/Makefile (CFLAGS-pause.c): Define.
46797 2012-11-13  David S. Miller  <davem@davemloft.net>
46799         * crypt/Makefile: Move test targets after toplevel Rules
46800         inclusion.  Grab any necessary sysdep routines when linking.
46801         * crypt/md5.c (md5_process_block): Remove define, we will always
46802         name it __md5_process_block.
46803         (md5_finish_ctx): Update md5_process_block call.
46804         (md5_stream): Likewise.
46805         (md5_process_bytes): Likewise.
46806         (md5_process_block): Rename to __md5_process_block and move to ...
46807         * crypt/md5-block.c: ... here.
46808         * crypt/sha256.c (sha256_process_block): Move to ...
46809         * crypt/sha256-block.c: ... here.
46810         * crypt/sha512.c (sha512_process_block): Move to ...
46811         * crypt/sha512-block.c: ... here.
46812         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
46813         path.
46814         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
46815         * sysdeps/sparc/sparc64/multiarch/Makefile
46816         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
46817         crypt subdir.
46818         (localedef-aux): Add md5 crypto assembler when in locale subdir.
46819         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
46820         multiarch changes.
46821         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
46822         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
46823         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
46824         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
46825         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
46826         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
46827         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
46828         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
46829         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
46830         file.
46831         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
46832         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
46833         file.
46834         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
46836 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
46838         * timezone/tzselect.ksh: Update from tzcode git revision
46839         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
46840         * timezone/zdump.c: Likewise.
46841         * timezone/zic.c: Likewise.
46842         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
46843         in TZVERSION setting, not $(PKGVERSION).
46844         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
46845         REPORT_BUGS_TO settings.
46847         [BZ #14838]
46848         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
46849         macro.
46851 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46853         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
46854         detection to immediately after _FP_ROUND().
46855         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
46856         bits are 0.
46858 2012-11-11  David S. Miller  <davem@davemloft.net>
46860         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
46861         inttypes.h
46862         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
46863         __close rather than their public counterparts.
46865 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
46867         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
46868         file.
46869         [UNIX98] (sem_timedwait): Do not expect.
46870         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
46871         [XPG4 || UNIX98] (sockatmark): Do not expect.
46872         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
46873         (clock_getcpuclockid): Do not expect.
46874         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
46875         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
46876         Do not expect.
46877         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
46878         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
46879         [UNIX98] (vwscanf): Likewise.
46880         [UNIX98] (vswscanf): Likewise.
46882 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
46884         * timezone/version.h: Remove file.
46885         * timezone/README: Do not refer to version.h.
46886         * timezone/Makefile ($(objpfx)zic.o): New dependency on
46887         $(objpfx)version.h.
46888         ($(objpfx)zdump.o): Likewise.
46889         ($(objpfx)version.h): New target.
46891         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
46892         2012i.
46893         * timezone/README: Don't mention modification to tzselect.ksh.
46894         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
46895         work on unmodified tzselect.ksh.  Substitute version numbers in
46896         tzselect.ksh.
46898         * Makefile (format-me): Remove.
46899         (INSTALL): Adjust indentation.  Use commands directly instead of
46900         using $(format-me).
46902         * aclocal.m4 (ACX_PKGVERSION): New macro.
46903         (ACX_BUGURL): Likewise.
46904         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
46905         (PKGVERSION): New AC_DEFINE_UNQUOTED.
46906         (REPORT_BUGS_TO): Likewise.
46907         * configure: Regenerated.
46908         * config.h.in (PKGVERSION): New macro.
46909         (REPORT_BUGS_TO): Likewise.
46910         * config.make.in (PKGVERSION): New variable.
46911         (PKGVERSION_TEXI): Likewise.
46912         (REPORT_BUGS_TO): Likewise.
46913         (REPORT_BUGS_TEXI): Likewise.
46914         * Makefile (format-me): Use -I$(common-objpfx)manual.
46915         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
46916         ($(common-objpfx)manual/%): New target.
46917         (manual/%): Remove target.
46918         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
46919         (print_version): Use PKGVERSION.
46920         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
46921         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
46922         and REPORT_BUGS_TO.
46923         ($(objpfx)xtrace): Likewise.
46924         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
46925         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
46926         (print_version): Use PKGVERSION.
46927         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
46928         (do_version): Use PKGVERSION.
46929         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
46930         REPORT_BUGS_TO.
46931         (common-ldd-rewrite): Likewise.
46932         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
46933         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
46934         (print_version): Use PKGVERSION.
46935         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
46936         * elf/pldd.c (argp_program_bug_address): Remove variable.
46937         (more_help): New function.
46938         (argp): Use more_help.
46939         (print_version): Use PKGVERSION.
46940         * elf/sln.c (main): Use PKGVERSION.
46941         (usage): Use REPORT_BUGS_TO.
46942         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
46943         (top level): Use PKGVERSION.
46944         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
46945         (print_version): Use PKGVERSION.
46946         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
46947         (print_version): Use PKGVERSION.
46948         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
46949         (print_version): Use PKGVERSION.
46950         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
46951         (print_version): Use PKGVERSION.
46952         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
46953         (print_version): Use PKGVERSION.
46954         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
46955         (print_version): Use PKGVERSION.
46956         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
46957         and BUGURL.
46958         ($(objpfx)memusage): Likewise.
46959         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
46960         (do_version): Use PKGVERSION.
46961         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
46962         (print_version): Use PKGVERSION.
46963         * malloc/mtrace.pl ($PACKAGE): Remove variable.
46964         ($PKGVERSION): New variable.
46965         ($REPORT_BUGS_TO): Likewise.
46966         (usage): Use $REPORT_BUGS_TO.
46967         (top level): Use $PKGVERSION.
46968         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
46969         ($(objpfx)pkgvers.texi): New rule.
46970         ($(objpfx)stamp-pkgvers): Likewise.
46971         * manual/install.texi: Include pkgvers.texi.
46972         (--with-pkgversion): Document new configure option.
46973         (--with-bugurl): Likewise.
46974         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
46975         than necessarily for this particular distribution.  Use
46976         REPORT_BUGS_TO for where to report bugs.
46977         * INSTALL: Regenerated.
46978         * manual/libc.texinfo: Include pkgvers.texi.
46979         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
46980         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
46981         (print_version): Use PKGVERSION.
46982         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
46983         (print_version): Use PKGVERSION.
46984         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
46985         (print_version): Use PKGVERSION.
46986         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
46987         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
46988         macro.
46989         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
46990         (print_version): Use PKGVERSION.
46991         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
46992         (print_version): Use PKGVERSION.
46993         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
46994         and PKGVERSION.
46996         * timezone/checktab.awk: Update from tzcode 2012i.
46997         * timezone/ialloc.c: Likewise.
46998         * timezone/private.h: Likewise.
46999         * timezone/scheck.c: Likewise.
47000         * timezone/tzfile.h: Likewise.
47001         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
47002         (TZVERSION): Hardcode tzcode version number.
47003         * timezone/zdump.c: Update from tzcode 2012i.
47004         * timezone/zic.c: Likewise.
47005         * timezone/version.h: New file.
47006         * timezone/README: Describe version.h.  Update upstream location.
47008         [BZ #14824]
47009         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
47010         (mktemp): Enable declaration.
47011         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
47012         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
47013         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
47014         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
47015         Likewise.
47016         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
47017         Likewise.
47018         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
47019         Likewise.
47020         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
47021         Likewise.
47022         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
47023         Likewise.
47024         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
47025         Likewise.
47027         [BZ #14821]
47028         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
47029         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
47030         for copies of such integer values.
47031         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47032         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47034 2012-11-09  Andreas Jaeger  <aj@suse.de>
47036         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
47037         definitions and declarations that are provided by
47038         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
47040 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47042         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
47043         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
47044         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
47045         definition.
47047 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47049         * elf/elf.h: Update comment before AArch64 relocations.
47051 2012-11-07  David S. Miller  <davem@davemloft.net>
47053         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
47054         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47055         (__start_context): Declare.
47056         (__makecontext_ret): Delete.
47057         (__makecontext): Hook up __start_context instead of
47058         __makecontext_ret.
47059         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
47060         (sysdep_routines): Add __start_context when in stdlib.
47062 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47064         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
47065         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
47066         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
47067         hardcoded "nm".
47068         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
47069         (READELF): New variable.  Use it instead of hardcoded "readelf".
47071 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47073         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
47074         * sysdeps/x86/Makefile: Here.
47075         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
47076         * sysdeps/x86/tst-xmmymm.sh: This.
47078 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47080         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
47081         expectations.
47082         [UNIX98] (pthread_barrier_t): Do not expect.
47083         [UNIX98] (pthread_barrierattr_t): Likewise.
47084         [UNIX98] (pthread_spinlock_t): Likewise.
47085         [UNIX98] (pthread_barrier_destroy): Likewise.
47086         [UNIX98] (pthread_barrier_init): Likewise.
47087         [UNIX98] (pthread_barrier_wait): Likewise.
47088         [UNIX98] (pthread_barrierattr_destroy): Likewise.
47089         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
47090         [UNIX98] (pthread_barrierattr_init): Likewise.
47091         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
47092         [UNIX98] (pthread_getcpuclockid): Likewise.
47093         [UNIX98] (pthread_mutex_timedlock): Likewise.
47094         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
47095         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
47096         [UNIX98] (pthread_sigmask): Likewise.
47097         [UNIX98] (pthread_spin_destroy): Likewise.
47098         [UNIX98] (pthread_spin_init): Likewise.
47099         [UNIX98] (pthread_spin_lock): Likewise.
47100         [UNIX98] (pthread_spin_trylock): Likewise.
47101         [UNIX98] (pthread_spin_unlock): Likewise.
47102         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
47103         Do not expect.
47104         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
47105         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
47106         [XPG3 || XPG4] (pthread_cond_t): Likewise.
47107         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
47108         [XPG3 || XPG4] (pthread_key_t): Likewise.
47109         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
47110         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
47111         [XPG3 || XPG4] (pthread_once_t): Likewise.
47112         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
47113         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
47114         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
47115         [XPG3 || XPG4] (pthread_t): Likewise.
47117         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
47118         not expect.
47119         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
47121         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
47122         Change function return type to int.
47124         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
47125         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
47126         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
47127         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
47128         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
47129         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
47130         [!POSIX] (posix_madvise): Likewise.
47131         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
47132         && !UNIX98].
47133         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
47134         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
47135         (mode_t): Likewise.
47136         (posix_mem_offset): Likewise.
47137         (posix_typed_mem_get_info): Likewise.
47138         (posix_typed_mem_open): Likewise.
47140         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
47141         Change condition to [XOPEN2K8].
47143         * conform/conformtest.pl: Preprocess allow-header data with -x c
47144         instead of from stdin.
47145         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
47146         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
47147         [C99-based standards] (cerfc): Likewise.
47148         [C99-based standards] (cexp2): Likewise.
47149         [C99-based standards] (cexpm1): Likewise.
47150         [C99-based standards] (clog10): Likewise.
47151         [C99-based standards] (clog1p): Likewise.
47152         [C99-based standards] (clog2): Likewise.
47153         [C99-based standards] (clgamma): Likewise.
47154         [C99-based standards] (ctgamma): Likewise.
47155         [C99-based standards] (cerff): Likewise.
47156         [C99-based standards] (cerfcf): Likewise.
47157         [C99-based standards] (cexp2f): Likewise.
47158         [C99-based standards] (cexpm1f): Likewise.
47159         [C99-based standards] (clog10f): Likewise.
47160         [C99-based standards] (clog1pf): Likewise.
47161         [C99-based standards] (clog2f): Likewise.
47162         [C99-based standards] (clgammaf): Likewise.
47163         [C99-based standards] (ctgammaf): Likewise.
47164         [C99-based standards] (cerfl): Likewise.
47165         [C99-based standards] (cerfcl): Likewise.
47166         [C99-based standards] (cexp2l): Likewise.
47167         [C99-based standards] (cexpm1l): Likewise.
47168         [C99-based standards] (clog10l): Likewise.
47169         [C99-based standards] (clog1pl): Likewise.
47170         [C99-based standards] (clog2l): Likewise.
47171         [C99-based standards] (clgammal): Likewise.
47172         [C99-based standards] (ctgammal): Likewise.
47173         * conform/data/inttypes.h-data [C99-based standards]: Include
47174         stdint.h-data.  Remove all expectations for stdint.h contents.
47175         [C99-based standards] (PRI*): Do not allow.
47176         [C99-based standards] (SCN*): Likewise.
47177         [C99-based standards] (*_t): Likewise.
47178         [C99-based-standards] (PRId8): Expect macro.
47179         [C99-based-standards] (PRIi8): Likewise.
47180         [C99-based-standards] (PRIo8): Likewise.
47181         [C99-based-standards] (PRIu8): Likewise.
47182         [C99-based-standards] (PRIx8): Likewise.
47183         [C99-based-standards] (PRIX8): Likewise.
47184         [C99-based-standards] (SCNd8): Likewise.
47185         [C99-based-standards] (SCNi8): Likewise.
47186         [C99-based-standards] (SCNo8): Likewise.
47187         [C99-based-standards] (SCNu8): Likewise.
47188         [C99-based-standards] (SCNx8): Likewise.
47189         [C99-based-standards] (PRIdLEAST8): Likewise.
47190         [C99-based-standards] (PRIiLEAST8): Likewise.
47191         [C99-based-standards] (PRIoLEAST8): Likewise.
47192         [C99-based-standards] (PRIuLEAST8): Likewise.
47193         [C99-based-standards] (PRIxLEAST8): Likewise.
47194         [C99-based-standards] (PRIXLEAST8): Likewise.
47195         [C99-based-standards] (SCNdLEAST8): Likewise.
47196         [C99-based-standards] (SCNiLEAST8): Likewise.
47197         [C99-based-standards] (SCNoLEAST8): Likewise.
47198         [C99-based-standards] (SCNuLEAST8): Likewise.
47199         [C99-based-standards] (SCNxLEAST8): Likewise.
47200         [C99-based-standards] (PRIdFAST8): Likewise.
47201         [C99-based-standards] (PRIiFAST8): Likewise.
47202         [C99-based-standards] (PRIoFAST8): Likewise.
47203         [C99-based-standards] (PRIuFAST8): Likewise.
47204         [C99-based-standards] (PRIxFAST8): Likewise.
47205         [C99-based-standards] (PRIXFAST8): Likewise.
47206         [C99-based-standards] (SCNdFAST8): Likewise.
47207         [C99-based-standards] (SCNiFAST8): Likewise.
47208         [C99-based-standards] (SCNoFAST8): Likewise.
47209         [C99-based-standards] (SCNuFAST8): Likewise.
47210         [C99-based-standards] (SCNxFAST8): Likewise.
47211         [C99-based-standards] (PRId16): Likewise.
47212         [C99-based-standards] (PRIi16): Likewise.
47213         [C99-based-standards] (PRIo16): Likewise.
47214         [C99-based-standards] (PRIu16): Likewise.
47215         [C99-based-standards] (PRIx16): Likewise.
47216         [C99-based-standards] (PRIX16): Likewise.
47217         [C99-based-standards] (SCNd16): Likewise.
47218         [C99-based-standards] (SCNi16): Likewise.
47219         [C99-based-standards] (SCNo16): Likewise.
47220         [C99-based-standards] (SCNu16): Likewise.
47221         [C99-based-standards] (SCNx16): Likewise.
47222         [C99-based-standards] (PRIdLEAST16): Likewise.
47223         [C99-based-standards] (PRIiLEAST16): Likewise.
47224         [C99-based-standards] (PRIoLEAST16): Likewise.
47225         [C99-based-standards] (PRIuLEAST16): Likewise.
47226         [C99-based-standards] (PRIxLEAST16): Likewise.
47227         [C99-based-standards] (PRIXLEAST16): Likewise.
47228         [C99-based-standards] (SCNdLEAST16): Likewise.
47229         [C99-based-standards] (SCNiLEAST16): Likewise.
47230         [C99-based-standards] (SCNoLEAST16): Likewise.
47231         [C99-based-standards] (SCNuLEAST16): Likewise.
47232         [C99-based-standards] (SCNxLEAST16): Likewise.
47233         [C99-based-standards] (PRIdFAST16): Likewise.
47234         [C99-based-standards] (PRIiFAST16): Likewise.
47235         [C99-based-standards] (PRIoFAST16): Likewise.
47236         [C99-based-standards] (PRIuFAST16): Likewise.
47237         [C99-based-standards] (PRIxFAST16): Likewise.
47238         [C99-based-standards] (PRIXFAST16): Likewise.
47239         [C99-based-standards] (SCNdFAST16): Likewise.
47240         [C99-based-standards] (SCNiFAST16): Likewise.
47241         [C99-based-standards] (SCNoFAST16): Likewise.
47242         [C99-based-standards] (SCNuFAST16): Likewise.
47243         [C99-based-standards] (SCNxFAST16): Likewise.
47244         [C99-based-standards] (PRId32): Likewise.
47245         [C99-based-standards] (PRIi32): Likewise.
47246         [C99-based-standards] (PRIo32): Likewise.
47247         [C99-based-standards] (PRIu32): Likewise.
47248         [C99-based-standards] (PRIx32): Likewise.
47249         [C99-based-standards] (PRIX32): Likewise.
47250         [C99-based-standards] (SCNd32): Likewise.
47251         [C99-based-standards] (SCNi32): Likewise.
47252         [C99-based-standards] (SCNo32): Likewise.
47253         [C99-based-standards] (SCNu32): Likewise.
47254         [C99-based-standards] (SCNx32): Likewise.
47255         [C99-based-standards] (PRIdLEAST32): Likewise.
47256         [C99-based-standards] (PRIiLEAST32): Likewise.
47257         [C99-based-standards] (PRIoLEAST32): Likewise.
47258         [C99-based-standards] (PRIuLEAST32): Likewise.
47259         [C99-based-standards] (PRIxLEAST32): Likewise.
47260         [C99-based-standards] (PRIXLEAST32): Likewise.
47261         [C99-based-standards] (SCNdLEAST32): Likewise.
47262         [C99-based-standards] (SCNiLEAST32): Likewise.
47263         [C99-based-standards] (SCNoLEAST32): Likewise.
47264         [C99-based-standards] (SCNuLEAST32): Likewise.
47265         [C99-based-standards] (SCNxLEAST32): Likewise.
47266         [C99-based-standards] (PRIdFAST32): Likewise.
47267         [C99-based-standards] (PRIiFAST32): Likewise.
47268         [C99-based-standards] (PRIoFAST32): Likewise.
47269         [C99-based-standards] (PRIuFAST32): Likewise.
47270         [C99-based-standards] (PRIxFAST32): Likewise.
47271         [C99-based-standards] (PRIXFAST32): Likewise.
47272         [C99-based-standards] (SCNdFAST32): Likewise.
47273         [C99-based-standards] (SCNiFAST32): Likewise.
47274         [C99-based-standards] (SCNoFAST32): Likewise.
47275         [C99-based-standards] (SCNuFAST32): Likewise.
47276         [C99-based-standards] (SCNxFAST32): Likewise.
47277         [C99-based-standards] (PRId64): Likewise.
47278         [C99-based-standards] (PRIi64): Likewise.
47279         [C99-based-standards] (PRIo64): Likewise.
47280         [C99-based-standards] (PRIu64): Likewise.
47281         [C99-based-standards] (PRIx64): Likewise.
47282         [C99-based-standards] (PRIX64): Likewise.
47283         [C99-based-standards] (SCNd64): Likewise.
47284         [C99-based-standards] (SCNi64): Likewise.
47285         [C99-based-standards] (SCNo64): Likewise.
47286         [C99-based-standards] (SCNu64): Likewise.
47287         [C99-based-standards] (SCNx64): Likewise.
47288         [C99-based-standards] (PRIdLEAST64): Likewise.
47289         [C99-based-standards] (PRIiLEAST64): Likewise.
47290         [C99-based-standards] (PRIoLEAST64): Likewise.
47291         [C99-based-standards] (PRIuLEAST64): Likewise.
47292         [C99-based-standards] (PRIxLEAST64): Likewise.
47293         [C99-based-standards] (PRIXLEAST64): Likewise.
47294         [C99-based-standards] (SCNdLEAST64): Likewise.
47295         [C99-based-standards] (SCNiLEAST64): Likewise.
47296         [C99-based-standards] (SCNoLEAST64): Likewise.
47297         [C99-based-standards] (SCNuLEAST64): Likewise.
47298         [C99-based-standards] (SCNxLEAST64): Likewise.
47299         [C99-based-standards] (PRIdFAST64): Likewise.
47300         [C99-based-standards] (PRIiFAST64): Likewise.
47301         [C99-based-standards] (PRIoFAST64): Likewise.
47302         [C99-based-standards] (PRIuFAST64): Likewise.
47303         [C99-based-standards] (PRIxFAST64): Likewise.
47304         [C99-based-standards] (PRIXFAST64): Likewise.
47305         [C99-based-standards] (SCNdFAST64): Likewise.
47306         [C99-based-standards] (SCNiFAST64): Likewise.
47307         [C99-based-standards] (SCNoFAST64): Likewise.
47308         [C99-based-standards] (SCNuFAST64): Likewise.
47309         [C99-based-standards] (SCNxFAST64): Likewise.
47310         [C99-based-standards] (PRIdMAX): Likewise.
47311         [C99-based-standards] (PRIiMAX): Likewise.
47312         [C99-based-standards] (PRIoMAX): Likewise.
47313         [C99-based-standards] (PRIuMAX): Likewise.
47314         [C99-based-standards] (PRIxMAX): Likewise.
47315         [C99-based-standards] (PRIXMAX): Likewise.
47316         [C99-based-standards] (SCNdMAX): Likewise.
47317         [C99-based-standards] (SCNiMAX): Likewise.
47318         [C99-based-standards] (SCNoMAX): Likewise.
47319         [C99-based-standards] (SCNuMAX): Likewise.
47320         [C99-based-standards] (SCNxMAX): Likewise.
47321         [C99-based-standards] (PRIdPTR): Likewise.
47322         [C99-based-standards] (PRIiPTR): Likewise.
47323         [C99-based-standards] (PRIoPTR): Likewise.
47324         [C99-based-standards] (PRIuPTR): Likewise.
47325         [C99-based-standards] (PRIxPTR): Likewise.
47326         [C99-based-standards] (PRIXPTR): Likewise.
47327         [C99-based-standards] (SCNdPTR): Likewise.
47328         [C99-based-standards] (SCNiPTR): Likewise.
47329         [C99-based-standards] (SCNoPTR): Likewise.
47330         [C99-based-standards] (SCNuPTR): Likewise.
47331         [C99-based-standards] (SCNxPTR): Likewise.
47332         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
47333         allow.
47334         * conform/data/stdint.h-data: Update comments to clarify
47335         requirements.
47336         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
47337         type.
47338         [C99-based standards] (INT8_MAX): Likewise.
47339         [C99-based standards] (INT16_MIN): Likewise.
47340         [C99-based standards] (INT16_MAX): Likewise.
47341         [C99-based standards] (INT32_MIN): Likewise.
47342         [C99-based standards] (INT32_MAX): Likewise.
47343         [C99-based standards] (INT64_MIN): Likewise.
47344         [C99-based standards] (INT64_MAX): Likewise.
47345         [C99-based standards] (UINT8_MAX): Likewise.
47346         [C99-based standards] (UINT16_MAX): Likewise.
47347         [C99-based standards] (UINT32_MAX): Likewise.
47348         [C99-based standards] (UINT64_MAX): Likewise.
47349         [C99-based standards] (INT_LEAST8_MIN): Likewise.
47350         [C99-based standards] (INT_LEAST8_MAX): Likewise.
47351         [C99-based standards] (INT_LEAST16_MIN): Likewise.
47352         [C99-based standards] (INT_LEAST16_MAX): Likewise.
47353         [C99-based standards] (INT_LEAST32_MIN): Likewise.
47354         [C99-based standards] (INT_LEAST32_MAX): Likewise.
47355         [C99-based standards] (INT_LEAST64_MIN): Likewise.
47356         [C99-based standards] (INT_LEAST64_MAX): Likewise.
47357         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
47358         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
47359         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
47360         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
47361         [C99-based standards] (INT_FAST8_MIN): Likewise.
47362         [C99-based standards] (INT_FAST8_MAX): Likewise.
47363         [C99-based standards] (INT_FAST16_MIN): Likewise.
47364         [C99-based standards] (INT_FAST16_MAX): Likewise.
47365         [C99-based standards] (INT_FAST32_MIN): Likewise.
47366         [C99-based standards] (INT_FAST32_MAX): Likewise.
47367         [C99-based standards] (INT_FAST64_MIN): Likewise.
47368         [C99-based standards] (INT_FAST64_MAX): Likewise.
47369         [C99-based standards] (UINT_FAST8_MAX): Likewise.
47370         [C99-based standards] (UINT_FAST16_MAX): Likewise.
47371         [C99-based standards] (UINT_FAST32_MAX): Likewise.
47372         [C99-based standards] (UINT_FAST64_MAX): Likewise.
47373         [C99-based standards] (INTPTR_MIN): Likewise.
47374         [C99-based standards] (INTPTR_MAX): Likewise.
47375         [C99-based standards] (UINTPTR_MAX): Likewise.
47376         [C99-based standards] (INTMAX_MIN): Likewise.
47377         [C99-based standards] (INTMAX_MAX): Likewise.
47378         [C99-based standards] (UINTMAX_MAX): Likewise.
47379         [C99-based standards] (PTRDIFF_MIN): Likewise.
47380         [C99-based standards] (PTRDIFF_MAX): Likewise.
47381         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
47382         [C99-based standards] (SIZE_MAX): Likewise.
47383         [C99-based standards] (WCHAR_MAX): Likewise.
47384         [C99-based standards] (WINT_MAX): Likewise.
47385         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
47386         constraint on value.
47387         [C99-based standards] (WCHAR_MIN): Likewise.
47388         [C99-based standards] (WINT_MIN): Likewise.
47389         [C99-based standards] (*_t): Allow.
47390         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
47391         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
47392         Include math.h-data and complex.h-data.  Remove all expectations
47393         of math.h and complex.h contents.
47394         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
47395         at end of line.
47396         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
47397         (struct tm): Expect tag.
47398         [C99-based-standards] (wcstof): Expect function.
47399         [C99-based-standards] (wcstold): Likewise.
47400         [C99-based-standards] (wcstoll): Likewise.
47401         [C99-based-standards] (wcstoull): Likewise.
47402         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
47403         macro-int-constant.  Specify type.
47404         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
47405         constraint on value.
47406         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
47407         Specify type.
47408         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
47409         Specify value.
47410         [ISO C standards]: Do not allow headers.
47411         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
47412         wcs[abcdefghijklmnopqrstuvwxyz]*.
47413         [ISO C standards] (*_t): Do not allow.
47414         * conform/data/wctype.h-data [C99-based standards] (iswblank):
47415         Expect function.
47416         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
47417         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
47418         Specify type.
47419         [ISO C standards]: Do not allow headers.
47420         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
47421         is[abcdefghijklmnopqrstuvwxyz]*.
47422         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
47423         to[abcdefghijklmnopqrstuvwxyz]*.
47424         [ISO C standards] (*_t): Do not allow.
47425         * conform/data/stdalign.h-data: New file.
47426         * conform/data/stdbool.h-data: Likewise.
47427         * conform/data/stdnoreturn.h-data: Likewise.
47429 2012-11-07  Roland McGrath  <roland@hack.frob.com>
47431         [BZ #14815]
47432         * manual/filesys.texi (Directory Entries): Typo fix.
47433         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
47435 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47437         * elf/elf.h (EM_AARCH64): New macro.
47438         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
47439         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
47440         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
47441         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
47442         (R_AARCH64_TLSDESC): Likewise.
47443         (NT_ARM_TLS): Likewise.
47444         (NT_ARM_HW_BREAK): Likewise.
47445         (NT_ARM_HW_WATCH): Likewise.
47447 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47449         [BZ #14811]
47450         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
47451         (__ieee754_powl): Saturate nonzero exponents with absolute value
47452         below 0x1p-79 to +/- 0x1p-79.
47453         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
47454         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
47455         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
47456         nonzero exponents with absolute value below 0x1p-32 to +/-
47457         0x1p-32.
47458         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
47459         (__ieee754_powl): Saturate nonzero exponents with absolute value
47460         below 0x1p-79 to +/- 0x1p-79.
47461         * math/libm-test.inc (pow_test): Add more tests.
47463 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47465         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
47466         _dl_s390_cap_flags with kernel. Increase string length.
47467         (_dl_s390_platforms): Add z196 and zEC12.
47469 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47471         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
47472         Change XOPEN21K to XOPEN2K.
47474 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
47476         * string/memmove.c: Use memcpy when possible.
47478 2012-11-06  Andreas Jaeger  <aj@suse.de>
47480         * po/eo.po: Update from translation team.
47482 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
47484         [BZ #14793]
47485         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
47486         exponent and small x and y exponents, scale x or y up.  Increase
47487         by 2 the exponent used in scaling up.
47488         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47489         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47490         * math/libm-test.inc (fma_test): Add more tests.
47491         (fma_test_towardzero): Likewise.
47492         (fma_test_downward): Likewise.
47493         (fma_test_upward): Likewise.
47495 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
47497         [BZ #14805]
47498         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
47499         fenv_t *.
47501         [BZ #14801]
47502         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
47503         namespace for names of struct fields.
47504         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
47505         fenv_t fields.
47506         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
47507         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
47509 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47511         [BZ #3665]
47512         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
47514 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47516         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
47517         PTR_DEMANGLE.
47519         [BZ #5246]
47520         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
47521         PTR_DEMANGLE.
47523 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
47525         [BZ #14797]
47526         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
47527         definitely overflow as x * y not x * y + z.
47528         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47529         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47530         * math/libm-test.inc (fma_test): Add more tests.
47531         (fma_test_towardzero): Likewise.
47532         (fma_test_downward): Likewise.
47533         (fma_test_upward): Likewise.
47535 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47537         [BZ #157]
47539         * include/stub-tag.h: Remove file.
47540         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
47541         '#include' of it.
47542         * manual/maint.texi (Porting): Don't reference it.
47543         * Makerules ($(objpfx)stubs): Likewise.
47544         * dirent/closedir.c: Don't include <stub-tag.h>.
47545         * dirent/dirfd.c: Likewise.
47546         * dirent/fdopendir.c: Likewise.
47547         * dirent/getdents.c: Likewise.
47548         * dirent/getdents64.c: Likewise.
47549         * dirent/opendir.c: Likewise.
47550         * dirent/readdir.c: Likewise.
47551         * dirent/readdir64.c: Likewise.
47552         * dirent/readdir64_r.c: Likewise.
47553         * dirent/readdir_r.c: Likewise.
47554         * dirent/rewinddir.c: Likewise.
47555         * dirent/seekdir.c: Likewise.
47556         * dirent/telldir.c: Likewise.
47557         * gmon/profil.c: Likewise.
47558         * grp/setgroups.c: Likewise.
47559         * inet/if_index.c: Likewise.
47560         * io/access.c: Likewise.
47561         * io/chdir.c: Likewise.
47562         * io/chmod.c: Likewise.
47563         * io/chown.c: Likewise.
47564         * io/close.c: Likewise.
47565         * io/dup.c: Likewise.
47566         * io/dup2.c: Likewise.
47567         * io/dup3.c: Likewise.
47568         * io/euidaccess.c: Likewise.
47569         * io/faccessat.c: Likewise.
47570         * io/fchdir.c: Likewise.
47571         * io/fchmod.c: Likewise.
47572         * io/fchmodat.c: Likewise.
47573         * io/fchown.c: Likewise.
47574         * io/fchownat.c: Likewise.
47575         * io/fcntl.c: Likewise.
47576         * io/flock.c: Likewise.
47577         * io/fstatfs.c: Likewise.
47578         * io/fstatfs64.c: Likewise.
47579         * io/fstatvfs.c: Likewise.
47580         * io/fstatvfs64.c: Likewise.
47581         * io/futimens.c: Likewise.
47582         * io/fxstat.c: Likewise.
47583         * io/fxstat64.c: Likewise.
47584         * io/fxstatat.c: Likewise.
47585         * io/fxstatat64.c: Likewise.
47586         * io/getcwd.c: Likewise.
47587         * io/isatty.c: Likewise.
47588         * io/lchmod.c: Likewise.
47589         * io/lchown.c: Likewise.
47590         * io/link.c: Likewise.
47591         * io/linkat.c: Likewise.
47592         * io/lseek.c: Likewise.
47593         * io/lseek64.c: Likewise.
47594         * io/lxstat64.c: Likewise.
47595         * io/mkdir.c: Likewise.
47596         * io/mkdirat.c: Likewise.
47597         * io/mkfifo.c: Likewise.
47598         * io/mkfifoat.c: Likewise.
47599         * io/open.c: Likewise.
47600         * io/open64.c: Likewise.
47601         * io/openat.c: Likewise.
47602         * io/openat64.c: Likewise.
47603         * io/pipe.c: Likewise.
47604         * io/pipe2.c: Likewise.
47605         * io/poll.c: Likewise.
47606         * io/posix_fadvise.c: Likewise.
47607         * io/posix_fadvise64.c: Likewise.
47608         * io/posix_fallocate.c: Likewise.
47609         * io/posix_fallocate64.c: Likewise.
47610         * io/read.c: Likewise.
47611         * io/readlink.c: Likewise.
47612         * io/readlinkat.c: Likewise.
47613         * io/rmdir.c: Likewise.
47614         * io/sendfile.c: Likewise.
47615         * io/sendfile64.c: Likewise.
47616         * io/statfs.c: Likewise.
47617         * io/statfs64.c: Likewise.
47618         * io/statvfs.c: Likewise.
47619         * io/statvfs64.c: Likewise.
47620         * io/symlink.c: Likewise.
47621         * io/symlinkat.c: Likewise.
47622         * io/ttyname.c: Likewise.
47623         * io/ttyname_r.c: Likewise.
47624         * io/umask.c: Likewise.
47625         * io/unlink.c: Likewise.
47626         * io/unlinkat.c: Likewise.
47627         * io/utime.c: Likewise.
47628         * io/utimensat.c: Likewise.
47629         * io/write.c: Likewise.
47630         * io/xmknod.c: Likewise.
47631         * io/xmknodat.c: Likewise.
47632         * io/xstat.c: Likewise.
47633         * io/xstat64.c: Likewise.
47634         * login/getpt.c: Likewise.
47635         * login/grantpt.c: Likewise.
47636         * login/unlockpt.c: Likewise.
47637         * math/e_acoshl.c: Likewise.
47638         * math/e_acosl.c: Likewise.
47639         * math/e_asinl.c: Likewise.
47640         * math/e_atan2l.c: Likewise.
47641         * math/e_atanhl.c: Likewise.
47642         * math/e_coshl.c: Likewise.
47643         * math/e_expl.c: Likewise.
47644         * math/e_fmodl.c: Likewise.
47645         * math/e_gammal_r.c: Likewise.
47646         * math/e_hypotl.c: Likewise.
47647         * math/e_j0l.c: Likewise.
47648         * math/e_j1l.c: Likewise.
47649         * math/e_jnl.c: Likewise.
47650         * math/e_lgammal_r.c: Likewise.
47651         * math/e_log10l.c: Likewise.
47652         * math/e_log2l.c: Likewise.
47653         * math/e_logl.c: Likewise.
47654         * math/e_powl.c: Likewise.
47655         * math/e_rem_pio2l.c: Likewise.
47656         * math/e_sinhl.c: Likewise.
47657         * math/e_sqrtl.c: Likewise.
47658         * math/fclrexcpt.c: Likewise.
47659         * math/fedisblxcpt.c: Likewise.
47660         * math/feenablxcpt.c: Likewise.
47661         * math/fegetenv.c: Likewise.
47662         * math/fegetexcept.c: Likewise.
47663         * math/fegetround.c: Likewise.
47664         * math/feholdexcpt.c: Likewise.
47665         * math/fesetenv.c: Likewise.
47666         * math/fesetround.c: Likewise.
47667         * math/feupdateenv.c: Likewise.
47668         * math/fgetexcptflg.c: Likewise.
47669         * math/fraiseexcpt.c: Likewise.
47670         * math/fsetexcptflg.c: Likewise.
47671         * math/ftestexcept.c: Likewise.
47672         * math/k_cosl.c: Likewise.
47673         * math/k_rem_pio2l.c: Likewise.
47674         * math/k_sinl.c: Likewise.
47675         * math/k_tanl.c: Likewise.
47676         * math/s_asinhl.c: Likewise.
47677         * math/s_atanl.c: Likewise.
47678         * math/s_cbrtl.c: Likewise.
47679         * math/s_erfl.c: Likewise.
47680         * math/s_expm1l.c: Likewise.
47681         * math/s_log1pl.c: Likewise.
47682         * math/s_tanhl.c: Likewise.
47683         * misc/acct.c: Likewise.
47684         * misc/brk.c: Likewise.
47685         * misc/chflags.c: Likewise.
47686         * misc/chroot.c: Likewise.
47687         * misc/fchflags.c: Likewise.
47688         * misc/fgetxattr.c: Likewise.
47689         * misc/flistxattr.c: Likewise.
47690         * misc/fremovexattr.c: Likewise.
47691         * misc/fsetxattr.c: Likewise.
47692         * misc/fsync.c: Likewise.
47693         * misc/ftruncate.c: Likewise.
47694         * misc/futimes.c: Likewise.
47695         * misc/futimesat.c: Likewise.
47696         * misc/getdomain.c: Likewise.
47697         * misc/getdtsz.c: Likewise.
47698         * misc/gethostid.c: Likewise.
47699         * misc/gethostname.c: Likewise.
47700         * misc/getloadavg.c: Likewise.
47701         * misc/getpagesize.c: Likewise.
47702         * misc/getsysstats.c: Likewise.
47703         * misc/getxattr.c: Likewise.
47704         * misc/gtty.c: Likewise.
47705         * misc/ioctl.c: Likewise.
47706         * misc/lgetxattr.c: Likewise.
47707         * misc/listxattr.c: Likewise.
47708         * misc/llistxattr.c: Likewise.
47709         * misc/lremovexattr.c: Likewise.
47710         * misc/lsetxattr.c: Likewise.
47711         * misc/lutimes.c: Likewise.
47712         * misc/madvise.c: Likewise.
47713         * misc/mincore.c: Likewise.
47714         * misc/mlock.c: Likewise.
47715         * misc/mlockall.c: Likewise.
47716         * misc/mmap.c: Likewise.
47717         * misc/mprotect.c: Likewise.
47718         * misc/msync.c: Likewise.
47719         * misc/munlock.c: Likewise.
47720         * misc/munlockall.c: Likewise.
47721         * misc/munmap.c: Likewise.
47722         * misc/preadv.c: Likewise.
47723         * misc/preadv64.c: Likewise.
47724         * misc/ptrace.c: Likewise.
47725         * misc/pwritev.c: Likewise.
47726         * misc/pwritev64.c: Likewise.
47727         * misc/readv.c: Likewise.
47728         * misc/reboot.c: Likewise.
47729         * misc/remap_file_pages.c: Likewise.
47730         * misc/removexattr.c: Likewise.
47731         * misc/revoke.c: Likewise.
47732         * misc/select.c: Likewise.
47733         * misc/setdomain.c: Likewise.
47734         * misc/setegid.c: Likewise.
47735         * misc/seteuid.c: Likewise.
47736         * misc/sethostid.c: Likewise.
47737         * misc/sethostname.c: Likewise.
47738         * misc/setregid.c: Likewise.
47739         * misc/setreuid.c: Likewise.
47740         * misc/setxattr.c: Likewise.
47741         * misc/sstk.c: Likewise.
47742         * misc/stty.c: Likewise.
47743         * misc/swapoff.c: Likewise.
47744         * misc/swapon.c: Likewise.
47745         * misc/sync.c: Likewise.
47746         * misc/syncfs.c: Likewise.
47747         * misc/syscall.c: Likewise.
47748         * misc/truncate.c: Likewise.
47749         * misc/ualarm.c: Likewise.
47750         * misc/usleep.c: Likewise.
47751         * misc/ustat.c: Likewise.
47752         * misc/utimes.c: Likewise.
47753         * misc/vhangup.c: Likewise.
47754         * misc/writev.c: Likewise.
47755         * posix/_exit.c: Likewise.
47756         * posix/alarm.c: Likewise.
47757         * posix/execve.c: Likewise.
47758         * posix/fexecve.c: Likewise.
47759         * posix/fork.c: Likewise.
47760         * posix/fpathconf.c: Likewise.
47761         * posix/getaddrinfo.c: Likewise.
47762         * posix/getegid.c: Likewise.
47763         * posix/geteuid.c: Likewise.
47764         * posix/getgid.c: Likewise.
47765         * posix/getgroups.c: Likewise.
47766         * posix/getlogin.c: Likewise.
47767         * posix/getlogin_r.c: Likewise.
47768         * posix/getpgid.c: Likewise.
47769         * posix/getpid.c: Likewise.
47770         * posix/getppid.c: Likewise.
47771         * posix/getresgid.c: Likewise.
47772         * posix/getresuid.c: Likewise.
47773         * posix/getsid.c: Likewise.
47774         * posix/getuid.c: Likewise.
47775         * posix/glob64.c: Likewise.
47776         * posix/nanosleep.c: Likewise.
47777         * posix/pathconf.c: Likewise.
47778         * posix/pause.c: Likewise.
47779         * posix/posix_madvise.c: Likewise.
47780         * posix/pread.c: Likewise.
47781         * posix/pread64.c: Likewise.
47782         * posix/pwrite.c: Likewise.
47783         * posix/pwrite64.c: Likewise.
47784         * posix/sched_getaffinity.c: Likewise.
47785         * posix/sched_getp.c: Likewise.
47786         * posix/sched_gets.c: Likewise.
47787         * posix/sched_primax.c: Likewise.
47788         * posix/sched_primin.c: Likewise.
47789         * posix/sched_rr_gi.c: Likewise.
47790         * posix/sched_setaffinity.c: Likewise.
47791         * posix/sched_setp.c: Likewise.
47792         * posix/sched_sets.c: Likewise.
47793         * posix/sched_yield.c: Likewise.
47794         * posix/setgid.c: Likewise.
47795         * posix/setlogin.c: Likewise.
47796         * posix/setpgid.c: Likewise.
47797         * posix/setresgid.c: Likewise.
47798         * posix/setresuid.c: Likewise.
47799         * posix/setsid.c: Likewise.
47800         * posix/setuid.c: Likewise.
47801         * posix/sleep.c: Likewise.
47802         * posix/spawni.c: Likewise.
47803         * posix/sysconf.c: Likewise.
47804         * posix/times.c: Likewise.
47805         * posix/wait.c: Likewise.
47806         * posix/wait3.c: Likewise.
47807         * posix/wait4.c: Likewise.
47808         * posix/waitpid.c: Likewise.
47809         * resolv/gai_sigqueue.c: Likewise.
47810         * resource/getpriority.c: Likewise.
47811         * resource/getrlimit.c: Likewise.
47812         * resource/getrusage.c: Likewise.
47813         * resource/nice.c: Likewise.
47814         * resource/setpriority.c: Likewise.
47815         * resource/setrlimit.c: Likewise.
47816         * resource/ulimit.c: Likewise.
47817         * rt/aio_cancel.c: Likewise.
47818         * rt/aio_fsync.c: Likewise.
47819         * rt/aio_read.c: Likewise.
47820         * rt/aio_sigqueue.c: Likewise.
47821         * rt/aio_suspend.c: Likewise.
47822         * rt/aio_write.c: Likewise.
47823         * rt/clock_getres.c: Likewise.
47824         * rt/clock_gettime.c: Likewise.
47825         * rt/clock_nanosleep.c: Likewise.
47826         * rt/clock_settime.c: Likewise.
47827         * rt/lio_listio.c: Likewise.
47828         * rt/mq_close.c: Likewise.
47829         * rt/mq_getattr.c: Likewise.
47830         * rt/mq_notify.c: Likewise.
47831         * rt/mq_open.c: Likewise.
47832         * rt/mq_receive.c: Likewise.
47833         * rt/mq_send.c: Likewise.
47834         * rt/mq_setattr.c: Likewise.
47835         * rt/mq_timedreceive.c: Likewise.
47836         * rt/mq_timedsend.c: Likewise.
47837         * rt/mq_unlink.c: Likewise.
47838         * rt/shm_open.c: Likewise.
47839         * rt/shm_unlink.c: Likewise.
47840         * rt/timer_create.c: Likewise.
47841         * rt/timer_delete.c: Likewise.
47842         * rt/timer_getoverr.c: Likewise.
47843         * rt/timer_gettime.c: Likewise.
47844         * rt/timer_settime.c: Likewise.
47845         * setjmp/__longjmp.c: Likewise.
47846         * setjmp/setjmp.c: Likewise.
47847         * signal/kill.c: Likewise.
47848         * signal/killpg.c: Likewise.
47849         * signal/raise.c: Likewise.
47850         * signal/sigaction.c: Likewise.
47851         * signal/sigaltstack.c: Likewise.
47852         * signal/sigblock.c: Likewise.
47853         * signal/sigignore.c: Likewise.
47854         * signal/sigintr.c: Likewise.
47855         * signal/signal.c: Likewise.
47856         * signal/sigpause.c: Likewise.
47857         * signal/sigpending.c: Likewise.
47858         * signal/sigqueue.c: Likewise.
47859         * signal/sigreturn.c: Likewise.
47860         * signal/sigset.c: Likewise.
47861         * signal/sigsetmask.c: Likewise.
47862         * signal/sigstack.c: Likewise.
47863         * signal/sigsuspend.c: Likewise.
47864         * signal/sigtimedwait.c: Likewise.
47865         * signal/sigvec.c: Likewise.
47866         * signal/sigwait.c: Likewise.
47867         * signal/sigwaitinfo.c: Likewise.
47868         * signal/sysv_signal.c: Likewise.
47869         * socket/accept.c: Likewise.
47870         * socket/accept4.c: Likewise.
47871         * socket/bind.c: Likewise.
47872         * socket/connect.c: Likewise.
47873         * socket/getpeername.c: Likewise.
47874         * socket/getsockname.c: Likewise.
47875         * socket/getsockopt.c: Likewise.
47876         * socket/isfdtype.c: Likewise.
47877         * socket/listen.c: Likewise.
47878         * socket/recv.c: Likewise.
47879         * socket/recvfrom.c: Likewise.
47880         * socket/recvmsg.c: Likewise.
47881         * socket/send.c: Likewise.
47882         * socket/sendmsg.c: Likewise.
47883         * socket/sendto.c: Likewise.
47884         * socket/setsockopt.c: Likewise.
47885         * socket/shutdown.c: Likewise.
47886         * socket/sockatmark.c: Likewise.
47887         * socket/socket.c: Likewise.
47888         * socket/socketpair.c: Likewise.
47889         * stdio-common/ctermid.c: Likewise.
47890         * stdio-common/cuserid.c: Likewise.
47891         * stdio-common/remove.c: Likewise.
47892         * stdio-common/rename.c: Likewise.
47893         * stdio-common/renameat.c: Likewise.
47894         * stdio-common/tempname.c: Likewise.
47895         * stdlib/getcontext.c: Likewise.
47896         * stdlib/makecontext.c: Likewise.
47897         * stdlib/setcontext.c: Likewise.
47898         * stdlib/swapcontext.c: Likewise.
47899         * stdlib/system.c: Likewise.
47900         * streams/fattach.c: Likewise.
47901         * streams/fdetach.c: Likewise.
47902         * streams/getmsg.c: Likewise.
47903         * streams/getpmsg.c: Likewise.
47904         * streams/putmsg.c: Likewise.
47905         * streams/putpmsg.c: Likewise.
47906         * sysdeps/unix/bsd/getpt.c: Likewise.
47907         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
47908         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
47909         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47911         Likewise.
47912         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
47913         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47914         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47915         * sysvipc/msgctl.c: Likewise.
47916         * sysvipc/msgget.c: Likewise.
47917         * sysvipc/msgrcv.c: Likewise.
47918         * sysvipc/msgsnd.c: Likewise.
47919         * sysvipc/semctl.c: Likewise.
47920         * sysvipc/semget.c: Likewise.
47921         * sysvipc/semop.c: Likewise.
47922         * sysvipc/semtimedop.c: Likewise.
47923         * sysvipc/shmat.c: Likewise.
47924         * sysvipc/shmctl.c: Likewise.
47925         * sysvipc/shmdt.c: Likewise.
47926         * sysvipc/shmget.c: Likewise.
47927         * termios/tcdrain.c: Likewise.
47928         * termios/tcflow.c: Likewise.
47929         * termios/tcflush.c: Likewise.
47930         * termios/tcgetattr.c: Likewise.
47931         * termios/tcgetpgrp.c: Likewise.
47932         * termios/tcsendbrk.c: Likewise.
47933         * termios/tcsetattr.c: Likewise.
47934         * termios/tcsetpgrp.c: Likewise.
47935         * time/adjtime.c: Likewise.
47936         * time/clock.c: Likewise.
47937         * time/getitimer.c: Likewise.
47938         * time/gettimeofday.c: Likewise.
47939         * time/setitimer.c: Likewise.
47940         * time/settimeofday.c: Likewise.
47941         * time/stime.c: Likewise.
47942         * time/time.c: Likewise.
47944 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
47946         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
47947         /usr/old/bin.
47949         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
47950         instead of spaces.
47951         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
47953 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
47955         [BZ #14796]
47956         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
47957         FE_TONEAREST before applying Dekker multiplication and Knuth
47958         addition.  Clear inexact exceptions and check for exact zero
47959         results afterwards.
47960         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47961         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47962         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47963         * math/libm-test.inc (fma_test): Add more tests.
47964         (fma_test_towardzero): Likewise.
47965         (fma_test_downward): Likewise.
47966         (fma_test_upward): Likewise.
47967         * sysdeps/generic/math_private.h (default_libc_fesetround): New
47968         function.
47969         (libc_fesetround): New macro.
47970         (libc_fesetroundf): Likewise.
47971         (libc_fesetroundl): Likewise.
47972         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
47973         function.
47974         (libc_fesetround_387): Likewise.
47975         (libc_fesetroundf): New macro.
47976         (libc_fesetround): Likewise.
47977         (libc_fesetroundl): Likewise.
47978         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
47979         function.
47980         (libc_fesetroundf): New macro.
47981         (libc_fesetround): Likewise.
47982         (libc_fesetroundl): Likewise.
47983         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
47984         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
47985         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
47986         libm_hidden_ver.
47987         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
47988         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
47989         libm_hidden_def.
47990         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
47991         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
47992         libm_hidden_ver.
47993         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
47994         libm_hidden_def.
47996         [BZ #3439]
47997         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
47998         integer constant usable in #if and use that to give value to enum
47999         constant.
48000         (FE_DIVBYZERO): Likewise.
48001         (FE_UNDERFLOW): Likewise.
48002         (FE_OVERFLOW): Likewise.
48003         (FE_INVALID): Likewise.
48004         (FE_INVALID_SNAN): Likewise.
48005         (FE_INVALID_ISI): Likewise.
48006         (FE_INVALID_IDI): Likewise.
48007         (FE_INVALID_ZDZ): Likewise.
48008         (FE_INVALID_IMZ): Likewise.
48009         (FE_INVALID_COMPARE): Likewise.
48010         (FE_INVALID_SOFTWARE): Likewise.
48011         (FE_INVALID_SQRT): Likewise.
48012         (FE_INVALID_INTEGER_CONVERSION): Likewise.
48013         (FE_TONEAREST): Likewise.
48014         (FE_TOWARDZERO): Likewise.
48015         (FE_UPWARD): Likewise.
48016         (FE_DOWNWARD): Likewise.
48017         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
48018         (FE_DIVBYZERO): Likewise.
48019         (FE_OVERFLOW): Likewise.
48020         (FE_UNDERFLOW): Likewise.
48021         (FE_INEXACT): Likewise.
48022         (FE_TONEAREST): Likewise.
48023         (FE_DOWNWARD): Likewise.
48024         (FE_UPWARD): Likewise.
48025         (FE_TOWARDZERO): Likewise.
48026         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
48027         (FE_UNDERFLOW): Likewise.
48028         (FE_OVERFLOW): Likewise.
48029         (FE_DIVBYZERO): Likewise.
48030         (FE_INVALID): Likewise.
48031         (FE_TONEAREST): Likewise.
48032         (FE_TOWARDZERO): Likewise.
48033         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
48034         (FE_OVERFLOW): Likewise.
48035         (FE_UNDERFLOW): Likewise.
48036         (FE_DIVBYZERO): Likewise.
48037         (FE_INEXACT): Likewise.
48038         (FE_TONEAREST): Likewise.
48039         (FE_TOWARDZERO): Likewise.
48040         (FE_UPWARD): Likewise.
48041         (FE_DOWNWARD): Likewise.
48042         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
48043         (FE_DIVBYZERO): Likewise.
48044         (FE_OVERFLOW): Likewise.
48045         (FE_UNDERFLOW): Likewise.
48046         (FE_INEXACT): Likewise.
48047         (FE_TONEAREST): Likewise.
48048         (FE_DOWNWARD): Likewise.
48049         (FE_UPWARD): Likewise.
48050         (FE_TOWARDZERO): Likewise.
48052 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
48054         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
48056 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
48058         * scripts/cross-test-ssh.sh (command): Use newlines to separate
48059         commands.  Quote $PWD.
48060         (blacklist_exports): Don't use remove_newlines.  Replace "declare
48061         -x" by "export".
48062         (remove_newlines): Remove.
48064 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
48066         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
48067         * stdlib/stdlib.h (atof): Moved to ...
48068         * include/bits/stdlib-float.h: Here.  New file.
48069         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
48070         * stdlib/bits/stdlib-float.h: New file.
48071         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
48072         -mno-sse -mno-mmx.
48073         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
48074         <xmmintrin.h>.
48076 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
48078         * conform/conformtest.pl (@headers): Add fenv.h.
48079         * conform/data/fenv.h-data: New file.
48080         * include/fenv.h [_ISOMAC]: Disable all contents of file except
48081         include of <math/fenv.h>.
48083         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
48084         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
48085         && !UNIX98].  Enables tests for XOPEN2K8.
48086         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
48087         POSIX2008]: Likewise.
48089         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
48090         (struct rusage): Do not expect type or its members.
48092         [BZ #3439]
48093         * math/math.h (FP_NAN): Define macro to integer constant usable in
48094         #if and use that to give value to enum constant.
48095         (FP_INFINITE): Likewise.
48096         (FP_ZERO): Likewise.
48097         (FP_SUBNORMAL): Likewise.
48098         (FP_NORMAL): Likewise.
48100 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
48102         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
48103         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
48104         arguments.
48106 2012-11-02  Roland McGrath  <roland@hack.frob.com>
48108         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
48109         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
48110         autoconf-time if not.
48111         * configure.in: Remove AC_PREREQ.
48113 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48115         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
48116         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
48117         of the internal implementation.
48119 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
48121         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
48122         except include of <misc/sys/syslog.h>.
48124 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
48127         function returns with a NULL context exit with zero.
48129 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48131         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
48133 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
48135         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
48136         (run_program_cmd): This.
48137         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
48138         (tst_langinfo): New variable.  Use it.
48140 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
48142         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
48143         floating point opcodes.
48145 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48147         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
48148         variable.
48150         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
48152         * sysdeps/mach/hurd/powerpc: Remove directory.
48153         * sysdeps/mach/powerpc: Likewise.
48155 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48157         * scripts/check-local-headers.sh: Ignore c++ headers.
48159 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48161         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
48162         __libc_cleanup_region_start argument.
48164 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
48166         [BZ #14784]
48167         [BZ #14785]
48168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
48169         x * y using scaling, not as x * y + z.
48170         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48171         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48172         * math/libm-test.inc (fma_test): Add more tests.
48173         (fma_test_towardzero): Likewise.
48174         (fma_test_downward): Likewise.
48175         (fma_test_upward): Likewise.
48177 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48179         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
48181 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
48183         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
48184         New variable.
48186 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
48188         * rt/tst-shm.c (worker): Correct checking for mmap failure.
48190 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
48192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48193         Fix sort order.
48194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48195         Likewise.
48197 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48200         Fix the order of the list for glibc 2.17.
48201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48202         Likewise.
48204 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
48206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48208 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
48210         [BZ #14610]
48211         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
48212         for low part of x being zero before using __atanl (y).
48213         * math/libm-test.inc (atan2_test): Add another test.
48215         * manual/install.texi (Configuring and compiling): Document
48216         general use of test-wrapper and test-wrapper-env.
48217         * INSTALL: Regenerated.
48219         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
48220         (__fma): Do not extract and scale down low bits on after-rounding
48221         systems when result rounded to normal precision would have normal
48222         exponent.
48223         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
48224         (__fmal): Do not extract and scale down low bits on after-rounding
48225         systems when result rounded to normal precision would have normal
48226         exponent.
48227         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
48228         (__fmal): Do not extract and scale down low bits on after-rounding
48229         systems when result rounded to normal precision would have normal
48230         exponent.
48231         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
48232         macro.
48233         (fma_test): Add more tests.
48234         (fma_test_towardzero): Likewise.
48235         (fma_test_downward): Likewise.
48236         (fma_test_upward): Likewise.
48238 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
48240         * sysdeps/i386/tininess.h: Renamed to ...
48241         * sysdeps/x86/tininess.h: This.
48242         * sysdeps/x86_64/tininess.h: Removed.
48244 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
48246         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
48247         input.  Use $(build-program-cmd).
48248         ($(objpfx)tst-array1-static.out): Likewise.
48249         ($(objpfx)tst-array2.out): Likewise.
48250         ($(objpfx)tst-array3.out): Likewise.
48251         ($(objpfx)tst-array4.out): Likewise.
48252         ($(objpfx)tst-array5.out): Likewise.
48253         ($(objpfx)tst-array5-static.out): Likewise.
48255 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
48257         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
48258         if defined.
48260         * nss/nsswitch.h (nss_interface_function): Provide new
48261         macro for use with NSS functions.
48262         * grp/initgroups.c: Use new macro.
48263         * nss/getXXbyYY.c: Likewise.
48264         * nss/getXXbyYY_r.c: Likewise.
48265         * nss/getXXent.c: Likewise.
48266         * nss/getXXent_r.c: Likewise.
48267         * sysdeps/posix/getaddrinfo.c: Likewise.
48269 2012-10-30  Andreas Jaeger  <aj@suse.de>
48271         * po/ru.po: Update Russion translation from translation project.
48273 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
48275         [BZ #14152]
48276         [BZ #14783]
48277         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
48278         result and shift together with sticky bit instead of replicating
48279         round-to-nearest rounding.
48280         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48281         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48282         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
48283         missing underflow exceptions.
48284         (fma_test_towardzero): Add more tests.
48285         (fma_test_downward): Likewise.
48286         (fma_test_upward): Likewise.
48288         [BZ #14047]
48289         * sysdeps/generic/tininess.h: New file.
48290         * sysdeps/i386/tininess.h: Likewise.
48291         * sysdeps/sh/tininess.h: Likewise.
48292         * sysdeps/x86_64/tininess.h: Likewise.
48293         * stdlib/tst-strtod-underflow.c: Likewise.
48294         * stdlib/tst-tininess.c: Likewise.
48295         * stdlib/strtod_l.c: Include <tininess.h>.
48296         (round_and_return): Do not set errno for exact underflow cases.
48297         Force an underflow exception when setting errno for underflow.
48298         Determine underflow based on rounding to normal precision if
48299         TININESS_AFTER_ROUNDING.
48300         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
48301         ERANGE for exact underflow cases.
48302         * stdlib/Makefile (tests): Add tst-tininess and
48303         tst-strtod-underflow.
48304         ($(objpfx)tst-tininess): Use $(link-libm).
48305         ($(objpfx)tst-strtod-underflow): Likewise.
48307 2012-10-30  Andreas Jaeger  <aj@suse.de>
48309         [BZ#14767]
48310         * elf/Makefile (tests): Remove conditional for have-initfini-array
48311         since this is now always required and the variable does not exist
48312         anymore.
48313         (tests-static): Likewise.
48314         (modules-names): Likewise.
48316         * po/eo.po: Add Esperanto translation from translation project.
48318         * elf/tst-array1.c (fini_array): Make writeable so that it can be
48319         merged with constructor/destructor.
48320         (init_array): Likewise.
48321         * elf/tst-array2dep.c (fini_array): Likewise.
48322         (init_array): Likewise.
48324 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
48326         * manual/message.texi: Delete @cartouche tags.
48328 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
48330         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
48331         EOPNOTSUPP.
48332         * sysdeps/mach/hurd/fsync.c: Likewise.
48334         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
48335         [_POSIX_REALTIME_SIGNALS]: Change condition to
48336         [_POSIX_REALTIME_SIGNALS > 0].
48338 2012-10-27  Andreas Jaeger  <aj@suse.de>
48340         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
48341         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
48342         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
48343         [__WORDSIZE != 64]: Likewise.
48345 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
48347         *  iconvdata/tst-table.sh: Remove ${SHELL}.
48348         *  iconvdata/tst-tables.sh: Likewise.
48350 2012-10-25  David S. Miller  <davem@davemloft.net>
48352         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48353         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
48354         of strtoull.
48356         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
48357         ifunc-impl-list.c
48358         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48359         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
48360         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
48361         file.
48363 2012-10-25  Roland McGrath  <roland@hack.frob.com>
48365         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48366         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
48367         __getdirentries.
48369 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
48370             Jim Blandy  <jimb@codesourcery.com>
48372         * scripts/cross-test-ssh.sh: New file.
48373         * manual/install.texi (Configuring and compiling): Document use of
48374         cross-test-ssh.sh.
48375         * INSTALL: Regenerated.
48377 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
48379         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
48380         EOPNOTSUPP.
48382 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
48384         * Makeconfig (run-program-prefix): Fix comment.
48386 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
48387             Jim Blandy  <jimb@codesourcery.com>
48389         * Makeconfig (test-wrapper): New variable,
48390         (test-wrapper-env): Likewise.
48391         [$(cross-compiling) = yes && $(test-wrapper) != ""]
48392         (run-built-tests): Define to yes.
48393         (run-program-prefix): Use $(test-wrapper).
48394         (built-program-cmd): Likewise.
48395         * Rules (make-test-out): Use $(test-wrapper-env) and
48396         $(host-built-program-cmd).
48397         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
48398         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
48399         tst-pathopt.sh.
48400         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
48401         $(test-wrapper-env) to tst-rtld-load-self.sh.
48402         ($(objpfx)order2.out): Use $(test-wrapper).
48403         ($(objpfx)tst-initorder.out): Likewise.
48404         ($(objpfx)tst-initorder2.out): Likewise.
48405         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
48406         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
48407         (test_wrapper_env): New variable.  Use it to run ld.so.
48408         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
48409         Use it to run ld.so.
48410         (test_wrapper_env): Likewise.
48411         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
48412         $(test-wrapper) to run-iconv-test.sh.
48413         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
48414         (ICONV): Use $test_wrapper.
48415         * posix/Makefile ($(objpfx)globtest.out): Pass
48416         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
48417         globtest.sh, not $(run-program-prefix).
48418         * posix/globtest.sh (run_via_rtld_prefix): New variable.
48419         (test_wrapper): Likewise.
48420         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
48421         set together with run_via_rtld_prefix.
48422         (run_program_prefix): Define in terms of test_wrapper and
48423         run_via_rtld_prefix.
48425 2012-10-24  Roland McGrath  <roland@hack.frob.com>
48427         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
48428         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
48429         Targets removed.
48431         [BZ #14743]
48432         * include/time.h: Remove librt_hidden_proto (clock_gettime).
48433         Declare __clock_getres, __clock_gettime, __clock_settime,
48434         __clock_nanosleep, and __clock_getcpuclockid.
48435         * rt/clock_gettime.c: Define __clock_gettime as an alias.
48436         Remove librt_hidden_def (clock_gettime).
48437         * sysdeps/unix/clock_gettime.c: Likewise.
48438         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
48439         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48440         * rt/clock_getres.c: Define __clock_getres as an alias.
48441         * sysdeps/posix/clock_getres.c: Likewise.
48442         * rt/clock_settime.c: Define __clock_settime as an alias.
48443         * sysdeps/unix/clock_settime.c: Likewise.
48444         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
48445         * sysdeps/unix/clock_nanosleep.c: Likewise.
48446         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48447         * rt/clock-compat.c: New file.
48448         * rt/Makefile (librt-routines): Add clock-compat and move
48449         $(clock-routines) to ...
48450         (routines): ... here, new variable.
48451         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
48452         Don't add get_clockfreq here.
48453         * rt/Versions (libc: GLIBC_2.17): New version set.
48454         Add clock_* symbols here.
48455         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
48456         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
48457         (GLIBC_2.17): Add clock_* symbols.
48458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48460         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48462         Likewise.
48463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48464         Likewise.
48465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48469         * NEWS: Mention the move.
48471         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
48472         Use __open, __read, __close rather than their public counterparts.
48473         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48474         (__get_clockfreq_via_cpuinfo): Likewise.
48475         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
48476         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
48478         * config.h.in (HAVE_IFUNC): New #undef.
48479         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
48480         was successful.
48481         * configure: Regenerated.
48483 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
48485         * configure.in: Move READELF check to start of file.
48486         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
48487         libc_cv_asm_gnu_indirect_function in the process.
48488         * configure: Regenerated.
48490 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
48492         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
48493         send the output to /dev/null.
48494         (libc_cv_cc_with_libunwind): Likewise.
48495         (libc_cv_as_noexecstack): Likewise.
48496         * configure: Regenerate.
48498 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
48500         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
48502         * posix/globtest.sh (TMPDIR): Do not set.
48503         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
48504         (testout): Likewise.
48506 2012-10-24  Andreas Jaeger  <aj@suse.de>
48508         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
48509         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
48510         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
48511         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
48512         posix_fadvise64, posix_fallocate64.
48514         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
48515         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
48516         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
48517         Likewise.
48518         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
48519         Likewise.
48520         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
48522         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
48523         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
48524         <bits/fcntl-linux.h>.
48525         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
48527         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
48528         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
48529         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
48530         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
48531         [__WORDSIZE != 64]: Likewise.
48533 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48535         * Makeconfig (run-built-tests): New variable.
48536         * Rules [$(cross-compiling) = yes]: Change condition to
48537         [$(run-built-tests) = no].
48538         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
48539         to [$(run-built-tests) = yes].
48540         * elf/Makefile [$(cross-compiling) = no]: Likewise
48541         * grp/Makefile [$(cross-compiling) = no]: Likewise.
48542         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
48543         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
48544         * intl/Makefile [$(cross-compiling) = no]: Likewise.
48545         * io/Makefile [$(cross-compiling) = no]: Likewise.
48546         * libio/Makefile [$(cross-compiling) = no]: Likewise.
48547         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
48548         * misc/Makefile [$(cross-compiling) = no]: Likewise.
48549         * posix/Makefile [$(cross-compiling) = no]: Likewise.
48550         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
48551         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
48552         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
48553         * string/Makefile [$(cross-compiling) = no]: Likewise.
48555         * posix/Makefile ($(objpfx)globtest.out): Pass
48556         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
48557         $(rtld-installed-name).
48558         * posix/globtest.sh (elf_objpfx): Remove variable.
48559         (rtld_installed_name): Likewise.
48560         (library_path): Likewise.
48561         (run_program_prefix): New variable.  Use for running globtest
48562         binary.
48564 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
48565             Joseph Myers  <joseph@codesourcery.com>
48567         * Makeconfig (host-built-program-cmd): New variable.
48568         * elf/Makefile (tst-stackguard1-ARGS): Use
48569         $(host-built-program-cmd).
48570         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
48571         (tst-spawn-ARGS): Likewise.
48572         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
48574 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48575             Jim Blandy  <jimb@codesourcery.com>
48577         * Makeconfig (run-via-rtld-prefix): New variable.
48578         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
48579         (built-program-cmd): Likewise.
48581 2012-10-22  Andreas Jaeger  <aj@suse.de>
48583         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
48584         __O_RSYNC if it exists, otherwise to O_SYNC.
48586 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
48587             Joseph Myers  <joseph@codesourcery.com>
48589         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
48590         /dev/null.
48591         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
48592         from /dev/null
48593         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
48594         /dev/null.
48596 2012-10-22  Andreas Jaeger  <aj@suse.de>
48598         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
48599         Define always.
48600         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
48602         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48603         bits/fcntl-linux.h.
48605         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
48606         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
48608         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
48609         to __O_LARGEFILE.
48610         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
48611         to __O_LARGEFILE.
48613 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
48614             Joseph Myers  <joseph@codesourcery.com>
48616         * config.make.in (NM): New variable.
48618 2012-10-21  Andreas Jaeger  <aj@suse.de>
48620         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
48621         definitions and declarations that are provided by
48622         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48624 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48626         [BZ #14683]
48627         * elf/Makefile (tests-static): Add tst-leaks1-static.
48628         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
48629         ($(objpfx)tst-leaks1-static): New rule.
48630         ($(objpfx)tst-leaks1-static-mem): Likewise.
48631         (tst-leaks1-static-ENV): New macro.
48632         * elf/dl-open.c (dl_open_worker): Check the main application
48633         only if SHARED is defined.
48634         * elf/tst-leaks1-static.c: New file.
48636 2012-10-20  Andreas Jaeger  <aj@suse.de>
48638         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
48639         generic values for Linux.
48640         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
48641         and declarations that are provided by <bits/fcntl-linux.h> and
48642         include <bits/fcntl-linux.h>.
48643         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48644         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48646 2012-10-20  Roland McGrath  <roland@hack.frob.com>
48648         * io/fcntl.h: Move include of <bits/types.h> to the top and
48649         include it unconditionally.
48651 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48653         * wcsmbs/Makefile (tests-ifunc): New variable.
48654         (tests): Add $(tests-ifunc).
48655         * wcsmbs/test-wcschr-ifunc.c: New file.
48656         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
48657         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
48658         * wcsmbs/test-wcslen-ifunc.c: Likewise.
48659         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
48660         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
48662         * string/Makefile (tests-ifunc): New variable.
48663         (tests): Add $(tests-ifunc).
48664         * string/test-memccpy.c (TEST_NAME): New macro.
48665         * string/test-memchr.c (TEST_NAME): Likewise.
48666         * string/test-memcmp.c (TEST_NAME): Likewise.
48667         * string/test-memcpy.c (TEST_NAME): Likewise.
48668         * string/test-memmem.c (TEST_NAME): Likewise.
48669         * string/test-memmove.c (TEST_NAME): Likewise.
48670         * string/test-memset.c (TEST_NAME): Likewise.
48671         * string/test-rawmemchr.c (TEST_NAME): Likewise.
48672         * string/test-stpcpy.c (TEST_NAME): Likewise.
48673         * string/test-stpncpy.c (TEST_NAME): Likewise.
48674         * string/test-strcasecmp.c (TEST_NAME): Likewise.
48675         * string/test-strcasestr.c (TEST_NAME): Likewise.
48676         * string/test-strcat.c (TEST_NAME): Likewise.
48677         * string/test-strchr.c (TEST_NAME): Likewise.
48678         * string/test-strcmp.c(TEST_NAME): Likewise.
48679         * string/test-strcpy.c (TEST_NAME): Likewise.
48680         * string/test-strcspn.c (TEST_NAME): Likewise.
48681         * string/test-strlen.c (TEST_NAME): Likewise.
48682         * string/test-strncasecmp.c (TEST_NAME): Likewise.
48683         * string/test-strncmp.c (TEST_NAME): Likewise.
48684         * string/test-strncpy.c (TEST_NAME): Likewise.
48685         * string/test-strnlen.c (TEST_NAME): Likewise.
48686         * string/test-strpbrk.c (TEST_NAME): Likewise.
48687         * string/test-strrchr.c (TEST_NAME): Likewise.
48688         * string/test-strspn.c (TEST_NAME): Likewise.
48689         * string/test-strstr.c (TEST_NAME): Likewise.
48690         * string/test-bcopy-ifunc.c: New file.
48691         * string/test-bzero-ifunc.c: Likewise.
48692         * string/test-memccpy-ifunc.c: Likewise.
48693         * string/test-memchr-ifunc.c: Likewise.
48694         * string/test-memcmp-ifunc.c: Likewise.
48695         * string/test-memcpy-ifunc.c: Likewise.
48696         * string/test-memmem-ifunc.c: Likewise.
48697         * string/test-memmove-ifunc.c: Likewise.
48698         * string/test-mempcpy-ifunc.c: Likewise.
48699         * string/test-memset-ifunc.c: Likewise.
48700         * string/test-rawmemchr-ifunc.c: Likewise.
48701         * string/test-stpcpy-ifunc.c: Likewise.
48702         * string/test-stpncpy-ifunc.c: Likewise.
48703         * string/test-strcasecmp-ifunc.c: Likewise.
48704         * string/test-strcasestr-ifunc.c: Likewise.
48705         * string/test-strcat-ifunc.c: Likewise.
48706         * string/test-strchr-ifunc.c: Likewise.
48707         * string/test-strchrnul-ifunc.c: Likewise.
48708         * string/test-strcmp-ifunc.c: Likewise.
48709         * string/test-strcpy-ifunc.c: Likewise.
48710         * string/test-strcspn-ifunc.c: Likewise.
48711         * string/test-strlen-ifunc.c: Likewise.
48712         * string/test-strncasecmp-ifunc.c: Likewise.
48713         * string/test-strncat-ifunc.c: Likewise.
48714         * string/test-strncmp-ifunc.c: Likewise.
48715         * string/test-strncpy-ifunc.c: Likewise.
48716         * string/test-strnlen-ifunc.c: Likewise.
48717         * string/test-strpbrk-ifunc.c: Likewise.
48718         * string/test-strrchr-ifunc.c: Likewise.
48719         * string/test-strspn-ifunc.c: Likewise.
48720         * string/test-strstr-ifunc.c: Likewise.
48722         * debug/Makefile (tests-ifunc): New variable.
48723         (tests): Add $(tests-ifunc).
48724         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
48725         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
48726         * debug/test-stpcpy_chk-ifunc.c: New file.
48727         * debug/test-strcpy_chk-ifunc.c: Likewise.
48729 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48731         [BZ #13601]
48732         * elf/dl-load.c (open_verify): Retry read if the entire ELF
48733         header is not read in.
48735 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
48737         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
48738         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
48739         directly.  Pass built executable to script as
48740         $(built-program-cmd).
48741         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
48742         $testprogram without using LD_LIBRARY_PATH and $ldso.
48744         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
48745         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
48746         $(rtld-installed-name).
48747         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
48748         (rtld_installed_name): Likewise.
48749         (library_path): Likewise.
48750         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
48751         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
48752         $(run-program-prefix) to tst-tables.sh.
48753         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
48754         it to run tst-table-from and tst-table-to.
48755         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
48756         Pass it to tst-table.sh.
48757         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
48758         $(run-program-prefix) to tst-gettext.sh.
48759         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
48760         tst-translit.sh.
48761         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
48762         tst-gettext2.sh.
48763         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
48764         to run tst-gettext.
48765         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
48766         to run tst-gettext2.
48767         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
48768         to run tst-translit.
48769         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
48770         $(run-program-prefix) to tst-mtrace.sh.
48771         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
48772         to run tst-mtrace.
48773         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
48774         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
48775         $(rtld-installed-name).
48776         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
48777         (rtld_installed_name): Likewise.
48778         (run_program_prefix): New variable.  Use it to run wordexp-test.
48780         * Makeconfig (ARCH): Remove all definitions.
48781         (machine): Likewise.
48782         [ARCH]: Remove conditional code.
48783         [!objdir]: Give error.
48784         [!objdir] (objpfx): Remove.
48785         [!objdir] (common-objpfx): Likewise.
48786         [!objdir] (common-objdir): Likewise.
48787         * configure.in (config_makefile): Remove.  Hardcode Makefile in
48788         AC_CONFIG_FILES call.
48789         * configure: Regenerated.
48791         [BZ #13888]
48792         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
48793         or TMPDIR.
48794         (testout): Likewise.
48796         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
48797         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
48798         $(rtld-installed-name).
48799         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
48800         (rtld_installed_name): Likwise.
48801         (runit): Remove function.
48802         (run_getconf): New variable,  Use it for running getconf binary.
48804 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
48806         [BZ #14716]
48807         * string/test-memmem.c (check_result): New function.
48808         (do_one_test): Use it.
48809         (check1): New function.
48810         (test_main): Use it.
48812 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
48814         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
48816 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
48818         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
48819         (_G_LSEEK64): Likewise.
48820         (_G_MMAP64): Likewise.
48821         (_G_FSTAT64): Likewise.
48822         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
48823         (_G_LSEEK64): Likewise.
48824         (_G_MMAP64): Likewise.
48825         (_G_FSTAT64): Likewise.
48826         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
48827         unconditional.  Call __mmap64 directly.
48828         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
48829         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
48830         __lseek64 directly.
48831         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
48832         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
48833         __mmap64 directly.
48834         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
48835         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48836         __lseek64 directly.
48837         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
48838         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48839         __lseek64 directly.
48840         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
48841         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
48842         __lseek64 directly.
48843         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
48844         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
48845         __fxstat64 directly.
48846         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
48847         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
48848         unconditional.
48849         (freopen64) [!_G_OPEN64]: Remove conditional code.
48850         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
48851         unconditional.
48852         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
48853         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
48854         unconditional.
48855         (ftello64) [!_G_LSEEK64]: Remove conditional code.
48856         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
48857         unconditional.
48858         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48859         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
48860         unconditional.
48861         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
48862         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
48863         unconditional.
48864         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48865         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
48866         unconditional.
48867         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48868         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
48869         unconditional.
48870         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48872 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48874         [BZ #12140]
48875         * manual/memory.texi (Malloc Tunable Parameters): Add note
48876         about free list pointers overwriting some perturb bytes.
48877         Wording suggested by Roland McGrath.
48879 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
48881         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
48882         (lgamma_test): Likewise.
48883         (tgamma_test): Likewise.
48885 2012-10-16  Florian Weimer  <fweimer@redhat.com>
48887         [BZ #14700]
48888         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
48889         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
48891 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
48893         * NEWS: Mention BZ #14716.
48894         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
48895         when removing AVAILABLE1_USES_J macro.
48897 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
48899         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
48900         (__bswap_64): __uint64_t for unsigned 64-bit int.
48902 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
48904         * include/string.h (memmem): Declare libc hidden alias.
48905         * string/memmem.c (memmem): Define libc hidden alias.
48906         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
48907         __read, __close instead of open, read, close.
48909 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
48911         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
48912         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
48913         global and hidden.
48914         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
48915         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
48916         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
48917         Likewise.
48918         (__rawmemchr_sse2): Likewise.
48919         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
48920         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
48921         (__strchr_sse2): Likewise.
48922         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
48923         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
48924         (__strcasecmp_sse2): Likewise.
48925         (__strncasecmp_sse2): Likewise.
48926         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
48927         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
48928         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
48929         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
48930         (__strrchr_sse2): Likewise.
48931         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
48932         ifunc-impl-list.c.
48933         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
48934         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
48935         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
48936         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48937         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
48938         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
48939         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48940         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48941         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
48942         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
48943         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
48944         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
48945         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
48946         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
48947         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
48948         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48949         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
48950         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
48951         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
48952         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
48953         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
48954         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
48955         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
48956         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48957         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
48958         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48959         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
48960         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48961         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
48962         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
48964         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
48965         global and hidden.
48966         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
48967         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
48968         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
48969         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
48970         Likewise.
48971         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
48972         Likewise.
48973         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
48974         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
48975         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
48976         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
48977         ifunc-impl-list.c.
48978         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48979         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48980         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48981         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48982         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48983         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48984         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48985         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48986         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48987         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48988         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48989         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48990         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48991         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
48992         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
48993         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48994         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
48995         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
48996         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48997         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48998         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48999         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49000         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49001         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49002         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49003         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
49004         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
49005         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
49006         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
49007         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49008         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
49009         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49010         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49011         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
49012         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49013         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49014         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49015         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49016         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49017         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49018         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
49020         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
49021         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
49022         * include/ifunc-impl-list.h: New file.
49023         * misc/ifunc-impl-list.c: Likewise.
49024         * misc/Makefile (routines): Add ifunc-impl-list.
49025         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
49026         * string/test-string.h: Include <ifunc-impl-list.h>.
49027         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
49028         TEST_NAME]: New variables.
49029         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
49030         are defined.
49031         (test_init): Call __libc_ifunc_impl_list to initialize
49032         func_list if TEST_IFUNC and TEST_NAME are defined.
49034         * string/Makefile (strop-tests): Add bcopy and bzero.
49035         * string/test-bcopy.c: New file.
49036         * string/test-bzero.c: Likewise.
49037         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
49038         defined.
49039         * string/test-memset.c: Support bzero test if TEST_BZERO is
49040         defined.
49041         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
49042         __libc_memmove.
49043         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
49044         __libc_memset.
49045         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
49046         of memset.
49048 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
49050         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
49051         * configure: Regenerated.
49053         * Makeconfig (+link-static-before-libc): Don't include
49054         $(link-static-libc).
49056         * libio/libio.h (_IO_pos_t): Remove.
49058 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49060         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
49061         McGrath.
49063 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49065         * crypt/crypt-entry.c: Include fips-private.h.
49066         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
49067         * crypt/md5c-test.c (main): Tolerate disabled MD5.
49068         * sysdeps/unix/sysv/linux/fips-private.h: New file.
49069         * sysdeps/generic/fips-private.h: New file, dummy fallback.
49071 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49073         * crypt/crypt-private.h: Include stdbool.h.
49074         (_ufc_setup_salt_r): Return bool.
49075         * crypt/crypt-entry.c: Include errno.h.
49076         (__crypt_r): Return NULL with EINVAL for bad salt.
49077         * crypt/crypt_util.c (bad_for_salt): New.
49078         (_ufc_setup_salt_r): Check that salt is long enough and within
49079         the specified alphabet.
49080         * crypt/badsalttest.c: New file.
49081         * crypt/Makefile (tests): Add it.
49082         ($(objpfx)badsalttest): New.
49084 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
49086         * NEWS: Add entry for BZ #14602.
49088 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
49090         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
49091         type-generic.
49092         * math/libm-test.inc: Update comment listing what functions and
49093         macros are tested.
49094         (isgreater_test): New function.
49095         (isgreaterequal_test): Likewise.
49096         (isless_test): Likewise.
49097         (islessequal_test): Likewise.
49098         (islessgreater_test): Likewise.
49099         (isunordered_test): Likewise.
49100         (main): Call the new functions.
49102 2012-10-09  Roland McGrath  <roland@hack.frob.com>
49104         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
49105         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
49106         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
49107         * sysdeps/i386/configure: Regenerated.
49108         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
49109         * sysdeps/mach/configure: Regenerated.
49110         * sysdeps/mach/hurd/configure: Regenerated.
49111         * sysdeps/powerpc/configure: Regenerated.
49112         * sysdeps/powerpc/powerpc32/configure: Regenerated.
49113         * sysdeps/powerpc/powerpc64/configure: Regenerated.
49114         * sysdeps/s390/s390-32/configure: Regenerated.
49115         * sysdeps/s390/s390-64/configure: Regenerated.
49116         * sysdeps/sh/configure: Regenerated.
49117         * sysdeps/sparc/configure: Regenerated.
49118         * sysdeps/unix/sysv/linux/configure: Regenerated.
49119         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49120         * sysdeps/x86_64/configure: Regenerated.
49122         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
49123         defined.  Don't check if MAP is NULL.
49125 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
49127         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
49128         (_G_stat64): Likewise.
49129         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
49130         (_G_stat64): Likewise.
49131         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
49132         instead of struct _G_stat64.
49133         * libio/fileops.c (mmap_remap_check): Likewise.
49134         (decide_maybe_mmap): Likewise.
49135         (_IO_new_file_seekoff): Likewise.
49136         (_IO_file_stat): Likewise.
49137         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
49138         _G_off64_t.
49139         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
49140         instead of struct _G_stat64.
49141         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
49143 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
49145         [BZ #14602]
49146         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49147         Replace with ...
49148         (CHECK_EOL): New macro.
49149         (two_way_short_needle): Check beginning of haystack for EOL.  Use
49150         CHECK_EOL.
49151         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49152         Replace with CHECK_EOL.
49153         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49154         Replace with CHECK_EOL.
49156 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
49158         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
49159         type-generic.
49160         * math/libm-test.inc: Update comment listing what functions and
49161         macros are tested.
49162         (finite_test): New function.
49163         (isinf_test): Likewise.
49164         (isnan_test): Likewise.
49165         (fpclassify_test): Test subnormal input.
49166         (isfinite_test): Likewise.
49167         (isnormal_test): Likewise.
49168         (main): Call the new functions.
49170 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
49172         [BZ #14660]
49173         * Makerules (%.dynsym): Force C locale when running
49174         $(OBJDUMP) --dynamic-syms.
49176 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
49178         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
49179         <stdint.h>.
49181 2012-10-06  David S. Miller  <davem@davemloft.net>
49183         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
49184         upper 32-bits of the length value in %o2 since we use branch-on-register
49185         tests which consider the entire 64-bit register.
49187 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
49189         * string/test-strstr.c (check2): Add a test for page boundary.
49191 2012-10-05  David S. Miller  <davem@davemloft.net>
49193         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
49194         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
49195         file.
49196         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
49197         sysdep_routines.
49198         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
49199         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
49200         and bzero when HWCAP_SPARC_CRYPTO is present.
49202 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
49204         [BZ #14602]
49205         * string/test-strstr.c (check2): New function.
49206         (test_main): Call check2.
49208         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
49209         and bug-strchr1.
49210         * string/bug-strcasestr1.c (do_test): Moved to ...
49211         * string/test-strcasestr.c (check1): Here.  New function.
49212         (do_one_test): Break out result checking code into ...
49213         (check_result): This.  New function.
49214         (do_one_test): Call check_result.
49215         (test_main): Call check1.
49216         * string/bug-strchr1.c (do_test): Moved to ...
49217         * string/test-strchr.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-strstr1.c (main): Moved to ...
49223         * string/test-strstr.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-strcasestr1.c: Removed.
49229         * string/bug-strchr1.c: Likewise.
49230         * string/bug-strstr1.c: Likewise.
49232         * elf/Makefile (dl-routines): Add hwcaps.
49233         * elf/dl-support.c (_dl_important_hwcaps): Removed.
49234         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
49235         (_dl_important_hwcaps): Moved to ...
49236         * elf/dl-hwcaps.c: Here.  New file.
49237         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
49239         [BZ #14557]
49240         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
49241         if IS_IN_rtld isn't defined.
49243         * elf/dl-support.c (_dl_sysinfo_map): New.
49244         Include "get-dynamic-info.h" and "setup-vdso.h".
49245         (_dl_non_dynamic_init): Call setup_vdso.
49246         * elf/dynamic-link.h: Don't include <assert.h>.
49247         (elf_get_dynamic_info): Moved to ...
49248         * elf/get-dynamic-info.h: Here.  New file.
49249         * elf/dynamic-link.h: Include "get-dynamic-info.h".
49250         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
49251         * elf/setup-vdso.h: Here.  New file.
49252         * elf/rtld.c: Include "setup-vdso.h".
49253         (dl_main): Call setup_vdso.
49255 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
49257         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
49258         creal in comment listing functions tested.  List finite, isinf,
49259         isnan, isless, islessequal, isgreater, isgreaterequal,
49260         islessgreater, isunordered, lgamma_r and pow10 as functions and
49261         macros not tested.  Mention which functions not tested are aliases
49262         for other functions.  Fix typo.  Note that signs of NaNs are not
49263         tested.
49265         * scripts/config.guess: Update from config.git.
49266         * scripts/config.sub: Likewise.
49268 2012-10-04  Roland McGrath  <roland@hack.frob.com>
49270         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
49271         * misc/madvise.c (madvise): Renamed to __madvise.
49272         Make madvise a weak alias.
49273         * include/sys/mman.h: Declare __madvise.
49274         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
49275         * sysdeps/unix/syscalls.list
49276         (madvise): Make __madvise the strong name, and madvise a weak alias.
49277         * sysdeps/unix/sysv/linux/syscalls.list
49278         (madvise, mmap): Remove redundant entries.
49279         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
49280         * malloc/malloc.c (mtrim): Likewise.
49281         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
49283 2012-10-03  Roland McGrath  <roland@hack.frob.com>
49285         * sysdeps/mach/hurd/dl-cache.c: File removed.
49286         * config.h.in (USE_LDCONFIG): New #undef.
49287         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
49288         * configure: Regenerated.
49289         * elf/Makefile (dl-routines): Add dl-cache only under
49290         [$(use-ldconfig) = yes].
49291         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
49292         cache on [USE_LDCONFIG].
49293         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
49294         [USE_LDCONFIG].
49295         * elf/rtld.c (dl_main): Likewise.
49297 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
49299         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
49300         _SC_LEVEL4_CACHE_LINESIZE.
49302 2012-10-03  Roland McGrath  <roland@hack.frob.com>
49304         * sysdeps/unix/bsd/confstr.h: File removed.
49306 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
49308         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
49309         sys/sdt-config.h.
49311 2012-10-02  Roland McGrath  <roland@hack.frob.com>
49313         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
49314         Make 'mapoff' field ElfW(Off) rather than off_t.
49316 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
49318         * nscd/Makefile: Remove nscd-cflags and all its users.
49319         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
49320         (CFLAGS-nonlib): Add compiler flags for nscd modules.
49322         [BZ #10631]
49323         * malloc.c (malloc_printerr): Clarify error message.
49325 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
49327         [BZ #14648]
49328         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49329         Set bit_FMA_Usable if FMA is supported.
49330         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
49331         macro.
49332         (bit_FMA4_Usable): Updated.
49333         (index_FMA_Usable): New macro.
49334         (CPUID_FMA): Likewise
49335         (HAS_FMA): Defined with bit_FMA_Usable.
49337 2012-10-01  Roland McGrath  <roland@hack.frob.com>
49339         * bits/types.h (__swblk_t): Type removed.
49340         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
49341         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
49342         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49343         (__SWBLK_T_TYPE): Likewise.
49344         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
49345         (__SWBLK_T_TYPE): Likewise.
49346         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49347         (__SWBLK_T_TYPE): Likewise.
49348         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49349         (__SWBLK_T_TYPE): Likewise.
49351 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
49352             Honza Horak <hhorak@redhat.com>
49354         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
49355         (xdr_mapname): Use YPMAXMAP as maxsize.
49356         (xdr_peername): Use YPMAXPEER as maxsize.
49357         (xdr_keydat): Use YPAXRECORD as maxsize.
49358         (xdr_valdat): Use YPMAXRECORD as maxsize.
49360 2012-10-01  Roland McGrath  <roland@hack.frob.com>
49362         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
49364         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
49365         * csu/init-first.c: ... here.
49366         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
49367         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
49368         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
49369         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
49370         * sysdeps/i386/init-first.c: File removed.
49371         * sysdeps/sh/init-first.c: File removed.
49373 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
49375         [BZ #14645]
49376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
49377         if x * y might underflow to zero and z is zero.
49378         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49379         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49380         * math/libm-test.inc (min_subnorm_value): New variable.
49381         (fma_test): Add more tests.
49382         (fma_test_towardzero): Likewise.
49383         (fma_test_downward): Likewise
49384         (fma_test_upward): Likewise.
49385         (initialize): Set min_subnorm_value.
49387 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
49389         [BZ #14638]
49390         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
49391         0 + 0.
49392         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
49393         mode for addition resulting in exact zero.
49394         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
49395         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
49396         exact 0 + 0.
49397         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49398         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49399         * math/libm-test.inc (fma_test): Add more tests.
49400         (fma_test_towardzero): New function.
49401         (fma_test_downward): Likewise.
49402         (fma_test_upward): Likewise.
49403         (main): Call the new functions.
49405 2012-09-28  David S. Miller  <davem@davemloft.net>
49407         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
49409 2012-09-28  Roland McGrath  <roland@hack.frob.com>
49411         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
49412         instead of SIGALRM.
49414         * sysdeps/gnu/_G_config.h: Moved to ...
49415         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
49416         * sysdeps/mach/hurd/_G_config.h: Moved to ...
49417         * sysdeps/generic/_G_config.h: ... here.
49419         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
49421         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
49423         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
49424         Conditionalize target on [libnss_test1.so-version].
49426         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
49428         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
49429         (elfobjdir): Move out of conditionals.
49431         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
49432         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
49433         (__nss_lookup_function): Conditionalize label remove_from_tree on
49434         [!DO_STATIC_NSS || SHARED], matching its only use.
49436 2012-09-28  David S. Miller  <davem@davemloft.net>
49438         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
49439         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
49440         file.
49441         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
49442         sysdep_routines.
49443         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
49444         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
49445         when HWCAP_SPARC_CRYPTO is present.
49447 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49449         * io/tst-mknodat.c: Create a FIFO instead of a socket.
49451 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
49453         [BZ #6530]
49454         * stdio-common/vfprintf.c (process_string_arg): Revert
49455         2000-07-22 change.
49457 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
49459         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
49460         for testcase.
49461         * stdio-common/tst-sprintf.c: Include <locale.h>
49462         (main): Test sprintf's handling of incomplete multibyte
49463         characters.
49465 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
49467         * elf/dl-runtime.c (VERSYMIDX): Removed.
49468         * elf/dl-version.c (VERSYMIDX): Likewise.
49469         * elf/do-rel.h (VERSYMIDX): Likewise.
49470         (VALIDX): Likewise.
49471         * elf/dynamic-link.h (VERSYMIDX): Likewise.
49472         * elf/rtld.c (VALIDX): Likewise.
49473         (ADDRIDX): Likewise.
49474         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
49475         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
49476         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
49477         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
49478         (VALIDX): Likewise.
49479         (ADDRIDX): Likewise.
49481 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49483         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
49485 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
49487         [BZ #11438]
49488         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
49489         to global scope.
49490         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
49491         addresses are in the same scope as 192.0.2/24.
49492         * posix/gai.conf: Document new scope table defaults.
49494 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49496         [BZ #5298]
49497         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
49498         for ftell.  Compute offsets from write pointers instead.
49499         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
49501 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49503         [BZ #14543]
49504         * libio/Makefile (tests): New test case tst-fseek.
49505         * libio/tst-fseek.c: New test case to verify that fseek/ftell
49506         combination works in wide mode.
49507         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
49508         state when the external buffer state changes.
49510 2012-09-27  David S. Miller  <davem@davemloft.net>
49512         [BZ #14376]
49513         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
49514         pass reloc->r_addend in as the 'high' argument to
49515         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
49517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49519 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49521         * rt/tst-aio2.c: Include <pthread.h>.
49522         * rt/tst-aio3.c: Likewise.
49524 2012-09-27  Steve Ellcey  <sellcey@mips.com>
49526         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
49528 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
49530         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
49531         contents on [SHARED].
49533 2012-09-26  Marek Polacek  <polacek@redhat.com>
49535         [BZ #14530]
49536         [BZ #13741]
49537         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
49538         for C++ and GCC <4.3 as well as for non GCC compilers.
49540 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49542         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49544 2012-09-25  Roland McGrath  <roland@hack.frob.com>
49546         * Makefile.in (all, install): Declare with .PHONY.
49547         Reported by Michael Hope <michael.hope@linaro.org>.
49549 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49551         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
49552         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
49553         system header.
49554         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
49555         Likewise.
49556         (sydep_routines): Add the new and the internal functions.
49557         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
49558         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
49559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
49560         (GLIBC_2.17): Add the new function.
49561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49562         (GLIBC_2.17): Likewise.
49563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
49564         (GLIBC_2.17): Likewise.
49565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
49566         (GLIBC_2.17): Likewise.
49567         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
49569 2012-09-25  Alan Modra  <amodra@gmail.com>
49571         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
49572         Add release barrier before setting once_control to say
49573         initialisation is done.  Add hints on lwarx.  Use macro in
49574         place of isync.
49575         (clear_once_control): Add release barrier.
49577 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49579         [BZ #13629]
49580         * math/s_clog.c (__clog): Handle more values close to |z| = 1
49581         specially.
49582         * math/s_clog10.c (__clog10): Likewise.
49583         * math/s_clog10f.c (__clog10f): Likewise.
49584         * math/s_clog10l.c (__clog10l): Likewise.
49585         * math/s_clogf.c (__clogf): Likewise.
49586         * math/s_clogl.c (__clogl): Likewise.
49587         * math/Makefile (libm-calls): Add x2y2m1.
49588         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
49589         (__x2y2m1): Likewise.
49590         (__x2y2m1l): Likewise.
49591         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
49592         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
49593         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
49594         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49595         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
49596         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
49597         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
49598         * sysdeps/i386/fpu/libm-test-ulps: Update.
49599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49601         [BZ #14621]
49602         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
49603         int as type of variable DEPTH.
49604         (glob): Use size_t instead of int as type of variables NEWCOUNT
49605         and OLD_PATHC.
49607 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49609         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49610         Add s_sincosf-sse2.
49611         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
49612         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
49613         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
49614         macros for using routine as __sincosf_ia32.
49615         Use macro for function declaration and weak_alias.
49616         * sysdeps/i386/fpu/libm-test-ulps: Update.
49618         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
49619         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49621         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
49622         subnormal argument.
49623         * math/s_cexpf.c (__cexpf): Likewise.
49624         * math/s_csinf.c (__csinf): Likewise.
49625         * math/s_csinhf.c (__csinhf): Likewise.
49626         * math/s_ctanf.c (__ctanf): Likewise.
49627         * math/s_ctanhf.c (__ctanhf): Likewise.
49628         * math/s_ccosh.c (__ccoshf): Likewise.
49629         * math/s_cexp.c (__cexpl): Likewise.
49630         * math/s_csin.c (__csin): Likewise.
49631         * math/s_csinh.c (__csinh): Likewise.
49632         * math/s_ctan.c (__ctan): Likewise.
49633         * math/s_ctanh.c (ctanh): Likewise.
49634         * math/s_ccoshl.c (__ccoshl): Likewise.
49635         * math/s_cexpl.c (__cexpl): Likewise.
49636         * math/s_csinl.c (__csinl): Likewise.
49637         * math/s_csinhl.c (__csinhl): Likewise.
49638         * math/s_ctanl.c (__ctanl): Likewise.
49639         * math/s_ctanhl.c (__ctanhl): Likewise.
49641 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49643         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
49644         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
49645         (_IO_off_t): Define to __off_t, not _G_off_t.
49646         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
49647         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
49648         (_IO_wint_t): Define to wint_t, not _G_wint_t.
49649         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
49650         type of __dummy and __dummy2 fields.
49651         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
49652         (_G_ssize_t): Likewise.
49653         (_G_off_t): Likewise.
49654         (_G_pid_t): Likewise.
49655         (_G_uid_t): Likewise.
49656         (_G_wchar_t): Likewise.
49657         (_G_wint_t): Likewise.
49658         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
49659         (_G_ssize_t): Likewise.
49660         (_G_off_t): Likewise.
49661         (_G_pid_t): Likewise.
49662         (_G_uid_t): Likewise.
49663         (_G_wchar_t): Likewise.
49664         (_G_wint_t): Likewise.
49665         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
49666         (_G_ssize_t): Likewise.
49667         (_G_off_t): Likewise.
49668         (_G_pid_t): Likewise.
49669         (_G_uid_t): Likewise.
49670         (_G_wchar_t): Likewise.
49671         (_G_wint_t): Likewise.
49673 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49675         * malloc/arena.c: Include malloc-sysdep.h.
49676         (shrink_heap): Use check_may_shrink_heap to decide if madvise
49677         is sufficient to shrink the heap or an unmap is needed.
49678         * sysdeps/generic/malloc-sysdep.h: New file.  Define
49679         new function check_may_shrink_heap.
49680         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
49681         new function check_may_shrink_heap.
49683 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49685         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
49686         comments.
49688 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
49690         * catgets/test-gencat.sh: Add "set -e".
49691         * elf/tst-pathopt.sh: Likewise.
49692         * grp/tst_fgetgrent.sh: Likewise.
49693         * iconvdata/run-iconv-test.sh: Likewise.
49694         * intl/tst-gettext.sh: Likewise.
49695         * intl/tst-gettext2.sh: Likewise.
49696         * intl/tst-gettext4.sh: Likewise.
49697         * intl/tst-gettext6.sh: Likewise.
49698         * intl/tst-translit.sh: Likewise.
49699         * io/ftwtest-sh: Likewise.
49700         * libio/test-freopen.sh: Likewise.
49701         * malloc/tst-mtrace.sh: Likewise.
49702         * posix/globtest.sh: Likewise.
49703         * posix/tst-getconf.sh: Likewise.
49704         * posix/wordexp-tst.sh: Likewise.
49705         * stdio-common/tst-printf.sh: Likewise.
49706         * stdio-common/tst-unbputc.sh: Likewise.
49707         * stdlib/tst-fmtmsg.sh: Likewise.
49708         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49709         * catgets/Makefile: Do not specify -e option when running
49710         testsuite shell scripts.
49711         * elf/Makefile: Likewise.
49712         * grp/Makefile: Likewise.
49713         * iconvdata/Makefile: Likewise.
49714         * intl/Makefile: Likewise.
49715         * io/Makefile: Likewise.
49716         * libio/Makefile: Likewise.
49717         * malloc/Makefile: Likewise.
49718         * posix/Makefile: Likewise.
49719         * stdio-common/Makefile: Likewise.
49720         * stdlib/Makefile: Likewise.
49721         * sysdeps/x86_64/Makefile: Likewise.
49723         * io/ftwtest-sh: Add copyright header.
49724         * posix/globtest.sh: Likewise.
49725         * posix/tst-getconf.sh: Likewise.
49726         * posix/wordexp-tst.sh: Likewise.
49727         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49729 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
49731         [BZ #13679]
49732         * Makeconfig (+link): Defined as $(+link-static) if
49733         $(build-shared) isn't yes.
49734         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
49735         isn't yes.
49736         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
49738         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
49740         [BZ #14562]
49741         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
49742         new chunk size with MALLOC_ALIGN_MASK.
49744 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
49746         [BZ #5044]
49747         * stdio-common/printf_fphex.c: Include <stdbool.h> and
49748         <rounding-mode.h>.
49749         (__printf_fphex): Determine rounding using get_rounding_mode and
49750         round_away.
49751         * stdio-common/tst-printf-round.c (struct hex_test): New
49752         structure.
49753         (hex_tests): New variable.
49754         (test_hex_in_one_mode): New function.
49755         (do_test): Also run tests for hex float output.
49757 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
49759         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49760         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49761         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
49762         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49763         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49764         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
49765         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49766         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49768 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
49770         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
49771         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
49772         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
49773         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
49775 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
49777         [BZ #14579]
49778         * elf/rtld.c (dl_main): Limit the check for self loading to normal
49779         mode only.
49780         * elf/tst-rtld-load-self.sh: New test.
49781         * elf/Makefile: Run it.
49783 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
49785         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
49786         (tst-writev-ENV): Remove.
49787         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
49789 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
49791         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
49793 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
49795         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
49796         unconditional.
49797         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
49798         Likewise.
49799         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
49800         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
49801         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
49802         Likewise.
49804 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
49806         [BZ #14587]
49807         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
49808         * config.make.in (have-cpp-asm-debuginfo): Removed.
49809         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
49810         * configure: Regenerated.
49812 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
49814         [BZ #5044]
49815         * stdio-common/printf_fp.c: Include <stdbool.h> and
49816         <rounding-mode.h>.
49817         (___printf_fp): Determine rounding using get_rounding_mode and
49818         round_away.
49819         * stdio-common/tst-printf-round.c: New file.
49820         * stdio-common/Makefile (tests): Add tst-printf-round.
49821         (link-libm): New variable.
49822         ($(objpfx)tst-printf-round): Depend in $(link-libm).
49824 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
49826         [BZ #14576]
49827         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
49828         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
49829         Likewise.
49830         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
49831         Likewise.
49833 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
49835         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
49836         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49837         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49838         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49840 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
49842         [BZ #14518]
49843         * include/rounding-mode.h: New file.
49844         * sysdeps/generic/get-rounding-mode.h: Likewise.
49845         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
49846         * stdlib/strtod_l.c: Include <rounding-mode.h>.
49847         (MAX_VALUE): New macro.
49848         (MIN_VALUE): Likewise.
49849         (overflow_value): New function.
49850         (underflow_value): Likewise.
49851         (round_and_return): Use overflow_value and underflow_value to
49852         determine return values in overflow and underflow cases.  Use
49853         round_away to determine rounding depending on rounding mode.
49854         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
49855         determine return values in overflow and underflow cases.
49856         * stdlib/tst-strtod-round.c: Include <fenv.h>.
49857         (struct test_results): New structure.
49858         (struct test): Use struct test_results to store expected results
49859         for all rounding modes.
49860         (TEST): Include expected results for all rounding modes.
49861         (test_in_one_mode): New function.
49862         (do_test): Use test_in_one_mode to compute and check results.
49863         Check results for all rounding modes.
49864         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
49865         $(link-libm).
49867 2012-12-09  Allan McRae  <allan@archlinux.org>
49869         * sysdeps/i386/fpu/libm-test-ulps: Update
49871 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
49873         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
49874         (_G_int32_t): Likewise.
49875         (_G_uint16_t): Likewise.
49876         (_G_uint32_t): Likewise.
49877         (_G_HAVE_BOOL): Likewise.
49878         (_G_HAVE_ATEXIT): Likewise.
49879         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49880         (_G_HAVE_IO_FILE_OPEN): Likewise.
49881         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
49882         (_G_int32_t): Likewise.
49883         (_G_uint16_t): Likewise.
49884         (_G_uint32_t): Likewise.
49885         (_G_HAVE_BOOL): Likewise.
49886         (_G_HAVE_ATEXIT): Likewise.
49887         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49888         (_G_HAVE_IO_FILE_OPEN): Likewise.
49889         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
49890         (_G_int32_t): Likewise.
49891         (_G_uint16_t): Likewise.
49892         (_G_uint32_t): Likewise.
49893         (_G_HAVE_BOOL): Likewise.
49894         (_G_HAVE_ATEXIT): Likewise.
49895         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49896         (_G_HAVE_IO_FILE_OPEN): Likewise.
49898 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
49900         * csu/libc-tls.c: Update copyright years.
49902 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
49904         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
49905         [!_G_USING_THUNKS]: Remove conditional code.
49906         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
49907         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
49909         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
49910         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
49911         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49912         (_G_VTABLE_LABEL_PREFIX): Likewise.
49913         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49914         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49915         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49916         (_G_VTABLE_LABEL_PREFIX): Likewise.
49917         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49918         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49919         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49920         (_G_VTABLE_LABEL_PREFIX): Likewise.
49921         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49923 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
49925         * libio/Makefile: Include ../Makeconfig before tests.
49926         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
49927         only if $(build-shared) is yes.
49929         * iconv/gconv_db.c: Update copyright years.
49931 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49933         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
49934         unwind info if defined PIC. Fix special cases description.
49935         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
49937         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
49938         DP_HI_MASK entry.
49939         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
49941 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
49943         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
49945         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
49946         is NULL.
49948         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
49949         (LDLIBS-tst-chk4): This.
49950         (LDFLAGS-tst-chk5): Renamed to ...
49951         (LDLIBS-tst-chk5): This.
49952         (LDFLAGS-tst-chk6): Renamed to ...
49953         (LDLIBS-tst-chk6): This.
49954         (LDFLAGS-tst-lfschk4): Renamed to ...
49955         (LDLIBS-tst-lfschk4): This.
49956         (LDFLAGS-tst-lfschk5): Renamed to ...
49957         (LDLIBS-tst-lfschk5): This.
49958         (LDFLAGS-tst-lfschk6): Renamed to ...
49959         (LDLIBS-tst-lfschk6): This.
49961         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
49962         on $(common-objpfx)soversions.mk.
49964 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
49966         [BZ #10014]
49967         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
49968         example host name.
49970 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49972         * malloc/arena.c (arena_get_retry): New function that gets
49973         another arena for the caller to try its request on.
49974         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
49975         current arena cannot fulfill the request.
49976         (__libc_memalign): Likewise.
49977         (__libc_memalign): Likewise.
49978         (__libc_pvalloc): Likewise.
49979         (__libc_calloc): Likewise.
49981 2012-09-05  John Tobey  <john.tobey@gmail.com>
49983         [BZ #13542]
49984         * manual/arith.texi (Operations on Complex): Fix description
49985         of carg branch cut.
49987 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
49989         [BZ #10014]
49990         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
49991         host name.
49993         [BZ #10038]
49994         * manual/memory.texi (Memory): Make order of menu items match
49995         order of sections.
49997 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49999         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
50000         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
50001         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
50003 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50005         * csu/libc-tls.c (static_dtv): Renamed to ...
50006         (_dl_static_dtv): This.  Make it global.
50007         (_dl_initial_dtv): Removed.
50008         (__libc_setup_tls): Updated.
50009         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
50010         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
50011         DL_INITIAL_DTV.
50013 2012-09-06  Petr Machata  <pmachata@redhat.com>
50015         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
50016         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
50017         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
50018         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
50020 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50022         [BZ #14545]
50023         * csu/libc-tls.c (_dl_initial_dtv): New variable.
50024         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
50025         freeing dtv[-1].
50027 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50029         [BZ #14544]
50030         * Makeconfig (link-static-before-libc): Replace $(+prector)
50031         with $(+prectorT).
50032         (link-static-after-libc): Replace $(+postctor) with
50033         $(+postctorT).
50034         (link-bounded): Replace $(+prector)/$(+postctor) with
50035         $(+prectorT)/$(+postctorT).
50036         (+prectorT): New macro.
50037         (+postctorT): Likewise.
50039 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
50041         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
50042         (round_str): Handle values above the maximum for IBM long double
50043         as inexact.
50044         * stdlib/tst-strtod-round.c (tests): Regenerated.
50046 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50048         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
50049         assembler flag.
50050         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
50051         zarch_nohighgprs around the zarch optimized routines.
50052         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
50053         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
50054         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
50055         for zarch.
50057 2012-09-05  David S. Miller  <davem@davemloft.net>
50059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50061         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
50062         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
50063         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
50064         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50065         entries.
50067 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50069         * malloc/arena.c: Fold copyright years.
50070         * malloc/mcheck.c, malloc/memusage.c: Likewise.
50072 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50074         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
50076 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50078         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
50080 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50082         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
50083         change internal state upon failure.
50085 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50087         * malloc/mcheck.c (mcheck_check_all): Fix typo.
50088         * malloc/memusage.c (mmap): Likewise.
50089         (mmap64, mremap): Likewise.  Adjust name in comment.
50091 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50093         * libio/fileops.c: Fix typos in comments.
50094         * libio/oldfileops.c: Likewise.
50095         * libio/wfileops.c: Likewise.
50097 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50099         [BZ #1349]
50100         * malloc/Makefile (tests): Add tst-malloc-usable test case.
50101         (tst-malloc-usable-ENV): Set environment for test case.
50102         * malloc/hooks.c (malloc_check_get_size): New function to get
50103         requested size.
50104         * malloc/malloc.c (musable): Use malloc_check_get_size.
50105         * malloc/tst-malloc-usable.c: New test case.
50107 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50109         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
50111 2012-09-05  Allan McRae  <allan@archlinux.org>
50113         [BZ #13966]
50114         * configure.in (CXX_SYSINCLUDES): Use compiler output to
50115         determine header location.
50116         * configure: Regenerated.
50118 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50120         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
50121         float format.
50122         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
50123         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
50124         format.
50125         (test): Regenerate.
50127 2012-09-04  David S. Miller  <davem@davemloft.net>
50129         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
50130         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
50131         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
50133 2012-09-04  Florian Weimer  <fweimer@redhat.com>
50135         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
50136         failures.
50138         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
50140 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
50142         [BZ #9914]
50143         * libio/iogetdelim.c: Include <limits.h>.
50144         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
50145         + len + 1 would overflow.
50147 2012-09-03  Andreas Jaeger  <aj@suse.de>
50149         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50150         * sysdeps/i386/fpu/libm-test-ulps: Update.
50152 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50154         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
50155         Add s_sinf-sse2, s_conf-sse2.
50157         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
50158         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
50159         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
50160         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
50162         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
50163         for using routine as __sinf_ia32.
50164         Use macro for function declaration and weak_alias.
50165         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
50166         for using routine as __cosf_ia32.
50167         Use macro for function declaration and weak_alias.
50169         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
50170         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
50172         * sysdeps/x86_64/fpu/s_sinf.S: New file.
50173         * sysdeps/x86_64/fpu/s_cosf.S: New file.
50174         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50176         * math/libm-test.inc (cos_test): Add more test cases.
50177         (sin_test): Likewise.
50178         (sincos_test): Likewise.
50180 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50182         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
50183         (IFUNC_RESOLVE): Make pointers to the specialized implementations
50184         hidden.
50185         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50187 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
50189         [BZ #14538]
50190         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
50191         first element of the GOT.
50192         (elf_machine_load_address): Return the difference between
50193         the runtime address of _DYNAMIC and elf_machine_dynamic ().
50195 2012-09-01  Allan McRae  <allan@archlinux.org>
50197         [BZ #13412]
50198         * configure.in (AWK): Require gawk version 3.0 or later.
50199         * configure: Regenerated.
50201 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
50203         * sysdeps/unix/sysv/linux/kernel-features.h
50204         (__ASSUME_POSIX_CPU_TIMERS): Remove.
50205         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50206         [__NR_clock_getres]: Make code unconditional.
50207         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
50208         (clock_getcpuclockid): Remove code left unreachable by removal of
50209         conditionals.
50210         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
50211         code unconditional.
50212         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
50213         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50214         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
50215         Make code unconditional.
50216         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
50217         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50218         * sysdeps/unix/sysv/linux/clock_settime.c
50219         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
50220         conditional code.
50221         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
50222         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50224 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
50226         [BZ #14476]
50227         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
50228         scripts/test-installation.pl.
50230         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
50231         and $ld_so_version if it is set.
50233 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50235         [BZ #14516]
50236         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
50237         failure if reading from procfs failed.
50238         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
50240 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
50242         * sysdeps/unix/sysv/linux/kernel-features.h
50243         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
50244         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
50245         Remove conditional code.
50246         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50247         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
50248         Remove conditional code.
50249         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50250         * sysdeps/unix/sysv/linux/i386/fxstat.c
50251         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50252         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50253         * sysdeps/unix/sysv/linux/i386/fxstatat.c
50254         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50255         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50256         * sysdeps/unix/sysv/linux/i386/lxstat.c
50257         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50258         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50259         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
50260         Remove conditional code.
50261         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50262         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
50263         Remove conditional code.
50264         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50265         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
50266         <kernel-features.h>.
50267         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
50268         Remove.
50269         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
50270         Remove conditional code.
50271         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50272         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
50273         Remove conditional.
50275 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
50277         [BZ #5400]
50278         * NEWS: Add fixed bug number.
50280 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
50282         [BZ #14519]
50283         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
50284         underflowing exponent in case of negative sign.
50285         * stdlib/tst-strtod-round-data: Add more tests.
50286         * stdlib/tst-strtod-round.c (tests): Regenerated.
50288         [BZ #3479]
50289         * stdlib/strtod_l.c (NDIG): Remove.
50290         (HEXNDIG): Likewise.
50291         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
50292         smallest representable value.
50293         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
50294         lie within an exact representation of 1/2 ulp of the result.
50295         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
50296         unconditionally.
50297         (TENS_P9_IDX): Define unconditionally.
50298         (TENS_P9_SIZE): Likewise.
50299         (TENS_P10_IDX): Likewise.
50300         (TENS_P10_SIZE): Likewise.
50301         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
50302         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
50303         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
50304         entries for 10^2^13 and 10^2^14.
50305         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
50306         (TENS_P13_IDX): Define.
50307         (TENS_P13_SIZE): Likewise.
50308         (TENS_P14_IDX): Likewise.
50309         (TENS_P14_SIZE): Likewise.
50310         (_fpioconst_pow10): Change array size to
50311         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
50312         unconditional.
50313         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
50314         1024]: Add entries for 10^2^13 and 10^2^14.
50315         [LAST_POW10 > _LAST_POW10]: Remove #error.
50316         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
50317         (_fpioconst_pow10): Change array size to
50318         FPIOCONST_POW10_ARRAY_SIZE.
50319         * stdlib/gen-fpioconst.c: New file.
50320         * stdlib/gen-tst-strtod-round.c: Likewise.
50321         * stdlib/tst-strtod-round-data: Likewise.
50322         * stdlib/tst-strtod-round.c: Likewise.
50323         * stdlib/Makefile (tests): Add tst-strtod-round.
50325         [BZ #14459]
50326         * stdlib/strtod_l.c: Include <stdint.h>.
50327         (NDEBUG): Do not define.
50328         (round_and_return): Change EXPONENT parameter to type intmax_t.
50329         Rearrange calculations to avoid internal overflow possibilities.
50330         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
50331         Rearrange calculations to avoid internal overflow possibilities.
50332         Assert that number fits inside MPNSIZE limbs.
50333         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
50334         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
50335         calculations and add assertions to avoid internal overflow
50336         possibilities.  Add casts to avoid signed/unsigned operations.
50337         * stdlib/tst-strtod-overflow.c: New file.
50338         * stdlib/Makefile (tests): Add tst-strtod-overflow.
50340 2012-08-25  Marek Polacek  <polacek@redhat.com>
50342         * time/time.h: Fix some typos in comments.
50344 2012-08-23  Roland McGrath  <roland@hack.frob.com>
50346         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
50347         * posix/tst-rfc3484-2.c: Likewise.
50348         * posix/tst-rfc3484-3.c: Likewise.
50350 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
50352         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
50353         (EF_ARM_ABI_FLOAT_HARD): Likewise.
50355 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
50357         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
50358         #include of fxstatat64.c.
50360 2012-08-22  Roland McGrath  <roland@hack.frob.com>
50362         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
50363         * shadow/getspent_r.c: Likewise.
50364         * shadow/getspnam.c: Likewise.
50365         * shadow/getspnam_r.c: Likewise.
50366         * gshadow/getsgent.c: Likewise.
50367         * gshadow/getsgent_r.c: Likewise.
50368         * gshadow/getsgnam.c: Likewise.
50369         * gshadow/getsgnam_r.c: Likewise.
50370         * inet/getnetbyad.c: Likewise.
50371         * inet/getnetbyad_r.c: Likewise.
50372         * inet/getnetbynm.c: Likewise.
50373         * inet/getnetbynm_r.c: Likewise.
50374         * inet/getnetent.c: Likewise.
50375         * inet/getnetent_r.c: Likewise.
50376         * inet/getproto.c: Likewise.
50377         * inet/getproto_r.c: Likewise.
50378         * inet/getprtent.c: Likewise.
50379         * inet/getprtent_r.c: Likewise.
50380         * inet/getprtname.c: Likewise.
50381         * inet/getprtname_r.c: Likewise.
50382         * inet/getrpcbyname.c: Likewise.
50383         * inet/getrpcbyname_r.c: Likewise.
50384         * inet/getrpcbynumber.c: Likewise.
50385         * inet/getrpcbynumber_r.c: Likewise.
50386         * inet/getrpcent.c: Likewise.
50387         * inet/getrpcent_r.c: Likewise.
50388         * inet/getaliasent.c: Likewise.
50389         * inet/getaliasent_r.c: Likewise.
50390         * inet/getaliasname.c: Likewise.
50391         * inet/getaliasname_r.c: Likewise.
50392         * nscd/getgrgid_r.c: Likewise.
50393         * nscd/getgrnam_r.c: Likewise.
50394         * nscd/gethstbyad_r.c: Likewise.
50395         * nscd/gethstbynm3_r.c: Likewise.
50396         * nscd/getpwnam_r.c: Likewise.
50397         * nscd/getpwuid_r.c: Likewise.
50398         * nscd/getsrvbynm_r.c: Likewise.
50399         * nscd/getsrvbypt_r.c: Likewise.
50400         * nscd/gai.c: Likewise.
50402         * configure.in (build_nscd): New substituted variable, set
50403         by --disable-build-nscd and defaults to $use_nscd.
50404         * configure: Regenerated.
50405         * config.make.in (build-nscd): New substituted variable.
50406         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
50407         Change conditional to require [$(build-nscd) = yes] as well.
50408         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
50410         [BZ# 13696]
50411         * configure.in (use_nscd): New substituted variable, set by
50412         --disable-nscd.  If enabled, define USE_NSCD.
50413         * configure: Regenerated.
50414         * config.h.in: Add USE_NSCD.
50415         * config.make.in (use-nscd): New substituted variable.
50416         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
50417         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
50418         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
50419         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
50420         (CFLAGS-getgrnam_r.c): Likewise.
50421         (CFLAGS-initgroups.c): Likewise.
50422         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
50423         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
50424         Variables removed.
50425         * inet/getnetgrent_r.c
50426         (nscd_setnetgrent): New function, broken out of ...
50427         (setnetgrent): ... here.  Call it.
50428         (innetgr): Conditionalize nscd bits on [USE_NSCD].
50429         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
50430         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
50431         * nscd/Makefile (routines, aux): Move definitions after include of
50432         Makeconfig.  Conditionalize on [$(use-nscd) != no].
50433         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
50434         Conditionalize on [USE_NSCD].
50435         (is_nscd, nscd_init_cb): Likewise.
50436         (nss_load_library): Conditionalize init callback on [USE_NSCD].
50437         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
50438         * nss/nss_db/db-init.c: Likewise.
50439         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
50440         [USE_NSCD].
50441         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
50442         (make_request): Use it.
50443         (cache_valid_p): New function.
50444         (__check_pf): Use it.
50445         * NEWS: Add item for --disable-nscd.
50447 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
50449         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
50450         to support sed >= 4.2.1-20-ga9bf076.
50451         * configure: Regenerated.
50453 2012-08-22  Roland McGrath  <roland@hack.frob.com>
50455         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
50456         Conditionalize whole body on [IREL].
50458 2012-08-22  Jeff Law <law@redhat.com>
50460         [BZ #14505]
50461         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
50462         if the family is PF_UNSPEC.
50464 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
50466         * Makerules (lib-version): Rename from V.
50467         (install-lib-nosubdir): Change V to lib-version.
50469 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
50471         [BZ #14252]
50472         * powerpc32/power6/wcschr.c: New file.
50473         * powerpc32/power6/wcscpy.c: New file.
50474         * powerpc32/power6/wcsrchr.c: New file.
50475         * powerpc64/power6/wcschr.c: New file.
50476         * powerpc64/power6/wcscpy.c: New file.
50477         * powerpc64/power6/wcsrchr.c: New file.
50479 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
50481         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
50482         (two_way_short_needle): Use it.
50483         * string/strstr.c (AVAILABLE1_USES_J): Define.
50484         * string/strcasestr.c: Likewise.
50486         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
50487         array references.
50488         * string/strcasestr.c (TOLOWER): Make side-effect safe.
50490         [BZ #11607]
50491         * NEWS: Add an entry.
50492         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
50493         define their defaults.
50494         (two_way_short_needle): Detect end-of-string on-the-fly.
50495         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
50496         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
50497         * string/bug-strcasestr1.c: New test.
50498         * string/Makefile: Run it.
50500 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
50502         [BZ #11607]
50503         * string/str-two-way.h (two_way_short_needle): Optimize matching of
50504         the first character.
50506 2012-08-21  Roland McGrath  <roland@hack.frob.com>
50508         * csu/elf-init.c (__libc_csu_irel): Function removed.
50509         * csu/libc-start.c (apply_irel): New function.
50510         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
50512 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
50514         * sysdeps/unix/sysv/linux/kernel-features.h
50515         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
50516         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50517         <kernel-features.h>.
50518         [__NR_fadvise64_64]: Make code unconditional.
50519         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
50520         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50521         !__NR_fadvise64_64)]: Likewise.
50522         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50523         !__NR_fadvise64_64))]: Likewise.
50524         [__NR_fadvise64]: Make code unconditional.
50525         [!__NR_fadvise64]: Remove conditional code.
50526         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
50527         <kernel-features.h>.
50528         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50529         unconditional.
50530         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50531         conditional code.
50532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
50533         not include <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/s390/s390-32/posix_fadvise64.c: Do not
50539         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.
50545 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50547         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
50548         slight instruction rearrangements per scrollpipe analysis.
50549         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
50551 2012-08-20  Roland McGrath  <roland@hack.frob.com>
50553         * manual/syslog.texi (syslog; vsyslog, closelog):
50554         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
50555         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
50557         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
50558         DSOCAPS to match condition on defining it.
50560 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
50562         * sysdeps/unix/sysv/linux/kernel-features.h
50563         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
50564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
50565         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50566         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
50568         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50569         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
50571         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50572         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50574         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
50575         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
50577         * sysdeps/unix/sysv/linux/kernel-features.h
50578         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
50579         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
50580         unconditional.
50581         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50582         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
50583         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50584         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50585         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
50586         Make code unconditional.
50587         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50588         (__mmap64) [!__NR_mmap2]: Likewise.
50589         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
50590         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50591         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50592         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
50593         [__NR_mmap2]: Make code unconditional.
50594         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50595         (__mmap64) [!__NR_mmap2]: Likewise.
50597 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50599         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
50601 2012-08-18  Andreas Jaeger  <aj@suse.de>
50603         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
50605 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50607         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
50608         * include/unistd.h (__have_sock_cloexec): Likewise.
50609         (__have_pipe2): Likewise.
50610         (__have_dup3): Likewise.
50612 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50614         [BZ #9685]
50615         * include/unistd.h (__have_pipe2): Change define into an extern int.
50616         (__have_dup3): Likewise.
50617         * socket/have_sock_cloexec.c: Include fcntl.h.
50618         (__have_pipe2): New variable.
50619         (__have_dup3): Likewise.
50621 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
50623         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
50625 2012-08-17  Marek Polacek  <polacek@redhat.com>
50627         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
50628         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
50630 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50632         * configure.in: Add AC_SUBST for sysheaders.
50633         * configure: Regenerated.
50634         * config.make.in (sysheaders): New substituted variable.
50636         * sysdeps/unix/mkfifo.c: Moved ...
50637         * sysdeps/posix/mkfifo.c: ... here.
50638         * sysdeps/unix/mkfifoat.c: Moved ...
50639         * sysdeps/posix/mkfifoat.c: ... here.
50641         * sysdeps/unix/utime.c: Moved ...
50642         * sysdeps/posix/utime.c: ... here.
50644         * sysdeps/unix/time.c: Moved ...
50645         * sysdeps/posix/time.c: ... here.
50646         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
50647         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
50649         * sysdeps/unix/nice.c: Moved ...
50650         * sysdeps/posix/nice.c: ... here.
50652         * sysdeps/unix/alarm.c: Moved ...
50653         * sysdeps/posix/alarm.c: ... here.
50655         * intl/Makefile ($(codeset_mo)): Depend on the input file.
50657 2012-08-17  Jeff Law <law@redhat.com>
50659         * intl/Makefile (codeset_mo): New variable.
50660         ($(codeset_mo)): New target.
50661         (tst-codeset.out): Depend on that.  Remove explicit rule.
50662         (tst-gettext3.out, tst-gettext5.out): Likewise.
50663         (LOCPATH-ENV, tst-codeset-ENV): New variables.
50664         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
50665         * intl/tst-codeset.sh: Remove.
50666         * intl/tst-gettext3.sh: Likewise.
50667         * intl/tst-gettext5.sh: Likewise.
50669 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50671         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
50672         * sysdeps/unix/syscalls.list: ... here.
50674         * sysdeps/posix/getaddrinfo.c
50675         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
50676         (gaiconf_init, gaiconf_reload): Use them.
50677         [!_STATBUF_ST_NSEC]
50678         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
50679         Define using time_t rather than struct timespec.
50681         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
50682         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
50683         Macros removed.
50684         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
50685         [!NO_THREADS].
50686         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
50687         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
50688         Likewise.
50690         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
50691         __libc_cleanup_push argument.
50693         * bits/param.h: New file.
50694         * misc/sys/param.h: New file.
50695         * include/sys/param.h: New file.
50696         * misc/Makefile (headers): Add bits/param.h.
50697         * sysdeps/generic/sys/param.h: File removed.
50698         * sysdeps/unix/sysv/linux/bits/param.h: New file.
50699         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
50700         * sysdeps/mach/hurd/bits/param.h: New file.
50701         * sysdeps/mach/hurd/sys/param.h: File removed.
50703         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
50704         last change.
50706         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
50707         [_IO_MTSAFE_IO].
50708         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
50709         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
50710         New macros.
50712         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
50713         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
50714         rather than -D_IO_MTSAFE_IO conditionally.
50715         * stdio-common/Makefile (CPPFLAGS): Likewise.
50716         * wcsmbs/Makefile (CPPFLAGS): Likewise.
50717         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
50718         Use $(libio-mtsafe).
50719         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
50720         of -D_IO_MTSAFE_IO.
50721         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
50722         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
50723         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
50724         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
50725         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
50726         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
50727         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
50728         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
50729         (CFLAGS-fread_u_chk.c): Likewise.
50730         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
50731         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
50732         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
50733         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
50734         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
50735         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
50736         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
50737         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
50738         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
50740         * libio/Makefile: Test [$(libc-reentrant) = yes]
50741         instead of [$(filter %REENTRANT, $(defines)) nonempty].
50743         * Makeconfig
50744         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
50745         * sysdeps/pthread/configure: File removed.
50746         * sysdeps/pthread/Makeconfig: New file.
50747         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
50748         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
50750 2012-08-16  Gary Benson  <gbenson@redhat.com>
50752         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
50753         unmapping the first object in a namespace.
50755 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50757         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
50758         (__internal_setnetgrent): ... this.  Add internal_function to
50759         definition.  Add libc_hidden_def.
50760         (setnetgrent): Update caller.
50761         (internal_endnetgrent): Renamed to ...
50762         (__internal_endnetgrent): ... this.  Add internal_function to
50763         definition.  Add libc_hidden_def.
50764         (endnetgrent): Update caller.
50765         (internal_getnetgrent_r): Renamed to ...
50766         (__internal_getnetgrent_r): ... this.  Add internal_function to
50767         definition.  Add libc_hidden_def.
50768         (__getnetgrent_r): Update caller.
50769         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
50771 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50773         * stdlib/longlong.h: Update from GCC.
50775 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50777         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
50778         on _QL, which is set by umul_ppmm but never used.
50779         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
50780         variables, which are set by GMP macros but never used.
50781         * stdio-common/_itowa.c (_itowa): Likewise.
50782         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
50783         * stdlib/mod_1.c (mpn_mod_1): Likewise.
50785 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
50787         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
50788         struct La_sh_regs is not constant.
50789         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
50790         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
50791         and struct La_sparc64_regs are not constant.
50793 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50795         * sysdeps/unix/sysv/linux/kernel-features.h
50796         (__ASSUME_POSIX_TIMERS): Remove.
50797         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50798         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50799         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
50800         Make code unconditional.
50801         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50802         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
50803         Make code unconditional.
50804         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50805         * sysdeps/unix/sysv/linux/clock_nanosleep.c
50806         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
50807         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50808         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
50809         Make code unconditional.
50810         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50811         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
50812         (__libc_missing_posix_timers): Remove.
50814 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50816         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
50817         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
50819         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
50821         * elf/dl-sym.c: Include <stdlib.h>.
50823         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
50824         constants, which avoids warnings in 32-bit builds.
50826         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
50827         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
50829         * misc/lseek.c: File moved to ...
50830         * io/lseek.c: ... here.
50832         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
50834         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
50835         shifting LEN more than 31 bits at once.
50837 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50839         [BZ #14195]
50840         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
50841         segmentation fault for a case of two empty input strings.
50842         * string/test-strncasecmp.c (check1): Renamed to...
50843         (bz12205): ...this.
50844         (bz14195): Add new testcase for two empty input strings and N > 0.
50845         (test_main): Call new testcase, adapt for renamed function.
50847 2012-08-15  Andreas Jaeger  <aj@suse.de>
50849         [BZ #14090]
50850         * crypt/md5test2.c: New test, based on test supplied by Serge
50851         Belyshev <belyshev@depni.sinp.msu.ru>.
50852         * crypt/Makefile (xtests): Add md5test-giant..
50853         * crypt/Makefile ($(objpfx)md5test-giant): Add.
50855 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
50857         [BZ #14090]
50858         * crypt/md5.c (md5_process_block): Don't assume the buffer
50859         length is less than 2**32.
50860         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
50861         length is less than 2**64.
50863 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50865         * string/str-two-way.h: Include <sys/param.h>.
50866         (MAX): Macro removed.
50868         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
50869         Move #define and #undef of memmove to just before and after
50870         including <string.h>.
50872         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
50873         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
50874         and after including <string.h>.  Move declarations of
50875         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
50876         to before #include "string/memmove.c".
50878         * include/dirent.h: Declare __getdirentries.
50880         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
50881         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
50883 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
50885         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
50886         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
50887         * sysdeps/i386/configure: Regenerated.
50888         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
50889         STABS_CURRENT_FILE, and STABS_FUN.
50890         (END): Remove call to STABS_FUN_END.
50891         (STABS_CURRENT_FILE1): Delete.
50892         (STABS_CURRENT_FILE): Likewise.
50893         (STABS_FUN): Likewise.
50894         (STABS_FUN_END): Likewise.
50895         (STABS_FUN2): Likewise.
50896         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
50897         * sysdeps/x86_64/configure: Regenerated.
50899 2012-08-14  Roland McGrath  <roland@hack.frob.com>
50901         * elf/dl-open.c: Include <atomic.h>.
50902         * elf/dl-lookup.c: Likewise.
50904 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
50906         * sysdeps/unix/sysv/linux/kernel-features.h
50907         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
50908         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
50909         unconditionally.
50910         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
50911         unconditionally.
50912         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
50913         condition on __ASSUME_CLONE_THREAD_FLAGS.
50915 2012-08-14  Andreas Jaeger  <aj@suse.de>
50917         * sysdeps/i386/fpu/libm-test-ulps: Update.
50919 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
50921         * include/atomic.h (atomic_exchange_and_add): Split into ...
50922         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
50923         New atomic macros.
50925 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
50927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50929 2012-08-13  Jeff Law <law@redhat.com>
50931         * manual/stdio.texi (snprintf): Clarify handling of the trailing
50932         null byte in the output string.
50934 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
50936         * sysdeps/unix/sysv/linux/kernel-features.h
50937         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
50938         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
50939         (__ASSUME_ARG_MAX_STACK_BASED): Define.
50940         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
50941         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
50942         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
50943         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
50945 2012-08-09  Jeff Law <law@redhat.com>
50947         [BZ #13939]
50948         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
50949         When avoid_arena is set, don't retry in the that arena.  Pick the
50950         next one, whatever it might be.
50951         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
50952         (arena_lock): Pass in new parameter to arena_get2.
50953         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
50954         arena_get2.
50955         (__libc_malloc): Unify retrying after main arena failure with
50956         __libc_memalign version.
50957         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
50959 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
50961         [BZ #14166]
50962         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
50963         to __redirect_strstr.
50964         (__strstr_sse42): Use typeof __redirect_strstr.
50965         (__strstr_ia32): Likewise.
50966         (__libc_strstr): New prototype.
50967         (strstr): Renamed to ...
50968         (__libc_strstr): This.
50969         (strstr): New strong alias of __libc_strstr.
50970         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50971         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
50972         __redirect_time.
50973         Include <time.h>.
50974         (__libc_time): New prototype.
50975         (time_ifunc): Replace time with __libc_time.
50976         (time): New strong alias and hidden definition of __libc_time.
50977         (__GI_time): Remove strong alias.
50978         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
50979         Include <stddef.h>.
50980         (memmove): Redefined to __redirect_memmove.
50981         (__memmove_sse2): Use typeof __redirect_memmove.
50982         (__memmove_ssse3): Likewise.
50983         (__memmove_ssse3_back): Likewise.
50984         (__libc_memmove): New prototype.
50985         (memmove): Renamed to ...
50986         (__libc_memmove): This.
50987         (memmove): New strong alias of __libc_memmove.
50989 2012-08-08  Mark Salter  <msalter@redhat.com>
50991         * elf/elf.h
50992         (R_MN10300_TLS_GD): Define.
50993         (R_MN10300_TLS_LD): Likewise.
50994         (R_MN10300_TLS_LDO): Likewise.
50995         (R_MN10300_TLS_GOTIE): Likewise.
50996         (R_MN10300_TLS_IE): Likewise.
50997         (R_MN10300_TLS_LE): Likewise.
50998         (R_MN10300_TLS_DTPMOD): Likewise.
50999         (R_MN10300_TLS_DTPOFF): Likewise.
51000         (R_MN10300_TLS_TPOFF): Likewise.
51001         (R_MN10300_SYM_DIFF): Likewise.
51002         (R_MN10300_ALIGN): Likewise.
51003         (R_MN10300_NUM): Update.
51005 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
51007         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
51008         Remove.
51010 2012-08-08  Roland McGrath  <roland@hack.frob.com>
51012         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
51014         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
51015         sysdeps/unix -> sysdeps/posix move.
51016         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51018 2012-08-07      Allan McRae     <allan@archlinux.org>
51020         [BZ #14303]
51021         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
51022         (SUNOS_CPP): Likewise.
51023         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
51024         not found.
51025         (open_input): Call CPP using execvp.
51027 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
51029         * sysdeps/unix/sysv/linux/kernel-features.h
51030         (__ASSUME_PROT_GROWSUPDOWN): Remove.
51031         (__ASSUME_NO_CLONE_DETACHED): Likewise.
51032         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
51033         (__ASSUME_WAITID_SYSCALL): Likewise.
51034         * sysdeps/unix/sysv/linux/dl-execstack.c
51035         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
51036         code unconditional.
51037         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
51038         conditional code.
51039         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
51040         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
51041         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
51042         code.
51043         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
51044         unconditional.
51045         [__ASSUME_WAITID_SYSCALL]: Likewise.
51046         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
51048 2012-08-07  Roland McGrath  <roland@hack.frob.com>
51050         * sysdeps/unix/closedir.c: Renamed to ...
51051         * sysdeps/posix/closedir.c: ... here.
51052         * sysdeps/unix/dirfd.c: Renamed to ...
51053         * sysdeps/posix/dirfd.c: ... here.
51054         * sysdeps/unix/dirstream.h: Renamed to ...
51055         * sysdeps/posix/dirstream.h: ... here.
51056         * sysdeps/unix/fdopendir.c: Renamed to ...
51057         * sysdeps/posix/fdopendir.c: ... here.
51058         * sysdeps/unix/opendir.c: Renamed to ...
51059         * sysdeps/posix/opendir.c: ... here.
51060         * sysdeps/unix/readdir.c: Renamed to ...
51061         * sysdeps/posix/readdir.c: ... here.
51062         * sysdeps/unix/readdir_r.c: Renamed to ...
51063         * sysdeps/posix/readdir_r.c: ... here.
51064         * sysdeps/unix/rewinddir.c: Renamed to ...
51065         * sysdeps/posix/rewinddir.c: ... here.
51066         * sysdeps/unix/seekdir.c: Renamed to ...
51067         * sysdeps/posix/seekdir.c: ... here.
51068         * sysdeps/unix/telldir.c: Renamed to ...
51069         * sysdeps/posix/telldir.c: ... here.
51070         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
51071         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
51072         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
51073         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
51075         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
51076         * bits/fcntl.h: ... here.
51078         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
51079         not 0.
51080         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
51081         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
51082         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
51083         (struct flock): Move l_start, l_len to the beginning.
51084         Use __pid_t for l_pid.
51085         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
51086         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
51087         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
51088         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
51089         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
51090         [__USE_LARGEFILE64] (struct flock64): New type.
51091         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
51093         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
51094         * bits/dirent.h: ... here.
51096         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
51097         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
51099 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
51101         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51102         Change from 2.6.0 to 2.6.16.
51103         * sysdeps/unix/sysv/linux/configure: Regenerated.
51104         * sysdeps/unix/sysv/linux/kernel-features.h
51105         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
51106         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
51107         version.
51108         (__ASSUME_UTIMES): Likewise.
51109         (__ASSUME_CLONE_STOPPED): Remove.
51110         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
51111         architectures, not kernel version.
51112         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
51113         (__ASSUME_NO_CLONE_DETACHED): Likewise.
51114         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
51115         (__ASSUME_WAITID_SYSCALL): Likewise.
51116         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
51117         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
51118         * README: State 2.6.16 as minimum Linux kernel version.  Do not
51119         refer to older versions.
51121 2012-08-06  Roland McGrath  <roland@hack.frob.com>
51123         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
51124         Define alphasort64 as an alias.
51125         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
51126         Define versionsort64 as an alias.
51127         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
51128         Define scandir64 as an alias.
51129         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
51130         Define scandirat64 as an alias.
51131         * dirent/alphasort64.c (alphasort64):
51132         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
51133         * dirent/versionsort64.c: Likewise.
51134         * dirent/scandir64.c: Likewise.
51135         * dirent/scandirat64.c: Likewise.
51136         * sysdeps/wordsize-64/alphasort.c: File removed.
51137         * sysdeps/wordsize-64/alphasort64.c: File removed.
51138         * sysdeps/wordsize-64/scandir.c: File removed.
51139         * sysdeps/wordsize-64/scandir64.c: File removed.
51140         * sysdeps/wordsize-64/scandirat.c: File removed.
51141         * sysdeps/wordsize-64/scandirat64.c: File removed.
51142         * sysdeps/wordsize-64/versionsort.c: File removed.
51143         * sysdeps/wordsize-64/versionsort64.c: File removed.
51144         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
51145         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
51146         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
51147         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
51148         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
51149         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
51150         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
51151         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
51153         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
51154         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
51155         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
51156         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51157         [defined __arch64__ || defined __sparcv9]
51158         (__INO_T_MATCHES_INO64_T): New macro.
51159         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51160         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
51161         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
51162         * sysdeps/unix/sysv/linux/bits/dirent.h
51163         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
51164         (_DIRENT_MATCHES_DIRENT64): New macro.
51166         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
51167         Define lockf64 as an alias.
51168         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
51169         Define fseeko64 as an alias.
51170         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
51171         Define ftello64 as an alias.
51172         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
51173         Define _IO_fgetpos64 and fgetpos64 as aliases.
51174         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
51175         Define _IO_fsetpos64 and fsetpos64 as aliases.
51176         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
51177         Conditionalize body on this.
51178         * libio/fseeko64.c: Likewise.
51179         * libio/ftello64.c: Likewise.
51180         * libio/iofgetpos64.c: Likewise.
51181         * libio/iofsetpos64.c: Likewise.
51182         * sysdeps/wordsize-64/lockf.c: File removed.
51183         * sysdeps/wordsize-64/lockf64.c: File removed.
51184         * sysdeps/wordsize-64/fseeko.c: File removed.
51185         * sysdeps/wordsize-64/fseeko64.c: File removed.
51186         * sysdeps/wordsize-64/ftello.c: File removed.
51187         * sysdeps/wordsize-64/ftello64.c: File removed.
51188         * sysdeps/wordsize-64/iofgetpos.c: File removed.
51189         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
51190         * sysdeps/wordsize-64/iofsetpos.c: File removed.
51191         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
51192         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
51193         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
51194         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
51195         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
51196         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
51197         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
51198         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
51199         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
51200         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
51201         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
51203         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
51204         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
51205         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
51206         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51207         [defined __arch64__ || defined __sparcv9]
51208         (__OFF_T_MATCHES_OFF64_T): New macro.
51209         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51210         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
51211         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51212         (__OFF_T_MATCHES_OFF64_T): New macro.
51214 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
51216         * stdlib/secure-getenv.c (__secure_getenv): Replace
51217         GLIBC_2_16 with GLIBC_2_17.
51219 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
51221         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
51222         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51224 2012-08-03  David S. Miller  <davem@davemloft.net>
51226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51228 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
51230         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
51231         Remove.
51232         (__ASSUME_CORRECT_SI_PID): Likewise.
51233         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
51234         (__ASSUME_TMPFS_NAME): Likewise.
51235         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
51236         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
51237         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
51238         (HAVE_AUX_SECURE): Make definition unconditional.
51239         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
51240         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
51242 2012-08-03  Roland McGrath  <roland@hack.frob.com>
51244         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
51245         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
51246         * sysdeps/mach/hurd/eloop-threshold.h: New file.
51247         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51248         __eloop_threshold instead of SYMLOOP_MAX.
51250         * sysdeps/generic/eloop-threshold.h: New file.
51251         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
51252         of MAXSYMLINKS.
51253         * elf/chroot_canon.c (chroot_canon): Likewise.
51255 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
51257         [BZ #13717]
51258         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51259         Change to 2.6.0 everywhere.
51260         * sysdeps/unix/sysv/linux/configure: Regenerated.
51261         * sysdeps/unix/sysv/linux/kernel-features.h
51262         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
51263         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
51264         kernel versions.
51265         (__ASSUME_POSIX_TIMERS): Define unconditionally.
51266         (__ASSUME_FUTEX_REQUEUE): Remove.
51267         (__ASSUME_STATFS64): Define unconditionally.
51268         (__ASSUME_AT_SECURE): Likewise.
51269         (__ASSUME_CORRECT_SI_PID): Likewise.
51270         (__ASSUME_TGKILL): Define without depending on kernel version for
51271         i386.
51272         (__ASSUME_UTIMES): Likewise.
51273         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
51274         kernel version.
51275         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
51276         (__ASSUME_TMPFS_NAME): Likewise.
51277         * README: Update reference to Linux kernel versions.
51279 2012-08-02  Marek Polacek  <polacek@redhat.com>
51281         [BZ# 14150]
51282         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
51283         libc_cv_asm_type_prefix with %.
51284         * configure: Regenerated.
51285         * include/libc-symbols.h: Remove comment about
51286         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
51287         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
51288         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
51289         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
51290         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
51291         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
51292         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
51293         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
51294         * elf/tst-unique2mod1.c: Likewise.
51295         * elf/tst-unique1mod2.c: Likewise.
51296         * elf/tst-unique1mod1.c: Likewise.
51297         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
51298         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
51299         Replace ASM_TYPE_DIRECTIVE with .type.
51300         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51301         * sysdeps/i386/sysdep.h: Likewise.
51302         * sysdeps/x86_64/sysdep.h: Likewise.
51303         * sysdeps/sh/sysdep.h: Likewise.
51304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51305         Do not define ASM_TYPE_DIRECTIVE.
51306         * sysdeps/powerpc/sysdep.h: Likewise.
51307         * sysdeps/powerpc/powerpc32/sysdep.h:
51308         Replace ASM_TYPE_DIRECTIVE with .type.
51309         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
51310         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51311         * sysdeps/i386/fpu/e_powf.S: Likewise.
51312         * sysdeps/i386/fpu/e_expl.S: Likewise.
51313         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51314         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51315         * sysdeps/i386/fpu/e_pow.S: Likewise.
51316         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51317         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51318         * sysdeps/i386/fpu/s_expm1.S: Likewise.
51319         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51320         * sysdeps/i386/fpu/e_log2.S: Likewise.
51321         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51322         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51323         * sysdeps/i386/fpu/e_powl.S: Likewise.
51324         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51325         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51326         * sysdeps/i386/fpu/e_logl.S: Likewise.
51327         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51328         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51329         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51330         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51331         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51332         * sysdeps/i386/fpu/e_log.S: Likewise.
51333         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51334         * sysdeps/i386/fpu/e_logf.S: Likewise.
51335         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51336         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51337         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51338         * sysdeps/i386/fpu/e_log10.S: Likewise.
51339         * sysdeps/i386/fpu/s_frexp.S: Likewise.
51340         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51341         * sysdeps/i386/fpu/s_asinh.S: Likewise.
51342         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51343         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51344         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
51345         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51346         * sysdeps/i386/i686/strtok.S: Likewise.
51347         * sysdeps/i386/i386-mcount.S: Likewise.
51348         * sysdeps/i386/strtok.S: Likewise.
51349         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
51350         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51351         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51352         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51353         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51354         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51355         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51356         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51357         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51358         * sysdeps/x86_64/_mcount.S: Likewise.
51359         * sysdeps/x86_64/strtok.S: Likewise.
51360         * sysdeps/sh/_mcount.S: Likewise.
51362 2012-08-01  Roland McGrath  <roland@hack.frob.com>
51364         * libio/iofopen.c: Include <fcntl.h>.
51365         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
51366         (_IO_fopen64, fopen64): Define as aliases.
51367         * libio/iofopen64.c: Include <fcntl.h>.
51368         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
51369         Conditionalize body on this.
51370         * sysdeps/wordsize-64/iofopen.c: File removed.
51371         * sysdeps/wordsize-64/iofopen64.c: File removed.
51373 2012-08-01  Marek Polacek  <polacek@redhat.com>
51375         * libc/Makeconfig: Use elf in place of binfmt-subdir.
51376         Use dlfcn directly instead of a variable.
51377         (binfmt-subdir): Do not define.
51378         (dlfcn): Likewise.
51380 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
51382         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
51383         Remove all definitions.
51384         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
51385         <kernel-features.h>.
51386         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
51387         (miss_F_GETOWN_EX): Remove all definitions.
51388         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
51389         macro definition.
51390         [!__ASSUME_FCNTL64]: Remove conditional code.
51391         [__ASSUME_FCNTL64]: Make code unconditional.
51392         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
51393         <kernel-features.h>.
51394         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
51395         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
51396         (lockf64) [__NR_fcntl64]: Make code unconditional.
51397         (lockf64) [__ASSUME_FCNTL64]: Likewise.
51399         * sysdeps/unix/sysv/linux/kernel-features.h
51400         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
51401         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
51402         Make code unconditional.
51403         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51404         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
51406         [__NR_vfork]: Make code unconditional.
51407         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51408         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
51410         [__NR_vfork]: Make code unconditional.
51411         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51412         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51414 2012-08-01  Roland McGrath  <roland@hack.frob.com>
51416         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
51417         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
51419         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51420         Define mkstemp64 as an alias.
51421         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51422         Define mkstemps64 as an alias.
51423         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51424         Define mkostemp64 as an alias.
51425         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51426         Define mkostemps64 as an alias.
51427         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
51428         Conditionalize body on this.
51429         * misc/mkostemp64.c: Likewise.
51430         * misc/mkostemps64.c: Likewise.
51431         * misc/mkstemps64.c: Likewise.
51432         * sysdeps/wordsize-64/mkstemp64.c: File removed.
51433         * sysdeps/wordsize-64/mkostemp64.c: File removed.
51434         * sysdeps/wordsize-64/mkostemp.c: File removed.
51435         * sysdeps/wordsize-64/mkstemp.c: File removed.
51436         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
51437         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
51438         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
51439         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
51441         [BZ #14138]
51442         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
51443         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
51444         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
51445         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
51447         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
51448         compat_symbol macros from <shlib-compat.h> rather than the underlying
51449         default_symbol_version and symbol_version macros, so that DEFAULT
51450         lines in shlib-versions are respected.
51451         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
51453 2012-08-01  Florian Weimer  <fweimer@redhat.com>
51455         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
51456         Declare with warn_unused_result.
51457         (setgid, setregid, setegid, setresgid): Likewise.
51458         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
51459         Likewise.
51460         * WUR-REPORT: Remove set*id functions.
51462 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
51464         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
51466 2012-07-31  Roland McGrath  <roland@hack.frob.com>
51468         [BZ #10191]
51469         * include/sys/socket.h (__libc_accept, __libc_accept4):
51470         Add attribute_hidden.
51471         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
51473         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
51474         use of PTR_MANGLE.
51475         * inet/getnetgrent_r.c (setup): Likewise.
51477         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
51479 2012-07-31  David S. Miller  <davem@davemloft.net>
51481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51483 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
51485         [BZ #13629]
51486         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
51487         value between 1.0 and 2.0 and smaller part has absolute value less
51488         than 1.0.
51489         * math/s_clog10.c (__clog10): Likewise.
51490         * math/s_clog10f.c (__clog10f): Likewise.
51491         * math/s_clog10l.c (__clog10l): Likewise.
51492         * math/s_clogf.c (__clogf): Likewise.
51493         * math/s_clogl.c (__clogl): Likewise.
51494         * math/libm-test.inc (clog_test): Add more tests.
51495         (clog10_test): Likewise.
51496         * sysdeps/i386/fpu/libm-test-ulps: Update.
51497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51499 2012-07-31  Florian Weimer  <fweimer@redhat.com>
51501         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
51502         Exit with zero in case no suitable GID is found, and write a
51503         message to standard error.
51505 2012-07-30  Roland McGrath  <roland@hack.frob.com>
51507         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
51508         rather than to 1.
51509         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
51510         (MAXPATHLEN): Removed.
51511         (NOGROUP, NODEV): New macros.
51512         (setbit, clrbit, isset, isclr): New macros.
51513         (howmany, roundup, powerof2): New macros.
51514         (DEV_BSIZE): New macro.
51516         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
51517         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
51519         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
51520         definition on [!__NO_LONG_DOUBLE_MATH].
51522         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
51523         PTR_MANGLE and PTR_DEMANGLE.
51525         * socket/accept4.c (accept4): Rename to __libc_accept4.
51526         Define accept4 as a weak alias.
51528         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
51529         on [_DIRENT_HAVE_D_TYPE].
51530         * io/ftw.c (ftw_dir): Likewise.
51532         * io/xmknod.c (__xmknod): Don't check PATH for being null.
51534         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
51536         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
51537         Use the BSD numbers rather than the arbitrary ones we had.
51538         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
51539         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
51540         (SIGXCPU, SIGXFSZ): New macros.
51541         (_NSIG): Now 32.
51543         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
51544         initializer on [_LIBC_REENTRANT].
51546         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
51547         definitions inside [_POSIX_MAPPED_FILES].
51549         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
51551         * dirent/opendir.c: Include <fcntl.h>.
51553         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
51554         (__libc_getspecific): Likewise.
51555         (__libc_key_create): Likewise.
51557         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
51558         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
51559         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
51560         (tmpfile64): Define as alias.
51561         * sysdeps/wordsize-64/tmpfile.c: File removed.
51562         * sysdeps/wordsize-64/tmpfile64.c: File removed.
51563         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
51564         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
51566         * stdio-common/vfscanf.c: Include <stdbool.h>.
51567         * nss/makedb.c: Likewise.
51568         * stdio-common/_i18n_number.h: Likewise.
51569         * argp/argp-help.c: Likewise.
51570         * posix/wordexp.c: Likewise.
51571         * sysdeps/posix/spawni.c: Likewise.
51572         * nss/nss_files/files-initgroups.c: Likewise.
51573         * stdio-common/reg-modifier.c: Include <stdlib.h>.
51574         * nss/nss_files/files-initgroups.c: Likewise.
51575         * nss/nss_db/db-netgrp.c: Likewise.
51576         * nss/nss_db/db-initgroups.c: Likewise.
51577         * io/fchmodat.c: Include <sys/stat.h>.
51579         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
51580         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
51582         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
51583         [HAVE_MMAP].
51585         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
51586         Add multiple inclusion protection.
51588 2012-07-27  David S. Miller  <davem@davemloft.net>
51590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51592 2012-07-27  Gary Benson  <gbenson@redhat.com>
51594         [BZ #14298]
51595         * elf/rtld.c: Include <stap-probe.h>.
51596         (dl_main): Added static probes "init_start" and "init_complete".
51597         * elf/dl-load.c: Include <stap-probe.h>.
51598         (lose): Take new parameter "nsid".
51599         Added static probe "map_failed".
51600         (_dl_map_object_from_fd): Pass namespace id to lose.
51601         Added static probe "map_start".
51602         (open_verify): Pass namespace id to lose.
51603         * elf/dl-open.c: Include <stap-probe.h>.
51604         (dl_open_worker) Added static probes "map_complete", "reloc_start"
51605         and "reloc_complete".
51606         * elf/dl-close.c: Include <stap-probe.h>.
51607         (_dl_close_worker): Added static probes "unmap_start" and
51608         "unmap_complete".
51609         * elf/rtld-debugger-interface.txt: New file documenting the above.
51611 2012-07-26  Roland McGrath  <roland@hack.frob.com>
51613         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
51614         rather than a string variable.
51615         * sunrpc/rpc_main.c (h_output): Likewise.
51616         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
51618 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
51620         * inet/check_native.c: New file.
51622 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
51624         [BZ #13629]
51625         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
51626         if larger part has absolute value 1.0.
51627         * math/s_clog10.c (__clog10): Likewise.
51628         * math/s_clog10f.c (__clog10f): Likewise.
51629         * math/s_clog10l.c (__clog10l): Likewise.
51630         * math/s_clogf.c (__clogf): Likewise.
51631         * math/s_clogl.c (__clogl): Likewise.
51632         * math/libm-test.inc (clog_test): Add more tests.
51633         (clog10_test): Likewise.
51634         * sysdeps/i386/fpu/libm-test-ulps: Update.
51635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51637         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
51638         (pltexit): Likewise.
51639         (La_regs): Likewise.
51640         (La_retval): Likewise.
51641         (int_retval): Likewise.
51642         Update #error for removed macros to refer only to definitions in
51643         tst-audit.h.
51644         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
51645         macro.
51646         (pltexit): Likewise.
51647         (La_regs): Likewise.
51648         (La_retval): Likewise.
51649         (int_retval): Likewise.
51650         * elf/tst-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
51675         macro.
51676         (pltexit): Likewise.
51677         (La_regs): Likewise.
51678         (La_retval): Likewise.
51679         (int_retval): Likewise.
51680         * sysdeps/generic/tst-audit.h: Update comment to refer only to
51681         macro definitions in tst-audit.h.
51682         * sysdeps/i386/tst-audit.h: New file.
51683         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
51684         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
51685         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
51686         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
51687         * sysdeps/sh/tst-audit.h: Likewise.
51688         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
51689         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
51690         * sysdeps/x86_64/tst-audit.h: Likewise.
51692 2012-07-26  Andreas Jaeger  <aj@suse.de>
51694         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
51695         ptrace.
51697         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
51698         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
51699         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
51700         PTRACE_O_MASK.
51701         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
51702         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
51703         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
51705         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
51706         value.
51708         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
51709         _sigsys.
51710         (si_call_addr, si_syscall, si_arch): Define new macro.
51711         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
51712         _sigsys.
51713         (si_call_addr, si_syscall, si_arch): Define new marcro.
51714         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
51715         _sigsys.
51716         (si_call_addr, si_syscall, si_arch): Define new macro.
51717         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
51718         _sigsys.
51719         (si_call_addr, si_syscall, si_arch): Define new macro.
51721 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51723         [BZ #13717]
51724         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51725         Change to 2.4.21 where previously 2.4.1.
51726         * sysdeps/unix/sysv/linux/configure: Regenerated.
51727         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
51728         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
51729         Linux kernel version.
51730         (__ASSUME_STD_AUXV): Remove.
51731         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
51732         kernel version.
51733         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
51734         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
51735         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
51736         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
51737         (__ASSUME_NETLINK_SUPPORT): Likewise.
51738         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
51739         (__no_netlink_support): Remove conditional definition.
51740         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
51741         Remove.
51742         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51743         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
51744         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
51745         (if_nameindex_ioctl): Remove.
51746         (if_nameindex_netlink): Do not handle __no_netlink_support.
51747         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51748         code.
51749         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
51750         Remove conditional code.
51751         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51752         code.
51753         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
51754         unconditional.
51755         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51756         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
51757         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
51758         Remove.
51759         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
51760         [!__ASSUME_STD_AUXV]: Remove conditional code.
51761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
51762         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
51763         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
51764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
51765         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
51766         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51767         code.
51768         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51770         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
51771         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51772         conditional code.
51773         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51775         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51776         code.
51777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51778         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51779         conditional code.
51780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
51781         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51782         code unconditional.
51783         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51784         conditional code.
51785         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51786         unconditional.
51787         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51788         conditional code.
51789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51790         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51791         unconditional.
51792         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51793         conditional code.
51794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
51795         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51796         code unconditional.
51797         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51798         conditional code.
51799         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51800         unconditional.
51801         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51802         conditional code.
51803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
51804         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51805         code unconditional.
51806         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51807         conditional code.
51808         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51809         unconditional.
51810         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51811         conditional code.
51813 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
51815         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
51816         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
51817         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
51818         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
51819         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
51820         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
51821         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
51822         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
51823         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
51824         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
51825         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
51826         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
51827         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
51828         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
51829         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
51830         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
51831         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
51832         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
51833         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
51834         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
51835         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
51836         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
51837         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51839 2012-07-25  Florian Weimer  <fweimer@redhat.com>
51841         * Versions.def: Add GLIBC_2.17.
51842         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
51843         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
51844         Introduce __libc_secure_getenv.
51845         * stdlib/Versions (2.17): Add secure_getenv
51846         (GLIBC_PRIVATE): Add __libc_secure_getenv.
51847         * stdlib/secure-getenv.c: Rename __secure_getenv to
51848         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
51849         symbol __secure_getenv for GLIBC_2.0.
51850         * stdlib/tst-secure-getenv.c: New.
51851         * stdlib/Makefile (tests): Add testcase.
51852         * manual/startup.texi (Environment Access): Document
51853         secure_getenv.
51854         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
51855         __libc_secure_getenv.
51856         * inet/ruserpass.c (ruserpass): Likewise.
51857         * malloc/mtrace.c (mtrace): Likewise.
51858         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
51859         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
51860         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
51861         * sysdeps/posix/tempname.c: Likewise.  Evaluate
51862         HAVE_SECURE_GETENV.
51863         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
51864         __secure_getenv to __libc_secure_getenv.
51865         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
51866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51867         Likewise.
51868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51869         Likewise.
51870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51872         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51878 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51880         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
51881         (struct La_i86_retval): Likewise.
51882         (struct La_x86_64_regs): Likewise.
51883         (struct La_x86_64_retval): Likewise.
51884         (struct La_x32_regs): Likewise.
51885         (struct La_x32_retval): Likewise.
51886         (struct La_ppc32_regs): Likewise.
51887         (struct La_ppc32_retval): Likewise.
51888         (struct La_ppc64_regs): Likewise.
51889         (struct La_ppc64_retval): Likewise.
51890         (struct La_sh_regs): Likewise.
51891         (struct La_sh_retval): Likewise.
51892         (struct La_s390_32_regs): Likewise.
51893         (struct La_s390_32_retval): Likewise.
51894         (struct La_s390_64_regs): Likewise.
51895         (struct La_s390_64_retval): Likewise.
51896         (struct La_sparc32_regs): Likewise.
51897         (struct La_sparc32_retval): Likewise.
51898         (struct La_sparc64_regs): Likewise.
51899         (struct La_sparc64_retval): Likewise.
51900         (struct audit_ifaces): Remove architecture-specific pltenter and
51901         pltexit members.
51902         * sysdeps/i386/ldsodefs.h: New file.
51903         * sysdeps/powerpc/ldsodefs.h: Likewise.
51904         * sysdeps/s390/ldsodefs.h: Likewise.
51905         * sysdeps/sh/ldsodefs.h: Likewise.
51906         * sysdeps/sparc/ldsodefs.h: Likewise.
51907         * sysdeps/x86_64/ldsodefs.h: Likewise.
51909 2012-07-25  Marek Polacek  <polacek@redhat.com>
51911         [BZ #6808]
51912         * math/libm-test.inc (yn_test): Add another test.
51913         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
51914         to ERANGE when the result is +-Inf.
51915         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51916         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
51917         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
51918         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
51920 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
51922         * conform/data/time.h-data (NULL): Use macro-constant.  Require
51923         equal to 0.
51924         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
51925         clock_t.
51926         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
51928 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
51930         * configure.in <sysdeps resolving>: Correct printing
51931         Implies_before.
51932         * configure: Regenerate.
51934 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
51936         * math/w_ilogb.c: Include <limits.h>.
51937         * math/w_ilogbl.c: Likewise.
51939 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51941         * manual/lang.texi (__va_copy): Document primarily as ISO C99
51942         va_copy.  Document allowing for unavailable va_copy only as
51943         pre-C99 compatibility.
51944         * manual/string.texi (Copying and Concatenation): Use va_copy
51945         instead of __va_copy in concat example.
51947 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
51949         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
51950         (__sendto): Use create_address_port.  Initialize APORT and deallocate
51951         it if not null.
51953         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
51954         with O_NOLINK passed to __file_name_lookup.
51956         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
51957         with O_NOLINK passed to __file_name_lookup.
51959         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
51960         negative N or less than NGIDS.
51962         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
51963         type to string_t.  Set ERANGE as errno and return it if NAME is not big
51964         enough.  Use memcpy instead of strncpy.
51966 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51968         * elf/Makefile (check-data): Remove.
51969         (localplt.data): New vpath directive.
51970         ($(objpfx)check-localplt.out): Use localplt.data from vpath
51971         instead of $(check-data).
51972         * scripts/data/localplt-generic.data: Move to ...
51973         * sysdeps/generic/localplt.data: ... here.
51974         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
51975         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
51976         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
51977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
51978         ... here.
51979         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
51980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
51981         ... here.
51982         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
51983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
51984         ... here.
51985         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
51986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
51987         ... here.
51988         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
51989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
51990         ... here.
51991         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
51992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
51993         ... here.
51995 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51997         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
51998         PPC32 and PPC64 files.
51999         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
52000         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
52002 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52004         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
52005         __makecontext_ret to ...
52006         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
52007         ... here and call exit if uc_link is NULL.  New file.
52008         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
52009         __makecontext_ret.S.
52010         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
52011         __makecontext_ret to ...
52012         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
52013         ... here and call exit if uc_link is NULL.  New file.
52014         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
52015         __makecontext_ret.S.
52017 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52019         * elf/elf.h (R_390_IRELATIVE): New definition.
52020         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
52021         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
52022         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
52023         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52024         (elf_machine_lazy_rel): Likewise.
52025         * sysdeps/s390/dl-irel.h: New file.
52026         * sysdeps/s390/s390-64/memcpy.S: New asm code.
52027         * sysdeps/s390/s390-64/memset.S: New asm code.
52028         * sysdeps/s390/s390-64/memcmp.S: New asm code.
52029         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
52030         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
52031         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
52032         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
52033         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
52034         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
52035         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
52036         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
52037         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
52038         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
52039         * sysdeps/s390/s390-32/memcpy.S: New asm code.
52040         * sysdeps/s390/s390-32/memset.S: New asm code.
52041         * sysdeps/s390/s390-32/memcmp.S: New asm code.
52043 2012-07-17  Marek Polacek  <polacek@redhat.com>
52045         [BZ #14349]
52046         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
52047         * sysdeps/s390/s390-64/configure.in: Likewise.
52048         * sysdeps/sparc/configure.in: Likewise.
52049         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
52050         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
52051         * sysdeps/i386/configure.in: Likewise.
52052         * sysdeps/x86_64/configure.in: Likewise.
52053         * sysdeps/sh/configure.in: Likewise.
52054         * sysdeps/s390/s390-32/configure: Regenerated.
52055         * sysdeps/s390/s390-64/configure: Likewise.
52056         * sysdeps/x86_64/configure: Likewise.
52057         * sysdeps/sh/configure: Likewise.
52058         * sysdeps/powerpc/powerpc64/configure: Likewise.
52059         * sysdeps/powerpc/powerpc32/configure: Likewise.
52060         * sysdeps/sparc/configure: Likwise.
52061         * sysdeps/i386/configure: Likewise.
52063         * elf/dl-open.c: Comment fixes.
52065 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
52067         * Makefile [CXX] (check-data): Remove.
52068         [CXX] (c++-types.data): New vpath directive.
52069         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
52070         vpath.  Do not allow for C++ type data being missing.
52071         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
52072         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
52073         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
52074         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
52075         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
52076         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
52077         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
52078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
52079         ... here.
52080         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
52081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
52082         ... here.
52083         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
52084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
52085         ... here.
52086         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
52087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
52088         ... here.
52089         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
52090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
52091         ... here.
52092         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
52093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
52094         ... here.
52095         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
52096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
52097         ... here.
52098         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
52099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
52101         * elf/tls-macros.h (TLS_LE): Move architecture-specific
52102         definitions to architecture-specific files.
52103         (TLS_IE): Likewise.
52104         (TLS_LD): Likewise.
52105         (TLS_GD): Likewise.
52106         * sysdeps/i386/tls-macros.h: New file.
52107         * sysdeps/powerpc/tls-macros.h: Likewise.
52108         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
52109         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
52110         * sysdeps/sh/tls-macros.h: Likewise.
52111         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
52112         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
52113         * sysdeps/x86_64/tls-macros.h: Likewise.
52115 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
52117         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
52118         zero value for regular exit case.
52120         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
52121         (__start_context): Preserve zero value for regular exit case.
52123 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
52124             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52126         * manual/setjmp.texi (setcontext): Clarify normal process
52127         termination when uc_link is the null pointer.
52128         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
52129         exit call.
52131 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
52133         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
52134         preprocessor.  Test for each exception mask separately.
52136 2012-07-16  Andreas Jaeger  <aj@suse.de>
52138         * po/ru.po: Update from translation team.
52140 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
52142         * conform/data/string.h-data (NULL): Use macro-constant.  Require
52143         equal to 0.
52144         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
52145         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
52146         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
52147         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
52148         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52150 2012-07-13  Andreas Jaeger  <aj@suse.de>
52152         * po/fr.po: Update from translation team.
52154 2012-07-12  Marek Polacek  <polacek@redhat.com>
52156         [BZ #14173]
52157         * math/libm-test.inc (yn_test): Add test for BZ #14173.
52158         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
52159         loop condition.
52161 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
52163         [BZ #13717]
52164         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52165         Change to 2.4.1 where previously 2.4.0.
52166         * sysdeps/unix/sysv/linux/configure: Regenerated.
52167         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
52168         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
52169         version.
52170         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
52171         (__ASSUME_AT_CLKTCK): Remove.
52172         (__ASSUME_AT_PAGESIZE): Likewise.
52173         (__ASSUME_AT_XID): Likewise.
52174         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
52175         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
52176         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
52177         unconditionally.
52178         (HAVE_AUX_PAGESIZE): Likewise.
52179         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
52180         [__ASSUME_AT_CLKTCK]: Make code unconditional.
52181         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
52183 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
52185         [BZ #14307]
52186         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
52187         the temporary buffer used to invoke __gethostbyname2_r,
52188         __gethostbyaddr_r and gethostbyname4_r to make room for struct
52189         host_data / struct gaih_addrtuple.
52190         * resolv/nss_dns/dns-host.c (global scope): Move definition of
52191         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
52192         header file nss/nsswitch.h.
52193         * nss/nsswitch.h (global scope): Add definition of implementation
52194         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
52195         resolv/nss_dns/dns-host.c).
52197 2012-07-11  Andreas Jaeger  <aj@suse.de>
52199         * po/fr.po: Update from translation team.
52201         * po/sv.po: Update from translation team
52202         * po/fr.po: Another update from translation team.
52204 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52206         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
52207         for subnormals or multiply small sinh result by itself.
52208         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52211 2012-07-11  David S. Miller  <davem@davemloft.net>
52213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52215 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
52217         [BZ #14347]
52218         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
52219         (INTERNAL_MARK): Shift it here.
52221 2012-07-10  Marek Polacek  <polacek@redhat.com>
52223         [BZ #14151]
52224         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
52225         libc_cv_asm_global_directive with .globl.
52226         * configure: Regenerated.
52227         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
52228         with .globl.
52229         * sysdeps/i386/configure: Regenerated.
52230         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
52231         with .globl.
52232         * sysdeps/x86_64/configure: Regenerated.
52233         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
52234         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
52235         * elf/tst-unique2mod2.c: Likewise.
52236         * elf/tst-unique2mod1.c: Likewise.
52237         * elf/tst-unique1mod2.c: Likewise.
52238         * elf/tst-unique1mod1.c: Likewise.
52239         * sysdeps/s390/s390-32/sysdep.h: Likewise.
52240         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52241         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52242         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52243         * sysdeps/mach/sysdep.h: Likewise.
52244         * sysdeps/i386/sysdep.h: Likewise.
52245         * sysdeps/i386/i386-mcount.S: Likewise.
52246         * sysdeps/x86_64/_mcount.S: Likewise.
52247         * sysdeps/x86_64/sysdep.h: Likewise.
52248         * sysdeps/sh/_mcount.S: Likewise.
52249         * sysdeps/sh/sysdep.h: Likewise.
52250         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
52251         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
52252         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
52253         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52254         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
52255         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
52256         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
52257         * locale/localeinfo.h: Likewise.
52258         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
52259         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
52261 2012-07-09  Roland McGrath  <roland@hack.frob.com>
52263         [BZ #14336]
52264         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
52265         system".
52266         * manual/message.texi (The Uniforum approach): Likewise.
52267         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
52268         (glibc iconv Implementation): Likewise.
52270 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
52272         [BZ #14337]
52273         * math/s_clog.c (__clog): Avoid scaling a value down where that
52274         could result in underflow.
52275         * math/s_clog10.c (__clog10): Likewise.
52276         * math/s_clog10f.c (__clog10f): Likewise.
52277         * math/s_clog10l.c (__clog10l): Likewise.
52278         * math/s_clogf.c (__clogf): Likewise.
52279         * math/s_clogl.c (__clogl): Likewise.
52280         * math/libm-test.inc (clog_test): Add more tests.
52281         (clog10_test): Likewise.
52282         * sysdeps/i386/fpu/libm-test-ulps: Update.
52283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52285 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
52287         [BZ #14283]
52288         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
52289         by 7 not 8 to examine high bit of fractional part.
52291         [BZ #14042]
52292         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
52293         for call to __mcount_internal.
52294         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
52295         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
52296         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
52298 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
52300         [BZ #14154]
52301         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
52302         approximation for values within 0x1p-13f of an odd multiple of
52303         pi/4.
52304         * math/libm-test.inc (tan_test): Do not allow spurious underflow
52305         exception.  Add more tests.
52306         * sysdeps/i386/fpu/libm-test-ulps: Update.
52308         [BZ #6778]
52309         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
52310         inputs and return -1 for them.  Do not check for +Inf in case not
52311         reachable for +Inf.
52312         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52313         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
52314         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
52315         and return -1 for them.  Do not check for +Inf in case not
52316         reachable for +Inf.
52317         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
52318         define.
52319         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
52320         and return -1 for them.  Do not check for +Inf in case not
52321         reachable for +Inf.
52322         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
52323         spurious underflow.
52324         * sysdeps/i386/fpu/libm-test-ulps: Update.
52325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52327 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
52329         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
52331 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
52333         [BZ #14157]
52334         [BZ #14331]
52335         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
52336         could result in spurious underflow.  Scale down values above
52337         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
52338         * math/s_csqrtf.c (__csqrtf): Likewise.
52339         * math/s_csqrtl.c (__csqrtl): Likewise.
52340         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
52341         spurious underflow.
52342         * sysdeps/i386/fpu/libm-test-ulps: Update.
52343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52345 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
52347         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
52348         xopen-msg.sed.
52349         * catgets/xopen-msg.awk: New file.
52350         * catgets/xopen-msg.sed: Removed.
52352         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
52353         po2text.sed.
52354         * intl/po2test.awk: New file.
52355         * intl/po2test.sed: Removed.
52357 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
52359         [BZ #14328]
52360         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
52361         or multiply small sinh result by itself.
52362         * math/s_ctanf.c (__ctanf): Likewise.
52363         * math/s_ctanh.c (__ctanh): Likewise.
52364         * math/s_ctanhf.c (__ctanhf): Likewise.
52365         * math/s_ctanhl.c (__ctanhl): Likewise.
52366         * math/s_ctanl.c (__ctanl): Likewise.
52367         * math/libm-test.inc (ctan_test_tonearest): New function.
52368         (ctan_test_towardzero): Likewise.
52369         (ctan_test_downward): Likewise.
52370         (ctan_test_upward): Likewise.
52371         (ctanh_test_tonearest): Likewise.
52372         (ctanh_test_towardzero): Likewise.
52373         (ctanh_test_downward): Likewise.
52374         (ctanh_test_upward): Likewise.
52375         (main): Call these new functions.
52376         * sysdeps/i386/fpu/libm-test-ulps: Update.
52377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52379 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
52381         * .gitignore: Delete /ports entry.
52383 2012-07-03  Andreas Jaeger  <aj@suse.de>
52385         * po/bg.po: Update from translation team.
52386         * po/cs.po: Likewise.
52387         * po/de.po: Likewise.
52388         * po/hr.po: Likewise.
52389         * po/nl.pl: Likewise.
52390         * po/pl.po: Likewise.
52391         * po/vi.po: Likewise.
52393 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
52395         * Makeconfig [!+link] (+link-before-libc): New variable.
52396         [!+link] (+link-after-libc): Likewise.
52397         [!+link] (+link-tests): Likewise.
52398         [!+link] (+link): Define in terms of $(+link-before-libc) and
52399         $(+link-after-libc).
52400         [!+link-static] (+link-static-before-libc): New variable.
52401         [!+link-static] (+link-static-after-libc): Likewise.
52402         [!+link-static] (+link-static-tests): Likewise.
52403         [!+link-static] (+link-static): Define in terms of
52404         $(+link-static-before-libc) and $(+link-static-after-libc).
52405         [build-shared] (link-libc-before-gnulib): New variable.
52406         [build-shared] (link-libc-tests): Likewise.
52407         [build-shared] (link-libc): Define in terms of
52408         $(link-libc-before-gnulib).
52409         [!build-shared] (link-libc-tests): New variable.
52410         (link-libc-static-tests): New variable.
52411         [!gnulib] (gnulib-arch): New variable.
52412         [!gnulib] (gnulib-tests): Likewise.
52413         [!gnulib] (static-gnulib-arch): Likewise.
52414         [!gnulib] (static-gnulib-tests): Likewise.
52415         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
52416         Define with "=" instead of ":=".
52417         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
52418         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
52419         * Rules (binaries-all-notests): New variable.
52420         (binaries-all-tests): Likewise.
52421         (binaries-static-notests): Likewise.
52422         (binaries-static-tests): Likewise.
52423         (binaries-all): Define using $(binaries-all-notests) and
52424         $(binaries-all-tests).
52425         (binaries-static): Define using $(binaries-static-notests) and
52426         $(binaries-static-tests).
52427         (binaries-shared-tests): New variable.
52428         (binaries-shared-notests): Likewise.
52429         (binaries-shared): Remove variable.
52430         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
52431         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
52432         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
52433         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
52434         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
52435         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
52436         * elf/Makefile (sln-modules): New variable.
52437         (extra-objs): Add $(sln-modules:=.o).
52438         (ldconfig-modules): Add static-stubs.
52439         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
52440         * elf/static-stubs.c: New file.
52442         [BZ #14283]
52443         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
52444         by 7 not 8 to examine high bit of fractional part.  Use volatile
52445         variables when splitting into final array of floats if
52446         __FLT_EVAL_METHOD__ != 0.
52447         * math/libm-test.inc (cos_test): Add another test.
52448         (sin_test): Likewise.
52449         * sysdeps/i386/fpu/libm-test-ulps: Update.
52451         [BZ #14273]
52452         * math/libm-test.inc (cosh_test): Add more tests.
52454         * version.h (RELEASE): Set to "development".
52455         (VERSION): Set to "2.16.90".
52457 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
52459         * NEWS: Update copyright. Remove last-updated date.
52460         Mention math library bug fixes and timezone data changes.
52461         * README: Mention GNU/Hurd, x32, and HPPA support status.
52463 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
52465         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
52467 2012-06-27  Andreas Jaeger  <aj@suse.de>
52469         * manual/contrib.texi (Contributors): Add Samuel Thibault.
52471 2012-06-25  Andreas Jaeger  <aj@suse.de>
52473         * sysdeps/s390/fpu/libm-test-ulps: Update.
52475 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
52476             Thomas Schwinge  <thomas@codesourcery.com>
52478         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
52479         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
52480         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
52481         fanotify_mark.
52483 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
52485         * sysdeps/mach/start.c: Remove file.
52486         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
52487         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
52488         * sysdeps/sh/init-first.c: Likewise.
52490         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
52491         registers for frame unwinding purposes, add CFI directives.
52492         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
52493         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
52494         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
52495         Likewise.
52497         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
52498         __fortify_fail returning.
52499         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
52501         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
52502         sysdeps/sh/____longjmp_chk.S.
52503         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
52504         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
52505         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
52506         (gen-as-const-headers): Append sigaltstack-offsets.sym.
52508         * sysdeps/sh/abort-instr.h: New file.
52509         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
52510         process in case exit returns.
52512         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
52513         initialize the GOT register before use.
52515         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
52516         calculation of ARGC > 4.
52518         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
52519         meaningful names to some local labels.
52521 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52522             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52524         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
52525         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
52526         (__arch_compare_and_exchange_val_16_acq): Likewise.
52527         (__arch_compare_and_exchange_val_32_acq): Likewise.
52528         (atomic_exchange_and_add): Fix gUSA sequence.
52529         (atomic_add): Likewise.
52530         (atomic_add_negative): Likewise.
52531         (atomic_add_zero): Likewise.
52532         (atomic_bit_test_set): Likewise.
52534 2012-06-22  Andreas Schwab  <schwab@redhat.com>
52536         [BZ #13579]
52537         * include/link.h (struct link_map): Add l_free_initfini.
52538         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
52539         l_initfini.
52540         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
52541         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
52542         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
52543         set.
52545 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
52547         * configure.in: Use AC_LANG_SOURCE.
52548         * configure: Regenerate.
52550 2012-06-22  Roland McGrath  <roland@hack.frob.com>
52552         * configure.in (libc_cv_localstatedir): New substituted variable.
52553         * configure: Regenerated.
52554         * config.make.in (localstatedir): New variable, substituted from
52555         libc_cv_localstatedir.
52556         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
52557         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
52558         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
52559         * sysdeps/gnu/configure: Regenerated.
52561 2012-06-21  Jeff Law  <law@redhat.com>
52563         [BZ #14277]
52564         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
52565         free.  Simplify list management for _LIBC case.
52567 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
52569         [BZ #14273]
52570         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
52571         Clear sign bit of 64-bit integer value before comparing against
52572         overflow value.
52574         * sysdeps/mach/configure: Regenerated.
52576 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
52578         [BZ #14278]
52579         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
52581 2012-06-21  Jeff Law  <law@redhat.com>
52583         [BZ #13882]
52584         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
52585         uint16_t for elements in the "seen" array to avoid char overflows.
52586         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52587         * elf/dl-open.c (dl_open_worker): Likewise.
52589 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
52591         * scripts/list-sources.sh: Scan PORTS for translations.
52592         * po/libc.pot: Regenerated.
52594 2012-06-21  Andreas Jaeger  <aj@suse.de>
52596         [BZ #12194]
52597         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
52598         warning.
52599         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
52600         * bits/byteswap-16.h (__bswap_16): Likewise.
52601         * bits/byteswap.h (__bswap_constant_16): Likewise.
52603 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
52605         [BZ #14117]
52606         * sysdeps/i386/fpu_control.h: Removed.
52607         * sysdeps/x86_64/fpu_control.h: Moved to ...
52608         * sysdeps/x86/fpu_control.h: Here.
52610         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
52611         (_FPU_SETCW): Likewise.
52613 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
52615         [BZ #14117]
52616         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
52617         * sysdeps/x86/fpu/bits/mathinline.h: This.
52618         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
52620         [BZ #14050]
52621         [BZ #14117]
52622         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
52623         functions if __x86_64__ is defined.
52625 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
52627         * string/endian.h: Add !__ASSEMBLER__ condition for including
52628         conversion interfaces.
52630 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
52632         [BZ #14241]
52633         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
52634         of ABS(x) in calculating zero to negative powers other than odd
52635         integers.
52636         * math/libm-test.inc (pow_test): Add more tests.
52638 2012-06-15  Andreas Jaeger  <aj@suse.de>
52640         * manual/contrib.texi (Contributors): Update entry of Liubov
52641         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
52642         Machado Filho.
52644 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
52646         * string/string.h: Add __wur to GNU version of strerror_r.
52648 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
52650         [BZ #14229]
52651         * string/Makefile (tests): Add tst-strtok_r.
52652         * string/tst-strtok_r.c: New file.
52653         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
52654         RAX_LP/RDX_LP on SAVE_PTR.
52656 2012-06-14  Roland McGrath  <roland@hack.frob.com>
52658         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
52660 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
52662         * libm_test.inc (csqrt_test): Allow more spurious underflow
52663         exceptions.
52664         (j0_test): Likewise.
52665         (j1_test): Likewise.
52666         (y0_test): Likewise.
52667         (y1_test): Likewise.
52669 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
52671         * po/Makefile (libc.pot): Use UTF-8 charset.
52673 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
52675         [BZ #14210]
52676         Suppress sign-conversion warning from FD_SET.
52677         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
52678         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
52679         not unsigned long int.
52680         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
52682 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
52684         [BZ #14050]
52685         [BZ #14117]
52686         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
52687         __extern_always_inline instead of __extern_inline.
52688         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
52689         (__signbit): Likewise.
52690         (__signbitl): Support C++ namespace.
52691         (lrintf): New inline function.
52692         (lrint): Likewise.
52693         (llrintf): Likewise.
52694         (llrint): Likewise.
52695         (fmaxf): Likewise.
52696         (fmax): Likewise.
52697         (fminf): Likewise.
52698         (fmin): Likewise.
52699         (rint): Likewise.
52700         (rintf): Likewise.
52701         (ceil): Likewise.
52702         (ceilf): Likewise.
52703         (floor): Likewise.
52704         (floorf): Likewise.
52705         (nearbyint): Likewise.
52706         (nearbyintf): Likewise.
52708 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
52710         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
52711         non-default versions.
52713 2012-06-11  Roland McGrath  <roland@hack.frob.com>
52715         [BZ #14218]
52716         * manual/argp.texi (Argp): Reword argp_parse description slightly.
52718 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
52720         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
52721         (FE_UPWARD, FE_DOWNWARD): Don't define.
52722         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
52723         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
52725         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
52726         reading it.
52727         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
52728         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52730 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52732         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52733         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
52734         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
52735         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
52737 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
52739         [BZ #14117]
52740         * sysdeps/i386/fpu/bits/fenv.h: Removed.
52741         * sysdeps/i386/fpu/Implies: New file.
52742         * sysdeps/x86_64/fpu/Implies: Likewise.
52743         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
52744         * sysdeps/x86/fpu/bits/fenv.h: This.
52746         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
52747         __SSE_MATH__.
52749 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52751         [BZ #14134]
52752         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
52753         character 0xffff that matches the last element of the
52754         conversion table.
52756 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52758         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
52759         fmodl commit.
52761 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52763         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
52764         values higher than 25.6283.
52766 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52768         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
52769         subnormal exponent extraction and add some __builtin_expect.
52770         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
52771         Fix for subnormal mantissa calculation.
52773 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
52775         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
52776         cpu2 is -1 and errno is not ENOSYS.
52778 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
52780         [BZ #14117]
52781         * sysdeps/i386/i486/bits/string.h: Renamed to ...
52782         * sysdeps/x86/bits/string.h: This.
52783         * sysdeps/x86_64/bits/string.h: Removed.
52785         * sysdeps/i386/i486/bits/string.h: Define inline functions only
52786         if not compiling for x86-64, but compiling for >= i486.
52788         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
52789         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
52791         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
52792         New macro from Linux kernel 3.4.0.
52793         (FP_XSTATE_MAGIC2): Likewise.
52794         (FP_XSTATE_MAGIC2_SIZE): Likewise.
52795         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
52796         (struct _fpx_sw_bytes): New struct.
52797         (struct _xsave_hdr): Likewise.
52798         (struct _ymmh_state): Likewise.
52799         (struct _xstate): Likewise.
52801         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
52802         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
52803         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
52804         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
52805         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
52806         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
52808         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
52809         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
52810         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
52811         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
52812         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
52813         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
52815 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52817         [BZ #13743]
52818         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
52819         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
52820         (sysdep_headers): Include sys/platform/ppc.h.
52821         * sysdeps/powerpc/test-gettimebase.c: Test for
52822         __ppc_get_timebase() to catch future ISA opcode/insn changes.
52823         * manual/Makefile (appendices): Include platform.texi.
52824         * manual/contrib.texi (Contributors): Update @node pointers.
52825         * manual/maint.texi (Maintenance): Likewise.
52826         (Platform): New node.
52827         * manual/platform.texi: New file.  Document the new features.
52829 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52830             Jakub Jelinek  <jakub@redhat.com>
52832         [BZ #14188]
52833         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
52834         where __builtin_expect is unavailable.
52836 2012-06-03  David S. Miller  <davem@davemloft.net>
52838         * stdlib/longlong.h: Updated from GCC.
52840 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
52842         [BZ #14042]
52843         * sysdeps/powerpc/powerpc32/mcount.c: New file.
52844         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
52845         __mcount_internal.
52846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52847         (GLIBC_2.16): Likewise.
52849 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52851         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
52853 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
52856         (default-abi): New variable.
52857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
52858         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
52859         variable.
52860         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
52861         Likewise.
52862         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
52863         Likewise.
52864         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
52865         Likewise.
52867         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
52868         definition.  Document in comment.
52870 2012-06-01  David S. Miller  <davem@davemloft.net>
52872         * stdlib/longlong.h: Updated from GCC.
52874 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52876         [BZ #14117]
52877         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
52878         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
52879         sys/debugreg.h sys/io.h here.
52880         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
52881         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
52882         sys/io.h.
52883         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
52884         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
52885         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
52886         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
52887         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
52888         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
52890         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
52891         Define only if __x86_64__ is defined.
52893 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52895         [BZ #14048]
52896         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
52897         Use int64_t for variable i.
52898         * math/libm-test.inc (fmod_test): Add more tests.
52900         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
52901         z computation is not scheduled after fetestexcept.
52902         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
52903         Use math_force_eval instead of asm to ensure calculation scheduled
52904         before exception test.
52905         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
52906         Ensure a1 + u.d computation is not scheduled after fetestexcept.
52908 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
52910         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
52911         computation is not scheduled after fetestexcept.
52913 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52915         [BZ #14117]
52916         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
52917         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
52919 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52921         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
52922         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52924 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
52926         [BZ #14117]
52927         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
52928         <bits/wordsize.h>.
52929         (__WCHAR_MIN): Support __WORDSIZE == 64.
52930         (__WCHAR_MAX): Likewise.
52932         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
52933         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
52935         [BZ #14183]
52936         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
52937         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
52939         [BZ #14117]
52940         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
52941         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
52943         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
52944         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
52946         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
52947         Defined to 1 if __x86_64__ isn't defined.
52948         (_STAT_VER_LINUX_OLD): New.
52949         (st_atime): Remove duplicate.
52950         (st_mtime): Likewise.
52951         (st_ctime): Likewise.
52953 2012-05-31  David S. Miller  <davem@davemloft.net>
52955         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
52956         entries.
52958 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
52960         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
52961         gen-libm-test.pl.
52963         [BZ #14132]
52964         * elf/dl-reloc.c: Include <_itoa.h>.
52965         (_dl_reloc_bad_type): Remove use of INTUSE.
52966         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
52967         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
52968         * stdio-common/psiginfo.c (psiginfo): Likewise.
52969         * stdio-common/psignal.c (psignal): Likewise.
52970         * string/strsignal.c (strsignal): Likewise.
52971         * include/signal.h (_sys_siglist): Declare hidden proto.
52972         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
52973         INTVARDEF with libc_hidden_data_def.
52974         * stdio-common/itoa-udigits.c: Likewise.
52975         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
52976         (_itoa_lower_digits_internal): Remove declaration.
52977         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
52978         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
52979         (_sys_sigabbrev_internal): Remove aliases.
52980         (_sys_siglist): Define hidden alias.
52982 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
52984         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52985         bits/sysctl.h.
52987 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
52989         [BZ #14117]
52990         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
52991         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
52993         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
52994         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
52995         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
52996         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
52997         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
52998         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
53000         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
53001         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
53002         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
53004         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
53005         with __addr.
53006         (insw): Likewise.
53007         (insl): Likewise.
53008         (outsb): Likewise.
53009         (outsw): Likewise.
53010         (outsl): Likewise.
53012         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
53013         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
53014         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
53016         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
53017         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
53018         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
53019         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
53020         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
53021         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
53023         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
53024         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
53026         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
53027         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
53029         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
53030         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
53031         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
53033         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
53034         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
53035         to ...
53036         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
53038         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
53039         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
53040         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
53042         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
53043         for x86-64.
53044         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
53046 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
53048         * math/math.h (M_El): Use two more decimal places.
53049         (M_LOG2El): Likewise.
53050         (M_LOG10El): Likewise.
53051         (M_LN2l): Likewise.
53052         (M_LN10l): Likewise.
53053         (M_PIl): Likewise.
53054         (M_PI_2l): Likewise.
53055         (M_PI_4l): Likewise.
53056         (M_1_PIl): Likewise.
53057         (M_2_PIl): Likewise.
53058         (M_2_SQRTPIl): Likewise.
53059         (M_SQRT2l): Likewise.
53060         (M_SQRT1_2l): Likewise.
53062 2012-05-31  David S. Miller  <davem@davemloft.net>
53064         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
53065         values between float registers.
53066         * sysdeps/sparc/sparc64/memset.S: Likewise.
53067         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53069 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
53071         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
53072         -D_FORTIFY_SOURCE=1.
53073         (CPPFLAGS-tst-longjmp_chk.c): Define.
53074         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
53075         (CPPFLAGS-tst-longjmp_chk2.c): Define.
53076         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
53077         CFLAGS-tst-wchar-h.c.
53079 2012-05-31  Marek Polacek  <polacek@redhat.com>
53081         [BZ #14132]
53082         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
53083         __endmntent_internal): Remove declaration.
53084         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
53085         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
53086         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
53088 2012-05-30  David S. Miller  <davem@davemloft.net>
53090         * sysdeps/sparc/sparc32/soft-fp/q_util.c
53091         (___Q_simulate_exceptions): Use real FP ops rather than writing
53092         into the %fsr.
53093         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
53094         Likewise.
53096 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53098         [BZ #14117]
53099         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
53100         * sysdeps/x86/bits/xtitypes.h: This.
53102         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
53103         * sysdeps/x86/bits/wordsize.h: This.
53105         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
53106         * sysdeps/x86/bits/huge_vall.h: This.
53108         * sysdeps/i386/bits/select.h: Removed.
53109         * sysdeps/x86_64/bits/select.h: Renamed to ...
53110         * sysdeps/x86/bits/select.h: This.
53112         * sysdeps/i386/bits/setjmp.h: Removed.
53113         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
53114         * sysdeps/x86/bits/setjmp.h: This.
53116         * sysdeps/i386/bits/mathdef.h: Removed.
53117         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
53118         * sysdeps/x86/bits/mathdef.h: This.
53120 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
53122         [BZ #14132]
53123         * include/sys/socket.h (__connect_internal)
53124         (__libc_sa_len_internal): Remove declaration.
53125         (__connect, __libc_sa_len): Declare hidden_proto.
53126         (SA_LEN): Remove use of INTUSE.
53127         * socket/connect.c: Add libc_hidden_def.
53128         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
53129         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
53130         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
53131         alias.
53132         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
53133         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
53134         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
53135         of adding _internal alias.
53137 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53139         [BZ #14117]
53140         * sysdeps/i386/bits/link.h: Removed.
53141         * sysdeps/i386/bits/linkmap.h: Likewise.
53142         * sysdeps/x86_64/bits/link.h: Renamed to ...
53143         * sysdeps/x86/bits/link.h: This.
53144         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
53145         * sysdeps/x86/bits/linkmap.h: This.
53147         * sysdeps/i386/bits/endian.h: Removed.
53148         * sysdeps/x86_64/bits/endian.h: Renamed to ...
53149         * sysdeps/x86/bits/endian.h: This.
53151         * sysdeps/i386/bits/byteswap.h: Removed.
53152         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53153         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
53154         * sysdeps/x86/bits/byteswap.h: This.
53155         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
53156         * sysdeps/x86/bits/byteswap-16.h: This.
53157         * sysdeps/i386/Implies: Add x86.
53158         * sysdeps/x86_64/Implies: Likewise.
53160 2012-05-30  David S. Miller  <davem@davemloft.net>
53162         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
53163         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
53164         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
53165         (FP_TRAPPING_EXCEPTIONS): Define.
53166         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
53167         (FP_TRAPPING_EXCEPTIONS): Define.
53168         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
53169         subnormals only when inexact has been signalled or underflow
53170         exceptions are enabled.
53171         (_FP_PACK_CANONICAL): Likewise.
53173 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53175         [BZ #14183]
53176         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
53177         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
53179 2012-05-30  Richard Henderson  <rth@twiddle.net>
53181         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
53182         with #ifndef NOT_IN_libc.
53184         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
53185         marked to avoid plt entry.
53187 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53189         [BZ #14112]
53190         * Makeconfig (default-abi): New macro.
53191         (abi-includes): Likewise.
53192         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
53193         $(abi-$(default-abi)-lib-soname) for soname if defined.
53194         ($(common-objpfx)gnu/lib-names.stmp): Generate from
53195         abi-variants.
53196         * Makefile (installed-stubs): Likewise.
53197         * include/stubs-biarch.h: Removed.
53198         * scripts/lib-names.awk: Only handle one library at a time.
53199         * scripts/soversions.awk: Remove WORDSIZE support.
53200         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
53201         entries.
53202         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
53203         Removed.
53204         (syscall-list-default-condition): Likewise.
53205         (syscall-list-default-condition): Likewise.
53206         (syscall-list-includes): Likewise.
53207         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
53208         syscall-list-* with abi-*.  Handle undefined abi-variants.
53209         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
53210         * sysdeps/unix/sysv/linux/i386/Implies: New file.
53211         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
53212         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
53213         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
53214         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
53215         Removed.
53216         (syscall-list-32-options): Likewise.
53217         (syscall-list-32-condition): Likewise.
53218         (syscall-list-64-options): Likewise.
53219         (syscall-list-64-condition): Likewise.
53220         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
53221         macro.
53222         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
53223         Renamed to ...
53224         (abi-*): This.
53225         (abi-64-ld-soname): New macro.
53226         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
53227         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
53228         Renamed to ...
53229         (abi-*): This.
53230         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
53231         * sysdeps/x86_64/x32/shlib-versions: Likewise.
53233 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
53235         * sysdeps/unix/sysv/linux/kernel-features.h
53236         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
53237         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
53238         include <kernel-features.h>.
53239         [!__NR_ftruncate64]: Remove conditional code.
53240         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53241         [__NR_ftruncate64]: Make code unconditional.
53242         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53243         * sysdeps/unix/sysv/linux/truncate64.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/powerpc/powerpc32/ftruncate64.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/truncate64.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.
53262         * configure.in (libc_cv_fpie): Weaken to a compile test using
53263         LIBC_TRY_CC_OPTION.
53264         * configure: Regenerated.
53266 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
53269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
53270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
53271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53272         Refreshed.
53273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
53274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
53275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
53276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
53277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
53278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53279         Refreshed.
53281 2012-05-27  David S. Miller  <davem@davemloft.net>
53283         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
53284         (___Q_zero): New.
53285         (__Q_simulate_exceptions): Return void.  Change to simulate
53286         exceptions by writing into the %fsr.
53287         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
53288         (__Qp_handle_exceptions): Likewise.
53289         (numbers): Delete.
53290         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
53291         __Qp_handle_exceptions.
53292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
53293         __Qp_handle_exceptions.
53294         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
53295         as unused and give dummy FP_RND_NEAREST initializer.
53296         (FP_INHIBIT_RESULTS): Define.
53297         (___Q_simulate_exceptions): Update declaration.
53298         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
53299         formatting.
53300         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
53301         as unused and give dummy FP_RND_NEAREST initializer.
53302         (__Qp_handle_exceptions): Update declaration.
53303         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
53304         formatting.
53306 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
53308         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
53309         the temporary FPU control word.
53310         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53311         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
53312         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
53313         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
53314         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53315         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
53316         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
53317         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
53318         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
53319         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
53320         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53322 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53324         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
53325         fields.
53327 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
53329         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
53330         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
53331         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
53332         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
53333         Likewise.
53334         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
53335         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
53336         Likewise.
53338 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
53340         * po/h.po: Update from translation team.
53342 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
53344         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
53346         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
53347         handling of denormals.
53348         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53349         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
53350         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
53351         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
53352         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53353         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
53354         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
53355         Likewise.
53357 2012-05-26  Marek Polacek  <polacek@redhat.com>
53359         [BZ #14152]
53360         * math/libm-test.inc (fma_test): Don't always expect underflow
53361         exception.
53363 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53365         [BZ #12416]
53366         * elf/tst-execstack.c: Include stackinfo.h.
53367         (do_test): Adjust test case to ensure that pthread_getattr_np
53368         behaviour remains the same after marking stack executable.
53370 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
53372         * sysdeps/unix/sysv/linux/kernel-features.h
53373         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
53374         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
53375         kernel-features.h.
53376         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
53377         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
53378         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
53379         kernel-features.h.
53380         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
53381         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
53383 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
53385         * configure.in: Define the default includes to being none.
53386         * configure: Regenerated.
53388 2012-05-25  Roland McGrath  <roland@hack.frob.com>
53390         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
53391         * sysdeps/x86_64/setjmp.S: Likewise.
53392         * sysdeps/i386/bsd-setjmp.S: Likewise.
53393         * sysdeps/i386/bsd-_setjmp.S: Likewise.
53394         * sysdeps/i386/setjmp.S: Likewise.
53395         * sysdeps/i386/__longjmp.S: Likewise.
53396         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
53397         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
53399         * include/stap-probe.h: New file.
53400         * configure.in: Handle --enable-systemtap.
53401         * configure: Regenerated.
53402         * config.h.in (USE_STAP_PROBE): New #undef.
53403         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
53404         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
53405         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
53407 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
53409         [BZ #13717]
53410         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
53411         to 2.4.0 where earlier.
53412         * sysdeps/unix/sysv/linux/configure: Regenerated.
53413         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53414         <kernel-features.h>.
53415         [__ASSUME_32BITUIDS]: Make code unconditional.
53416         [!__ASSUME_32BITUIDS]: Remove conditional code.
53417         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
53418         <kernel-features.h>.
53419         [__ASSUME_32BITUIDS]: Make code unconditional.
53420         [!__ASSUME_32BITUIDS]: Remove conditional code.
53421         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
53422         [__ASSUME_32BITUIDS]: Make code unconditional.
53423         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
53424         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
53425         <kernel-features.h>.
53426         [__ASSUME_32BITUIDS]: Make code unconditional.
53427         [!__ASSUME_32BITUIDS]: Remove conditional code.
53428         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
53429         <kernel-features.h>.
53430         [__ASSUME_32BITUIDS]: Make code unconditional.
53431         [!__ASSUME_32BITUIDS]: Remove conditional code.
53432         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
53433         <kernel-features.h>.
53434         [__ASSUME_32BITUIDS]: Make code unconditional.
53435         [!__ASSUME_32BITUIDS]: Remove conditional code.
53436         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
53437         <kernel-features.h>.
53438         [__ASSUME_32BITUIDS]: Make code unconditional.
53439         [!__ASSUME_32BITUIDS]: Remove conditional code.
53440         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53441         <kernel-features.h>.
53442         [__ASSUME_32BITUIDS]: Make code unconditional.
53443         [!__ASSUME_32BITUIDS]: Remove conditional code.
53444         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53445         <kernel-features.h>.
53446         [__ASSUME_32BITUIDS]: Make code unconditional.
53447         [!__ASSUME_32BITUIDS]: Remove conditional code.
53448         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
53449         <kernel-features.h>.
53450         [__ASSUME_32BITUIDS]: Make code unconditional.
53451         [!__ASSUME_32BITUIDS]: Remove conditional code.
53452         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53453         <kernel-features.h>.
53454         [__ASSUME_32BITUIDS]: Make code unconditional.
53455         [!__ASSUME_32BITUIDS]: Remove conditional code.
53456         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53457         <kernel-features.h>.
53458         [__ASSUME_32BITUIDS]: Make code unconditional.
53459         [!__ASSUME_32BITUIDS]: Remove conditional code.
53460         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
53461         <kernel-features.h>.
53462         [__ASSUME_32BITUIDS]: Make code unconditional.
53463         [!__ASSUME_32BITUIDS]: Remove conditional code.
53464         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
53465         <kernel-features.h>.
53466         [__NR_setresgid] (__setresgid): Do not declare.
53467         [__ASSUME_32BITUIDS]: Make code unconditional.
53468         [!__ASSUME_32BITUIDS]: Remove conditional code.
53469         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
53470         <kernel-features.h>.
53471         [__NR_setresuid] (__setresuid): Do not declare.
53472         [__ASSUME_32BITUIDS]: Make code unconditional.
53473         [!__ASSUME_32BITUIDS]: Remove conditional code.
53474         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
53475         <kernel-features.h>.
53476         [__ASSUME_32BITUIDS]: Make code unconditional.
53477         [!__ASSUME_32BITUIDS]: Remove conditional code.
53478         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
53479         <kernel-features.h>.
53480         [__ASSUME_32BITUIDS]: Make code unconditional.
53481         [!__ASSUME_32BITUIDS]: Remove conditional code.
53482         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
53483         <kernel-features.h>.
53484         [__ASSUME_32BITUIDS]: Make code unconditional.
53485         [!__ASSUME_32BITUIDS]: Remove conditional code.
53486         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
53487         <kernel-features.h>.
53488         [__ASSUME_32BITUIDS]: Make code unconditional.
53489         [!__ASSUME_32BITUIDS]: Remove conditional code.
53490         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
53491         <kernel-features.h>.
53492         [__ASSUME_32BITUIDS]: Make code unconditional.
53493         [!__ASSUME_32BITUIDS]: Remove conditional code.
53494         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
53495         <kernel-features.h>.
53496         [__ASSUME_32BITUIDS]: Make code unconditional.
53497         [!__ASSUME_32BITUIDS]: Remove conditional code.
53498         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
53499         <kernel-features.h>.
53500         [__ASSUME_32BITUIDS]: Make code unconditional.
53501         [!__ASSUME_32BITUIDS]: Remove conditional code.
53502         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
53503         <kernel-features.h>.
53504         [__ASSUME_32BITUIDS]: Make code unconditional.
53505         [!__ASSUME_32BITUIDS]: Remove conditional code.
53506         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
53507         <kernel-features.h>.
53508         [__ASSUME_32BITUIDS]: Make code unconditional.
53509         [!__ASSUME_32BITUIDS]: Remove conditional code.
53510         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53511         <kernel-features.h>.
53512         [__ASSUME_32BITUIDS]: Make code unconditional.
53513         [!__ASSUME_32BITUIDS]: Remove conditional code.
53514         * sysdeps/unix/sysv/linux/kernel-features.h
53515         (__ASSUME_SETRESUID_SYSCALL): Remove.
53516         (__ASSUME_SETRESGID_SYSCALL): Likewise.
53517         (__ASSUME_32BITUIDS): Likewise.
53518         (__ASSUME_LDT_WORKS): Likewise.
53519         (__ASSUME_O_DIRECTORY): Likewise.
53520         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
53521         architecture but not kernel version.
53522         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
53523         (__ASSUME_MMAP2_SYSCALL): Likewise.
53524         (__ASSUME_STAT64_SYSCALL): Likewise.
53525         (__ASSUME_IPC64): Likewise.
53526         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
53527         <kernel-features.h>.
53528         [__ASSUME_32BITUIDS]: Make code unconditional.
53529         [!__ASSUME_32BITUIDS]: Remove conditional code.
53530         * sysdeps/unix/sysv/linux/opendir.c: Do not include
53531         <kernel-features.h>.
53532         [__ASSUME_O_DIRECTORY]: Make code unconditional.
53533         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
53534         132096]: Remove conditional code.
53535         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
53536         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53537         <kernel-features.h>.
53538         [__ASSUME_32BITUIDS]: Make code unconditional.
53539         [!__ASSUME_32BITUIDS]: Remove conditional code.
53540         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53541         <kernel-features.h>.
53542         [__ASSUME_32BITUIDS]: Make code unconditional.
53543         [!__ASSUME_32BITUIDS]: Remove conditional code.
53544         * sysdeps/unix/sysv/linux/setegid.c: Do not include
53545         <kernel-features.h>.
53546         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
53547         unconditional.
53548         (__setresgid): Do not declare.
53549         [__ASSUME_32BITUIDS]: Make code unconditional.
53550         [!__ASSUME_32BITUIDS]: Remove conditional code.
53551         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
53552         <kernel-features.h>.
53553         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
53554         unconditional.
53555         (__setresuid): Do not declare.
53556         [__ASSUME_32BITUIDS]: Make code unconditional.
53557         [!__ASSUME_32BITUIDS]: Remove conditional code.
53558         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53559         <kernel-features.h>.
53560         [__ASSUME_32BITUIDS]: Make code unconditional.
53561         [!__ASSUME_32BITUIDS]: Remove conditional code.
53562         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
53563         <kernel-features.h>.
53564         [__ASSUME_32BITUIDS]: Make code unconditional.
53565         [!__ASSUME_32BITUIDS]: Remove conditional code.
53567 2012-05-25  Richard Henderson  <rth@twiddle.net>
53569         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
53570         dl_hwcap to ifunc resolver.
53571         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
53572         elf_ifunc_invoke.
53573         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
53574         dl_hwcap to ifunc resolver.
53575         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
53577 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53579         [BZ #14153]
53580         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
53581         for |x| <= 2**-26, not 2**-57.
53582         * math/libm-test.inc (acos_test): Do not allow spurious underflow
53583         exception.
53585 2012-05-24  Jeff Law  <law@redhat.com>
53587         * stdio-common/Makefile (tests): Add bug25.
53588         * stdio-common/bug25.c: New test.
53590 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53592         [BZ #13576]
53593         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
53594         multiple of MALLOC_ALIGNMENT in size.
53595         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
53597 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53599         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
53600         Require >= 256.
53601         (FILENAME_MAX): Use macro-int-constant.
53602         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
53603         (_IOFBF): Use macro-int-constant.
53604         (_IOLBF): Likewise.
53605         (_IONBF): Likewise.
53606         (SEEK_CUR): Likewise.
53607         (SEEK_END): Likewise.
53608         (SEEK_SET): Likewise.
53609         (TMP_MAX): Likewise.
53610         (EOF): Use macro-int-constant.  Require < 0.
53611         (NULL): Use macro-constant.  Require == 0.
53612         (stdin): Require type to be FILE *.
53613         (stdout): Likewise.
53614         (stderr): Likewise.
53615         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
53616         macro-int-constant.
53617         (EXIT_SUCCESS): Likewise.
53618         (NULL): Use macro-constant.  Require == 0.
53619         (RAND_MAX): Use macro-int-constant.
53620         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
53621         [C99-based standards] (strtof): Require function.
53622         [C99-based standards] (strtold): Likewise.
53623         [C99-based standards] (strtoll): Likewise.
53624         [C99-based standards] (strtoull): Likewise.
53625         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53626         [ISO || ISO99 || ISO11] (limits.h): Likewise.
53627         [ISO || ISO99 || ISO11] (math.h): Likewise.
53628         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
53629         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53630         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53632 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
53634         [BZ #14132]
53635         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
53636         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
53637         * intl/dgettext.c (DCGETTEXT): Likewise.
53638         * intl/gettext.c (DCGETTEXT): Likewise.
53639         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
53640         * posix/regex_internal.h (gettext): Likewise.
53641         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
53642         Remove declaration.
53643         * include/argz.h (__argz_count_internal)
53644         (__argz_stringify_internal): Remove declaration.
53645         (__argz_count, __argz_stringify): Declare hidden proto.
53646         * intl/dcgettext.c: Remove use of INTDEF.
53647         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
53648         * string/argz-stringify.c: Likewise.
53649         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53650         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53651         Declare hidden proto.
53652         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53653         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53654         Declare hidden proto.
53655         * include/stdio.h (__asprintf_internal): Don't declare.
53656         (__asprintf): Don't define as macro.  Declare hidden proto.
53657         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
53658         (__fsetlocking): Declare hidden proto.
53659         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
53660         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
53661         hidden proto.
53662         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
53663         (_IO_setlinebuf): Remove use of INTUSE.
53664         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
53665         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
53666         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
53667         Remove declaration.
53668         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
53669         (_IO_do_flush): Remove use of INTUSE.
53670         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
53671         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
53672         (_IO_adjust_column, _IO_least_wmarker)
53673         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
53674         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
53675         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
53676         (_IO_default_doallocate, _IO_wdefault_doallocate)
53677         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
53678         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
53679         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
53680         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
53681         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
53682         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
53683         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
53684         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
53685         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
53686         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
53687         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
53688         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
53689         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
53690         proto.
53691         (_IO_flush_all_internal, _IO_adjust_column_internal)
53692         (_IO_default_uflow_internal, _IO_default_finish_internal)
53693         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
53694         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
53695         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
53696         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
53697         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
53698         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
53699         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
53700         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
53701         (_IO_file_close_internal, _IO_file_close_it_internal)
53702         (_IO_file_underflow_internal, _IO_file_overflow_internal)
53703         (_IO_file_init_internal, _IO_file_attach_internal)
53704         (_IO_file_fopen_internal, _IO_file_read_internal)
53705         (_IO_file_sync_internal, _IO_file_seek_internal)
53706         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
53707         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
53708         (_IO_str_underflow_internal, _IO_str_overflow_internal)
53709         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
53710         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
53711         (_IO_list_all_internal, _IO_link_in_internal)
53712         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
53713         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
53714         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
53715         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
53716         (_IO_do_write_internal, _IO_padn_internal)
53717         (_IO_getline_info_internal, _IO_getline_internal)
53718         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
53719         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
53720         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
53721         (_IO_vfscanf_internal, _IO_vfprintf_internal)
53722         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
53723         (_IO_init_internal, _IO_un_link_internal): Don't declare.
53724         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
53725         with libc_hidden_ver, remove use of INTUSE.
53726         * libio/genops.c: Likewise.
53727         * libio/freopen.c: Likewise.
53728         * libio/freopen64.c: Likewise.
53729         * libio/iofclose.c: Likewise.
53730         * libio/iofdopen.c: Likewise.
53731         * libio/iofflush.c: Likewise.
53732         * libio/iofflush_u.c: Likewise.
53733         * libio/iofgets.c: Likewise.
53734         * libio/iofgets_u.c: Likewise.
53735         * libio/iofopen.c: Likewise.
53736         * libio/iofopncook.c: Likewise.
53737         * libio/iofread.c: Likewise.
53738         * libio/iofread_u.c: Likewise.
53739         * libio/ioftell.c: Likewise.
53740         * libio/iofwrite.c: Likewise.
53741         * libio/iogetline.c: Likewise.
53742         * libio/iogets.c: Likewise.
53743         * libio/iogetwline.c: Likewise.
53744         * libio/iopadn.c: Likewise.
53745         * libio/iopopen.c: Likewise.
53746         * libio/ioseekoff.c: Likewise.
53747         * libio/ioseekpos.c: Likewise.
53748         * libio/iosetbuffer.c: Likewise.
53749         * libio/iosetvbuf.c: Likewise.
53750         * libio/ioungetc.c: Likewise.
53751         * libio/ioungetwc.c: Likewise.
53752         * libio/iovdprintf.c: Likewise.
53753         * libio/iovsprintf.c: Likewise.
53754         * libio/iovsscanf.c: Likewise.
53755         * libio/memstream.c: Likewise.
53756         * libio/obprintf.c: Likewise.
53757         * libio/oldfileops.c: Likewise.
53758         * libio/oldiofclose.c: Likewise.
53759         * libio/oldiofdopen.c: Likewise.
53760         * libio/oldiofopen.c: Likewise.
53761         * libio/oldiopopen.c: Likewise.
53762         * libio/oldstdfiles.c: Likewise.
53763         * libio/putc.c: Likewise.
53764         * libio/setbuf.c: Likewise.
53765         * libio/setlinebuf.c: Likewise.
53766         * libio/stdfiles.c: Likewise.
53767         * libio/strops.c: Likewise.
53768         * libio/vasprintf.c: Likewise.
53769         * libio/vscanf.c: Likewise.
53770         * libio/vsnprintf.c: Likewise.
53771         * libio/vswprintf.c: Likewise.
53772         * libio/wfiledoalloc.c: Likewise.
53773         * libio/wfileops.c: Likewise.
53774         * libio/wgenops.c: Likewise.
53775         * libio/wmemstream.c: Likewise.
53776         * libio/wstrops.c: Likewise.
53777         * libio/__fpurge.c: Likewise.
53778         * libio/__fsetlocking.c: Likewise.
53779         * assert/assert.c: Likewise.
53780         * debug/fgets_chk.c: Likewise.
53781         * debug/fgets_u_chk.c: Likewise.
53782         * debug/fread_chk.c: Likewise.
53783         * debug/fread_u_chk.c: Likewise.
53784         * debug/gets_chk.c: Likewise.
53785         * debug/obprintf_chk.c: Likewise.
53786         * debug/vasprintf_chk.c: Likewise.
53787         * debug/vdprintf_chk.c: Likewise.
53788         * debug/vsnprintf_chk.c: Likewise.
53789         * debug/vsprintf_chk.c: Likewise.
53790         * malloc/mtrace.c: Likewise.
53791         * misc/error.c: Likewise.
53792         * misc/syslog.c: Likewise.
53793         * stdio-common/asprintf.c: Likewise.
53794         * stdio-common/fxprintf.c: Likewise.
53795         * stdio-common/getw.c: Likewise.
53796         * stdio-common/isoc99_fscanf.c: Likewise.
53797         * stdio-common/isoc99_scanf.c: Likewise.
53798         * stdio-common/isoc99_vfscanf.c: Likewise.
53799         * stdio-common/isoc99_vscanf.c: Likewise.
53800         * stdio-common/isoc99_vsscanf.c: Likewise.
53801         * stdio-common/printf-prs.c: Likewise.
53802         * stdio-common/printf_fp.c: Likewise.
53803         * stdio-common/printf_fphex.c: Likewise.
53804         * stdio-common/printf_size.c: Likewise.
53805         * stdio-common/putw.c: Likewise.
53806         * stdio-common/scanf.c: Likewise.
53807         * stdio-common/sprintf.c: Likewise.
53808         * stdio-common/tmpfile.c: Likewise.
53809         * stdio-common/vfprintf.c: Likewise.
53810         * stdio-common/vfscanf.c: Likewise.
53811         * stdlib/strfmon_l.c: Likewise.
53812         * sunrpc/openchild.c: Likewise.
53813         * sunrpc/xdr_stdio.c: Likewise.
53814         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
53815         * sysdeps/mach/hurd/tmpfile.c: Likewise.
53817 2012-05-24  Roland McGrath  <roland@hack.frob.com>
53819         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
53821         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
53822         in the third column, to generate for the shared library an IFUNC
53823         that uses _dl_vdso_vsym.
53824         * Makerules (COMPILE.c, compile-stdin.c): New variables.
53825         * Makeconfig (object-suffixes-noshared): New variable.
53827         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
53828         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
53829         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
53830         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
53832         [BZ #14132]
53833         * include/sys/time.h (__gettimeofday): Remove macro.
53834         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
53835         * time/gettimeofday.c (__gettimeofday): Remove #undef.
53836         Remove INTDEF.
53837         (__gettimeofday): Add libc_hidden_def.
53838         (gettimeofday): Add libc_hidden_weak.
53839         * sysdeps/mach/gettimeofday.c: Likewise.
53840         * sysdeps/posix/gettimeofday.c: Likewise.
53841         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
53842         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
53843         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
53844         (__gettimeofday_internal): Remove strong_alias.
53845         (__gettimeofday): Add libc_hidden_def.
53846         (gettimeofday): Add libc_hidden_weak.
53847         * sysdeps/unix/syscalls.list (gettimeofday):
53848         Remove __gettimeofday_internal alias.
53850 2012-05-24  Daniel Jacobowitz  <drow@false.org>
53851             H.J. Lu  <hongjiu.lu@intel.com>
53853         [BZ #12495]
53854         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
53855         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
53856         (largebin_index_32_big): New.
53857         (largebin_index): Use it for 16-byte alignment.
53858         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
53859         correction with front_misalign.
53861 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
53864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
53865         Likewise.
53866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
53867         Likewise.
53868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53869         Likewise.
53870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
53871         Likewise.
53872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
53873         Likewise.
53874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
53875         Likewise.
53876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
53877         Likewise.
53878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53879         Likewise.
53880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
53881         Likewise.
53882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
53883         Likewise.
53884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
53885         Likewise.
53886         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
53887         Likewise.
53889         * scripts/data/c++-types-x32-linux-gnu.data: New file.
53890         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
53892 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53894         [BZ #10846]
53895         [BZ #14036]
53896         * math/libm-test.inc (exp_test): Add test from bug 14036.
53897         (pow_test): Add test from bug 10846.
53899         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
53900         and other flags.
53901         (special_function): Do not include flags in test name.
53902         (parse_args): Likewise.
53903         * sysdeps/i386/fpu/libm-test-ulps: Update.
53904         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53905         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53906         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53909         * math/gen-libm-test.pl (%beautify): Add entries for underflow
53910         exceptions.
53911         * math/libm-test.inc ("Philosophy"): Update comment about
53912         exception testing.
53913         (UNDERFLOW_EXCEPTION): New macro.
53914         (UNDERFLOW_EXCEPTION_OK): Likewise.
53915         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
53916         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
53917         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
53918         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
53919         (INVALID_EXCEPTION_OK): Update value.
53920         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53921         (OVERFLOW_EXCEPTION_OK): Likewise.
53922         (IGNORE_ZERO_INF_SIGN): Likewise.
53923         (test_exceptions): Handle underflow exceptions.
53924         (acos_test): Update for underflow exception expectations.
53925         (cexp_test): Likewise.
53926         (clog_test): Likewise.
53927         (clog10_test): Likewise.
53928         (csqrt_test): Likewise.
53929         (ctan_test): Likewise.
53930         (ctanh_test): Likewise.
53931         (exp_test): Likewise.
53932         (exp10_test): Likewise.
53933         (exp2_test): Likewise.
53934         (expm1_test): Likewise.
53935         (fma_test): Likewise.
53936         (j0_test): Likewise.
53937         (jn_test): Likewise.
53938         (nexttoward_test): Likewise.
53939         (pow_test): Likewise.
53940         (scalbn_test): Likewise.
53941         (scalbln_test): Likewise.
53942         (tan_test): Likewise.
53943         (y1_test): Likewise.
53944         * sysdeps/i386/fpu/libm-test-ulps: Update.
53945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53947 2012-05-23  David S. Miller  <davem@davemloft.net>
53949         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
53950         (__libc_sigaction): Remove unused local variables.
53952 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53954         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
53956 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
53958         mktime: avoid signed integer overflow
53959         * time/mktime.c (__mktime_internal): Do not mishandle the case
53960         where diff == INT_MIN.
53962         mktime: simplify computation of average
53963         * time/mktime.c (ranged_convert): Use new time_t_avg function
53964         instead of rolling our own (probably-slower) code.
53966         mktime: do not assume signed right shift propagates sign bit
53967         * time/mktime.c (isdst_differ): New static function.
53968         (__mktime_internal): No need to normalize tm_isdst now.
53969         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
53970         tm_isdst values.
53972         mktime: merge another wrapv change from gnulib
53973         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
53974         from some compilers.
53976         mktime: remove incorrect attempt at unusual arithmetics
53977         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
53978         The code didn't really work on such machines anyway.
53979         (TYPE_MINIMUM): Assume two's complement.
53980         (twos_complement_arithmetic): Verify that long_int and time_t
53981         are two's complement (or unsigned, in the latter case).
53983         mktime: check signed shifts on long_int and time_t, too
53984         * time/mktime.c (SHR): Check that shifts work as desired
53985         on the types long_int and time_t too, as SHR is used on
53986         such types.
53988         mktime: do not assume 'long' is wide enough
53989         * time/mktime.c (verify): Move decl up.
53990         (long_int): New type.
53991         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
53992         to remove assumption in the code that 'long' is wide enough to
53993         store year values.  This assumption is not true on x32 and on
53994         some non-glibc platforms.
53996         mktime: merge wrapv change from gnulib
53997         * time/mktime.c (WRAPV): New macro.
53998         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
53999         (guess_time_tm, __mktime_internal): Do not assume that signed
54000         integer overflow wraps around; modern compilers generate code
54001         where this assumption is no longer valid.
54003 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54005         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
54006         Replace "jmp L(pseudo_end)" with "ret".
54007         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
54008         Likewise.
54010 2012-05-23  Andreas Jaeger  <aj@suse.de>
54012         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
54013         * sysdeps/unix/sysv/linux/poll.c: Remove file.
54015 2012-05-23  Andreas Jaeger  <aj@suse.de>
54016             Maximilian Attems  <max@stro.at>
54018         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
54019         New macros.
54021 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54023         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
54024         code so that pseudo_end is just ret and the stack pointer is
54025         correct also for static library in error case.
54027 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
54029         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
54030         move to syscalls.list.
54031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
54032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
54033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
54034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
54036         * manual/install.texi (Running make install): Do not mention Linux
54037         kernel version for which pt_chown is not needed.
54038         (Linux): Do not mention problems with nscd with 2.0 kernels.
54039         * INSTALL: Regenerated.
54041 2012-05-23  Andreas Jaeger  <aj@suse.de>
54043         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
54044         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
54045         macro.
54046         * sysdeps/unix/sysv/linux/s390/bits/mman.h
54047         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54048         * sysdeps/unix/sysv/linux/sh/bits/mman.h
54049         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54050         * sysdeps/unix/sysv/linux/i386/bits/mman.h
54051         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54052         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
54053         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54054         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
54055         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54056         * sysdeps/unix/sysv/linux/bits/in.h
54057         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
54059 2012-05-22  Roland McGrath  <roland@hack.frob.com>
54061         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
54062         (PREPARE_VERSION): Just use assert instead, it will be elided
54063         under [NDEBUG] anyway.
54065 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54067         * sysdeps/unix/sysv/linux/Makefile: Include
54068         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
54069         (sysdep_routines): Remove sysctl.
54070         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
54071         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
54072         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
54073         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
54074         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
54076 2012-05-22  Andreas Jaeger  <aj@suse.de>
54078         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
54079         that pseudo_end is just ret and the stack pointer is correct also
54080         for static library in error case.
54082 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
54084         [BZ #14122]
54085         * nss/nsswitch.c (defconfig_entries): New variable.
54086         (__nss_database_lookup): Don't leak defconfig entries.
54087         (nss_parse_service_list): Don't leak on error paths.
54088         (free_database_entries): New function.
54089         (free_defconfig): New function.
54090         (free_mem): Move common code to free_database_entries.
54092 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54094         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
54095         Add arch_prctl.
54096         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
54098         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54099         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
54100         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
54101         New macro.
54102         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
54103         (INTERNAL_SYSCALL_TYPES): Likewise.
54104         (LOAD_ARGS_TYPES_[1-6]): Likewise.
54105         (LOAD_REGS_TYPES_[1-6]): Likewise.
54106         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
54107         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
54109 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54111         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
54112         copysignl for GLIBC_2_0.
54113         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
54114         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
54115         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
54116         logbl for GLIBC_2_0.
54117         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
54118         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
54120 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54122         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
54123         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54125         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
54126         Use "neg %eax".
54128         * time/mktime.c: Update copyright years.
54130 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
54132         mktime: merge comment-quoting-style change from gnulib
54133         * time/mktime.c: Quote 'like this' in comments.
54134         The GNU coding standards suggest that we no longer quote `like this',
54135         as "`" and "'" are typically rendered asymmetrically nowadays.
54136         The typical gnulib style is to quote 'like this' when quoting
54137         code, and "like this" when quoting English.
54139         * time/mktime.c (compile-command): Add "-I.".
54141         mktime: merge mktime-internal.h change from gnulib
54142         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
54144         mktime: merge time_r change from gnulib
54145         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
54147         mktime: merge DEBUG change from gnulib
54148         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
54149         case system <time.h> has a #define.
54151         mktime: merge <sys/types.h> change from gnulib
54152         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
54153         since <time.t> is now guaranteed to define time_t.
54155         mktime: merge HAVE_CONFIG_H change from gnulib
54156         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
54158 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54160         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
54161         Use "neg %eax".
54163         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
54164         __rlim_t cast.
54165         (struct rusage): Use anonymous union to pad each field to
54166         __syscall_slong_t.
54168 2012-05-21  David S. Miller  <davem@davemloft.net>
54170         * Makefules (o-iterator): Remove .s cases.
54171         (compile-command.s): Delete.
54172         (COMPILE.s): Delete.
54173         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
54175 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
54177         * configure.in (libc_cv_predef_stack_protector): Only consider
54178         "foobar" and "__stack_chk_fail" lines in libc_undefs.
54179         * configure: Regenerated.
54181 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54183         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
54184         New macro.  Use R*LP on int and pointer.
54185         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
54186         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
54187         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
54188         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
54190         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
54191         [__WORDSIZE_TIME64_COMPAT32] instead of
54192         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
54193         (struct utmp): Likewise.
54194         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
54195         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
54196         Renamed to ...
54197         (__WORDSIZE_TIME64_COMPAT32): This.
54198         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
54199         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
54200         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
54201         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
54202         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
54203         (__WORDSIZE_TIME64_COMPAT32): New macro.
54205 2012-05-21  Andreas Jaeger  <aj@suse.de>
54207         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
54208         only if [SHARED]. Add prototype for __wcschr_ia32.
54210 2012-05-21  Roland McGrath  <roland@hack.frob.com>
54212         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
54213         of %rbp unmolested in the jmp_buf while mangling the low bits.
54214         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
54215         unmolested high bits of %rbp while demangling the low bits.
54216         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54218 2012-05-21  Andreas Jaeger  <aj@suse.de>
54220         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
54221         * sunrpc/svc_simple.c: Use it for registerrpc.
54222         * sunrpc/xcrypt.c: Use it for passwd2des.
54224         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
54226 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54228         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
54229         Don't define if [__SYSCALL_WORDSIZE != 32].
54230         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
54231         New macro.
54233 2012-05-21  Bruno Haible  <bruno@clisp.org>
54234             Andreas Jaeger  <aj@suse.de>
54236         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
54237         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
54238         inptr and inend for must_buffer_ch.
54239         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
54240         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
54241         * stdio-common/Makefile (tests): Remove bug15.
54242         (bug15-ENV): Remove macro.
54243         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
54244         anymore.
54246 2012-05-19  Andreas Jaeger  <aj@suse.de>
54247             Roland McGrath  <roland@hack.frob.com>
54249         * manual/contrib.texi: Completely rewritten. It contains now an
54250         alphabetical list of contributors and their contributions.
54252 2012-05-21  Richard Henderson  <rth@twiddle.net>
54254         * misc/getauxval.c (__getauxval): Use unsigned long int.
54255         * misc/sys/auxv.h: Include <sys/cdefs.h>.
54256         (getauxval): Use unsigned long int.
54258 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54260         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
54262 2012-05-21  Roland McGrath  <roland@hack.frob.com>
54264         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
54265         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
54266         __alignof__ (long double).
54268 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54272 2012-05-20  Richard Henderson  <rth@twiddle.net>
54274         * misc/getauxval.c: New file.
54275         * misc/sys/auxv.h: New file.
54276         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
54277         (routines): Add getauxval.
54278         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
54279         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
54280         * elf/dl-sysdep.c (_dl_auxv): Remove.
54281         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
54282         * elf/dl-support.c (_dl_auxv): New variable.
54283         (_dl_aux_init): Initialize it.
54284         * manual/startup.texi (Auxiliary Vector): New node.
54285         * sysdeps/generic/bits/hwcap.h: New file.
54286         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
54287         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
54288         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
54289         * sysdeps/sparc/sysdep.h: ... here.  Include it.
54290         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
54291         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
54292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54293         Update.
54294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
54295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
54296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
54297         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
54298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
54299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
54300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
54301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
54303 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54307 2012-05-19  David S. Miller  <davem@davemloft.net>
54309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54311 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
54313         [BZ #14123]
54314         * math/s_ccosh.c: Include <float.h>
54315         (__ccosh): Avoid internal overflow calculating sinh and cosh
54316         values before multiplying by sin and cos values.
54317         * math/s_ccoshf.c: Likewise.
54318         * math/s_ccoshl.c: Likewise.
54319         * math/s_csin.c: Likewise.
54320         * math/s_csinf.c: Likewise.
54321         * math/s_csinl.c: Likewise.
54322         * math/s_csinh.c: Likewise.
54323         * math/s_csinhf.c: Likewise.
54324         * math/s_csinhl.c: Likewise.
54325         * math/libm-test.inc (ccos_test): Add more tests.
54326         (ccosh_test): Likewise.
54327         (csin_test): Likewise.
54328         (csinh_test): Likewise.
54329         * sysdeps/i386/fpu/libm-test-ulps: Update.
54330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54332 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
54334         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
54335         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
54337         * sysdeps/x86_64/x32/_itoa.h: Add comment.
54339 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
54341         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
54342         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
54343         * sysdeps/powerpc/soft-fp/Versions: Likewise.
54344         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
54345         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
54346         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
54347         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
54348         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
54349         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
54350         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
54351         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
54352         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
54353         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
54354         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
54355         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
54356         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
54357         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
54358         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
54359         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
54360         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
54361         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
54362         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
54363         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
54364         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
54365         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
54366         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
54367         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
54368         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
54369         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
54370         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
54371         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
54373 2012-05-18  Andreas Jaeger  <aj@suse.de>
54375         * csu/.gitignore: Delete.
54377 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54379         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
54380         (timex): Use __syscall_slong_t.
54382 2012-05-18  Andreas Jaeger  <aj@suse.de>
54383             Carlos O'Donell  <carlos_odonell@mentor.com>
54385         * manual/install.texi (Configuring and compiling): Update
54386         description about files modified in the source directory.
54387         * INSTALL: Regenerated.
54389 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54391         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
54392         value.  Use "or" to set return value to -1.
54393         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
54394         negate return value.
54396 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54398         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
54399         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
54400         failure if the compiler has Graphite support disabled.
54401         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
54402         Likewise.
54403         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
54404         (CFLAGS-memmove.c): Likewise.
54405         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
54406         Likewise.
54408 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54410         * sysdeps/x86_64/x32/_itoa.h: New file.
54412         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
54413         getdents system call only if kernel and user dirents have the
54414         same d_ino and d_off.
54416         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54417         LLONG_MAX != LONG_MAX.
54418         (_itoa_word): Use _ITOA_WORD_TYPE on value.
54419         (_fitoa_word): Likewise.
54421         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
54422         years.
54423         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
54424         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
54425         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
54427         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
54428         include <bits/wordsize.h>.  Check __x86_64__ instead of
54429         __WORDSIZE.
54430         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
54431         if __x86_64__ is defined.  Use anonymous union on fpstate.
54433         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
54434         anonymous union.
54436 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
54438         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
54439         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
54440         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
54441         Refer to _rtld_local_ro instead of _rtld_global_ro.
54442         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
54443         Likewise.
54444         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
54445         Likewise.
54446         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
54447         Likewise.
54448         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
54449         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
54450         of _rtld_global, and rtld_progname instead of _dl_argv[0].
54452         [BZ #10882]
54453         * sysdeps/powerpc/powerpc32/dl-machine.c
54454         (__elf_machine_runtime_setup) [PROF]: Don't reference
54455         _dl_prof_resolve.
54457 2012-05-18  Andreas Jaeger  <aj@suse.de>
54459         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
54460         function only available for GCCs before 3.4 since GCC 3.4
54461         introduced a builtin.
54462         (lrint): Likewise.
54463         (llrintf): Likewise.
54464         (llrint): Likewise.
54465         (fmaxf): Likewise.
54466         (fmax): Likewise.
54467         (fminf): Likewise.
54468         (fmin): Likewise.
54469         (rint): Likewise.
54470         (rintf): Likewise.
54471         (nearbyint): Likewise.
54472         (nearbyintf): Likewise.
54473         (ceil): Likewise.
54474         (ceilf): Likewise.
54475         (floor): Likewise.
54476         (floorf): Likewise.
54478 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54480         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
54481         on both fields and cast pointer to __syscall_ulong_t.
54483         * bits/types.h (__fsword_t): New type.
54484         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
54485         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
54486         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54487         (__FSWORD_T_TYPE): Likewise.
54488         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54489         (__FSWORD_T_TYPE): Likewise.
54490         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54491         (__FSWORD_T_TYPE): Likewise.
54492         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
54493         (__FSWORD_T_TYPE): Likewise.
54494         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
54495         __SWORD_TYPE with __fsword_t.
54496         (statfs64): Likewise.
54498 2012-05-17  David S. Miller  <davem@davemloft.net>
54500         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
54502 2012-05-17  Andreas Jaeger  <aj@suse.de>
54504         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
54505         warning.
54507 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54509         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
54511 2012-05-17  Andreas Jaeger  <aj@suse.de>
54513         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
54514         when it is used.
54516 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54518         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
54520 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54522         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
54523         * sysdeps/x86_64/tst-mallocalign1.c: New file.
54525 2012-05-17  Andreas Jaeger  <aj@suse.de>
54526             Carlos O'Donell  <carlos_odonell@mentor.com>
54528         [BZ #14059]
54529         * sysdeps/x86_64/multiarch/init-arch.h
54530         (bit_YMM_Usable): Rename to...
54531         (bit_AVX_Usable): ... this.
54532         (bit_FMA4_Usable): New macro.
54533         (bit_XMM_state): New macro.
54534         (bit_YMM_state): New macro.
54535         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
54536         [__ASSEMBLER__] (index_AVX_Usable): ... this.
54537         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
54538         (CPUID_OSXSAVE): New macro.
54539         (CPUID_AVX): New macro.
54540         (CPUID_FMA4): New macro.
54541         (index_YMM_Usable): Rename to...
54542         (index_AVX_Usable): ... this.
54543         (HAS_AVX): Use HAS_ARCH_FEATURE.
54544         (HAS_FMA4): Likewise.
54545         (HAS_YMM_USABLE): Remove.
54546         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54547         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
54548         are present.
54549         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
54550         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
54551         * sysdeps/x86_64/multiarch/Makefile: Likewise.
54552         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
54553         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
54555 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54557         * math/libm-test.c: Support platforms without multiple rounding modes.
54558         * math/bug-nextafter.c: Support platforms without FP exceptions.
54559         * math/bug-nexttoward.c: Likewise.
54560         * math/test-fenv.c: Likewise.
54561         * math/test-misc.c: Likewise.
54562         * stdlib/bug-getcontext.c: Likewise.
54564 2012-05-17  Andreas Jaeger  <aj@suse.de>
54566         * manual/examples/search.c (critter_cmp): Change signature to
54567         avoid warnings.
54568         * manual/string.texi (Collation Functions): Likewise.
54570 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54572         * bits/types.h: Fold copyright years.
54573         * bits/typesizes.h: Likewise.
54574         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
54575         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
54576         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
54577         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
54578         * time/time.h: Likewise.
54580 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
54582         [BZ #208]
54583         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
54584         in instead of returning them.  Return void.
54585         (__libc_mallinfo): Accumulate over all arenas.
54586         (__malloc_stats): Adjust for change in int_mallinfo interface.
54588 2012-05-16  Roland McGrath  <roland@hack.frob.com>
54590         [BZ #10375]
54591         * configure.in (NM): Add AC_CHECK_TOOL for it.
54592         (libc_extra_cflags): New substituted variable.
54593         Check for -fstack-protector being used implicitly.
54594         * configure: Regenerated.
54595         * config.make.in (config-extra-cflags): New variable,
54596         gets @libc_extra_cflags@.
54597         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
54599         [BZ #10375]
54600         * configure.in: Check for _FORTIFY_SOURCE being predefined.
54601         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
54602         * configure: Regenerated.
54603         * config.make.in (CPPUNDEFS): New substituted variable.
54604         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
54605         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
54606         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
54608 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54610         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
54611         (mq_attr): Use __syscall_slong_t.
54613 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54615         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
54616         Check __x86_64__ instead of __WORDSIZE.
54617         (_STAT_VER_LINUX): Likewise.
54618         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
54619         __syscall_ulong_t and __syscall_slong_t.
54620         (stat64): Likewise.
54622 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54624         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
54626 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54628         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
54630 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54632         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
54633         __syscall_ulong_t.
54635         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
54636         include <bits/wordsize.h>.  Check __x86_64__ instead of
54637         __WORDSIZE.
54638         (greg_t): Use "__extension__ long long int" if __x86_64__ is
54639         defined.
54640         (mcontext_t): Replace "unsigned long" with "unsigned long long".
54642         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
54643         include <bits/wordsize.h>.  Check __x86_64__ instead of
54644         __WORDSIZE.
54645         (user_regs_struct): Use "__extension__ unsigned long long"
54646         instead of "unsigned long" if __x86_64__ is defined.
54647         (user): Likewise.  Pad after pointer field if __ILP32__ is
54648         defined.
54650 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
54652         * configure.in (makeinfo): Require version 4.5 or later.  Allow
54653         versions 5 to 9.
54654         * configure: Regenerated.
54655         * manual/install.texi (texinfo): Increase version requirement to
54656         4.5 or later.
54657         * INSTALL: Regenerated.
54659         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
54661 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54663         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
54665         * sysdeps/x86_64/x32/ffs.c: New file.
54667         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
54668         __syscall_ulong_t.
54669         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
54670         defined.  Use __syscall_ulong_t.
54671         (shminfo): Use __syscall_ulong_t.
54672         (shm_info): Likewise.
54674         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
54675         __syscall_ulong_t.
54677         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
54678         <bits/wordsize.h>.
54679         (msgqnum_t): Use __syscall_ulong_t.
54680         (msglen_t): Likewise.
54681         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
54682         __syscall_ulong_t.
54684         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
54685         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54687         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
54689         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
54690         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
54692         * sysvipc/sys/msg.h (msgbuf): Replace long int with
54693         __syscall_slong_t.
54695         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
54696         include <bits/wordsize.h>.  Check __x86_64__ instead of
54697         __WORDSIZE.
54699         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
54700         "unsigned long long int" if __x86_64__ is defined.
54701         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
54703         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
54704         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54705         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
54707         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
54708         <stdint.h>.
54709         (GET_PC): Cast to uintptr_t first.
54710         (GET_FRAME): Likewise.
54711         (GET_STACK): Likewise.
54713         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
54714         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
54715         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
54716         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
54717         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
54718         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
54719         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
54720         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
54721         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
54722         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
54723         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
54724         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
54725         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54726         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
54727         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
54728         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
54729         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
54730         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
54731         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
54732         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
54733         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
54734         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
54735         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
54736         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
54737         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
54738         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
54739         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
54740         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
54741         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
54743 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
54745         * Makerules (+depfiles): Also collect depfiles from .oS in
54746         $(extra-objs).
54747         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
54748         .oS, $(libnldbl-routines)).
54750         * Makerules (native-compile-mkdep-flags): Define.
54751         * sunrpc/Makefile (extra-objs): Add $(addprefix
54752         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
54753         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
54754         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
54755         calling $(make-target-directory).
54757 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54759         * bits/types.h (__snseconds_t): Removed.
54760         * time/time.h (struct timespec): Replace __snseconds_t with
54761         __syscall_slong_t.
54762         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
54763         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
54764         Likewise.
54765         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54766         (__SNSECONDS_T_TYPE): Likewise.
54767         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54768         (__SNSECONDS_T_TYPE): Likewise.
54769         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54770         (__SNSECONDS_T_TYPE): Likewise.
54772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54774         * sysdeps/mach/hurd/bits/typesizes.h
54775         (__SYSCALL_SLONG_TYPE): New macro.
54776         (__SYSCALL_ULONG_TYPE): Likewise.
54778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54780         * bits/types.h (__syscall_slong_t): New type.
54781         (__syscall_ulong_t): Likewise.
54783         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
54784         (__SYSCALL_ULONG_TYPE): Likewise.
54785         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54786         (__SYSCALL_SLONG_TYPE): Likewise.
54787         (__SYSCALL_ULONG_TYPE): Likewise.
54788         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54789         (__SYSCALL_SLONG_TYPE): Likewise.
54790         (__SYSCALL_ULONG_TYPE): Likewise.
54791         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54792         (__SYSCALL_SLONG_TYPE): Likewise.
54793         (__SYSCALL_ULONG_TYPE): Likewise.
54795 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54797         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
54798         Add sigaltstack-offsets.sym.
54799         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
54800         <sigaltstack-offsets.h>.
54801         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
54802         longjmp_msg pointer.
54803         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
54804         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
54805         signal stack.
54806         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
54808 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54810         * elf/stackguard-macros.h: Remove file.
54811         * sysdeps/generic/stackguard-macros.h: New file.
54812         * sysdeps/i386/stackguard-macros.h: Likewise.
54813         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54814         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54815         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54816         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54817         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54818         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54819         * sysdeps/x86_64/stackguard-macros.h: Likewise.
54820         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
54821         <elf/stackguard-macros.h>.
54823         [BZ #14109]
54824         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
54825         __aligned__ in attribute.
54826         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
54827         (gregset_t): Likewise.
54829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54831         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
54832         * sysdeps/x86_64/64/Implies-after: Here.  New file.
54833         * sysdeps/x86_64/x32/Implies-after: New file.
54835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54837         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
54838         and access return value for _dl_profile_fixup.  Use R10_LP to
54839         load frame size.
54841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54843         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
54845 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54847         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
54848         * sysdeps/x86_64/x32/sysdep.h: New file.
54850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54852         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
54853         * sysdeps/x86_64/setjmp.S: Likewise.
54855 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54857         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
54858         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
54859         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
54860         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
54861         remove unused global constant.
54863 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
54865         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
54866         include of <not-cancel.h>.
54868 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54870         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
54872 2012-05-15  Jeff Law  <law@redhat.com>
54873             Andreas Jaeger  <aj@suse.de>
54875         [BZ #13594]
54876         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
54877         out from...
54878         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
54879         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
54880         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
54881         code changing __hst_map_handle.map.
54883 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54885         * configure.in (sysnames): Look for Implies-before and Implies-after
54886         files.
54887         * configure: Regenerated.
54889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54891         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
54892         8-byte data alignment with LP_SIZE alignment.
54894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54896         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
54897         into R10_LP.
54899 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54901         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
54903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54905         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
54906         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
54907         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
54908         Likewise.
54909         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54913         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
54914         (stackinfo_sub_sp): Likewise.
54916 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54918         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
54919         RAX_LP.
54921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54923         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
54924         into R*_LP.
54926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54928         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
54929         sizes into R*_LP.
54931 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54933         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
54935 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54937         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
54938         into R11_LP and load __x86_64_shared_cache_size_half into
54939         R8_LP.
54941 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54943         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
54944         R8_LP.
54946 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54948         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
54949         logb for POWER7.
54950         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
54951         logbf for POWER7.
54952         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
54953         logbl for POWER7.
54954         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
54955         powerpc32/power7/fpu/s_logb.c via #include.
54956         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
54957         powerpc32/power7/fpu/s_logbf.c via #include.
54958         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
54959         powerpc32/power7/fpu/s_logbl.c via #include.
54961 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54963         * README.libm: Remove file.
54965 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54967         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
54968         count for x32.  Use R*_LP and omit operand-size suffix.
54970 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54972         * shlib-versions: Move x86_64-.*-linux.* entries to ...
54973         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
54974         * sysdeps/x86_64/x32/shlib-versions: New file.
54976 2012-05-14  Roland McGrath  <roland@hack.frob.com>
54978         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
54979         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
54980         Use _dl_fatal_printf instead.
54982 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
54984         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
54985         set if not set by the user.  Do not allow for being unset.
54986         * sysdeps/unix/sysv/linux/configure: Regenerated.
54988 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54990         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
54991         the `q' suffix from lea and replace .quad with ASM_ADDR.
54993 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54995         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
54996         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
54997         instead of $17.
54998         (PTR_DEMANGLE): Likewise.
55000 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55002         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
55003         (LP_OP): Likewise.
55004         (ASM_ADDR): Likewise.
55005         (RAX_LP): Likewise.
55006         (RBP_LP): Likewise.
55007         (RBX_LP): Likewise.
55008         (RCX_LP): Likewise.
55009         (RDI_LP): Likewise.
55010         (RSI_LP): Likewise.
55011         (RSP_LP): Likewise.
55012         (R8_LP): Likewise.
55013         (R9_LP): Likewise.
55014         (R10_LP): Likewise.
55015         (R10_LP): Likewise.
55016         (R11_LP): Likewise.
55017         (R12_LP): Likewise.
55018         (R13_LP): Likewise.
55019         (R14_LP): Likewise.
55020         (R15_LP): Likewise.
55022 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55024         * sysdeps/x86_64/x32/dl-machine.h: New file.
55026 2012-05-14  Andreas Jaeger  <aj@suse.de>
55028         * manual/Makefile (subdir): Remove export of subdir.
55029         (all): Remove target.
55030         (.PHONY): Remove all from list.
55031         (mkinstalldirs): Remove.
55032         (.PHONY): Remove installdirs from list.
55033         ($(inst_infodir)/libc.info): Use make-target-directory.
55034         (installdirs): Remove.
55035         (subdir_%): Remove.
55036         (glibc-targets): Remove.
55037         (lib): Remove.
55038         (stubs): Remove.
55039         ($(objpfx)stubs ../po/manual.pot): Remove.
55040         ($(objpfx)stamp%): Remove.
55041         (make-target-directory): Remove.
55042         (subdir_install): Remove.
55043         (routines): Remove.
55044         (aux): Remove.
55045         (sources): Remove.
55046         (objects): Remove.
55047         (headers): Remove.
55049         [BZ #13750]
55050         * manual/.gitignore: Remove, it's not needed anymore.
55051         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
55052         all files in it.
55053         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
55054         directory.
55055         (texis): Renamed to $(objpfx)texis.
55056         (texis-path): New, contains path to generated files.
55057         (chapters.%): Use texis-path for complete path, add extra argument
55058         libc-texinfo.sh.
55059         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
55060         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
55061         (summary,texi, stamp-summary): Use complete path of
55062         files. Generate files in build dir.
55063         (dir-add.texi): Build in build dir.
55064         (libm-err.texi,stamp-libm-err): Likewise.
55065         (version.texi, stamp-version): Likewise.
55066         (.%c.texi): Likewise.
55067         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
55068         (mostlyclean): Remove target.
55069         (realclean): Remove target.
55070         (generated): Add new variable with contents from mostlyclean and
55071         realclean, remove entries duplicated in common-mostlyclean, add
55072         stamp-libm-err and stamp-version.
55073         (generated-dirs): Add libc directory.
55074         ($(inst_infodir)/libc.info): Install files from build dir.
55076         * manual/install.texi (Configuring and compiling): Adjust since
55077         the info files are not part of the tar ball anymore.
55079 2012-05-14  Andreas Jaeger  <aj@suse.de>
55081         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
55082         variable.
55084 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
55086         [BZ #13717]
55087         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55088         to 2.2.0 where earlier.
55089         * sysdeps/unix/sysv/linux/configure: Regenerated.
55090         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
55091         Remove conditional code.
55092         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
55093         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
55094         Remove conditional code.
55095         [!__NR_lchown]: Likewise.
55096         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55097         [__NR_lchown]: Likewise.
55098         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
55099         comment referencing __ASSUME_LCHOWN_SYSCALL.
55100         * sysdeps/unix/sysv/linux/i386/sigaction.c
55101         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55102         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55103         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
55104         Remove conditional code.
55105         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
55106         (__protocol_available): Remove #if 0 code.
55107         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
55108         conditional code.
55109         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
55110         * sysdeps/unix/sysv/linux/kernel-features.h
55111         (__ASSUME_GETCWD_SYSCALL): Don't define.
55112         (__ASSUME_REALTIME_SIGNALS): Likewise.
55113         (__ASSUME_PREAD_SYSCALL): Likewise.
55114         (__ASSUME_PWRITE_SYSCALL): Likewise.
55115         (__ASSUME_POLL_SYSCALL): Likewise.
55116         (__ASSUME_LCHOWN_SYSCALL): Likewise.
55117         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
55118         non-SPARC.
55119         (__ASSUME_SIOCGIFNAME): Don't define.
55120         (__ASSUME_MSG_NOSIGNAL): Likewise.
55121         (__ASSUME_SENDFILE): Define unconditionally.
55122         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
55123         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
55124         conditional code.
55125         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
55126         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
55127         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
55128         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55129         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
55130         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
55131         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
55133         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55134         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
55136         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55137         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
55139         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55140         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
55142         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55143         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
55145         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55146         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
55148         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55149         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
55151         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55152         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
55154         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55155         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55156         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
55157         Remove conditional code.
55158         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55159         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
55160         Remove conditional code.
55161         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55162         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
55163         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
55164         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
55165         Remove conditional code.
55166         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55167         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
55168         Remove conditional code.
55169         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55170         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
55171         Remove conditional code.
55172         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55173         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
55174         Remove conditional code.
55175         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55176         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
55177         Remove conditional code.
55178         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55179         * sysdeps/unix/sysv/linux/sh/pwrite64.c
55180         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55181         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55182         * sysdeps/unix/sysv/linux/sigaction.c
55183         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55184         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55185         * sysdeps/unix/sysv/linux/sigpending.c
55186         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55187         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55188         * sysdeps/unix/sysv/linux/sigprocmask.c
55189         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55190         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55191         * sysdeps/unix/sysv/linux/sigsuspend.c
55192         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55193         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55194         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55195         (__libc_missing_rt_sigs): Remove.
55196         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
55197         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
55198         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
55199         Remove conditional code.
55200         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
55201         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
55202         return 1.
55203         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
55204         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
55205         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
55206         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
55208 2012-05-14  Andreas Jaeger  <aj@suse.de>
55210         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
55211         it's not used in glibc.
55212         (__coshm1): Likewise.
55213         (__acosh1p): Likewise.
55214         (__sgn): Likewise.
55216         * manual/string.texi (Copying and Concatenation): Add missing
55217         variable in concat example.
55218         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
55220 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55222         [BZ #14103]
55223         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
55224         __builtin_clzl with __builtin_clzll.
55226 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55228         [BZ #14104]
55229         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
55230         libc_freeres_ptr.
55232 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55234         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
55235         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
55236         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
55237         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
55239 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
55241         * NEWS: Update ia64 info.
55243 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
55245         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
55246         used as bcopy.
55248 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
55250         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
55251         * sysdeps/unix/syscalls.list (dup3): Likewise.
55252         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
55253         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
55255 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
55257         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
55258         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
55260 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
55262         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
55263         thread pointer.
55264         (TLS_IE): Use mov/add instead of movq/addq to load thread
55265         pointer.
55266         (TLS_GD_PREFIX): New.
55267         (TLS_GD): Use it.
55269 2012-05-11  David S. Miller  <davem@davemloft.net>
55271         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
55272         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
55273         (_FPU_SETCW): Likewise.
55275 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55277         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
55278         is 32-byte aligned.
55280 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
55282         [BZ #11837]
55283         * iconvdata/gb18030.c: Update tables.
55284         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
55285         characters specially.
55286         (BODY for TO_LOOP): Add encoding of missing ranges.
55288 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
55290         [BZ #13673]
55291         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
55292         * sysdeps/mach/hurd/dup3.c: Likewise.
55293         * sysdeps/mach/hurd/readlinkat.c: Likewise.
55294         * sysdeps/powerpc/memmove.c:: Likewise.
55296 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55298         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
55299         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
55301 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55303         * elf/elf.h (R_X86_64_RELATIVE64): New.
55304         (R_X86_64_NUM): Updated.
55305         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55306         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
55307         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
55308         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
55309         tst-quad1pie tst-quad2pie
55310         (modules-names): Add tst-quadmod1 tst-quadmod2.
55311         ($(objpfx)tst-quad1): New dependency.
55312         ($(objpfx)tst-quad2): Likewise.
55313         ($(objpfx)tst-quad1pie): Likewise.
55314         ($(objpfx)tst-quad2pie): Likewise.
55315         * sysdeps/x86_64/tst-quad1.c: New file.
55316         * sysdeps/x86_64/tst-quad1pie.c: New file.
55317         * sysdeps/x86_64/tst-quad2.c: Likewise.
55318         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
55319         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
55320         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
55321         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
55322         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
55324 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55326         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
55327         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
55328         * streams/stropts.h (t_scalar_t): Define type.
55330         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
55331         (_PATH_PRESERVE): Set to "/var/lib".
55332         (_PATH_RWHODIR): Set to "/var/spool/rwho".
55334         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
55335         instead of int.
55337         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
55338         if __dir_mkfile succeeded.
55340         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
55341         checking for _hurd_dtablesize.  Unlock it right after having
55342         finished _hurd_dtable allocation.
55344 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55346         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
55347         * sysdeps/mach/hurd/configure: Regenerated.
55348         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
55349         special-casing to...
55350         * sysdeps/gnu/configure.in: ... this new file.
55351         * sysdeps/unix/sysv/linux/configure: Regenerated.
55352         * sysdeps/gnu/configure: New generated file.
55354         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
55355         for Linux: use nsec instead of usec, as well as:
55356         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
55357         members of type struct timespec.
55358         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
55359         New macros.
55360         (struct stat64): Likewise.
55361         (_STATBUF_ST_NSEC): New macro.
55362         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
55364         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55365         __strtoul_internal rather than strtoul.
55367 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55369         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
55370         and reject them.
55372 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55374         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
55375         which preserves existing values.
55376         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
55378 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55380         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
55381         TIMEOUT values.  Return EINVAL for NFDS values either negative or
55382         greater than FD_SETSIZE.
55384 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55386         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
55387         allocated, call __vm_protect to finish enabling the existing space, and
55388         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
55389         allocate the remainder.
55391 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55393         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
55394         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
55396 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55398         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
55399         sysdeps/mach/hurd/readlink.c.
55401         * posix/tst-sysconf.c (posix_options): Only use
55402         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
55403         _POSIX_SYNCHRONIZED_IO when they are defined
55404         * sysdeps/mach/hurd/bits/posix_opt.h:
55405         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
55406         (_XOPEN_REALTIME): Undefine macro.
55407         (_XOPEN_REALTIME_THREADS): Undefine macro.
55408         (_XOPEN_SHM): Undefine macro.
55409         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
55410         macro to -1.
55411         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
55412         macro to -1.
55413         (_POSIX_ASYNC_IO): Undefine macro.
55414         (_POSIX_PRIORITIZED_IO): Undefine macro.
55415         (_POSIX_SPIN_LOCKS): Define macro to -1.
55417         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
55418         SA_NODEFER, SA_RESETHAND.
55419         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
55420         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
55421         F_DUPFD_CLOEXEC.
55423 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55425         * elf/Makefile (pldd-modules): Define unconditionally.
55427 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55429         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
55431 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55433         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
55434         Return ENOENT when name is empty.
55435         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
55437 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55439         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
55441         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
55443 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55445         Fix mlock in all cases except non-readable pages.
55446         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
55447         instead of VM_PROT_ALL as parameter to __vm_wire function.
55449         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
55450         (__mkdir): When path is `/', just fail with EEXIST.
55451         * sysdeps/mach/hurd/mkdirat.c: Likewise.
55453 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55455         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
55456         <sys/uio.h> (for writev).
55457         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
55458         and <sys/param.h> (for MIN).
55460 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55462         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
55463         REQUESTED_TIME.  Properly set the remaining time and return EINTR
55464         if interrupted.
55466 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55468         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
55469         Depend on against $(link-rpcuserlibs).
55471 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55473         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
55474         (__libc_stack_end): Do not use attribute_relro.
55475         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
55476         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
55477         to libthread-provided value.
55478         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
55479         attribute_relro.
55481 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55483         [BZ #3748]
55484         * bits/libc-lock.h (__libc_once_get): New macro.
55485         * sysdeps/mach/bits/libc-lock.h: Likewise.
55486         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
55487         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
55488         instead of using implementation details.
55490         * libio/fileops.c: Unconditionally include <kernel-features.h>.
55491         * libio/freopen.c: Likewise.
55492         * libio/freopen64.c: Likewise.
55493         * misc/syslog.c: Likewise.
55494         * nscd/connections.c: Likewise.
55495         * nscd/netgroupcache.c: Likewise.
55496         * sysdeps/posix/getcwd.c: Likewise.
55498 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55500         * math/w_ilogbf.c: Add #include <limits.h>.
55502 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55504         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
55505         path instead of returning without unlocking.
55507         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
55508         immediate-write ioctls.
55509         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
55511 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55513         * sysdeps/mach/hurd/i386/init-first.c (init): Use
55514         __builtin_frame_address instead of making assumptions about the
55515         location of the return address relative to DATA.  Force early load of
55516         the return address.
55517         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
55518         __builtin_frame_address.
55520         dup3 for GNU Hurd.
55521         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
55522         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
55523         implement dup3 and do some further code clean-ups.
55524         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
55525         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
55527 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55529         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
55531         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
55532         HURD_CRITICAL_END around holding _hurd_dtable_lock.
55533         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
55534         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
55535         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
55536         d->port.lock.
55538         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
55539         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
55540         when handler == SIG_ERR, not when handler != SIG_ERR.
55542 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55544         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
55545         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
55546         definitions.
55548         accept4 for GNU Hurd.
55549         * include/sys/socket.h (__libc_accept4): New prototype.
55550         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
55551         to implement __libc_accept4.
55552         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
55553         __libc_accept4.
55554         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
55556         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
55557         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
55558         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
55559         signal-defines.sym.
55561 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55563         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
55565 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55567         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
55568         assertion on O_CLOEXEC flag.
55569         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
55570         * hurd/intern-fd.c: Likewise.
55571         * hurd/port2fd.c: Likewise.
55573 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55575         [BZ #3906]
55576         * bits/in.h (IPV6_PKTINFO): Define new macro.
55577         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
55579 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55581         [BZ #13954]
55582         [BZ #13955]
55583         [BZ #13956]
55584         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
55585         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55586         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
55587         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55588         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55589         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55590         * math/libm-test.inc (logb_test) : Additional logb tests.
55592 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
55593             Andreas Jaeger  <aj@suse.de>
55595         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
55596         * configure: Regenerated.
55597         * config.h.in (LINK_OBSOLETE_RPC): New macro.
55598         * config.make.in (link-obsolete-rpc): New substituted variable.
55599         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
55600         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
55601         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55602         (shared-only-routines): Don't set it under [link-obsolete-rpc],
55603         so that libc.a contains the symbols.
55604         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55605         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
55606         * sunrpc/auth_none.c: Likewise.
55607         * sunrpc/auth_unix.c: Likewise.
55608         * sunrpc/authdes_prot.c: Likewise.
55609         * sunrpc/authuxprot.c: Likewise.
55610         * sunrpc/clnt_gen.c: Likewise.
55611         * sunrpc/clnt_perr.c: Likewise.
55612         * sunrpc/clnt_raw.c: Likewise.
55613         * sunrpc/clnt_simp.c: Likewise.
55614         * sunrpc/clnt_tcp.c: Likewise.
55615         * sunrpc/clnt_udp.c: Likewise.
55616         * sunrpc/clnt_unix.c: Likewise.
55617         * sunrpc/des_crypt.c: Likewise.
55618         * sunrpc/des_soft.c: Likewise.
55619         * sunrpc/get_myaddr.c: Likewise.
55620         * sunrpc/key_call.c: Likewise.
55621         * sunrpc/key_prot.c: Likewise.
55622         * sunrpc/netname.c: Likewise.
55623         * sunrpc/pm_getmaps.c: Likewise.
55624         * sunrpc/pm_getport.c: Likewise.
55625         * sunrpc/pmap_clnt.c: Likewise.
55626         * sunrpc/pmap_prot.c: Likewise.
55627         * sunrpc/pmap_prot2.c: Likewise.
55628         * sunrpc/pmap_rmt.c: Likewise.
55629         * sunrpc/publickey.c: Likewise.
55630         * sunrpc/rpc_cmsg.c: Likewise.
55631         * sunrpc/rpc_common.c: Likewise.
55632         * sunrpc/rpc_dtable.c: Likewise.
55633         * sunrpc/rpc_prot.c: Likewise.
55634         * sunrpc/rpc_thread.c: Likewise.
55635         * sunrpc/rtime.c: Likewise.
55636         * sunrpc/svc.c: Likewise.
55637         * sunrpc/svc_auth.c: Likewise.
55638         * sunrpc/svc_raw.c: Likewise.
55639         * sunrpc/svc_run.c: Likewise.
55640         * sunrpc/svc_tcp.c: Likewise.
55641         * sunrpc/svc_udp.c: Likewise.
55642         * sunrpc/svc_unix.c: Likewise.
55643         * sunrpc/svcauth_des.c: Likewise.
55644         * sunrpc/xcrypt.c: Likewise.
55645         * sunrpc/xdr.c: Likewise.
55646         * sunrpc/xdr_array.c: Likewise.
55647         * sunrpc/xdr_float.c: Likewise.
55648         * sunrpc/xdr_intXX_t.c: Likewise.
55649         * sunrpc/xdr_mem.c: Likewise.
55650         * sunrpc/xdr_rec.c: Likewise.
55651         * sunrpc/xdr_ref.c: Likewise.
55652         * sunrpc/xdr_sizeof.c: Likewise.
55653         * sunrpc/xdr_stdio.c: Likewise.
55655 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55657         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
55658         change.  Update copyright years.
55660 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55662         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
55664 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
55665             Joseph Myers  <joseph@codesourcery.com>
55666             Paul Pluzhnikov  <ppluzhnikov@google.com>
55668         [BZ #14012]
55669         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
55670         requiring rpcgen.
55671         [cross-compiling] (extra-libs): Likewise.
55672         [cross-compiling] (extra-libs-others): Likewise.
55673         [cross-compiling] (librpcsvc-routines): Likewise.
55674         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
55675         [cross-compiling] (omit-deps): Likewise.
55676         (sunrpc-CPPFLAGS): New variable.
55677         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
55678         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
55679         (cross-rpcgen-objs): New variable.
55680         (extra-objs): Append $(cross-rpcgen-objs).
55681         ($(cross-rpcgen-objs)): New rule.
55682         ($(objpfx)cross-rpcgen): Likewise.
55683         (rpcgen-cmd): Define to use $(built-program-file).  Expand
55684         comment.
55685         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
55686         ($(objpfx)x%.stmp): Likewise.
55687         * sunrpc/proto.h [IS_IN_build] (_): Define.
55688         [IS_IN_build] (_libc_intl_domainname): Likewise.
55690 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55692         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
55693         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
55694         and R_X86_64_TPOFF64.
55696 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55698         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
55699         sysdeps/unix/sysv/syscalls.list.
55700         (stime): Likewise.
55701         (utime): Likewise.
55702         * sysdeps/unix/sysv/syscalls.list: Remove file.
55704 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
55706         [BZ #3440]
55707         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
55708         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
55709         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
55710         (__LC_IDENTIFICATION): Make these macros useful in #if
55711         expressions, as required by C99.
55713 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
55715         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
55716         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
55717         after this.
55719 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
55721         * stdlib/longlong.h: Updated from GCC.
55723 2012-05-09  Andreas Jaeger  <aj@suse.de>
55725         * nscd/nscd.c (run_modes): Make named enum, reorder so that
55726         default is first entry.
55727         (run_mode): Set type.
55728         (main): Remove informal message about syslog.
55729         (options): Fix typo.
55731         [BZ #14053]
55732         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
55733         to asm.
55734         (lrint): Likewise.
55735         (llrintf): Likewise.
55736         (llrint): Likewise.
55737         (rint): Likewise.
55738         (rintf): Likewise.
55739         (nearbyint): Likewise.
55740         (nearbyintf): Likewise.
55742 2012-05-09  Andreas Jaeger  <aj@suse.de>
55743             Pedro Alves  <palves@redhat.com>
55745         * nscd/nscd.c (run_mode): Use enum.
55746         (main): Cleanup coding style issue.
55748 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
55749             Andreas Jaeger  <aj@suse.de>
55751         * nscd/nscd.c (go_background): Replaced with...
55752         (run_mode): ... this.
55753         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
55754         (options): Add -F --foreground.
55755         (main): Implement it.
55756         (parse_opt): Parse it.
55758 2012-05-09  Andreas Jaeger  <aj@suse.de>
55760         [BZ #14083]
55761         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
55762         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
55763         -Wconversion warning.
55764         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
55765         Likewise.
55767 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
55769         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
55770         == 0.
55771         (LC_ALL): Use macro-int-constant.
55772         (LC_COLLATE): Likewise.
55773         (LC_CTYPE): Likewise.
55774         (LC_MESSAGES): Likewise.
55775         (LC_MONETARY): Likewise.
55776         (LC_NUMERIC): Likewise.
55777         (LC_TIME): Likewise.
55778         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
55779         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55780         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55781         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
55782         Specify type.
55783         [C99-based standards] (float_t): Expect type.
55784         [C99-based standards] (double_t): Expect type.
55785         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
55786         type.
55787         [C99-based standards] (HUGE_VALL): Likewise.
55788         [C99-based standards] (INFINITY): Likewise.
55789         [C99-based standards] (NAN): Likewise.
55790         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
55791         [C99-based standards] (FP_NAN): Likewise.
55792         [C99-based standards] (FP_NORMAL): Likewise.
55793         [C99-based standards] (FP_SUBNORMAL): Likewise.
55794         [C99-based standards] (FP_ZERO): Likewise.
55795         [C99-based standards] (FP_FAST_FMA): Use
55796         optional-macro-int-constant.  Specify type.  Require == 1.
55797         [C99-based standards] (FP_FAST_FMAF): Likewise.
55798         [C99-based standards] (FP_FAST_FMAL): Likewise.
55799         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
55800         [C99-based standards] (FP_ILOGBNAN): Likewise.
55801         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
55802         Specify type.
55803         [C99-based standards] (MATH_ERREXCEPT): Likewise.
55804         [C99-based standards] (math_errhandling): Specify type.
55805         [ISO99 || ISO11] (signgam): Do not allow.
55806         [non-C99-based standards] (copysignf): Do not allow.
55807         [non-C99-based standards] (exp2f): Likewise.
55808         [non-C99-based standards] (log2f): Likewise.
55809         [non-C99-based standards] (modff): Allow.
55810         [non-C99-based standards] (erff): Do not allow.
55811         [non-C99-based standards] (erfcf): Likewise.
55812         [non-C99-based standards] (gammaf): Likewise.
55813         [non-C99-based standards] (hypotf): Likewise.
55814         [non-C99-based standards] (j0f): Likewise.
55815         [non-C99-based standards] (j1f): Likewise.
55816         [non-C99-based standards] (jnf): Likewise.
55817         [non-C99-based standards] (lgammaf): Likewise.
55818         [non-C99-based standards] (tgammaf): Likewise.
55819         [non-C99-based standards] (y0f): Likewise.
55820         [non-C99-based standards] (y1f): Likewise.
55821         [non-C99-based standards] (ynf): Likewise.
55822         [non-C99-based standards] (isnanf): Likewise.
55823         [non-C99-based standards] (acoshf): Likewise.
55824         [non-C99-based standards] (asinhf): Likewise.
55825         [non-C99-based standards] (atanhf): Likewise.
55826         [non-C99-based standards] (cbrtf): Likewise.
55827         [non-C99-based standards] (expm1f): Likewise.
55828         [non-C99-based standards] (ilogbf): Likewise.
55829         [non-C99-based standards] (log1pf): Likewise.
55830         [non-C99-based standards] (logbf): Likewise.
55831         [non-C99-based standards] (nextafterf): Likewise.
55832         [non-C99-based standards] (remainderf): Likewise.
55833         [non-C99-based standards] (rintf): Likewise.
55834         [non-C99-based standards] (scalbf): Likewise.
55835         [non-C99-based standards] (copysignl): Likewise.
55836         [non-C99-based standards] (exp2l): Likewise.
55837         [non-C99-based standards] (log2l): Likewise.
55838         [non-C99-based standards] (modfl): Allow.
55839         [non-C99-based standards] (erfl): Do not allow.
55840         [non-C99-based standards] (erfcl): Likewise.
55841         [non-C99-based standards] (gammal): Likewise.
55842         [non-C99-based standards] (hypotl): Likewise.
55843         [non-C99-based standards] (j0l): Likewise.
55844         [non-C99-based standards] (j1l): Likewise.
55845         [non-C99-based standards] (jnl): Likewise.
55846         [non-C99-based standards] (lgammal): Likewise.
55847         [non-C99-based standards] (tgammal): Likewise.
55848         [non-C99-based standards] (y0l): Likewise.
55849         [non-C99-based standards] (y1l): Likewise.
55850         [non-C99-based standards] (ynl): Likewise.
55851         [non-C99-based standards] (isnanl): Likewise.
55852         [non-C99-based standards] (acoshl): Likewise.
55853         [non-C99-based standards] (asinhl): Likewise.
55854         [non-C99-based standards] (atanhl): Likewise.
55855         [non-C99-based standards] (cbrtl): Likewise.
55856         [non-C99-based standards] (expm1l): Likewise.
55857         [non-C99-based standards] (ilogbl): Likewise.
55858         [non-C99-based standards] (log1pl): Likewise.
55859         [non-C99-based standards] (logbl): Likewise.
55860         [non-C99-based standards] (nextafterl): Likewise.
55861         [non-C99-based standards] (remainderl): Likewise.
55862         [non-C99-based standards] (rintl): Likewise.
55863         [non-C99-based standards] (scalbl): Likewise.
55864         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55865         [non-C99-based standards] (FP_*): Do not allow.
55866         [C99-based standards] (FP_*): Change to
55867         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55868         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55869         allow.
55870         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
55871         (SIG_ERR): Likewise.
55872         [X/Open-based standards] (SIG_HOLD): Likewise.
55873         (SIG_IGN): Likewise.
55874         (SIGABRT): Use macro-int-constant.  Specify type.  Require
55875         positive value.
55876         (SIGFPE): Likewise.
55877         (SIGILL): Likewise.
55878         (SIGINT): Likewise.
55879         (SIGSEGV): Likewise.
55880         (SIGTER): Likewise.
55881         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
55882         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
55883         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
55884         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
55885         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
55886         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
55887         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
55888         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
55889         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
55890         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
55891         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
55892         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
55893         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
55894         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
55895         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
55896         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
55897         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
55898         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
55899         [X/Open-based standards] (SIGTRAP): Likewise.
55900         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
55901         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
55902         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
55903         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
55904         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55905         allow.
55907 2012-05-08  Ian Wienand  <ianw@vmware.com>
55909         [BZ #14080]
55910         * time/tzset.c (__tzset_parse_tz): Update default rules for
55911         daylight time changes in the Energy Policy Act of 2005.
55913 2012-05-09  Andreas Jaeger  <aj@suse.de>
55915         [BZ #13983]
55916         * elf/ldconfig.c (parse_conf): Change string to make clear that
55917         ldconfig only issued a warning if ld.so.conf does not exist.
55919 2012-05-08  David S. Miller  <davem@davemloft.net>
55921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
55922         movxtod instead of popping the value on the stack.
55924         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55926 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
55928         * config.h.in: Add HAVE_ARM_PCS_VFP.
55930 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
55932         [BZ #13979]
55933         * include/features.h: Warn if user requests __FORTIFY_SOURCE
55934         checking but the checks are disabled for any reason.
55936 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
55938         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
55939         and ELF64_R_TYPE with ELFW(R_TYPE).
55941 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
55943         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
55944         (ulimit): Likewise.
55946         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
55947         (settimeofday): Likewise.
55949 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
55951         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
55952         a struct th_u2 inside the union, and move tu_block/tu_code into
55953         a new th_u3 union of tu_block/tu_code inside of that.  Move
55954         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
55955         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
55956         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
55957         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
55958         (th_stuff): Change to th_u1.tu_stuff.
55959         (th_data): Define.
55960         (th_msg): Change to th_u1.th_u2.tu_data.
55962 2012-05-07  David S. Miller  <davem@davemloft.net>
55964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55966         [BZ #14074]
55967         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
55968         (SETUP_PIC_REG): Use it.
55969         (SETUP_PIC_REG_LEAF): Use it.
55971 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
55973         [BZ #13885]
55974         [BZ #13923]
55975         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55976         USE_AS_EXPM1L.
55977         (EXPL_FINITE): Likewise.
55978         (FLDLOG): Likewise.
55979         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
55980         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
55981         e_expl.S.
55982         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55983         USE_AS_EXPM1L.
55984         (EXPL_FINITE): Likewise.
55985         (FLDLOG): Likewise.
55986         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
55987         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
55988         e_expl.S.
55989         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
55990         test of -max_value argument for long double.
55991         * sysdeps/i386/fpu/libm-test-ulps: Update.
55992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55994 2012-05-06  David S. Miller  <davem@davemloft.net>
55996         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
55997         quad soft-float symbols whose references which are compiler
55998         generated.
55999         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56001 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
56003         [BZ #13884]
56004         [BZ #13914]
56005         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56006         USE_AS_EXP10L.
56007         (EXPL_FINITE): Likewise.
56008         (FLDLOG): Likewise.
56009         (c0): Likewise.
56010         (c1): Likewise.
56011         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
56012         Adjust comments for base varying.
56013         (__expl_finite): Change alias to EXPL_FINITE.
56014         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
56015         e_expl.S.
56016         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
56017         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
56018         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56019         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
56020         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56021         USE_AS_EXP10L.
56022         (EXPL_FINITE): Likewise.
56023         (FLDLOG): Likewise.
56024         (c0): Likewise.
56025         (c1): Likewise.
56026         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
56027         Adjust comments for base varying.
56028         (__expl_finite): Change alias to EXPL_FINITE.
56029         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
56030         tests for bugs.
56031         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56033         [BZ #14064]
56034         * math/libm-test.inc (check_float_internal): Correct ulp
56035         calculation for subnormal expected results.
56037 2012-05-06  Andreas Jaeger  <aj@suse.de>
56039         * Makeconfig (+math-flags): New, set to -frounding-math.
56040         (+cflags): Add +math-flags so that all of glibc gets compiled with
56041         it.
56043         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
56045 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
56047         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
56048         Disable one test.
56050         [BZ #13787]
56051         [BZ #13922]
56052         [BZ #14036]
56053         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
56054         (__ieee754_expl): Allow for and saturate large arguments.
56055         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
56056         (u_threshold): Likewise.
56057         (__exp): Call __ieee754_exp before checking for overflow and
56058         underflow.
56059         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
56060         (u_threshold): Likewise.
56061         (__expf): Call __ieee754_expf before checking for overflow and
56062         underflow.
56063         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
56064         (u_threshold): Likewise.
56065         (__expl): Call __ieee754_expl before checking for overflow and
56066         underflow.
56067         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
56068         (__ieee754_expl): Allow for and saturate large arguments.
56069         * math/libm-test.inc (exp_test): Add another test.  Do not allow
56070         missing overflow exception on overflow.
56071         (expm1_test): Do not allow missing overflow exception on overflow.
56073         * sysdeps/i386/fpu/e_expl.c: Move to ...
56074         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
56075         rather than using inline asm.
56076         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
56077         * sysdeps/x86_64/fpu/e_expl.S: Copy from
56078         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
56080         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
56081         (nice): Likewise.
56082         (poll): Likewise.
56083         (signal): Likewise.
56084         (time): Likewise.
56085         (times): Likewise.
56087 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56089         * sysdeps/unix/syscalls.list (adjtime): Add entry from
56090         sysdeps/unix/common/syscalls.list.
56091         (fchmod): Likewise.
56092         (fchown): Likewise.
56093         (ftruncate): Likewise.
56094         (getrusage): Likewise.
56095         (gettimeofday): Likewise.
56096         (setpgid): Likewise.
56097         (setregid): Likewise.
56098         (setreuid): Likewise.
56099         (sigaction): Likewise.
56100         (truncate): Likewise.
56101         (vhangup): Likewise.
56102         * sysdeps/unix/common/syscalls.list: Remove file.
56103         * sysdeps/unix/bsd/Implies: Don't include unix/common.
56104         * sysdeps/unix/sysv/linux/Implies: Likewise.
56106 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
56108         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
56109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
56110         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
56111         Moved to ...
56112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
56113         Here.
56114         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
56115         to ...
56116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
56117         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
56118         to ...
56119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
56120         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
56121         to ...
56122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
56123         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
56124         to ...
56125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
56126         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
56127         to ...
56128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
56129         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
56130         to ...
56131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
56132         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
56133         to ...
56134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
56135         Here.
56136         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
56137         to ...
56138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
56139         Here.
56140         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
56141         to ...
56142         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
56143         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
56144         Moved to ...
56145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
56146         Here.
56147         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
56148         to ...
56149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
56151 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56153         * sysdeps/unix/common/bits/dirent.h: Remove file.
56154         * sysdeps/unix/common/bits/fcntl.h: Likewise.
56156         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
56157         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
56158         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
56159         * sysdeps/unix/bsd/isatty.c: Likewise.
56160         * sysdeps/unix/bsd/tcdrain.c: Likewise.
56161         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
56162         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
56164 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56166         [BZ #13563]
56167         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
56168         long double comparison inaccuracies.
56169         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56172 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
56174         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
56175         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
56177 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56179         [BZ #14049]
56180         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
56181         nonzero digits before rounding a hex value.
56182         * stdlib/tst-strtod.c (tests): Add another test.
56184 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56186         * sysdeps/s390/fpu/libm-test-ulps: Update.
56188 2012-05-03  Andreas Jaeger  <aj@suse.de>
56190         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
56191         does not get optimized out.
56192         (malloc_opt_barrier): New.
56194 2012-05-03  Andreas Jaeger  <aj@suse.de>
56195             Roland McGrath  <roland@hack.frob.com>
56197         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
56198         intermediate file deletion.
56199         (generated): Add .symlist files.
56201 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
56203         [BZ #13775]
56204         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
56205         Redirect under this condition.
56206         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
56207         [__USE_GNU] (__dprintf_chk): Not under this condition.
56208         [__USE_GNU] (__vdprintf_chk): Likewise.
56209         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
56210         under this condition.
56211         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
56212         [__USE_XOPEN2K8] (dprintf): Define under this condition.
56213         [__USE_XOPEN2K8] (vdprintf): Likewise.
56214         [__USE_GNU] (__dprintf_chk): Not under this condition.
56215         [__USE_GNU] (__vdprintf_chk): Likewise.
56216         [__USE_GNU] (dprintf): Likewise.
56217         [__USE_GNU] (vdprintf): Likewise.
56219 2012-05-03  Roland McGrath  <roland@hack.frob.com>
56221         * elf/Makefile (common-generated): Set this instead of generated for
56222         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
56223         $(all-built-dso)-derived lists.
56225 2012-05-03  Andreas Jaeger  <aj@suse.de>
56227         * sysdeps/i386/fpu/libm-test-ulps: Update.
56229         * FAQ: Removed.
56230         * FAQ.in: Likewise.
56231         * scripts/gen-FAQ.pl: Likewise.
56232         * manual/install.texi (Installation): Point to online location of
56233         FAQ.
56234         * Makefile (files-for-dist): Remove FAQ.
56235         (FAQ): Remove.
56237 2012-05-02  Allan McRae  <allan@archlinux.org>
56239         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
56240         (LDFLAGS-reldepmod5.so): Likewise.
56241         (LDFLAGS-reldep6mod1.so): Likewise.
56242         (LDFLAGS-reldep6mod4.so): Likewise.
56243         (LDFLAGS-reldep8mod3.so): Likewise.
56244         (LDFLAGS-unload4mod1.so): Likewise.
56245         (LDFLAGS-unload4mod2.so): Likewise.
56246         (LDFLAGS-tst-initorder): Likewise.
56247         (LDFLAGS-tst-initordera2.so): Likewise.
56248         (LDFLAGS-tst-initordera3.so): Likewise.
56249         (LDFLAGS-tst-initordera4.so): Likewise.
56250         (LDFLAGS-tst-initorderb2.so): Likewise.
56251         (LDFLAGS-noload): Likewise.
56252         (LDFLAGS-next): Likewise.
56253         (LDFLAGS-order2mod1.so): Likewise.
56254         (LDFLAGS-order2mod2.so): Likewise.
56255         (LDFLAGS-tst-initorder2): Likewise.
56256         (LDFLAGS-tst-initorder2a.so): Likewise.
56257         (LDFLAGS-tst-initorder2b.so): Likewise.
56258         (LDFLAGS-tst-initorder2c.so): Likewise.
56259         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
56261 2012-05-02  David S. Miller  <davem@davemloft.net>
56263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56265 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
56267         [BZ #14055]
56268         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
56270 2012-05-02  Andreas Jaeger  <aj@suse.de>
56272         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
56273         since we manipulate rounding mode.
56274         (CPPFLAGS-test-idouble.c): Likewise.
56275         (CPPFLAGS-test-ifloat.c): Likewise.
56276         (CFLAGS-test-ldouble.c): Likewise.
56277         (CFLAGS-test-double.c): Likewise.
56278         (CFLAGS-test-float.c): Likewise.
56279         (CFLAGS-test-misc.c): Likewise.
56280         (CFLAGS-test-test-fenv.c): Likewise.
56282 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56284         [BZ #2550]
56285         [BZ #2570]
56286         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
56287         comparisons to determine direction to adjust input.
56289 2012-05-01  Roland McGrath  <roland@hack.frob.com>
56291         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
56292         output to the target.
56294         * scripts/localplt.awk: New file.
56295         * elf/Makefile ($(objpfx)check-localplt): Target removed.
56296         (check-localplt-CFLAGS): Variable removed.
56297         ($(all-built-dso:=.jmprel)): New static pattern rule.
56298         (generated): Add those targets.
56299         (localplt-built-dso): New variable.
56300         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
56302         * elf/check-localplt.c: File removed.
56304         * scripts/check-execstack.awk: New file.
56305         * elf/Makefile ($(objpfx)check-execstack): Target removed.
56306         (check-execstack-CFLAGS): Variable removed.
56307         ($(objpfx)check-execstack.h): Target removed.
56308         ($(objpfx)execstack-default): New target.
56309         (generated): Add that instead of check-execstack.h.
56310         ($(all-built-dso:=.phdr)): New static pattern rule.
56311         (generated): Add those targets.
56312         * elf/check-execstack.c: File removed.
56314         * scripts/check-textrel.awk: New file.
56315         * elf/Makefile ($(objpfx)check-textrel): Target removed.
56316         (check-textrel-CFLAGS): Variable removed.
56317         (all-built-dso): Use := to define.o
56318         ($(all-built-dso:=.dyn)): New static pattern rule.
56319         (generated): Add those targets.
56320         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
56321         * config.make.in (READELF): New substituted variable.
56322         * elf/check-textrel.c: File removed.
56324 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
56326         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
56327         allow.
56328         * conform/data/ctype.h-data [C99-based standards] (isblank):
56329         Expect function.
56330         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
56331         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
56332         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56333         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
56334         Specify type.  Require positive value.
56335         (EILSEQ): Likewise.
56336         (ERANGE): Likewise.
56337         [ISO || POSIX] (EILSEQ): Do not expect.
56338         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
56339         Specify type.  Require positive value.
56340         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
56341         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
56342         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
56343         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
56344         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
56345         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
56346         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
56347         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
56348         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
56349         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
56350         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
56351         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
56352         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
56353         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
56354         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
56355         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
56356         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
56357         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
56358         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
56359         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
56360         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
56361         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
56362         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
56363         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
56364         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
56365         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
56366         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
56367         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
56368         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
56369         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
56370         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
56371         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
56372         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
56373         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
56374         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
56375         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
56376         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
56377         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
56378         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
56379         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
56380         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
56381         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
56382         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
56383         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
56384         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
56385         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
56386         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
56387         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
56388         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
56389         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
56390         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
56391         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
56392         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
56393         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
56394         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
56395         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
56396         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
56397         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
56398         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
56399         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
56400         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
56401         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
56402         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
56403         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
56404         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
56405         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
56406         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
56407         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
56408         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
56409         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
56410         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
56411         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
56412         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
56413         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
56414         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
56415         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
56416         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
56417         Require >= 2.
56418         (FLT_ROUNDS): Expect as macro, not constant.
56419         (FLT_MANT_DIG): Use macro-int-constant.
56420         (DBL_MANT_DIG): Likewise.
56421         (LDBL_MANT_DIG): Likewise.
56422         (FLT_DIG): Likewise.
56423         (DBL_DIG): Likewise.
56424         (LDBL_DIG): Likewise.
56425         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
56426         (DBL_MIN_EXP): Likewise.
56427         (LDBL_MIN_EXP): Likewise.
56428         (FLT_MAX_EXP): Use macro-int-constant.
56429         (DBL_MAX_EXP): Likewise.
56430         (LDBL_MAX_EXP): Likewise.
56431         (FLT_MAX_10_EXP): Likewise.
56432         (DBL_MAX_10_EXP): Likewise.
56433         (LDBL_MAX_10_EXP): Likewise.
56434         (FLT_MAX): Use macro-constant.
56435         (DBL_MAX): Likewise.
56436         (LDBL_MAX): Likewise.
56437         (FLT_EPSILON): Use macro-constant.  Give upper bound.
56438         (DBL_EPSILON): Likewise.
56439         (LDBL_EPSILON): Likewise.
56440         (FLT_MIN): Likewise.
56441         (DBL_MIN): Likewise.
56442         (LDBL_MIN): Likewise.
56443         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
56444         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
56445         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
56446         [ISO11] (FLT_HAS_SUBNORM): Likewise.
56447         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
56448         [ISO11] (DBL_DECIMAL_DIG): Likewise.
56449         [ISO11] (FLT_DECIMAL_DIG): Likewise.
56450         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
56451         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
56452         [ISO11] (FLT_TRUE_MIN): Likewise.
56453         [ISO11] (LDBL_TRUE_MIN): Likewise.
56454         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56455         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
56456         (SCHAR_MIN): Use macro-int-constant.  Specify type.
56457         (SCHAR_MAX): Likewise.
56458         (UCHAR_MAX): Likewise.
56459         (CHAR_MIN): Likewise.
56460         (CHAR_MAX): Likewise.
56461         (MB_LEN_MAX): Use macro-int-constant.
56462         (SHRT_MIN): Use macro-int-constant.  Specify type.
56463         (SHRT_MAX): Likewise.
56464         (USHRT_MAX): Likewise.
56465         (INT_MAX): Likewise.
56466         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
56467         bound negative.
56468         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56469         bound with "U".
56470         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56471         bound with "L".
56472         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
56473         bound negative.  Suffix upper bound with "L".
56474         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56475         bound with "UL".
56476         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
56477         Specify type.
56478         [C99-based standards] (LLONG_MAX): Likewise.
56479         [C99-based standards] (ULLONG_MAX): Likewise.
56480         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
56481         == 0.
56482         [ISO11] (max_align_t): Require type.
56483         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56485         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
56486         from $CFLAGS, without defining away __attribute__ calls.
56487         (checknamespace): Use $CFLAGS_namespace.
56489         * conform/conformtest.pl (@keywords): Only include C99 keywords
56490         for standards based on C99 or C11.
56492         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
56493         Disable tests.
56494         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
56495         UNIX98]: Likewise.
56497         * conform/conformtest.pl: Handle "macro-int-constant" and test for
56498         usability of symbols in #if.
56500         * conform/conformtest.pl: If macro or constant types start
56501         "promoted:", expect the symbol to be of the following type
56502         promoted by the integer promotions.
56504         * conform/conformtest.pl: Parse all "constant" and "macro" lines
56505         in one place.  Also handle "macro-constant".
56507         * conform/conformtest.pl: Only accept expected macro values with
56508         "==".  Parse all "macro" lines in one place.
56509         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
56511         * conform/conformtest.pl: Handle braced types on "constant" lines
56512         instead of handling "typed-constant".
56513         * conform/data/signal.h-data: Use "constant" instead of
56514         "typed-constant".
56516         * conform/conformtest.pl: Handle "optional-" at start of lines in
56517         one place rather than duplicating several cases.  Handle each
56518         format of "macro" line with initial "optional-".
56520         * conform/conformtest.pl: Only accept expected constant or
56521         optional-constant values with "==".  Parse all "constant" lines in
56522         one place.  Parse all "optional-constant" lines in one place.
56523         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
56524         * conform/data/fmtmsg.h-data: Likewise.
56525         * conform/data/netinet/in.h-data: Likewise.
56526         * conform/data/tar.h-data: Likewise.
56527         * conform/data/limits.h-data: Use "==" form on "constant" and
56528         "optional-constant" lines.
56530         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
56531         Use -std=c99 for XOPEN2K.
56532         (@knownproblems): Remove.
56533         (newtoken): Don't check %isknown.
56535         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
56536         Do not expect macro.
56537         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
56538         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
56539         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
56540         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
56541         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
56542         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
56543         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
56544         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
56545         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
56546         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
56547         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
56548         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
56549         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
56550         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
56551         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
56552         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
56553         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
56554         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
56555         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
56556         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
56557         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
56558         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
56559         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
56560         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
56561         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
56562         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
56563         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
56564         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
56565         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
56566         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
56567         [XPG3] (acosh): Likewise.
56568         [XPG3] (asinh): Likewise.
56569         [XPG3] (atanh): Likewise.
56570         [XPG3] (cbrt): Likewise.
56571         [XPG3] (expm1): Likewise.
56572         [XPG3] (ilogb): Likewise.
56573         [XPG3] (log1p): Likewise.
56574         [XPG3] (logb): Likewise.
56575         [XPG3] (nextafter): Likewise.
56576         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
56577         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
56578         [XPG3] (remainder): Likewise.
56579         [XPG3] (rint): Likewise.
56580         [XPG3 || XPG4 || UNIX98] (round): Likewise.
56581         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
56582         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
56583         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
56584         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
56585         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
56586         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
56587         [UNIX98 || XOPEN2K] (scalb): Expect.
56588         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
56589         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
56590         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
56591         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
56592         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
56593         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
56594         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
56595         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
56596         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
56597         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
56598         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
56599         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
56600         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
56601         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
56602         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
56603         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
56604         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
56605         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
56606         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
56607         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
56608         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
56609         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
56610         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
56611         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
56612         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
56613         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
56614         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
56615         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
56616         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
56617         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
56618         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
56619         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
56620         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
56621         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
56622         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
56623         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
56624         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
56625         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
56626         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
56627         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
56628         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
56629         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
56630         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
56631         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
56632         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
56633         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
56634         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
56635         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
56636         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
56637         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
56638         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
56639         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
56640         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
56641         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
56642         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
56643         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
56644         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
56645         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
56646         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
56647         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
56648         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
56649         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
56650         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
56651         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
56652         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
56653         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
56654         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
56655         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
56656         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
56657         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
56658         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
56659         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
56660         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
56661         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
56662         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
56663         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
56664         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
56665         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
56666         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
56667         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
56668         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
56669         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
56670         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
56671         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
56672         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
56673         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
56674         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
56675         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
56676         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
56677         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
56678         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
56679         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
56680         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
56681         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
56682         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
56683         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
56684         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
56685         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
56686         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
56687         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
56688         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
56689         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
56690         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
56691         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
56692         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
56693         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
56694         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
56695         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
56696         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
56697         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
56698         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
56699         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
56700         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
56701         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
56702         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
56703         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
56704         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
56705         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
56706         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
56707         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
56708         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
56709         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
56710         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
56711         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
56712         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
56713         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
56714         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
56715         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
56716         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
56717         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
56718         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
56719         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
56720         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
56721         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
56722         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
56723         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
56724         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
56726         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
56727         _XOPEN_SOURCE_EXTENDED for XPG4.
56729         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
56731         * Makeconfig (localtime): Remove variable.
56732         (inst_localtime-file): Likewise.
56734 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
56737         Update.
56738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56739         Update.
56740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
56741         Update.
56742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56743         Update.
56744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
56745         Update.
56746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
56747         Update.
56748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56749         Update.
56750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
56751         Update.
56752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56753         Update.
56755 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
56757         [BZ #2550]
56758         [BZ #2570]
56759         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
56760         comparisons to determine direction to adjust input.
56761         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
56762         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
56763         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
56764         Likewise.
56765         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
56766         Likewise.
56767         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56768         Likewise.
56769         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
56770         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
56771         Likewise.
56772         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
56773         Likewise.
56774         * math/libm-test.inc (nexttoward_test): Add more tests.
56776 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56778         [BZ #14040]
56779         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
56780         in version GLIBC_2.1, not GLIBC_2.0.
56781         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
56782         Likewise.
56784 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
56786         [BZ #13942]
56787         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
56788         (1 - x) * (1 + x).
56789         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56790         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
56791         * math/libm-test.inc (acos_test): Add more tests.
56792         (asin_test): Likewise.
56793         * sysdeps/i386/fpu/libm-test-ulps: Update.
56794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56796         [BZ #14034]
56797         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
56798         of square root.
56799         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
56800         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56801         * math/libm-test.inc (acos_test_tonearest): New function.
56802         (acos_test_towardzero): Likewise.
56803         (acos_test_downward): Likewise.
56804         (acos_test_upward): Likewise.
56805         (asin_test_tonearest): Likewise.
56806         (asin_test_towardzero): Likewise.
56807         (asin_test_downward): Likewise.
56808         (asin_test_upward): Likewise.
56809         (main): Call the new functions.
56810         * sysdeps/i386/fpu/libm-test-ulps: Update.
56811         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56813         [BZ #13884]
56814         [BZ #13924]
56815         * math/e_exp10.c: Include <float.h>.
56816         (__ieee754_exp10): Handle underflow here rather than multiplying
56817         large negative argument by M_LN10.
56818         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
56819         of __ieee754_expf.
56820         * math/e_exp10l.c: Include <float.h>.
56821         (__ieee754_exp10l): Handle underflow here rather than multiplying
56822         large negative argument by M_LN10l.
56823         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
56824         spurious overflow exception on underflow.
56826 2012-04-29  Marek Polacek  <polacek@redhat.com>
56828         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
56829         (__fortify_function): New macro.
56830         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
56831         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
56832         __extern_always_inline.
56833         * libio/bits/stdio2.h: Likewise.
56834         * libio/bits/stdio.h: Likewise.
56835         * string/string.h: Likewise.
56836         * string/bits/string3.h: Likewise.
56837         * include/stdio.h: Likewise.
56838         * stdlib/bits/stdlib.h: Likewise.
56839         * stdlib/stdlib.h: Likewise.
56840         * rt/bits/mqueue2.h: Likewise.
56841         * rt/mqueue.h: Likewise.
56842         * posix/bits/unistd.h: Likewise.
56843         * posix/unistd.h: Likewise.
56844         * io/bits/poll2.h: Likewise.
56845         * io/bits/fcntl2.h: Likewise.
56846         * io/fcntl.h: Likewise.
56847         * io/sys/poll.h: Likewise.
56848         * misc/bits/syslog.h: Likewise.
56849         * misc/bits/syslog-ldbl.h: Likewise.
56850         * misc/sys/syslog.h: Likewise.
56851         * socket/bits/socket2.h: Likewise.
56852         * socket/sys/socket.h: Likewise.
56853         * debug/tst-chk1.c: Likewise.
56854         * wcsmbs/bits/wchar2.h: Likewise.
56855         * wcsmbs/bits/wchar-ldbl.h: Likewise.
56856         * wcsmbs/wchar.h: Likewise.
56858 2012-04-29  Andreas Jaeger  <aj@suse.de>
56860         * Makerules (tests): Remove enable-check-abi protection.
56861         (check-abi-warn): Remove.
56862         (check-abi-%): Remove check-abi-warn usage.
56864         * configure.in: Remove check-abi configure option.
56865         * configure: Regenerated.
56866         * config.make.in (enable-check-abi): Remove.
56868 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
56870         [BZ #14033]
56871         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
56872         double functions to double *_finite functions.
56874         [BZ #13941]
56875         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
56876         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
56877         LDBL_MIN_EXP.
56878         * stdio-common/Makefile (tests): Add tst-sprintf3.
56879         * stdio-common/tst-sprintf3.c: New file.
56881         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
56882         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
56884 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
56886         * conform/conformtest.pl: Remove duplicate typed-constant
56887         handling.
56889 2012-04-28  David S. Miller  <davem@davemloft.net>
56891         * Makerules (%.abilist): Add vpath on sysdep_dirs.
56892         (check-abi-%): Remove AWK script prerequisite and explicit
56893         abilist directory.
56894         (check-abi): Rewrite to just diff the symlist with the abilist.
56895         (config-tls, config-abi-config): Delete, no longer used.
56896         (update-abi-%): Remove AWK script and explicit abilist directory.
56897         (update-abi): Rewrite to simply compare and conditionally copy the
56898         symlist and the sysdep abilist file.  Remove update-abi-config
56899         checks.
56900         * abilist/ld.abilist: Remove.
56901         * abilist/libBrokenLocale.abilist: Remove.
56902         * abilist/libanl.abilist: Remove.
56903         * abilist/libcrypt.abilist: Remove.
56904         * abilist/libdl.abilist: Remove.
56905         * abilist/librt.abilist: Remove.
56906         * abilist/libthread_db.abilist: Remove.
56907         * abilist/libutil.abilist: Remove.
56908         * scripts/extract-abilist.awk: Remove.
56909         * scripts/merge-abilist.awk: Remove.
56910         * sysdeps/generic/libcidn.abilist: New file.
56911         * sysdeps/generic/libnss_compat.abilist: New file.
56912         * sysdeps/generic/libnss_db.abilist: New file.
56913         * sysdeps/generic/libnss_dns.abilist: New file.
56914         * sysdeps/generic/libnss_files.abilist: New file.
56915         * sysdeps/generic/libnss_hesiod.abilist: New file.
56916         * sysdeps/generic/libnss_nis.abilist: New file.
56917         * sysdeps/generic/libnss_nisplus.abilist: New file.
56918         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
56919         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
56920         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
56921         file.
56922         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
56923         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
56924         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
56925         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
56926         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
56927         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
56928         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
56929         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
56930         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
56931         file.
56932         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
56933         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
56934         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
56935         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
56936         file.
56937         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
56938         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
56939         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
56940         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
56941         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
56942         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
56943         file.
56944         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
56945         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
56946         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
56947         file.
56948         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
56949         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
56950         New file.
56951         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
56952         New file.
56953         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
56954         New file.
56955         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
56956         New file.
56957         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
56958         New file.
56959         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
56960         New file.
56961         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
56962         New file.
56963         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
56964         New file.
56965         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
56966         New file.
56967         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
56968         New file.
56969         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
56970         New file.
56971         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
56972         New file.
56973         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
56974         New file.
56975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
56976         file.
56977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
56978         New file.
56979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
56980         New file.
56981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
56982         file.
56983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
56984         New file.
56985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
56986         New file.
56987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
56988         file.
56989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
56990         New file.
56991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56992         New file.
56993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
56994         New file.
56995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
56996         New file.
56997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
56998         New file.
56999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
57000         New file.
57001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
57002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
57003         file.
57004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
57005         New file.
57006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
57007         file.
57008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
57009         file.
57010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
57011         file.
57012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
57013         file.
57014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
57015         file.
57016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57017         New file.
57018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
57019         file.
57020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
57021         file.
57022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
57023         New file.
57024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
57025         file.
57026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
57027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
57028         file.
57029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
57030         New file.
57031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
57032         file.
57033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
57034         file.
57035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
57036         file.
57037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
57038         file.
57039         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
57040         file.
57041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57042         New file.
57043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
57044         file.
57045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
57046         file.
57047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
57048         New file.
57049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
57050         file.
57051         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57052         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
57053         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
57054         file.
57055         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
57056         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
57057         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
57058         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
57059         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
57060         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
57061         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
57062         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
57063         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
57064         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
57065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
57066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
57067         file.
57068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
57069         New file.
57070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
57071         file.
57072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
57073         file.
57074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
57075         file.
57076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
57077         file.
57078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
57079         file.
57080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57081         New file.
57082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
57083         New file.
57084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
57085         file.
57086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
57087         New file.
57088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
57089         file.
57090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
57091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
57092         file.
57093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
57094         New file.
57095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
57096         file.
57097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
57098         file.
57099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
57100         file.
57101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
57102         file.
57103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
57104         file.
57105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57106         New file.
57107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
57108         New file.
57109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
57110         file.
57111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
57112         New file.
57113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
57114         file.
57116 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
57118         * conform/conformtest.pl: Fix typo in handling typed-constant from
57119         allow-header.
57121 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
57123         * README: Cut down references to pre-2.6 Linux kernels and
57124         Linuxthreads.  Update lists of configurations in libc and ports
57125         and sort alphabetically.  Say "or newer" with Linux kernel version
57126         requirements.
57128         * config.h.in [IS_IN_build]: Allow compiling without optimization.
57130 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57132         [BZ #887]
57133         * math/libm-test.inc (logb_test_downward): New test to expose
57134         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
57135         rounding mode.
57137 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
57139         [BZ #14027]
57140         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
57141         to be done.
57142         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
57143         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
57145 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
57147         * sysdeps/unix/i386/brk.S: Remove file.
57148         * sysdeps/unix/i386/dl-brk.S: Likewise.
57149         * sysdeps/unix/i386/pipe.S: Likewise.
57150         * sysdeps/unix/i386/sigreturn.S: Likewise.
57151         * sysdeps/unix/i386/syscall.S: Likewise.
57152         * sysdeps/unix/i386/vfork.S: Likewise.
57153         * sysdeps/unix/i386/wait.S: Likewise.
57155         * sysdeps/unix/common/tcsendbrk.c: Move to ...
57156         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
57158         * configure.in (arm*-none*): Do not allow without
57159         --enable-hacker-mode.
57160         (netbsd*): Remove case setting base_os.
57161         (386bsd*): Likewise.
57162         (freebsd*): Likewise.
57163         (bsdi*): Likewise.
57164         (osf*): Likewise.
57165         (sunos*): Likewise.
57166         (ultrix*): Likewise.
57167         (newsos*): Likewise.
57168         (dynix*): Likewise.
57169         (*bsd*): Likewise.
57170         (sysv*): Likewise.
57171         (isc*): Likewise.
57172         (esix*): Likewise.
57173         (sco*): Likewise.
57174         (minix*): Likewise.
57175         (irix4*): Likewise.
57176         (irix6*): Likewise.
57177         (solaris[2-9]*): Likewise.
57178         (none): Likewise.
57179         * configure: Regenerated.
57181 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57183         [BZ #11521]
57184         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
57185         overflow or cancellation in calculating denominator.
57186         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
57187         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
57188         down expression to avoid unexpected rounding in newer GCCs.
57189         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
57191 2012-04-26  David S. Miller  <davem@davemloft.net>
57193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
57194         long-double compat symbols.
57195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
57197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
57198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
57199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
57200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
57201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
57202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
57203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
57204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
57205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
57206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
57207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57209 2012-04-25  David S. Miller  <davem@davemloft.net>
57211         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
57212         HWCAP_* values only after the memory barriers have been defined.
57213         (atomic_full_barrier): Define.
57214         (atomic_read_barrier): Define.
57215         (atomic_write_barrier): Define.
57217 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57219         * shlib-versions: Add libgcc_s version information.
57220         * sysdeps/generic/libgcc_s.h: Remove.
57221         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
57222         libgcc_s.h.
57223         * sysdeps/gnu/unwind-resume.c: Likewise.
57224         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
57226 2012-04-25  David S. Miller  <davem@davemloft.net>
57228         * sysdeps/unix/sparc/brk.S: Delete.
57229         * sysdeps/unix/sparc/dl-brk.S: Delete.
57230         * sysdeps/unix/sparc/pipe.S: Delete.
57231         * sysdeps/unix/sparc/sysdep.S: Delete.
57232         * sysdeps/unix/sparc/sysdep.h: Delete.
57233         * sysdeps/unix/sparc/vfork.S: Delete.
57234         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
57235         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
57236         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
57237         (ret_ERRVAL, r0, r1, MOVE): Define.
57238         (JUMPTARGET): Remove.
57239         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
57240         sysdeps/unix/sparc/sysdep.h
57241         (ENTRY, END): Remove.
57242         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57244 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
57246         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
57247         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
57248         -DIS_IN_build.
57250         * timezone/README: Update upstream location and email address for
57251         tzcode and tzdata.
57252         * timezone/zdump.c: Update from tzcode 2012b.
57253         * timezone/zic.c: Likewise.
57255         * configure.in (libc_cv_as_needed): Remove test.
57256         * configure: Regenerated.
57257         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
57258         conditional definition.
57259         [$(have-as-needed) != yes] (no-as-needed): Likewise.
57260         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
57261         * config.make.in (have-as-needed): Remove variable.
57263 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57264             Paul Pluzhnikov  <ppluzhnikov@google.com>
57266         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
57267         strings correctly.
57269 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
57271         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
57272         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
57273         * sysdeps/sh/strlen.S: Likewise.
57275 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57277         * sysdeps/unix/fork.S: Remove file.
57278         * sysdeps/unix/i386/fork.S: Likewise.
57279         * sysdeps/unix/sparc/fork.S: Likewise.
57281         * sysdeps/unix/system.c: Remove file.
57282         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
57284         * sysdeps/unix/getegid.S: Remove file.
57285         * sysdeps/unix/geteuid.S: Likewise.
57287 2012-04-24  Roland McGrath  <roland@hack.frob.com>
57289         * scripts/check-localplt.awk: New file.
57290         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
57291         of diff.
57292         * scripts/data/localplt-generic.data: Add a comment.
57294         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
57295         NODE when __dir_mkfile failed.
57296         * sysdeps/mach/hurd/symlinkat.c: Likewise.
57297         Reported by Ludovic Courtès <ludo@gnu.org>.
57299 2012-04-24  Andreas Jaeger  <aj@suse.de>
57301         * Makerules (common-clean): Also remove gen-as-const-headers
57302         files.
57304 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57306         * Makerules (native-compile): Do not change working directory for
57307         build.  Use $(OUTPUT_OPTION) in command.
57308         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
57310 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57312         [BZ #13886]
57313         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
57314         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
57315         * math/libm-test.inc (floor_test): Add more tests.
57316         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
57318 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57320         * sysdeps/unix/getdents.c: Remove file.
57321         * sysdeps/unix/sysv/getdents.c: Likewise.
57322         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
57324         * sysdeps/unix/syscalls.list (madvise): Add syscall from
57325         sysdeps/unix/mman/syscalls.list.
57326         (mmap): Likewise.
57327         (mprotect): Likewise.
57328         (msync): Likewise.
57329         (munmap): Likewise.
57330         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
57331         * sysdeps/unix/mman/syscalls.list: Remove.
57332         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
57334         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
57335         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
57336         * configure: Regenerated.
57337         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
57338         $(libgcc_s_suffix).
57339         * config.make.in (libgcc_s_suffix): Remove variable.
57341 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
57343         * sysdeps/unix/sysv/gethostname.c: Move to ...
57344         * sysdeps/posix/gethostname.c: ... here.
57346         * sysdeps/unix/execve.S: Remove file.
57348         * sysdeps/unix/_exit.S: Remove file.
57350 2012-04-23  Andreas Jaeger  <aj@suse.de>
57352         [BZ #13739]
57353         * manual/Makefile: Remove make dist support, there's no
57354         need for a stand-alone documentation tar ball.
57355         (TEXI2DVI): Define always, it's not in Makeconfig.
57356         (dist): Removed.
57357         (tar-it): Removed.
57358         (edition): Removed.
57359         (glibc-doc-$(edition).tar): Removed
57360         (%.Z): Removed.
57361         (%.gz): Removed.
57362         (%.uu): Removed.
57363         (ETAGS): Remove, it's in Makeconfig.
57364         (move-if-change): Remove, it's in Makeconfig.
57366 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
57368         [BZ #13970]
57369         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
57370         (strtod, strtof, strtold, strtol, strtoul, strtoq)
57371         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
57372         (strtod_l, strtof_l, strtold_l): Remove __wur.
57373         It is not necessarily an error to ignore strtol's return value.
57374         One can reliably look at the stored endptr to decide whether
57375         the number had valid syntax.
57377 2012-04-21  Andreas Jaeger  <aj@suse.de>
57379         [BZ #13739]
57380         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
57382 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
57384         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
57385         * sysdeps/unix/sysv/Versions: Remove file.
57387 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
57389         [BZ #13927]
57390         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57392 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
57394         [BZ #7064]
57395         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
57396         version from __vm86.
57398 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
57400         * sysdeps/unix/common/lxstat.c: Remove file.
57401         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
57403         * sysdeps/unix/sysv/Makefile: Remove file.
57405         * sysdeps/unix/sysv/direct.h: Remove file.
57407         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
57408         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
57409         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
57410         * sysdeps/unix/sysv/bits/signum.h: Likewise.
57411         * sysdeps/unix/sysv/bits/stat.h: Likewise.
57412         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
57413         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
57415         * sysdeps/unix/sysv/setrlimit.c: Remove file.
57417         * sysdeps/unix/xmknod.c: Remove file.
57418         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
57420         * sysdeps/unix/sysv/settimeofday.c: Remove file.
57422         * sysdeps/unix/sysv/i386/time.S: Remove file.
57424         * sysdeps/unix/fxstat.c: Remove file.
57425         * sysdeps/unix/xstat.c: Likewise.
57426         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
57428         * sysdeps/unix/sysv/sigaction.c: Remove file.
57430         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
57431         (sysdep_headers): Remove variable.
57432         [termio.h not in sysdep_headers] (generated): Likewise.
57433         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
57434         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
57435         * sysdeps/unix/sysv/tcdrain.c: Likewise.
57436         * sysdeps/unix/sysv/tcflow.c: Likewise.
57437         * sysdeps/unix/sysv/tcflush.c: Likewise.
57438         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
57439         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
57440         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
57441         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
57442         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
57444         * sysdeps/unix/siglist.c: Remove file.
57446         * sysdeps/unix/getppid.S: Remove file.
57448         * sysdeps/unix/mkdir.c: Remove file.
57449         * sysdeps/unix/rmdir.c: Likewise.
57451 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
57453         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
57454         ERR_MAX value.
57455         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
57456         errlist-compat value.
57458 2012-04-18  David S. Miller  <davem@davemloft.net>
57460         * sysdeps/generic/memcopy.h (reg_char): Delete.
57461         * debug/strcat_chk.c: Use char, not reg_char.
57462         * debug/strcpy_chk.c: Likewise.
57463         * debug/strncat_chk.c: Likewise.
57464         * debug/strncpy_chk.c: Likewise.
57465         * string/memchr.c: Likewise.
57466         * string/memrchr.c: Likewise.
57467         * string/rawmemchr.c: Likewise.
57468         * string/strcat.c: Likewise.
57469         * string/strchr.c: Likewise.
57470         * string/strchrnul.c: Likewise.
57471         * string/strcmp.c: Likewise.
57472         * string/strcpy.c: Likewise.
57473         * string/strncat.c: Likewise.
57474         * string/strncmp.c: Likewise.
57475         * string/strncpy.c: Likewise.
57477 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57479         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
57480         __builtin_memcopy is called when src and dest ranges are known to not
57481         overlap.
57483 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57485         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
57486         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
57487         fwd_align_merge macro call.
57488         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
57489         bwd_align_merge macro call.
57490         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57492 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57494         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
57495         bwd_align_merge macros.
57496         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
57497         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
57498         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57500 2012-04-18  David S. Miller  <davem@davemloft.net>
57502         * sysdeps/sparc/sparc64/memcopy.h: Delete.
57504 2012-04-18  Andreas Jaeger  <aj@suse.de>
57506         [BZ# 6794]
57507         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
57508         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
57509         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57511         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
57512         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
57513         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57515         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
57516         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
57517         Adjust for changed ldbl-128 files.
57519         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
57520         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
57521         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57523 2012-04-17  David S. Miller  <davem@davemloft.net>
57525         * sysdeps/sparc/sparc32/memcopy.h: Delete.
57527 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
57529         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
57530         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
57531         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
57532         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
57533         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
57534         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
57536 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57538         [BZ #6794]
57539         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
57540         * math/libm-test.inc: Add ilogb errno and exception tests.
57541         * math/w_ilogb.c: New file: ilogb wrapper.
57542         * math/w_ilogbf.c: New file: ilogbf wrapper.
57543         * math/w_ilogbl.c: New file: ilogbl wrapper.
57544         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
57545         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
57546         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
57547         exception being thrown with 0.0 as argument.
57548         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
57549         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
57550         exception being thrown with 0.0 as argument.
57551         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
57552         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57553         exception being thrown with 0.0 as argument.
57554         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
57555         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57556         exception being thrown with 0.0 as argument.
57557         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
57558         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
57559         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
57560         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
57561         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
57562         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
57563         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
57564         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
57565         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
57567 2012-04-17  Petr Baudis  <pasky@ucw.cz>
57569         * include/sys/uio.h: Change __vector to __iovec to avoid clash
57570         with altivec.
57572 2012-04-16  Marek Polacek  <polacek@redhat.com>
57574         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
57576 2012-04-16  Marek Polacek  <polacek@redhat.com>
57578         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
57579         operands of fdivp instruction.
57581 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57583         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
57584         * elf/tst-auditmod3b.c: Likewise.
57585         * elf/tst-auditmod4b.c: Likewise.
57586         * elf/tst-auditmod5b.c: Likewise.
57587         * elf/tst-auditmod6b.c: Likewise.
57588         * elf/tst-auditmod6c.c: Likewise.
57589         * elf/tst-auditmod7b.c: Likewise.
57590         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
57591         * sysdeps/x86_64/preconfigure.in: Likewise.
57592         * sysdeps/x86_64/preconfigure: Regenerated.
57594 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57596         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
57597         __ILP32__.
57599 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
57601         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57602         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
57604 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
57606         [BZ #13973]
57607         * locale/iso-639.def: Fix gl language name. Spotted by
57608         Yaron Shahrabani.
57610 2012-04-12  Roland McGrath  <roland@hack.frob.com>
57612         [BZ #2074]
57613         * libio/libio.h (__io_write_fn): Update comment.
57615 2012-04-12  Petr Baudis  <pasky@ucw.cz>
57617         [BZ #2074]
57618         * stdio.texi (Hook Functions): The user provided writer function
57619         is not allowed to return -1.
57621 2012-04-11  David S. Miller  <davem@davemloft.net>
57623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57625 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
57627         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
57628         Add a leading slash to rtkaio.
57630 2012-04-11  Jim Meyering  <meyering@redhat.com>
57632         [BZ #11959]
57633         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
57634         It is not necessarily an error to ignore fwrite's return
57635         value.  One can reliably use ferror to test for errors after
57636         the fact.
57638 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57640         * bits/types.h (__snseconds_t): New type.
57641         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
57643         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
57644         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57645         (__SNSECONDS_T_TYPE): Likewise.
57646         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57647         (__SNSECONDS_T_TYPE): Likewise.
57648         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57649         (__SNSECONDS_T_TYPE): Likewise.
57651 2012-04-10  Andreas Jaeger  <aj@suse.de>
57653         [BZ #2636]
57654         * manual/time.texi (Processor Time): Return type of times is
57655         elapsed real time since an arbitrary point in the past.
57656         (CPU Time): Move CLK_TCK from here...
57657         (Processor Time): ...to here.  Correct description.
57658         * manual/conf.texi (Constants for Sysconf): Correct description of
57659         _SC_CLK_TCK.
57661 2012-04-10  David S. Miller  <davem@davemloft.net>
57663         [BZ #13967]
57664         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
57665         where the is a gap between DT_REL(A) and DT_JMPREL.
57667 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57669         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
57670         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57671         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57673 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57675         * elf/dl-support.c (_dl_inhibit_cache): New variable.
57676         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
57677         (dl_main): Handle --inhibit-cache.
57678         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
57679         _dl_inhibit_cache.
57680         * elf/dl-load.c (_dl_map_object): Use it.
57681         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
57683 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57685         [BZ #13872]
57686         * sysdeps/i386/fpu/e_powl.S (p78): New object.
57687         (__ieee754_powl): Saturate large exponents rather than testing for
57688         overflow of y*log2(x).
57689         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57690         * math/libm-test.inc (pow_test): Do not permit spurious overflow
57691         exceptions.
57693         [BZ #11521]
57694         * math/s_ctan.c: Include <float.h>.
57695         (__ctan): Avoid internal overflow or cancellation in calculating
57696         denominator.
57697         * math/s_ctanf.c: Likewise.
57698         * math/s_ctanl.c: Likewise.
57699         * math/s_ctanh.c: Likewise.
57700         * math/s_ctanhf.c: Likewise.
57701         * math/s_ctanhl.c: Likewise.
57702         * math/libm-test.inc (ctan_test): Add more tests.
57703         (ctanh_test): Likewise.
57704         * sysdeps/i386/fpu/libm-test-ulps: Update.
57705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57707 2012-04-09  Andreas Jaeger  <aj@suse.de>
57709         [BZ #6894]
57710         * manual/filesys.texi (Directory Entries): Mention that d_namlen
57711         is an optional BSD extension.
57713         [BZ #10254]
57714         * manual/stdio.texi (Opening Streams): Document additional fopen
57715         parameters.
57717 2012-04-09  Roland McGrath  <roland@hack.frob.com>
57719         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
57720         %eax without telling the compiler.
57722 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
57724         [BZ # 13963]
57725         * manual/install.texi: Use sourceware.org.
57727 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57729         [BZ #13873]
57730         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
57731         (__ieee754_pow): Generate overflow and underflow using huge*huge
57732         and tiny*tiny rather than just returning constant infinity or zero
57733         for large exponents.
57734         * math/libm-test.inc (pow_test): Require overflow exceptions for
57735         applicable cases of large exponents.
57737         [BZ #706]
57738         * sysdeps/i386/fpu/e_pow.S (p10): New object.
57739         (__ieee754_pow): Use iterative multiplication algorithm only for
57740         integer exponents with absolute value below 1024.  Check for odd
57741         integer exponents when using algorithm for real exponents.
57742         * math/libm-test.inc (pow_test): Add more tests.
57743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57745 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
57747         [BZ #13705]
57748         * math/libm-test.inc (exp_test): Do not allow overflow exception
57749         on underflow test.
57751 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
57753         [BZ #13705]
57754         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
57755         instead of __kernel_standard_f.
57757 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
57759         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
57760         * sysdeps/x86_64/memset_chk.S: Likewise.
57762 2012-04-08  Andreas Jaeger  <aj@suse.de>
57764         [BZ #10153]
57765         * manual/startup.texi (Environment Access): Describe return value
57766         for putenv and setenv.
57768         [BZ #6895]
57769         * manual/filesys.texi (Directory Entries): Add description for
57770         DT_LNK.
57772         [BZ #6890]
57773         * manual/filesys.texi (Directory Entries): Clarify that it's file
57774         system not operating system in the description of DT_UNKNOWN.
57776         [BZ #6578]
57777         * manual/syslog.texi (closelog): Fix reference, it's openlog.
57779 2012-04-08  Stephen Compall  <s11@member.fsf.org>
57781         [BZ #6649]
57782         * manual/llio.texi (Opening and Closing Files): Add cross
57783         reference to explain mode argument.
57785 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
57787         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
57788         * sysdeps/x86_64/memset_chk.S: Likewise.
57790 2012-04-07  David S. Miller  <davem@davemloft.net>
57792         * elf/elf.h (R_SPARC_WDISP10): Define.
57793         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
57794         R_SPARC_SIZE32.
57795         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
57796         R_SPARC_SIZE64 and R_SPARC_H34.
57798 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
57800         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
57801         conditions and remove no longer applicable assertion.
57803 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57805         * bits/byteswap.h: Include <features.h>.
57806         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57807         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57809 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57811         * bits/byteswap.h (__bswap_16): Removed.
57812         Include <bits/byteswap-16.h> to get __bswap_16.
57813         * sysdeps/i386/bits/byteswap.h: Likewise.
57814         * sysdeps/s390/bits/byteswap.h: Likewise.
57815         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57816         * bits/byteswap-16.h: New file.
57817         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57818         * sysdeps/s390/bits/byteswap-16.h: Likewise.
57819         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
57820         * string/Makefile (headers): Add bits/byteswap-16.h.
57822 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57824         [BZ #13895]
57825         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
57826         extra indirection.
57827         * nss/Makefile (tests-static, tests): Add tst-nss-static.
57828         * nss/tst-nss-static.c: New.
57830 2012-04-06  Robert Millan  <rmh@gnu.org>
57832         [BZ #6486]
57833         * manual/llio.texi (File Position Primitive): lseek
57834         refers to WHENCE when it really means OFFSET.
57836 2012-04-06  Andreas Jaeger  <aj@suse.de>
57838         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
57839         strncmp declarations.
57841         * abilist/libc.abilist: Add __poll and __ppoll.
57843 2012-04-05  David S. Miller  <davem@davemloft.net>
57845         * scripts/check-local-headers.sh: Accept a host triplet in the
57846         path matched by the exclude regexp.
57848         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
57849         definition.
57850         * sysdeps/powerpc/powerpc32/dl-machine.h
57851         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
57852         * sysdeps/s390/s390-32/dl-machine.h
57853         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57854         * sysdeps/sparc/sparc32/dl-machine.h
57855         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57856         * sysdeps/sparc/sparc64/dl-machine.h
57857         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57859         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
57860         lazy binding.
57861         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
57862         undefined symbol errors.
57864         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
57865         DT_NEEDED entries.
57867 2012-04-05  Michael Matz  <matz@suse.de>
57869         [BZ #13592]
57870         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
57872 2012-04-05  Andreas Jaeger  <aj@suse.de>
57874         [BZ #13908]
57875         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
57876         comment.
57878 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57880         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
57881         which ROUND is no valid rounding mode.
57883 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57885         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
57886         read again.
57887         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
57889 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57891         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
57892         an exception using FPU order intentionally.
57894 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57896         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
57897         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
57898         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
57899         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
57901 2012-04-05  Simon Josefsson  <simon@josefsson.org>
57903         [BZ #12340]
57904         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
57905         EINVAL when BUFLEN is too smal.
57907 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
57909         [BZ #13553]
57910         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
57911         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
57913 2012-04-03  Andreas Jaeger  <aj@suse.de>
57915         [BZ #13938]
57916         * manual/setjmp.texi (System V contexts): Fix sentence.
57918         [BZ #13926]
57919         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
57920         New macro for this case.
57921         [!__GNUC__] (__bswap_64): New inline function for this case.
57922         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57923         * bits/byteswap.h: Likewise.
57924         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
57925         ull, guard with __GLIBC_HAVE_LONG_LONG.
57927         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
57928         __GLIBC_HAVE_LONG_LONG.
57930         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
57931         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
57933 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57935         [BZ #13691]
57936         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
57937         inptr and inend, rather than using last_ch.
57939 2012-04-02  David S. Miller  <davem@davemloft.net>
57941         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
57942         * stdio-common/printf-parse.h (read_int): Change return type to
57943         'int', return -1 on INT_MAX overflow.
57944         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
57945         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
57946         overflows INT_MAX.  Check for overflow of in-format-string precision
57947         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
57948         SIZE_MAX not INT_MAX for integer overflow test.
57949         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
57950         skip the construct in the format string but do not record anything.
57951         * stdio-common/bug22.c: Adjust to test both width/prevision
57952         INT_MAX overflow as well as total length INT_MAX overflow.  Check
57953         explicitly for proper errno values.
57955 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
57957         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
57958         CHAR_MAX.
57959         * string/test-strcmp.c [! WIDE]: Likewise.
57960         * time/tst-mktime2.c: Likewise for INT_MAX.
57961         * string/test-string.h: #include <sys/param.h> for MIN.
57963         * csu/init-first.c (__libc_init_first): Call __ctype_init.
57964         * sysdeps/i386/init-first.c (init): Likewise.
57965         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
57966         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
57967         * sysdeps/sh/init-first.c (init): Likewise.
57969 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
57971         * po/ru.po: Update from translation team.
57972         * po/vi.po: Likewise.
57974 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57976         * resolv/nss_dns/dns-host.c: Merge copyright years.
57978 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57980         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57981         Optimize memcpy with prefetch if
57982         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
57983         src, dst pointers have unequal 16 byte alignments.
57985 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57987         [BZ #13928]
57988         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
57989         from a CNAME entry and return the minimum ttl for the query.
57990         (gaih_getanswer_slice): Likewise.
57992 2012-03-30  Jeff Law  <law@redhat.com>
57994         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
57995         due to long keys.
57996         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
57997         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
57999         * resolv/nss_dns/dns-host.c: Update copyright year.
58001 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
58003         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
58004         requests to save a system call.  Fix check that all bytes are sent.
58006         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
58007         comments for sendmmsg.
58009 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58011         [BZ #13691]
58012         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
58013         with only 1 character between 0x0041 and 0x01b0.
58014         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
58015         * wcsmbs/tst-mbsnrtowcs.c: New file.
58017 2012-03-29  David S. Miller  <davem@davemloft.net>
58019         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
58020         small copies by hand.
58022 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58024         [BZ #13761]
58025         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
58026         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
58027         group memberships.
58029 2012-03-28  David S. Miller  <davem@davemloft.net>
58031         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
58032         that branches into memcpy.
58033         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58034         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
58035         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
58036         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
58037         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
58038         bits.
58039         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
58040         implementation too.
58041         * sysdeps/sparc/mempcpy.S: New file.
58043         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
58044         the IFUNC routine in the libc case.
58045         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58047         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
58048         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
58049         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
58050         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
58051         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
58052         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
58053         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
58054         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
58056         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
58057         loop to 256 bytes instead of 64 bytes and fix test signedness.
58059         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
58060         * sysdeps/sparc/sparc32/Makefile: rather than here...
58061         * sysdeps/sparc/sparc64/Makefile: and here.
58063 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
58065         * malloc/mallocbug.c: Avoid warnings about unused variables.
58067 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58069         [BZ #13760]
58070         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
58071         in the right place. Discard and retry query if response is
58072         larger than input buffer size.
58074 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
58076         [BZ #369]
58077         [BZ #2678]
58078         [BZ #3866]
58079         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
58080         x for large integer exponent.
58081         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
58082         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
58083         sign of result as needed afterwards.
58084         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
58085         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
58086         result for underflowing pow the same as for overflow.
58087         (__kernel_standard_l): Handle powl overflow and underflow here
58088         rather than calling __kernel_standard.
58089         * math/libm-test.inc (pow_test): Add more tests.
58091         [BZ #3868]
58092         [BZ #13879]
58093         [BZ #13910]
58094         [BZ #13911]
58095         [BZ #13912]
58096         [BZ #13913]
58097         [BZ #13915]
58098         [BZ #13916]
58099         [BZ #13917]
58100         [BZ #13918]
58101         [BZ #13919]
58102         [BZ #13920]
58103         [BZ #13921]
58104         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
58105         * sysdeps/ieee754/k_standard.c: Include <float.h>.
58106         (__kernel_standard_l): New function.
58107         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
58108         __kernel_standard.
58109         * math/w_acosl.c (__acosl): Likewise.
58110         * math/w_asinl.c (__asinl): Likewise.
58111         * math/w_atan2l.c (__atan2l): Likewise.
58112         * math/w_atanhl.c (__atanhl): Likewise.
58113         * math/w_coshl.c (__coshl): Likewise.
58114         * math/w_exp10l.c (__exp10l): Likewise.
58115         * math/w_exp2l.c (__exp2l): Likewise.
58116         * math/w_fmodl.c (__fmodl): Likewise.
58117         * math/w_hypotl.c (__hypotl): Likewise.
58118         * math/w_j0l.c (__j0l, __y0l): Likewise.
58119         * math/w_j1l.c (__j1l, __y1l): Likewise.
58120         * math/w_jnl.c (__jnl, __ynl): Likewise.
58121         * math/w_lgammal.c (__lgammal): Likewise.
58122         * math/w_log10l.c (__log10l): Likewise.
58123         * math/w_log2l.c (__log2l): Likewise.
58124         * math/w_logl.c (__logl): Likewise.
58125         * math/w_powl.c (__powl): Likewise.
58126         * math/w_remainderl.c (__remainderl): Likewise.
58127         * math/w_scalbl.c (sysv_scalbl): Likewise.
58128         * math/w_sinhl.c (__sinhl): Likewise.
58129         * math/w_sqrtl.c (__sqrtl): Likewise.
58130         * math/w_tgammal.c (__tgammal): Likewise.
58131         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
58132         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
58133         * math/libm-test.inc (acos_test): Add more tests.
58134         (acosh_test): Likewise.
58135         (asin_test): Likewise.
58136         (atanh_test): Likewise.
58137         (exp_test): Likewise.
58138         (exp10_test): Likewise.
58139         (exp2_test): Likewise.
58140         (expm1_test): Likewise.
58141         (lgamma_test): Likewise.
58142         (log_test): Likewise.
58143         (log10_test): Likewise.
58144         (log1p_test): Likewise.
58145         (log2_test): Likewise.
58146         (pow_test): Do not allow some spurious overflow exceptions.
58147         (sqrt_test): Add more tests.
58148         (tgamma_test): Likewise.
58149         (y0_test): Likewise.
58150         (y1_test): Likewise.
58151         (yn_test): Likewise.
58153 2012-03-27  Anton Blanchard  <anton@samba.org>
58155         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
58156         MAP_HUGETLB.
58157         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58158         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58159         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58161 2012-03-27  David S. Miller  <davem@davemloft.net>
58163         * conform/Makefile: Run run-conformtest.sh using $(BASH).
58165         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
58166         have-as-vis3 check.
58168 2012-03-27  Andreas Jaeger  <aj@suse.de>
58170         * sysdeps/x86_64/elf/configure.in: Moved to ...
58171         * sysdeps/x86_64/configure.in: ... here.
58172         * sysdeps/x86_64/elf/start.S: Moved to ...
58173         * sysdeps/x86_64/start.S: ... here.
58174         * sysdeps/x86_64/elf/configure: Delete.
58176         * sysdeps/x86_64/configure.in: Merge contents from
58177         sysdeps/i386/configure.in (without i686 check).
58179         * sysdeps/i386/elf/Versions: Merge into ...
58180         * sysdeps/i386/Versions: ... this.
58181         * sysdeps/i386/elf/Versions: Delete file.
58182         * sysdeps/i386/elf/start.S: Moved to ...
58183         * sysdeps/i386/start.S: ...here.
58184         * sysdeps/i386/elf/configure.in: Merge into...
58185         * sysdeps/i386/configure.in: ...here.
58186         * sysdeps/i386/elf/configure.in: Delete file.
58187         * sysdeps/i386/elf/configure: Delete file.
58189         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
58190         * debug/backtracesyms.c: ... here.
58191         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
58192         * debug/backtracesymsfd.c: ... here.
58193         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
58194         * sysdeps/generic/ifunc-sel.h: ... here.
58196         * sysdeps/unix/i386/start.c: Delete file.
58197         * sysdeps/unix/sparc/start.c: Delete file.
58198         * sysdeps/unix/start.c: Delete file.
58200         * sysdeps/sh/elf/configure.in: Moved to ...
58201         * sysdeps/sh/configure.in: ... here.
58202         * sysdeps/sh/elf/start.S: Moved to ...
58203         * sysdeps/sh/start.S: ... here.
58204         * sysdeps/sh/elf/configure: Delete file.
58206         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
58207         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
58208         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
58209         * sysdeps/powerpc/powerpc64/entry.h: ... here.
58210         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
58211         * sysdeps/powerpc/powerpc64/start.S: here.
58212         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
58213         * sysdeps/powerpc/powerpc64/Makefile: ... this.
58214         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
58215         * sysdeps/powerpc/powerpc64/configure.in: ... this.
58216         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
58218         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
58219         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
58220         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
58221         * sysdeps/powerpc/powerpc32/start.S: ... here.
58222         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
58223         * sysdeps/powerpc/powerpc32/configure.in: ... this.
58224         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
58226         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
58227         * sysdeps/powerpc/ifunc-sel.h: ... here.
58228         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
58229         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
58231         * sysdeps/sparc/elf/configure.in: Moved to ...
58232         * sysdeps/sparc/configure.in: ... here.
58233         * sysdeps/sparc/elf/configure: Delete file.
58234         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
58235         * sysdeps/sparc/sparc32/start.S: ... here.
58236         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
58237         * sysdeps/sparc/sparc64/start.S: ... here.
58238         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
58239         * sysdeps/sparc/sparc32/Makefile: ... this.
58240         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
58241         * sysdeps/sparc/sparc64/Makefile: ... this.
58243         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
58244         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
58245         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
58246         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
58247         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
58248         * sysdeps/s390/s390-32/setjmp.S: ... here.
58249         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
58250         * sysdeps/s390/s390-32/configure.in: ... here.
58251         * sysdeps/s390/s390-32/elf/configure: Delete file.
58252         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
58253         * sysdeps/s390/s390-32/start.S: ... here.
58255         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
58256         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
58257         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
58258         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
58259         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
58260         * sysdeps/s390/s390-64/setjmp.S: ... here.
58261         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
58262         * sysdeps/s390/s390-64/configure.in: ... here
58263         * sysdeps/s390/s390-64/elf/configure: Delete file.
58264         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
58265         * sysdeps/s390/s390-64/start.S: ... here.
58266         * sysdeps/s390/s390-64/elf/configure: Delete.
58268         * configure.in: Remove support for elf directories in sysdeps.
58270         * configure: Regenerated.
58271         * sysdeps/i386/configure: Regenerated.
58272         * sysdeps/powerpc/powerpc32/configure: Regenerated.
58273         * sysdeps/powerpc/powerpc64/configure: Regenerated.
58274         * sysdeps/s390/s390-32/configure: Regenerated.
58275         * sysdeps/s390/s390-64/configure: Regenerated.
58276         * sysdeps/sh/configure: Regenerated.
58277         * sysdeps/sparc/configure: Regenerated.
58278         * sysdeps/x86_64/configure: Regenerated.
58280 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
58282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58284         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
58285         denormal result into account.
58287 2012-03-25  Roland McGrath  <roland@hack.frob.com>
58289         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
58290         Reported by Allan McRae <allan@archlinux.org>.
58292 2012-03-23  Jeff Law  <law@redhat.com>
58294         * nss/getnssent.c (__nss_getent): Fix typo.
58296 2012-03-23  David S. Miller  <davem@davemloft.net>
58298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58300 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
58302         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
58303         to pad to uint64_t for each field.
58304         (dl_tls_index): Replace unsigned long with uint64_t.
58306 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
58307         Paul Pluzhnikov  <ppluzhnikov@google.com>
58309         [BZ #6528]
58310         * grp/Makefile (otherlibs): Don't set it.
58311         * inet/Makefile (otherlibs): Likewise.
58312         * login/Makefile (otherlibs): Likewise.
58313         * nscd/Makefile (otherlibs): Likewise.
58314         * posix/Makefile (otherlibs): Likewise.
58315         * pwd/Makefile (otherlibs): Likewise.
58316         * rt/Makefile (otherlibs): Likewise.
58317         * sunrpc/Makefile (otherlibs): Likewise.
58318         * nss/Makefile (otherlibs): Likewise.
58319         Add libnss_files to routines and static-only-routines.
58320         ($(objpfx)getent): Remove rule.
58321         * resolv/Makefile: Add libnss_dns and libresolv to routines and
58322         static-only-routines.
58324 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
58326         [BZ #13892]
58327         * math/s_cexp.c: Include <float.h>.
58328         (__cexp): Handle exp result overflowing not necessarily
58329         overflowing both real and imaginary parts of result.
58330         * math/s_cexpf.c: Likewise.
58331         * math/s_cexpl.c: Likewise.
58332         * math/libm-test.inc (cexp_test): Add more tests.
58333         * sysdeps/i386/fpu/libm-test-ulps: Update.
58334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58336 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58338         * include/link.h (ELFW): New macro.
58339         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
58340         Replace ELF64_R_TYPE with ELFW(R_TYPE).
58342 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58344         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
58345         with uint64_t.
58347 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58349         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
58350         declaration.
58351         (struct La_x32_retval): Likewise.
58353 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58355         * sysdeps/x86_64/preconfigure.in: New file.
58356         * sysdeps/x86_64/preconfigure: New generated file.
58358 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
58360         [BZ #13824]
58361         * math/e_exp2l.c: Include <float.h>.
58362         (__ieee754_exp2l): Handle overflow and underflow cases
58363         separately.  Only pass fractional part of argument to
58364         __ieee754_expl.
58365         * math/libm-test.inc (exp2_test): Add more tests.
58367         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
58368         negating x to take absolute value.
58369         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
58370         Likewise.
58371         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
58372         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
58373         Likewise.
58374         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
58375         computing low part if x was negated.
58376         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
58378 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58380         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
58381         la_x32_gnu_pltexit.
58382         (pltexit): Cast int_retval to ptrdiff_t.
58383         * elf/tst-auditmod3b.c: Likewise.
58384         * elf/tst-auditmod4b.c: Likewise.
58385         * elf/tst-auditmod5b.c: Likewise.
58386         * elf/tst-auditmod6b.c: Likewise.
58387         * elf/tst-auditmod6c.c: Likewise.
58388         * elf/tst-auditmod7b.c: Likewise.
58390         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
58391         and x32_gnu_pltexit.
58393         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
58394         __ELF_NATIVE_CLASS.
58395         (La_x32_regs): New macro.
58396         (La_x32_retval): Likewise.
58397         (la_x32_gnu_pltenter): New function prototype.
58398         (la_x32_gnu_pltexit): Likewise.
58400 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
58402         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
58403         exponent.
58405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58407         * configure.in (libc_cv_cc_nofma): Check for option to disable
58408         generation of FMA instructions.
58409         * configure: Regenerate.
58410         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
58411         * sysdeps/ieee754/dbl-64/Makefile: New file.
58412         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
58413         Remove brandred-fma4.
58414         (CFLAGS-brandred-fma4.c): Remove.
58415         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
58416         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
58417         define.
58418         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
58419         define.
58421 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58423         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58424         LLONG_MAX != LONG_MAX.
58425         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58426         (_fitoa_word): Likewise.
58427         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
58428         LLONG_MAX != LONG_MAX.
58429         * stdio-common/_itowa.h: Include <_itoa.h>.
58430         (_itowa_word): Use _ITOA_WORD_TYPE on value.
58431         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
58432         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
58433         only if not defined.
58434         (_ITOA_WORD_TYPE): Likewise.
58435         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58436         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
58438 2012-03-21  David S. Miller  <davem@davemloft.net>
58440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58442 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58444         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
58445         of x86_64 when setting libc_cv_slibdir, libdir and
58446         libc_cv_localedir.
58447         * sysdeps/unix/sysv/linux/configure: Regenerated.
58449 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58451         * manual/lang.texi (Old Varargs): Remove section.
58452         (How Variadic): Update menu.
58453         (va_start): Do not mention varargs.h.
58455 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58456             Joseph Myers  <joseph@codesourcery.com>
58458         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
58459         link test.
58460         * configure: Regenerated.
58462 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58464         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
58465         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
58466         conformtest.pl
58468 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58470         * NOTES: Remove.
58471         * Makefile (files-for-dist): Remove NOTES.
58472         (NOTES): Remove rule.
58473         * README: Don't refer to NOTES.
58474         * manual/creature.texi: Don't include macros.texi.
58475         * manual/intro.texi (creature.texi): Remove comment referring to
58476         NOTES.
58478         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
58479         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
58480         * configure: Regenerated.
58481         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
58482         LIBC_TRY_CC_OPTION.
58483         (libc_cv_as_i686): Likewise.
58484         (libc_cv_cc_avx): Likewise.
58485         (libc_cv_cc_sse2avx): Likewise.
58486         (libc_cv_cc_fma4): Likewise.
58487         (libc_cv_cc_novzeroupper): Likewise.
58488         * sysdeps/i386/configure: Regenerated.
58490         [BZ #13883]
58491         * sysdeps/i386/fpu/s_cexp.S: Remove.
58492         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58493         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58494         * math/libm-test.inc (cexp_test): Add more tests.
58495         * sysdeps/i386/fpu/libm-test-ulps: Update.
58496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58498 2012-03-21  Allan McRae  <allan@archlinux.org>
58500         * timezone/Makefile: Do not install iso3166.tab and zone.tab
58502 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58504         [BZ #13871]
58505         * math/w_exp2.c: Do not include <float.h>.
58506         (o_threshold, u_threshold): Remove.
58507         (__exp2): Calculate result before checking finiteness and calling
58508         __kernel_standard.
58509         * math/w_exp2f.c: Likewise.
58510         * math/w_exp2l.c: Likewise.
58511         * math/libm-test.inc (exp2_test): Require overflow exception for
58512         1e6 input.
58514         [BZ #3866]
58515         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
58516         range of signed 64-bit integers before using fistpll.  Remove
58517         checks for whether integers fit in mantissa bits.
58518         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
58519         the range of signed 32-bit integers before using fistpl.  Remove
58520         checks for whether integers fit in mantissa bits.
58521         * sysdeps/i386/fpu/e_powl.S (p64): New object.
58522         (__ieee754_powl): Test for y outside the range of signed 64-bit
58523         integers before using fistpll.  Reduce 64-bit values to 63-bit
58524         ones as needed.
58525         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
58526         divide-by-zero is raised for zero to large negative powers.
58527         * sysdeps/x86_64/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         * math/libm-test.inc (pow_test): Add more tests.
58533 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58535         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
58536         <stdio-common/_itoa.h>.
58537         * debug/segfault.c: Likewise.
58538         * elf/dl-cache.c: Likewise.
58539         * elf/dl-minimal.c: Likewise.
58540         * elf/dl-misc.c: Likewise.
58541         * elf/dl-sysdep.c: Likewise.
58542         * elf/dl-version.c: Likewise.
58543         * elf/rtld.c: Likewise.
58544         * hurd/hurdsock.c: Likewise.
58545         * hurd/lookup-retry.c: Likewise.
58546         * malloc/malloc.c: Likewise.
58547         * malloc/mtrace.c: Likewise.
58548         * nscd/nscd_getgr_r.c: Likewise.
58549         * nscd/nscd_getpw_r.c: Likewise.
58550         * nscd/nscd_getserv_r.c: Likewise.
58551         * posix/getopt_init.c: Likewise.
58552         * posix/wordexp.c: Likewise.
58553         * stdio-common/_itoa.c: Likewise.
58554         * stdio-common/printf_fphex.c: Likewise.
58555         * stdio-common/vfprintf.c: Likewise.
58556         * string/_strerror.c: Likewise.
58557         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
58558         * sysdeps/i386/i686/hp-timing.h: Likewise.
58559         * sysdeps/mach/_strerror.c: Likewise.
58560         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
58561         * sysdeps/mach/hurd/sethostid.c: Likewise.
58562         * sysdeps/mach/hurd/xmknodat.c: Likewise.
58563         * sysdeps/mach/xpg-strerror.c: Likewise.
58564         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58565         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58566         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
58567         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
58568         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58569         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
58570         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
58571         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
58572         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
58573         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
58574         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
58575         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58576         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
58577         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58578         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58579         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
58580         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
58581         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
58582         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
58583         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
58584         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
58586         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
58588         * stdio-common/_itoa.h: Moved to ...
58589         * sysdeps/generic/_itoa.h: Here.
58591         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
58593         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
58594         instead of "_itoa.h" and "_itowa.h".
58595         * stdio-common/vfprintf.: Likewise.
58597 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58599         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
58600         <bits/wordsize.h>.
58601         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
58602         (__signbit): Likwise.
58603         (llrintf): Likwise.
58604         (llrint): Likwise.
58606 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58608         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
58609         __WORDSIZE != 64.
58611 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
58613         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
58614         OVERFLOW_EXCEPTION_OK.
58615         * math/libm-test.inc ("Philosophy"): Update comment about
58616         exception testing.
58617         (OVERFLOW_EXCEPTION): Define.
58618         (OVERFLOW_EXCEPTION_OK): Likewise.
58619         (INVALID_EXCEPTION_OK): Renumber.
58620         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58621         (IGNORE_ZERO_INF_SIGN): Likewise.
58622         (test_exceptions): Handle FE_OVERFLOW.
58623         (exp10_test): Expect overflow exceptions.
58624         (exp2_test): Likewise.
58625         (expm1_test): Likewise.
58626         (nextafter_test): Likewise.
58627         (pow_test): Likewise.
58628         (scalbn_test): Likewise.
58629         (scalbln_test): Likewise.
58631 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58633         * sysdeps/x86_64/bits/atomic.h
58634         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
58635         64bit integer.
58636         (atomic_exchange_acq): Likewise.
58637         (__arch_exchange_and_add_body): Likewise.
58638         (__arch_add_body): Likewise.
58639         (atomic_add_negative): Likewise.
58640         (atomic_add_zero): Likewise.
58642 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58644         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
58645         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
58647 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58649         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
58650         Check __x86_64__ instead of __WORDSIZE.
58652 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58654         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
58656 2012-03-19  David S. Miller  <davem@davemloft.net>
58658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58660         * sysdeps/sparc/fpu/fenv_private.h: New file.
58661         * sysdeps/sparc/fpu/math_private.h: Use it.
58662         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
58663         Remove.
58664         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
58665         (libc_feholdexcept_setroundl): Remove.
58666         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
58667         Remove.
58668         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
58669         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
58671 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58673         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
58674         int64_t instead of long int.
58675         (INSERT_WORDS64): Likwise.
58677 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58679         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
58680         _Unwind_GetCFA return to _Unwind_Ptr first.
58682 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
58684         [BZ #13629]
58685         * math/s_clog.c: Include <float.h>.
58686         (__clog): Scale large or subnormal inputs.
58687         * math/s_clogf.c: Likewise.
58688         * math/s_clogl.c: Likewise.
58689         * math/s_clog10.c: Include <float.h>.
58690         (M_LOG10_2): Define.
58691         (__clog10): Scale large or subnormal inputs.
58692         * math/s_clog10f.c: Likewise.
58693         * math/s_clog10l.c: Likewise.
58694         * math/libm-test.inc (clog_test): Add more tests.
58695         (clog10_test): Likewise.
58696         * sysdeps/i386/fpu/libm-test-ulps: Update.
58697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58699         [BZ #11451]
58700         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
58701         x and y.
58702         * math/libm-test.inc (atan2_test): Add another test.
58704         * Makerules (common-objdir-compile): Remove.
58705         * sysdeps/unix/Makefile (config-generated): Do not add
58706         $(unix-generated) to variable.
58707         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
58708         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
58709         Remove rule.
58710         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
58711         Likewise.
58712         [generic bits/local_lim.h] (before-compile): Do not append to
58713         variable.
58714         [generic bits/local_lim.h] (common-generated): Likewise.
58715         [generic sys/param.h] (before-compile): Do not append to variable.
58716         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
58717         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
58718         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
58719         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
58720         include.
58721         [generic sys/param.h] (sys/param.h-includes): Remove variable.
58722         [generic sys/param.h] (sys/param.h-includes): Remove rule.
58723         [generic sys/param.h] ($(addprefix
58724         $(common-objpfx),$(sys/param.h-includes))): Likewise.
58725         [generic sys/param.h] (common-generated): Do not append to
58726         variable.
58727         [generic sys/param.h] (sysdep_headers): Likewise.
58728         [generic bits/errno.h] (before-compile): Do not append to
58729         variable.
58730         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
58731         rule.
58732         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
58733         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
58734         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
58735         [generic bits/errno.h] (common-generated): Do not append to
58736         variable.
58737         [generic bits/ioctls.h] (before-compile): Do not append to
58738         variable.
58739         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
58740         rule.
58741         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
58742         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
58743         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
58744         rule.
58745         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
58746         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
58747         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
58748         [generic bits/ioctls.h] (common-generated): Do not append to
58749         variable.
58750         [generic sys/syscall.h] (syscall.h): Remove variable.
58751         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
58752         rule.
58753         [generic sys/syscall.h] (before-compile): Do not append to
58754         variable.
58755         [generic sys/syscall.h] (common-generated): Likewise.
58756         * sysdeps/unix/errnos-tmpl.c: Remove file.
58757         * sysdeps/unix/errnos.awk: Likewise.
58758         * sysdeps/unix/ioctls-tmpl.c: Likewise.
58759         * sysdeps/unix/ioctls.awk: Likewise.
58760         * sysdeps/unix/mk-local_lim.c: Likewise.
58761         * sysdeps/unix/snarf-ioctls: Likewise.
58763 2012-03-19  Richard Henderson  <rth@twiddle.net>
58765         * sysdeps/i386/fpu/fenv_private.h: New file.
58766         * sysdeps/i386/fpu/math_private.h: Use it.
58767         (math_opt_barrier, math_force_eval): Remove.
58768         (libc_feholdexcept_setround_53bit): Remove.
58769         (libc_feupdateenv_53bit): Remove.
58770         * sysdeps/x86_64/fpu/math_private.h: Likewise.
58771         (math_opt_barrier, math_force_eval): Remove.
58772         (libc_feholdexcept): Remove.
58773         (libc_feholdexcept_setround): Remove.
58774         (libc_fetestexcept, libc_fesetenv): Remove.
58775         (libc_feupdateenv_test): Remove.
58776         (libc_feupdateenv, libc_feholdsetround): Remove.
58777         (libc_feresetround): Remove.
58779         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
58780         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
58782         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
58783         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
58784         (libc_feupdateenv_testl): New.
58785         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
58786         (libc_feupdateenv_testf): New.
58787         (libc_feupdateenv): Use libc_feupdateenv_test.
58788         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
58789         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
58791         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
58792         (libc_feholdsetroundf, libc_feholdsetroundl): New.
58793         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
58794         (libc_feresetround_noex): New.
58795         (libc_feresetround_noexf): New.
58796         (libc_feresetround_noexl): New.
58797         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
58798         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
58799         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
58800         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
58801         SET_RESTORE_ROUND.
58802         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58803         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
58804         (__cos): Likewise.
58805         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
58806         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
58807         SET_RESTORE_ROUND_NOEX.
58808         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
58809         SET_RESTORE_ROUND_NOEXF.
58810         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
58811         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
58812         (libc_feholdsetroundf): New.
58813         (libc_feresetround, libc_feresetroundf): New.
58815         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
58816         (libc_feholdexcept_setround_53bit): Convert from macro to function.
58817         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
58819         * sysdeps/generic/math_private.h: Include <fenv.h>.
58820         (default_libc_feholdexcept): New.
58821         (default_libc_feholdexcept_setround): New.
58822         (default_libc_fesetenv, default_libc_feupdateenv): New.
58823         (libc_feholdexcept): Only define if undefined.
58824         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
58825         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
58826         (libc_feholdexcept_setroundl): Likewise.
58827         (libc_feholdexcept_setround_53bit): Likewise.
58828         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
58829         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
58830         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
58831         (libc_feupdateenv_53bit): Likewise.
58832         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
58833         (libc_feholdexcept): Convert from macro to inline function.
58834         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
58835         (libc_fesetenv, libc_feupdateenv): Likewise.
58837         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
58838         not previously defined.
58839         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
58840         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
58841         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
58842         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
58843         * sysdeps/ieee754/flt-32/math_private.h: New file.
58844         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
58845         math_private.h below SET_FLOAT_WORD.
58846         (__isnan, __isinf_ns, __finite): Remove.
58847         (__isnanf, __isinf_nsf, __finitef): Remove.
58849 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
58851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58853 2012-03-17  David S. Miller  <davem@davemloft.net>
58855         [BZ #6471]
58856         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
58857         for 2.16.
58859 2012-03-16  David S. Miller  <davem@davemloft.net>
58861         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
58862         warnings.
58864         [BZ #6471]
58865         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
58866         properly.
58867         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
58868         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
58869         sysdep_routines when subdir is sysvipc.
58870         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
58871         __getshmlba helper.
58873         * sysdeps/sparc/fpu/libm-test/ulps: Update.
58875 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58877         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
58878         [__LP64__].
58880 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58882         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
58883         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
58884         (__lround): Renamed to ...
58885         (__llround): This.  Replace long int with long long int.
58886         Define lround functions as aliases of llround functions.
58887         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
58889 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58891         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
58892         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
58893         adresses to uintptr_t.  Replace "long int" and "unsigned long
58894         int" with "greg_t" on va_arg.
58896 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58898         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
58899         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
58901         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
58902         Move e_machine check before EI_CLASS check.  Handle x32
58903         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
58904         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
58905         SKIP_EM_IA_64 and include
58906         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
58908         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
58909         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
58910         (add_system_dir): New macro.
58912         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
58913         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
58915 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
58917         [BZ #2551]
58918         [BZ #2552]
58919         [BZ #2553]
58920         [BZ #2554]
58921         [BZ #2562]
58922         [BZ #2563]
58923         [BZ #2565]
58924         [BZ #2566]
58925         [BZ #2576]
58926         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
58927         (y0): Likewise.
58928         * math/w_j0f.c (j0f): Likewise.
58929         (y0f): Likewise.
58930         * math/w_j0l.c (__j0l): Likewise.
58931         (__y0l): Likewise.
58932         * math/w_j1.c (j1): Likewise.
58933         (y1): Likewise.
58934         * math/w_j1f.c (j1f): Likewise.
58935         (y1f): Likewise.
58936         * math/w_j1l.c (__j1l): Likewise.
58937         (__y1l): Likewise.
58938         * math/w_jn.c (jn): Likewise.
58939         (yn): Likewise.
58940         * math/w_jnf.c (jnf): Likewise.
58941         (ynf): Likewise.
58942         * math/w_jnl.c (__jnl): Likewise.
58943         (__ynl): Likewise.
58944         * math/libm-test.inc (j0_test): Add more tests.
58945         (j1_test): Likewise.
58946         (jn_test): Likewise.  Add trailing semicolon to existing test.
58947         (y0_test): Likewise.
58948         (y1_test): Likewise.
58949         * sysdeps/i386/fpu/libm-test-ulps: Update.
58950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58952         [BZ #13851]
58953         [BZ #13854]
58954         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
58955         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
58956         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
58957         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
58958         (__tanl): Set errno for infinite argument.
58959         * sysdeps/i386/fpu/mptan.c: Remove.
58960         * sysdeps/i386/fpu/s_tan.S: Likewise.
58961         * sysdeps/i386/fpu/s_tanl.S: Likewise.
58962         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
58963         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
58964         * math/libm-test.inc (tan_test): Add more tests and enable more
58965         tests for double and long double.
58966         * sysdeps/i386/fpu/libm-test-ulps: Update.
58967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58969 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
58971         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
58972         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
58974 2012-03-16  Roland McGrath  <roland@hack.frob.com>
58976         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
58977         * configure.in: Use it for both main tree and add-ons.
58978         * configure: Regenerated.
58980 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58982         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
58984 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
58986         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
58987         in comment.
58989         [BZ #13851]
58990         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
58991         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
58992         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
58993         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
58994         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
58995         infinite argument.
58996         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
58997         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
58998         != 0 for prec == 2.
58999         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
59000         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
59001         * sysdeps/i386/fpu/s_cosl.S: Likewise.
59002         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
59003         * sysdeps/i386/fpu/s_sinl.S: Likewise.
59004         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
59005         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
59006         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
59007         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
59008         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
59009         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
59010         * math/libm-test.inc (cos_test): Add more tests and enable more
59011         tests for long double.
59012         (sin_test): Likewise.
59013         (sincos_test): Likewise.
59014         * sysdeps/i386/fpu/libm-test-ulps: Update.
59015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59017 2012-03-16  David S. Miller  <davem@davemloft.net>
59019         * sysdeps/sparc/fpu/math_private.h: New file.
59021 2012-03-15  David S. Miller  <davem@davemloft.net>
59023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
59024         file.
59025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
59026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
59027         file.
59028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
59029         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
59030         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
59031         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
59032         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
59033         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
59034         sysdep routines.
59035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
59037         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
59038         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
59040         * sysdeps/sparc/sparc-ifunc.h: New file.
59041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
59042         sparc-ifunc.h
59043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
59045         Likewise.
59046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
59047         Likewise.
59048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
59049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
59050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59052         Likewise.
59053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
59055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
59057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
59058         Likewise.
59059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
59060         Likewise.
59061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
59063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
59064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
59065         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59066         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59067         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
59068         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
59069         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59071         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
59072         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
59073         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
59074         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
59075         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
59076         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
59077         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
59078         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
59079         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
59080         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
59081         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
59082         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
59083         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
59084         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
59086 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
59088         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
59089         scaling.
59090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59092 2012-03-15  Andreas Jaeger  <aj@suse.de>
59094         [BZ #13852]
59095         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
59096         ieee754/flt-32 implementation for sin, cos and sincos.
59097         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
59098         * sysdeps/i386/fpu/s_cosf.S: Likewise.
59099         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
59100         * sysdeps/i386/fpu/s_sinf.S: Likewise.
59101         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
59102         ieee754/flt-32 implementation for tan.
59104         * math/libm-test.inc (cos_test): Enable some large input tests for
59105         float as well
59106         (sin_test): Likewise.
59107         (sincos_test): Likewise.
59108         (tan_test): Add tests for large input.
59110         * sysdeps/i386/fpu/libm-test-ulps: Update.
59112 2012-03-15  Andreas Jaeger  <aj@suse.de>
59114         [BZ #13658]
59115         * math/libm-test.inc (cos_test): Add more test cases.
59116         (sin_test): Likewise.
59117         (sincos_test): Likewise.
59119 2012-03-15  Andreas Jaeger  <aj@suse.de>
59121         [BZ #13837]
59122         * math/libm-test.inc (cos_test): Add a test case for large input
59123         value.
59124         (sin_test): Likewise.
59125         (sincos_test): Likewise.
59127 2012-03-15  Andreas Jaeger  <aj@suse.de>
59128             Joseph Myers  <joseph@codesourcery.com>
59130         [BZ #13658]
59131         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
59132         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
59133         * sysdeps/i386/fpu/branred.c: Likewise.
59134         * sysdeps/i386/fpu/dosincos.c: Likewise.
59135         * sysdeps/i386/fpu/mpa.c: Likewise.
59136         * sysdeps/i386/fpu/s_cos.S: Likewise.
59137         * sysdeps/i386/fpu/s_sin.S: Likewise.
59138         * sysdeps/i386/fpu/s_sincos.S: Likewise.
59139         * sysdeps/i386/fpu/sincos32.c: Likewise.
59141         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
59142         Define.
59143         (libc_feupdateenv_53bit): Define.
59144         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
59145         Define.
59146         (libc_feupdateenv_53bit): Define.
59148         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
59149         53 bit (without extend i386 double precision).
59151         * math/libm-test.inc (sincos_test): Add tests for large input.
59152         (sin): Likewise.
59153         (cos): Likewise.
59155         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
59157 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
59159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59161 2012-03-15  David S. Miller  <davem@davemloft.net>
59163         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
59164         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
59165         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
59166         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
59167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
59168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
59169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
59170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
59171         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
59172         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
59173         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
59174         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
59175         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
59176         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
59177         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
59178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
59179         file.
59180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
59181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
59182         file.
59183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
59184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
59185         file.
59186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
59187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
59188         file.
59189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
59190         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
59191         fmin/fmax sysdep routines.
59192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
59194 2012-03-14  David S. Miller  <davem@davemloft.net>
59196         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
59197         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
59198         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
59199         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
59200         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
59201         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
59202         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
59203         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
59204         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
59205         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
59206         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
59207         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
59208         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
59209         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
59210         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
59211         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
59212         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
59213         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
59214         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
59215         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
59216         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
59217         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
59218         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
59219         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
59220         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
59221         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
59222         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
59223         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
59224         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
59225         routines.
59226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
59227         file.
59228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
59229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
59230         file.
59231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
59232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
59233         file.
59234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
59235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
59236         file.
59237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
59238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
59239         file.
59240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
59241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
59242         file.
59243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
59244         file.
59245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
59246         file.
59247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
59248         file.
59249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
59250         New file.
59251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
59252         file.
59253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
59254         file.
59255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
59256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
59257         file.
59258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
59259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
59260         file.
59261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
59262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
59263         file.
59264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
59265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
59266         VIS3 routines.
59268         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59269         New file.
59271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59273         * sysdeps/sparc/configure.in: New file.
59274         * sysdeps/sparc/configure: Generate.
59275         * configure.in (libc_cv_sparc_as_vis3): Substitute.
59276         * configure: Regenerate.
59277         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
59278         * config.make.in (have-as-vis3): New.
59279         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
59280         available use -Av9d instead of -Av9a.
59281         * sysdeps/sparc/sparc64/Makefile: Likewise.
59282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
59283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
59284         New file.
59285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
59286         file.
59287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
59288         New file.
59289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
59290         file.
59291         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
59292         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
59293         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
59294         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
59295         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
59297         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
59298         fzeros/fnegs to load 0x80000000 into a float register instead of
59299         using the stack.
59300         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
59302 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
59304         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59305         bits/syscall.h.
59306         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
59307         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
59308         ($(inst_includedir)/bits/syscall.h): Remove rule.
59309         ($(objpfx)bits/syscall.d): Include instead of
59310         $(objpfx)syscall-list.d.
59311         (generated): Change syscall-list.h and syscall-list.d to
59312         bits/syscall.h and bits/syscall.d.
59314 2012-03-14  Roland McGrath  <roland@hack.frob.com>
59316         [BZ #13846]
59317         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
59319 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
59321         [BZ #13841]
59322         * math/s_csqrt.c: Include <float.h>.
59323         (__csqrt): Scale large or subnormal inputs.
59324         * math/s_csqrtf.c: Likewise.
59325         * math/s_csqrtl.c: Likewise.
59326         * math/libm-test.inc (csqrt_test): Add more tests.
59327         * sysdeps/i386/fpu/libm-test-ulps: Update.
59328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59330         [BZ #13840]
59331         * math/libm-test.inc (hypot_test): Add more tests.
59333 2012-03-13  David S. Miller  <davem@davemloft.net>
59335         [BZ #13840]
59336         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
59337         double-precision for the calculation instead of scaling.
59339 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
59341         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
59342         manipulate bits before adding and subtracting TWO52[sx].
59343         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
59344         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
59345         Likewise.
59346         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
59348 2012-03-13  David S. Miller  <davem@davemloft.net>
59350         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
59351         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
59352         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
59353         rtld-global-offsets.h
59354         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59356         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
59357         large parameters.
59359         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
59361         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
59362         'err' in the ifdef scope in which it is actually used.
59364         * nss/nss_db/db-init.c: Include string.h
59366 2012-03-12  David S. Miller  <davem@davemloft.net>
59368         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59369         masking out of the most significant byte of random value used.
59370         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59371         Fix coding style in previous change.
59373         * sysdeps/unix/sysv/linux/kernel-features.h
59374         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
59375         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
59376         expression.
59377         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
59378         later.
59380 2012-03-11  David S. Miller  <davem@davemloft.net>
59382         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59383         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
59384         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
59385         for 'resultvar' otherwise things get truncated on 64-bit.
59387         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59388         Fix masking out of the most significant byte of random value used.
59390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59392 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
59394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59396 2012-03-09  David S. Miller  <davem@davemloft.net>
59398         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
59399         variables with appropriate CPP guards.
59400         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
59401         from the frame pointer, not the stack pointer.  Correct layout
59402         comments.  Fix test on resulting framesize and the management of
59403         the outregs buffer for pltexit.  Preserve floating point return
59404         values across _dl_call_pltexit call.
59405         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
59406         framesize and the management of the outregs buffer for pltexit.
59407         Preserve floating point return values across _dl_call_pltexit
59408         call.
59409         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
59410         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
59411         (la_sparc64_gnu_pltexit): New functions.
59412         (print_exit): Fix format string for return register value.
59414 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
59416         * sunrpc/Makefile (others): Add rpcgen.
59417         ($(objpfx)rpcgen): Remove special build rule and dependency on
59418         libc.
59419         * sunrpc/rpcgen.c: New file.
59421 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
59423         [BZ #13673]
59424         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
59425         * stdio-common/bug-vfprintf-nargs.c: Likewise.
59426         * sysdeps/i386/crti.S: Likewise.
59427         * sysdeps/i386/crtn.S: Likewise.
59428         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
59429         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
59430         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
59431         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
59432         * sysdeps/sh/crti.S: Likewise.
59433         * sysdeps/sh/crtn.S: Likewise.
59434         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59436         [BZ #13673]
59437         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
59438         with URL.
59439         * locale/programs/locfile-kw.gperf: Likewise.
59440         * locale/programs/charmap-kw.h: Regenerated.
59441         * locale/programs/locfile-kw.h: Likewise.
59443         [BZ #13673]
59444         * intl/plural.y: Replace FSF snail mail address with URL.
59445         * intl/plural.c: Regenerated.
59447 2012-03-09  Richard Henderson  <rth@twiddle.net>
59449         * include/math_private.h: Remove file.
59450         * math/math_private.h: Move file ...
59451         * sysdeps/generic/math_private.h: ... here.
59453         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
59454         * sysdeps/powerpc/fpu/math_private.h: Likewise.
59455         * sysdeps/x86_64/fpu/math_private.h: Likewise.
59457         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
59458         and <math_private.h>.
59459         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
59460         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
59461         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
59462         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
59463         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
59464         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
59465         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59466         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59467         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59468         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59469         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59470         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59471         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59472         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59473         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59474         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59475         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59476         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59477         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59478         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59479         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59480         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59481         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59482         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59483         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
59484         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59485         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59486         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59487         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59488         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59489         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59490         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59491         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
59492         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59493         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59494         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59495         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59496         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59497         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59498         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59499         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
59500         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59501         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
59502         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
59503         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
59504         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59505         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
59506         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
59507         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59508         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59509         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
59510         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
59511         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
59512         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59513         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
59514         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59515         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59516         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
59517         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
59518         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
59519         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59520         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59521         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59522         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59523         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
59524         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59525         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59526         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59527         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
59528         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
59529         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59530         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59531         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59532         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59533         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
59534         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
59535         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
59536         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59537         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
59538         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
59539         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59540         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
59541         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59542         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59543         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59544         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
59545         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
59546         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
59547         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59548         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59549         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59550         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59551         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59552         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59553         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59554         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59555         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59556         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59557         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59558         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59559         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59560         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59561         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59562         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59563         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59564         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59565         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59566         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59567         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59568         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59569         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59570         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59571         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59572         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59573         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
59574         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59575         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59576         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59577         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59578         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59579         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59580         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59581         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59582         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
59583         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59584         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59585         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59586         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
59587         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59588         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
59589         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
59590         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59591         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59592         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
59593         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
59594         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59595         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59596         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59597         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
59598         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59599         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59600         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59601         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59602         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
59603         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
59604         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59605         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59606         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59607         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
59608         * sysdeps/ieee754/k_standard.c: Likewise.
59609         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59610         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59611         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59612         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59613         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59614         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59615         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59616         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59617         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59618         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59619         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59620         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59621         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59622         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59623         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59624         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59625         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59626         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59627         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59628         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
59629         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
59630         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
59631         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59632         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59633         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59634         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
59635         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59636         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59637         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59638         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59639         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59640         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59641         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59642         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59643         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59644         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59645         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59646         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
59647         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
59648         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59649         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59650         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59651         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59652         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59653         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59654         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59655         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59656         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59657         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59658         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59659         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59660         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59661         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59662         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
59663         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59664         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59665         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
59666         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
59667         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59668         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59669         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59670         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59671         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59672         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59673         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59674         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59675         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59676         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59677         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59678         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59679         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59680         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59681         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59682         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59683         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59684         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59685         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
59686         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59687         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59688         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59689         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59690         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59691         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59692         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59693         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
59694         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59695         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59696         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
59697         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59698         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59699         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
59700         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59701         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
59702         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59703         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59704         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59705         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
59706         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
59707         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
59708         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
59709         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59710         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59711         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59712         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59713         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
59714         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59715         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59716         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
59717         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
59718         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59719         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59720         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59721         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59722         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59723         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59724         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59725         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59726         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59727         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59728         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59729         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59730         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59731         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59732         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59733         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59734         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
59735         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59736         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59737         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59738         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59739         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59740         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59741         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59742         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59743         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59744         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59745         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
59746         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59747         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59748         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
59749         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
59750         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59751         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
59752         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
59753         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59754         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59755         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59756         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59757         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59758         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
59759         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59760         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59761         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59762         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59763         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
59764         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
59765         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59766         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59767         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59768         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59769         * sysdeps/ieee754/s_lib_version.c: Likewise.
59770         * sysdeps/ieee754/s_matherr.c: Likewise.
59771         * sysdeps/ieee754/s_signgam.c: Likewise.
59772         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59773         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59774         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
59775         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
59776         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
59777         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59778         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
59779         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
59780         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
59781         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
59782         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59783         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
59784         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59785         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59786         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
59787         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59788         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59789         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59790         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59791         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59792         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59794 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59796         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
59797         * sunrpc/rpc_main.c: Likewise.
59798         * sunrpc/rpc_svcout.c: Likewise.
59800 2012-03-09  David S. Miller  <davem@davemloft.net>
59802         * include/math_private.h: New file.
59804 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59806         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
59807         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
59808         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
59809         from <bits/socket_type.h>.
59810         (enum __socket_type): Don't define here.
59811         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
59812         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59813         bits/socket_type.h.
59815         [BZ #13566]
59816         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
59817         checking __USE_GNU.
59819         * Makerules ($(inst_includedir)/%.h): New rule.
59820         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
59821         (install-others): Remove variable setting.
59822         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
59824 2012-03-08  Richard Henderson  <rth@twiddle.net>
59826         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
59827         from macro to inline function; merge with the
59828         !__LIBC_INTERNAL_MATH_INLINES version.
59829         (__ieee754_sqrtf): Likewise.
59831         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
59832         to inline function.
59833         (__rintf, __floor, __floorf): Likewise.
59835         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
59836         macro to inline function.
59837         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
59839         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
59840         not <math/math_private.h>.
59842 2012-03-08  David S. Miller  <davem@davemloft.net>
59844         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
59845         copyright year.
59846         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
59848 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
59850         * resolv/gai_misc.c (handle_requests): Fix struct timespec
59851         normalization.
59852         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
59853         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
59855 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
59857         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
59858         be defined individually, they must be defined as a block.  Define
59859         S for printing a string instead of hidint the different by using a
59860         macro for adding the 'l'.
59861         * stdio-common/tst-fphex-wide.c: Adjust.
59863 2012-03-07  Marek Polacek  <polacek@redhat.com>
59865         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
59867 2012-03-08  Marek Polacek  <polacek@redhat.com>
59869         [BZ #13806]
59870         * stdio-common/Makefile (tests): Add tst-fphex-wide.
59871         * stdio-common/tst-fphex.c: Define a few macros to make the
59872         test reusable.  Use them.
59873         * stdio-common/tst-fphex-wide.c: New file.
59875 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
59877         [BZ #6911]
59878         * manual/macros.texi (gnusystems): New macro.
59879         (nongnusystems): Likewise.
59880         (gnulinuxhurdsystems): Likewise.
59881         (gnuhurdsystems): Likewise..
59882         (gnulinuxsystems): Likewise.
59883         * manual/charset.texi: Use new macros or @theglibc{} to refer to
59884         variants of the GNU system, not "GNU system".
59885         * manual/conf.texi: Likewise.
59886         * manual/errno.texi: Likewise.  Update example of errno macro
59887         expansion.
59888         * manual/filesys.texi: Likewise.
59889         (getumask): Document as specific to GNU/Hurd.
59890         * manual/install.texi: Likewise.  Reword some references to
59891         GNU/Linux.
59892         * manual/intro.texi: Likewise.
59893         * manual/io.texi: Likewise.
59894         (File Name Portability): Detail which constraints are inapplicable
59895         to all GNU systems and which are only inapplicable to GNU/Hurd.
59896         * manual/job.texi: Likewise.
59897         * manual/llio.texi: Likewise.
59898         (O_NOCTTY): Document as present on GNU/Linux.
59899         * manual/maint.texi: Likewise.
59900         * manual/memory.texi: Likewise.
59901         * manual/pattern.texi: Likewise.
59902         * manual/pipe.texi: Likewise.
59903         * manual/process.texi: Likewise.
59904         * manual/resource.texi: Likewise.
59905         (RUSAGE_CHILDREN): Remove statement about specifying a particular
59906         child on GNU/Hurd.
59907         * manual/setjmp.texi: Likewise.
59908         * manual/signal.texi: Likewise.
59909         * manual/startup.texi: Likewise.
59910         * manual/stdio.texi: Likewise.
59911         * manual/terminal.texi: Likewise.
59912         (ONLCR): Document as POSIX.
59913         (OXTABS): Document availability on GNU/Linux as XTABS.
59914         (ONOEOT): Document availability separately from other bits.
59915         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
59916         * manual/time.texi: Likewise.
59917         * manual/users.texi: Likewise.
59918         * INSTALL: Regenerated.
59919         * sysdeps/gnu/errlist.c: Regenerated.
59921         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
59922         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
59923         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
59924         puts.
59925         * configure: Regenerated.
59927 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
59929         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
59930         default includes instead of AC_HEADER_CHECK.
59931         * sysdeps/i386/configure: Regenerated.
59933         [BZ #10716]
59934         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
59935         * math/s_cacoshf.c (__cacoshf): Likewise.
59936         * math/s_cacoshl.c (__cacoshl): Likewise.
59937         * math/s_casinh.c (__casinh): Set signs of result from argument.
59938         * math/s_casinhf.c (__casinhf): Likewise.
59939         * math/s_casinhl.c (__casinhl): Likewise.
59940         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
59941         (casinh_test): Add more tests.
59942         * sysdeps/i386/fpu/libm-test-ulps: Update.
59943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59945 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
59947         * po/zh_TW.po: Update from translation team.
59949         * login/Makefile (distribute): Remove variable.
59950         * catgets/Makefile: Likewise.
59951         * mach/Makefile: Likewise.
59952         * malloc/Makefile: Likewise.
59953         * misc/Makefile: Likewise.
59954         * iconv/Makefile: Likewise.
59955         * nscd/Makefile: Likewise.
59956         * hurd/Makefile: Likewise.
59957         * manual/Makefile: Likewise.
59958         * locale/Makefile: Likewise.
59959         * intl/Makefile: Likewise.
59960         * conform/Makefile: Likewise.
59961         * nss/Makefile: Likewise.
59962         * time/Makefile: Likewise.
59963         * soft-fp/Makefile: Likewise.
59964         * dirent/Makefile: Likewise.
59965         * gmon/Makefile: Likewise.
59966         * po/Makefile: Likewise.
59967         * rt/Makefile: Likewise.
59968         * socket/Makefile: Likewise.
59969         * math/Makefile: Likewise.
59970         * signal/Makefile: Likewise.
59971         * debug/Makefile: Likewise.
59972         * elf/Makefile: Likewise.
59973         * timezone/Makefile: Likewise.
59974         * stdlib/Makefile: Likewise.
59975         * iconvdata/Makefile: Likewise.
59976         * sunrpc/Makefile: Likewise.
59977         * io/Makefile: Likewise.
59978         * argp/Makefile: Likewise.
59979         * inet/Makefile: Likewise.
59980         * hesiod/Makefile: Likewise.
59981         * grp/Makefile: Likewise.
59982         * csu/Makefile: Likewise.
59983         * wctype/Makefile: Likewise.
59984         * crypt/Makefile: Likewise.
59985         * libio/Makefile: Likewise.
59986         * string/Makefile: Likewise.
59987         * nis/Makefile: Likewise.
59988         * resolv/Makefile: Likewise.
59989         * stdio-common/Makefile: Likewise.
59990         * wcsmbs/Makefile: Likewise.
59991         * dlfcn/Makefile: Likewise.
59992         * posix/Makefile: Likewise.
59994         [BZ #6959]
59995         * timezone/Makefile: Don't install timezone files, just the programs
59996         and scripts.
59998 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
60000         * nss/databases.def: Add missing gshadow entry.
60002         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
60004 2012-03-06  Marek Polacek  <polacek@redhat.com>
60006         [BZ #13726]
60007         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
60008         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
60009         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
60010         * stdio-common/tst-long-dbl-fphex.c: New file.
60012 2012-03-06  David S. Miller  <davem@davemloft.net>
60014         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60015         (set_obp_int): New function.
60016         (get_obp_int): New function.
60017         (__get_clockfreq_via_dev_openprom): Likewise.
60018         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
60019         Avoid unused variable warnings on 'val' and use builtin_expect.
60020         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
60021         __builtin_expect.
60022         (INLINE_CLONE_SYSCALL): Likewise.
60024 2012-03-05  David S. Miller  <davem@davemloft.net>
60026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60028 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
60030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60032         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
60033         only for |x| >= 40.
60034         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60036 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
60038         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
60039         Replace gettimeofday with __vdso_gettimeofday.
60041         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60042         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
60043         __vdso_clock_gettime and __vdso_getcpu.
60045         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
60046         time with __vdso_time.
60048 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
60050         * manual/lang.texi (size_t): Note types to which size_t may be
60051         equivalent with the GNU C Library, but do not describe when
60052         differences between them are significant.
60054 2012-03-05  Andreas Jaeger  <aj@suse.de>
60056         * sysdeps/i386/fpu/libm-test-ulps: Update.
60058 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
60060         [BZ #3976]
60061         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
60062         (__ieee754_pow): Save and restore rounding mode and use
60063         round-to-nearest for main computations.
60064         * math/libm-test.inc (pow_test_tonearest): New function.
60065         (pow_test_towardzero): Likewise.
60066         (pow_test_downward): Likewise.
60067         (pow_test_upward): Likewise.
60068         (main): Call the new functions.
60069         * sysdeps/i386/fpu/libm-test-ulps: Update.
60070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60072         [BZ #3976]
60073         * math/libm-test.inc (cosh_test_tonearest): New function.
60074         (cosh_test_towardzero): Likewise.
60075         (cosh_test_downward): Likewise.
60076         (cosh_test_upward): Likewise.
60077         (sinh_test_tonearest): Likewise.
60078         (sinh_test_towardzero): Likewise.
60079         (sinh_test_downward): Likewise.
60080         (sinh_test_upward): Likewise.
60081         (main): Call the new functions.
60082         * sysdeps/i386/fpu/libm-test-ulps: Update.
60083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60085 2012-03-05  Tom de Vries  <tom@codesourcery.com>
60087         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
60088         default stack guard is set in last bytes.
60089         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
60091 2012-03-05  Kees Cook  <keescook@chromium.org>
60093         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
60095         [BZ #13656]
60096         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
60097         possibly allocate from heap instead of stack.
60098         * stdio-common/bug-vfprintf-nargs.c: New file.
60099         * stdio-common/Makefile (tests): Add nargs overflow test.
60101 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
60103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60105 2012-03-03  Marek Polacek  <polacek@redhat.com>
60107         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
60108         * math/math_private.h: Likewise.
60109         * stdlib/tst-strtod.c: Likewise.
60110         * sysdeps/i386/i486/bits/atomic.h: Likewise.
60111         * sysdeps/x86_64/bits/atomic.h: Likewise.
60113 2012-03-02  David S. Miller  <davem@davemloft.net>
60115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
60116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
60117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
60118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
60119         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
60120         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
60121         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
60122         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
60124 2012-03-02  Roland McGrath  <roland@hack.frob.com>
60126         [BZ #13792]
60127         * manual/examples/README: New file, says the example source files
60128         can be used under GPL>=2.
60129         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
60130         line containing just "*/".
60131         * manual/examples/add.c: Add copyright header (GPL>=2).
60132         * manual/examples/argp-ex1.c: Likewise.
60133         * manual/examples/argp-ex2.c: Likewise.
60134         * manual/examples/argp-ex3.c: Likewise.
60135         * manual/examples/argp-ex4.c: Likewise.
60136         * manual/examples/atexit.c: Likewise.
60137         * manual/examples/db.c: Likewise.
60138         * manual/examples/dir.c: Likewise.
60139         * manual/examples/dir2.c: Likewise.
60140         * manual/examples/execinfo.c: Likewise.
60141         * manual/examples/filecli.c: Likewise.
60142         * manual/examples/filesrv.c: Likewise.
60143         * manual/examples/fmtmsgexpl.c: Likewise.
60144         * manual/examples/genpass.c: Likewise.
60145         * manual/examples/inetcli.c: Likewise.
60146         * manual/examples/inetsrv.c: Likewise.
60147         * manual/examples/isockad.c: Likewise.
60148         * manual/examples/longopt.c: Likewise.
60149         * manual/examples/memopen.c: Likewise.
60150         * manual/examples/memstrm.c: Likewise.
60151         * manual/examples/mkfsock.c: Likewise.
60152         * manual/examples/mkisock.c: Likewise.
60153         * manual/examples/mygetpass.c: Likewise.
60154         * manual/examples/pipe.c: Likewise.
60155         * manual/examples/popen.c: Likewise.
60156         * manual/examples/rprintf.c: Likewise.
60157         * manual/examples/search.c: Likewise.
60158         * manual/examples/select.c: Likewise.
60159         * manual/examples/setjmp.c: Likewise.
60160         * manual/examples/sigh1.c: Likewise.
60161         * manual/examples/sigusr.c: Likewise.
60162         * manual/examples/stpcpy.c: Likewise.
60163         * manual/examples/strdupa.c: Likewise.
60164         * manual/examples/strftim.c: Likewise.
60165         * manual/examples/strncat.c: Likewise.
60166         * manual/examples/subopt.c: Likewise.
60167         * manual/examples/swapcontext.c: Likewise.
60168         * manual/examples/termios.c: Likewise.
60169         * manual/examples/testopt.c: Likewise.
60170         * manual/examples/testpass.c: Likewise.
60171         * manual/examples/timeval_subtract.c: Likewise.
60173         [BZ #13792]
60174         * manual/time.texi (Elapsed Time): Move timeval_subtract example
60175         function to ...
60176         * manual/timeval_subtract.c.texi: ... here, new file.
60178 2012-03-02  David S. Miller  <davem@davemloft.net>
60180         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
60182 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
60184         [BZ #3976]
60185         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
60186         (__sin): Save and restore rounding mode and use round-to-nearest
60187         for all computations.
60188         (__cos): Save and restore rounding mode and use round-to-nearest
60189         for all computations.
60190         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
60191         <fenv.h>.
60192         (tan): Save and restore rounding mode and use round-to-nearest for
60193         all computations.
60194         * math/libm-test.inc (cos_test_tonearest): New function.
60195         (cos_test_towardzero): Likewise.
60196         (cos_test_downward): Likewise.
60197         (cos_test_upward): Likewise.
60198         (sin_test_tonearest): Likewise.
60199         (sin_test_towardzero): Likewise.
60200         (sin_test_downward): Likewise.
60201         (sin_test_upward): Likewise.
60202         (tan_test_tonearest): Likewise.
60203         (tan_test_towardzero): Likewise.
60204         (tan_test_downward): Likewise.
60205         (tan_test_upward): Likewise.
60206         (main): Call the new functions.
60207         * sysdeps/i386/fpu/libm-test-ulps: Update.
60208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60210         [BZ #10135]
60211         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
60212         small n, then large n, before computing and testing k+n.
60213         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
60214         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
60215         Likewise.
60216         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
60217         Likewise.
60218         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
60219         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
60220         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
60221         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
60222         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
60223         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
60224         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
60225         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
60226         * math/libm-test.inc (scalbn_test): Add more tests.
60227         (scalbln_test): Likewise.
60229         * manual/filesys.texi (mode_t): Describe constraints on size and
60230         signedness, not exact equivalence to a particular type.
60231         (ino_t): Likewise.
60232         (ino64_t): Likewise.
60233         (dev_t): Likewise.
60234         (nlink_t): Likewise.
60235         (blkcnt_t): Likewise.
60236         (blkcnt64_t): Likewise.
60237         * manual/llio.texi (off_t): Likewise.
60239         [BZ #3976]
60240         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
60241         (__ieee754_exp): Save and restore rounding mode and use
60242         round-to-nearest for all computations.
60243         * math/libm-test.inc (exp_test_tonearest): New function.
60244         (exp_test_towardzero): Likewise.
60245         (exp_test_downward): Likewise.
60246         (exp_test_upward): Likewise.
60247         (main): Call the new functions.
60248         * sysdeps/i386/fpu/libm-test-ulps: Update.
60249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60251 2012-03-01  Chris Demetriou  <cgd@google.com>
60253         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
60254         have predictable order.
60256 2012-03-01  David S. Miller  <davem@davemloft.net>
60258         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
60260         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
60261         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
60262         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
60263         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
60265         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
60266         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
60267         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
60268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
60269         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
60270         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
60271         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
60272         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
60273         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
60275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60277         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
60278         * sysdeps/sparc/fpu/libm-test-ulps: to here.
60279         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
60281         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
60282         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60283         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
60284         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
60285         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
60286         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
60287         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
60288         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60289         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
60290         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
60291         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
60292         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60293         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60294         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
60295         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60296         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60297         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
60298         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
60299         * sysdeps/sparc/elf/configure: Regenerated.
60301 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
60303         * configure.in (AS, LD): Require binutils 2.20 or later.
60304         * configure: Regenerated.
60305         * manual/install.texi (Tools for Compilation): Give binutils 2.20
60306         as required minimum version.
60307         * INSTALL: Regenerated.
60309         [BZ #2541]
60310         [BZ #4108]
60311         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
60312         before squaring exponent.
60313         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
60314         bottom long double and 27 bits of top long double before squaring
60315         exponent.
60316         * math/libm-test.inc (erfc_test): Add more tests.
60317         * sysdeps/i386/fpu/libm-test-ulps: Update.
60318         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60321 2012-03-01  Kai Tietz  <ktietz@redhat.com>
60323         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
60324         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
60325         containing bit-fields.
60326         * soft-fp/extended.h (_FP_UNION_E): Likewise.
60327         * soft-fp/single.h (_FP_UNION_S): Likewise.
60328         * soft-fp/double.h (_FP_UNION_D): Likewise.
60330 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
60332         [BZ #13786]
60333         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
60334         not include ../strcmp.S.
60335         [USE_AS_STRNCASECMP_L]: Likewise.
60336         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
60337         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
60338         * sysdeps/i386/i686/multiarch/strncase_l-c.c
60339         (__strncasecmp_l_ia32): Define as alias to
60340         __strncasecmp_l_nonascii.
60342         [BZ #5794]
60343         * math/libm-test.inc (expm1_test): Add test for bug 5794.
60344         * sysdeps/i386/fpu/libm-test-ulps: Update.
60345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60347         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
60348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60350 2012-02-29  Jeff Law  <law@redhat.com>
60352         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
60353         out of bounds read.
60355 2012-02-29  Marek Polacek  <polacek@redhat.com>
60357         [BZ #13706]
60358         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
60359         * elf/Makefile: Add rules to run tst-unused-dep.out.
60361 2012-02-28  David S. Miller  <davem@davemloft.net>
60363         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
60364         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
60365         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
60366         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
60367         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
60368         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
60370 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
60372         * math/libm-test.inc (llround_test): Move one test from
60373         lround_test.  Use TEST_f_L in moved test.
60374         (lround_test): Move misplaced test to llround_test.  Add testcase
60375         from bug 2561.
60377 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
60379         * sysdeps/x86_64/fpu/e_expf.S: New file.
60380         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
60382 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
60384         [BZ #13637]
60385         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
60386         of remain_len that may cause incomplete multi-byte character and
60387         false match.
60388         * posix/bug-regex33.c: New file.
60389         * posix/Makefile (tests): Add bug-regex33.
60391 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
60393         * manual/macros.texi: New file.
60394         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
60395         * manual/libc.texinfo: Include macros.texi.
60396         * manual/creatute.texi: Likewise.
60397         * manual/install.texi: Likewise.
60398         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
60399         @glibcadj{} in references to the GNU C Library.
60400         * manual/charset.texi: Likewise.
60401         * manual/conf.texi: Likewise.
60402         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
60403         when not using those macros.
60404         * manual/creature.texi: Likewise.
60405         * manual/crypt.texi: Likewise.
60406         * manual/errno.texi: Likewise.
60407         * manual/filesys.texi: Likewise.
60408         * manual/header.texi: Likewise.
60409         * manual/install.texi: Likewise.
60410         * manual/intro.texi: Likewise.
60411         * manual/io.texi: Likewise.
60412         * manual/job.texi: Likewise.
60413         * manual/lang.texi: Likewise.
60414         * manual/libc.texiinfo: Likewise.
60415         * manual/llio.texi: Likewise.
60416         * manual/locale.texi: Likewise.
60417         * manual/maint.texi: Likewise.
60418         * manual/math.texi: Likewise.
60419         * manual/memory.texi: Likewise.
60420         * manual/message.texi: Likewise.
60421         * manual/nss.texi: Likewise.
60422         * manual/pattern.texi: Likewise.
60423         * manual/process.texi: Likewise.
60424         * manual/resource.texi: Likewise.
60425         * manual/search.texi: Likewise.
60426         * manual/setjmp.texi: Likewise.
60427         * manual/signal.texi: Likewise.
60428         * manual/socket.texi: Likewise.
60429         * manual/startup.texi: Likewise.
60430         * manual/stdio.texi: Likewise.
60431         * manual/string.texi: Likewise.
60432         * manual/sysinfo.texi: Likewise.
60433         * manual/syslog.texi: Likewise.
60434         * manual/terminal.texi: Likewise.
60435         * manual/time.texi: Likewise.
60436         * manual/users.texi: Likewise.
60437         * INSTALL: Regenerated.
60438         * NOTES: Regenerated.
60439         * sysdeps/gnu/errlist.c: Regenerated.
60441 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
60443         * include/dirent.h: Include <dirstream.h> before
60444         <dirent/dirent.h>.
60446 2012-02-28  David S. Miller  <davem@davemloft.net>
60448         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
60449         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
60450         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
60451         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
60453 2012-02-27  David S. Miller  <davem@davemloft.net>
60455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
60456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
60457         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
60458         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
60460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
60461         frame pointer instead of stack pointer relative arg slot.
60462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
60463         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
60464         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
60466 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
60468         [BZ #3992]
60469         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
60471 2012-02-27  David S. Miller  <davem@davemloft.net>
60473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
60474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
60475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
60477         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
60478         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
60479         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
60480         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
60482 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60484         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
60485         later.  Allow versions 5-9.
60486         * configure: Regenerated.
60487         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
60488         required minimum version and 4.6 as recommended version.  Do not
60489         mention bugs in GCC 2.7 and 2.8.
60490         * INSTALL: Regenerated.
60492 2012-02-27  David S. Miller  <davem@davemloft.net>
60494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
60495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
60496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
60497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
60498         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
60499         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
60500         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
60501         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
60503         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
60504         manipulate bits before adding and subtracting TWO112[sx].
60505         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60507 2012-02-27  Roland McGrath  <roland@hack.frob.com>
60509         [BZ #13775]
60510         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
60511         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
60512         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
60513         being in POSIX, because they are in 1003.1-2008.
60515         * rt/tst-aio.c: Include <fcntl.h>.
60516         * rt/tst-aio7.c: Likewise.
60517         * rt/tst-aio64.c: Likewise.
60519         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
60521 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60523         * manual/install.texi (--with-headers): Describe headers as
60524         interface headers, not private headers.
60525         (Specific advice for GNU/Linux systems): Describe use of headers
60526         from "make headers_install", not private headers from older
60527         kernels.
60528         * INSTALL: Regenerated.
60529         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
60530         Change to 2.6.19.
60531         * sysdeps/unix/sysv/linux/configure: Regenerated.
60533         * manual/llio.texi (fclean): Remove documentation.
60535         * manual/Makefile (libc-texi-generated): New variable.  Include
60536         version.texi.
60537         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
60538         $(libc-texi-generated), not duplicated list of files.
60539         (version.texi, stamp-version): New rules.
60540         (realclean): Remove $(libc-texi-generated), not individual files
60541         from that list.  Do not remove dir-add.texinfo.
60542         * manual/libc.texinfo: Comment out uses of edition numbers and
60543         references to printed manual.  Remove last-updated dates.
60544         (EDITION): Comment out.
60545         (ISBN): Likewise.
60546         (VERSION, UPDATED): Remove.
60547         (version.texi): Include.
60549 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
60551         * sysdeps/posix/spawni.c: Include <signal.h>.
60552         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
60553         * sysdeps/pthread/aio_fsync.c: Likewise.
60555 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
60557         * conform/Makefile (tests): Run only when not cross-compiling and
60558         when fast-check is not defined.
60560         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
60561         * conform/data/limits.h-data: Fixes for POSIX2008.
60562         * conform/run-conformtest.sh: Run all tests.
60563         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
60564         headers.
60565         * include/bits/dlfcn.h: Likewise.
60566         * include/langinfo.h: Likewise.
60567         * include/monetary.h: Likewise.
60568         * include/sys/poll.h: Likewise.
60570         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
60571         for __USE_GNU.
60572         * posix/spawn.h: Define __need_sigset_t.
60573         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
60574         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
60575         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
60576         to get sigevent_t only.
60577         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
60578         only for __USE_GNU.
60579         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60580         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60581         process_vm_writev only for __USE_GNU.
60582         * termios/termios.h: Declare tcgetsid also for POSIX2008.
60584         * conform/Makefile: For now ignore errors from run-conformtest.
60585         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
60586         POSIX to avoid namespace pollution.  Don't prepend headers.
60587         * conform/data/aio.h-data: Fixes for POSIX testing.
60588         * conform/data/fcntl.h-data: Likewise.
60589         * conform/data/glob.h-data: Likewise.
60590         * conform/data/grp.h-data: Likewise.
60591         * conform/data/pthread.h-data: Likewise.
60592         * conform/data/pwd.h-data: Likewise.
60593         * conform/data/signal.h-data: Likewise.
60594         * conform/data/spawn.h-data: Likewise.
60595         * conform/data/stdio.h-data: Likewise.
60596         * conform/data/stdlib.h-data: Likewise.
60597         * conform/data/stropts.h-data: Likewise.
60598         * conform/data/sys/mman.h-data: Likewise.
60599         * conform/data/sys/stat.h-data: Likewise.
60600         * conform/data/sys/types.h-data: Likewise.
60601         * conform/data/sys/wait.h-data: Likewise.
60602         * conform/data/time.h-data: Likewise.
60603         * conform/data/unistd.h-data: Likewise.
60604         * conform/data/utime.h-data: Likewise.
60606         * io/sys/stat.h: fchmod was always in POSIX.
60607         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
60608         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
60609         * rt/aio.h: Define __need_timespec before including <time.h>.
60610         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
60611         struct.  Add forward declaration of pthread_attr_t and use it in
60612         sigevent.
60613         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60614         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60615         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
60616         always remove CLK_TCK definition.
60618 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
60620         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
60622 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
60624         * conform/run-conformtest.sh: New file.
60625         * conform/Makefile: Run run-conformtest for tests.
60626         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
60627         support.
60629         * conform/data/uchar.h-data: New file.
60630         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
60631         * conform/data/arpa/inet.h-data: Likewise.
60632         * conform/data/assert.h-data: Likewise.
60633         * conform/data/complex.h-data: Likewise.
60634         * conform/data/cpio.h-data: Likewise.
60635         * conform/data/ctype.h-data: Likewise.
60636         * conform/data/dirent.h-data: Likewise.
60637         * conform/data/dlfcn.h-data: Likewise.
60638         * conform/data/errno.h-data: Likewise.
60639         * conform/data/fcntl.h-data: Likewise.
60640         * conform/data/float.h-data: Likewise.
60641         * conform/data/fmtmsg.h-data: Likewise.
60642         * conform/data/fnmatch.h-data: Likewise.
60643         * conform/data/ftw.h-data: Likewise.
60644         * conform/data/glob.h-data: Likewise.
60645         * conform/data/grp.h-data: Likewise.
60646         * conform/data/iconv.h-data: Likewise.
60647         * conform/data/inttypes.h-data: Likewise.
60648         * conform/data/langinfo.h-data: Likewise.
60649         * conform/data/libgen.h-data: Likewise.
60650         * conform/data/limits.h-data: Likewise.
60651         * conform/data/locale.h-data: Likewise.
60652         * conform/data/math.h-data: Likewise.
60653         * conform/data/monetary.h-data: Likewise.
60654         * conform/data/mqueue.h-data: Likewise.
60655         * conform/data/ndbm.h-data: Likewise.
60656         * conform/data/net/if.h-data: Likewise.
60657         * conform/data/netdb.h-data: Likewise.
60658         * conform/data/netinet/in.h-data: Likewise.
60659         * conform/data/nl_types.h-data: Likewise.
60660         * conform/data/poll.h-data: Likewise.
60661         * conform/data/pthread.h-data: Likewise.
60662         * conform/data/pwd.h-data: Likewise.
60663         * conform/data/regex.h-data: Likewise.
60664         * conform/data/sched.h-data: Likewise.
60665         * conform/data/search.h-data: Likewise.
60666         * conform/data/semaphore.h-data: Likewise.
60667         * conform/data/setjmp.h-data: Likewise.
60668         * conform/data/signal.h-data: Likewise.
60669         * conform/data/spawn.h-data: Likewise.
60670         * conform/data/stdarg.h-data: Likewise.
60671         * conform/data/stdio.h-data: Likewise.
60672         * conform/data/stdlib.h-data: Likewise.
60673         * conform/data/string.h-data: Likewise.
60674         * conform/data/strings.h-data: Likewise.
60675         * conform/data/stropts.h-data: Likewise.
60676         * conform/data/sys/ipc.h-data: Likewise.
60677         * conform/data/sys/mman.h-data: Likewise.
60678         * conform/data/sys/msg.h-data: Likewise.
60679         * conform/data/sys/resource.h-data: Likewise.
60680         * conform/data/sys/select.h-data: Likewise.
60681         * conform/data/sys/sem.h-data: Likewise.
60682         * conform/data/sys/shm.h-data: Likewise.
60683         * conform/data/sys/socket.h-data: Likewise.
60684         * conform/data/sys/stat.h-data: Likewise.
60685         * conform/data/sys/statvfs.h-data: Likewise.
60686         * conform/data/sys/time.h-data: Likewise.
60687         * conform/data/sys/timeb.h-data: Likewise.
60688         * conform/data/sys/times.h-data: Likewise.
60689         * conform/data/sys/types.h-data: Likewise.
60690         * conform/data/sys/uio.h-data: Likewise.
60691         * conform/data/sys/un.h-data: Likewise.
60692         * conform/data/sys/utsname.h-data: Likewise.
60693         * conform/data/sys/wait.h-data: Likewise.
60694         * conform/data/syslog.h-data: Likewise.
60695         * conform/data/tar.h-data: Likewise.
60696         * conform/data/termios.h-data: Likewise.
60697         * conform/data/utime.h-data: Likewise.
60698         * conform/data/utmpx.h-data: Likewise.
60699         * conform/data/varargs.h-data: Likewise.
60700         * conform/data/wchar.h-data: Likewise.
60701         * conform/data/wctype.h-data: Likewise.
60702         * conform/data/wordexp.h-data: Likewise.
60704         * include/stropts.h: New file.
60705         * include/uchar.h: New file.
60706         * include/aio.h: Changes to allow conformtest.pl to use the headers.
60707         * include/assert.h: Likewise.
60708         * include/ctype.h: Likewise.
60709         * include/dirent.h: Likewise.
60710         * include/dlfcn.h: Likewise.
60711         * include/fcntl.h: Likewise.
60712         * include/fnmatch.h: Likewise.
60713         * include/glob.h: Likewise.
60714         * include/grp.h: Likewise.
60715         * include/libio.h: Likewise.
60716         * include/locale.h: Likewise.
60717         * include/math.h: Likewise.
60718         * include/net/if.h: Likewise.
60719         * include/netdb.h: Likewise.
60720         * include/netinet/in.h: Likewise.
60721         * include/pthread.h: Likewise.
60722         * include/pwd.h: Likewise.
60723         * include/regex.h: Likewise.
60724         * include/sched.h: Likewise.
60725         * include/search.h: Likewise.
60726         * include/setjmp.h: Likewise.
60727         * include/signal.h: Likewise.
60728         * include/stdio.h: Likewise.
60729         * include/stdlib.h: Likewise.
60730         * include/string.h: Likewise.
60731         * include/sys/cdefs.h: Likewise.
60732         * include/sys/mman.h: Likewise.
60733         * include/sys/msg.h: Likewise.
60734         * include/sys/resource.h: Likewise.
60735         * include/sys/select.h: Likewise.
60736         * include/sys/socket.h: Likewise.
60737         * include/sys/stat.h: Likewise.
60738         * include/sys/statvfs.h: Likewise.
60739         * include/sys/time.h: Likewise.
60740         * include/sys/times.h: Likewise.
60741         * include/sys/uio.h: Likewise.
60742         * include/sys/utsname.h: Likewise.
60743         * include/sys/wait.h: Likewise.
60744         * include/termios.h: Likewise.
60745         * include/time.h: Likewise.
60746         * include/ulimit.h: Likewise.
60747         * include/unistd.h: Likewise.
60748         * include/utime.h: Likewise.
60749         * include/wchar.h: Likewise.
60750         * include/wctype.h: Likewise.
60751         * include/wordexp.h: Likewise.
60753         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
60755         * time/time.h: TIME_UTC must be a macro.
60756         Make timespec_get available for ISO C11 only as well.
60758 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
60760         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
60761         Reported by Peng Haitao <penght@cn.fujitsu.com>.
60763 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60765         * configure.in: Use -o not -a in test for unsupported multi-arch.
60767 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60769         * manual/texinfo.tex: Update to version 2012-01-19.16.
60771 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60773         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
60775 2012-02-24  Roland McGrath  <roland@hack.frob.com>
60777         [BZ #13738]
60778         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
60779         * manual/fdl-1.3.texi: New file.
60780         * manual/fdl-1.1.texi: File removed.
60782         [BZ #13738]
60783         * manual/libc.texinfo (FDL_VERSION): New @set.
60784         Use it for mention of FDL in cover text.
60785         (Documentation License): Use it in @include file name.
60787 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60788             Roland McGrath  <roland@hack.frob.com>
60790         [BZ #5461]
60791         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
60792         (not LONG_LONG_MAX and LONG_LONG_MIN.
60793         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
60794         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
60795         name.
60796         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
60798 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60800         [BZ #2547]
60801         [BZ #11365]
60802         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
60803         manipulate bits before adding and subtracting TWO23[sx].
60804         * math/libm-test.inc (nearbyint_test): Add more tests.
60806 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60808         [BZ #2548]
60809         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
60810         bits before adding and subtracting TWO23[sx].
60811         * math/libm-test.inc (rint_test): Add more tests.
60812         (rint_test_tonearest): Likewise.
60813         (rint_test_towardzero): Likewise.
60814         (rint_test_downward): Likewise.
60815         (rint_test_upward: Likewise.
60817 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60819         [BZ #10110]
60820         * include/stdc-predef.h: New file.  Extracted from features.h.
60821         * include/features.h: Include stdc-predef.h.
60822         * Makefile (headers): Add stdc-predef.h.
60823         * CONFORMANCE (Compiler limitations): Update.
60825 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60827         * manual/libc.texinfo (VERSION, UPDATED): Revert.
60829 2012-02-21  David S. Miller  <davem@davemloft.net>
60831         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
60832         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60834 2012-02-20  David S. Miller  <davem@davemloft.net>
60836         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
60837         using a normal save/restore sequence, rather than allocating a
60838         dummy stack frame just to store a frame pointer and restore.
60839         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60841 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60843         * manual/install.texi: Fix stray word in line-wrapped comment.
60845 2012-02-20  David S. Miller  <davem@davemloft.net>
60847         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
60848         both binutils and gcc support GOTDATA.
60850         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
60851         "rd %pc" in the PIC register setup sequences.
60853         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
60854         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
60855         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
60856         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
60857         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
60858         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60859         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60860         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60861         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
60862         (SYSCALL_ERROR_HANDLER): Likewise.
60863         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
60864         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60865         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
60866         (SYSCALL_ERROR_HANDLER): Likewise.
60868         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
60869         (HAVE_GCC_GOTDATA): New.
60870         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
60871         relocation support in both binutils and gcc.
60872         * sysdeps/sparc/elf/configure: Regenerate.
60874         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
60875         * sysdeps/sparc/sparc32/elf/configure: Delete.
60876         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
60877         * sysdeps/sparc/sparc64/elf/configure: Delete.
60878         * sysdeps/sparc/elf/configure.in: New file.
60879         * sysdeps/sparc/elf/configure: Generate.
60881         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
60882         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
60883         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60884         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
60885         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
60887 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60889         * manual/install.texi: Do not mention specific glibc version
60890         numbers.
60891         * manual/libc.texinfo (VERSION, UPDATED): Update.
60892         (@copying): Use @copyright{} and range of years.
60894 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60896         [BZ #13695]
60897         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
60898         [crti.S not in sysdirs] (generated): Do not append.
60899         [crti.S not in sysdirs] (omit-deps): Likewise.
60900         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
60901         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
60902         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
60903         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
60904         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
60905         Likewise.
60906         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
60907         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
60908         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
60909         * csu/defs.awk: Remove file.
60910         * sysdeps/generic/initfini.c: Likewise.
60911         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
60912         variable.
60913         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
60914         Likewise.
60916 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60918         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
60919         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
60920         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
60921         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
60922         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60923         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
60924         <bits/epoll.h>.
60925         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
60926         (__EPOLL_PACKED): Define to empty if not defined by
60927         <bits/epoll.h>.
60928         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
60929         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60930         bits/epoll.h.
60932 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60934         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
60935         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
60936         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
60937         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
60938         <bits/timerfd.h>.
60939         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
60940         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60941         bits/timerfd.h.
60943 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60945         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
60946         in C locale.
60947         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60948         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60949         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
60950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60952 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
60954         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60955         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60957 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
60959         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
60960         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
60961         defined.
60962         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
60963         Likewise.
60964         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
60965         entry for 2.16.
60967 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
60969         * math/w_acos.c: Use non-signaling floating-point comparisons.
60970         * math/w_acosf.c: Likewise.
60971         * math/w_acosh.c: Likewise.
60972         * math/w_acoshf.c: Likewise.
60973         * math/w_acoshl.c: Likewise.
60974         * math/w_acosl.c: Likewise.
60975         * math/w_asin.c: Likewise.
60976         * math/w_asinf.c: Likewise.
60977         * math/w_asinl.c: Likewise.
60978         * math/w_atanh.c: Likewise.
60979         * math/w_atanhf.c: Likewise.
60980         * math/w_atanhl.c: Likewise.
60981         * math/w_exp2.c: Likewise.
60982         * math/w_exp2f.c: Likewise.
60983         * math/w_exp2l.c: Likewise.
60984         * math/w_j0.c: Likewise.
60985         * math/w_j0f.c: Likewise.
60986         * math/w_j0l.c: Likewise.
60987         * math/w_j1.c: Likewise.
60988         * math/w_j1f.c: Likewise.
60989         * math/w_j1l.c: Likewise.
60990         * math/w_jn.c: Likewise.
60991         * math/w_jnf.c: Likewise.
60992         * math/w_log.c: Likewise.
60993         * math/w_log10.c: Likewise.
60994         * math/w_log10f.c: Likewise.
60995         * math/w_log10l.c: Likewise.
60996         * math/w_log2.c: Likewise.
60997         * math/w_log2f.c: Likewise.
60998         * math/w_log2l.c: Likewise.
60999         * math/w_logf.c: Likewise.
61000         * math/w_logl.c: Likewise.
61001         * math/w_sqrt.c: Likewise.
61002         * math/w_sqrtf.c: Likewise.
61003         * math/w_sqrtl.c: Likewise.
61004         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61005         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
61006         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61007         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61008         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61010 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61012         [BZ #9739]
61013         * manual/string.texi (strnlen): Use correct parameter name in
61014         equivalent expression.
61016 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61018         [BZ #11174]
61019         * manual/users.texi (seteuid): Consistently use neweuid for
61020         argument name.
61022 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61024         [BZ #13704]
61025         * manual/nss.texi (Services in the NSS configuration): Correct
61026         list of services in example configuration file.
61028 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
61030         [BZ #11322]
61031         * manual/arith.texi: Remove statements about negative zero
61032         behaving identically to zero.
61034 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
61036         [BZ #5993]
61037         * manual/install.texi: Do not document upgrading from libc5.
61039 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
61041         [BZ #4596]
61042         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
61044 2012-02-18  David S. Miller  <davem@davemloft.net>
61046         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
61047         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
61048         %o7 across the call.
61049         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
61050         instead.
61051         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
61052         SETUP_PIC_REG_LEAF.
61053         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61054         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
61055         * sysdeps/sparc/crtn.S: Likewise.
61057 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
61059         * aout/Makefile: Remove.
61061 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
61063         [BZ #13058]
61064         * manual/examples/argp-ex1.c (main): Format definition in GNU
61065         style.
61066         * manual/examples/argp-ex2.c (main): Likewise.
61067         * manual/examples/argp-ex3.c (main): Likewise.
61068         * manual/examples/argp-ex4.c (main): Likewise.
61069         * manual/examples/longopt.c (main): Use new-style prototype
61070         definition.
61071         * manual/examples/strncat.c (main): Specify return type and use
61072         (void) for arguments.
61073         * manual/examples/subopt.c (main): Use char **argv argument.
61075 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61077         [BZ #5077]
61078         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
61079         rounding modes.
61081 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
61083         [BZ #6907]
61084         * manual/string.texi (strchr): Change when strchrnul is
61085         recommended.
61087 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
61089         [BZ #174]
61090         * manual/locale.texi (setlocale): Document LOCPATH.
61092 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61094         [BZ #10210]
61095         * manual/process.texi (execle): Move @dots{} before last argument.
61097 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
61099         [BZ #12047]
61100         * manual/charset.texi (Generic Charset Conversion): Fix typo
61101         (LC_TYPE -> LC_CTYPE).
61103 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
61105         [BZ #5805]
61106         * manual/arith.texi (scalbn): Use @var{} on parameter names.
61107         (scalbnf): Likewise.
61108         (scalbnl): Likewise.
61109         (scalbln): Likewise.
61110         (scalblnf): Likewise.
61111         (scalblnl): Likewise.
61112         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
61113         (vwarnx): Likewise.
61114         (verr): Likewise.
61115         (verrx): Likewise.
61116         * manual/filesys.texi (telldir): Use braces around return type.
61117         * manual/llio.texi (mmap): Add space after comma.
61118         (mmap64): Likewise.
61119         * manual/math.texi (jn): Use @var{} on parameter names.
61120         (jnf): Likewise.
61121         (jnl): Likewise.
61122         (yn): Likewise.
61123         (ynf): Likewise.
61124         (ynl): Likewise.
61125         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
61126         line.
61127         * manual/resource.texi (ulimit): Use @dots{} instead of literal
61128         "...".
61129         (sched_get_priority_min): Remove semicolon on @deftypefun line.
61130         (sched_get_priority_max): Likewise.
61131         * manual/signal.texi (sigvec): Add space after comma.
61132         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
61133         names.
61134         (if_indextoname): Likewise.
61135         (if_freenameindex): Likewise.
61136         (sendto): Use ',' instead of '.' in prototype.
61137         * manual/startup.texi (syscall): Use @dots{} instead of literal
61138         "...".
61139         * manual/stdio.texi (__fpending): Separate initial words of
61140         paragraph from @deftypefun line.
61141         * manual/syslog.texi (syslog): Use @dots{} instead of literal
61142         "...".
61143         (vsyslog): Use @var{} on parameter names.
61144         * manual/terminal.texi (stty): Use @var{} on parameter names.
61145         * manual/users.texi (getutmp): Use @var{} on parameter names.
61146         (getutmpx): Likewise.
61148 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61150         [BZ #6884]
61151         * manual/stdio.texi (fopen): Fix typos in description of
61152         ",ccs=STRING".
61154 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
61156         [BZ #4026]
61157         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
61158         get clock_id definition.
61160 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
61162         [BZ #4822]
61163         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
61164         (madvise): Cast every argument to void on its own.
61166 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61168         [BZ #9902]
61169         * manual/startup.texi (Exit Status): Fix typo.
61171 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61173         [BZ #10140]
61174         * manual/examples/argp-ex1.c: Include <stdlib.h>.
61175         * manual/examples/argp-ex2.c: Likewise.
61176         * manual/examples/argp-ex3.c: Likewise.
61178 2012-02-16  Richard Henderson  <rth@redhat.com>
61180         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
61181         * sysdeps/s390/s390-32/initfini.c: Remove.
61182         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
61183         * sysdeps/s390/s390-64/initfini.c: Remove.
61185 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61187         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
61188         compiler output for sysdeps/generic/initfini.c.
61189         * sysdeps/sh/elf/initfini.c: Remove file.
61191 2012-02-16  David S. Miller  <davem@davemloft.net>
61193         [BZ #11494]
61194         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
61196         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
61197         * sysdeps/sparc/crti.S: New file.
61198         * sysdeps/sparc/crtn.S: New file.
61199         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
61200         * sysdeps/sparc/sparc64/Makefile: Likewise.
61202 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
61204         [BZ #3335]
61205         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
61207 2012-02-15  Roland McGrath  <roland@hack.frob.com>
61209         [BZ #4822]
61210         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
61212         * mach/devstream.c (cookie_io_functions_t): Macro removed.
61213         (write, read, close): Likewise.
61214         Patch by Aurelien Jarno <aurelien@aurel32.net>.
61216 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
61218         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
61219         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
61220         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
61221         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
61222         <bits/signalfd.h>.
61223         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
61224         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61225         bits/signalfd.h.
61227 2012-02-14  Marek Polacek  <polacek@redhat.com>
61229         * sysdeps/x86_64/crti.S: New file.
61230         * sysdeps/x86_64/crtn.S: New file.
61231         * sysdeps/x86_64/elf/initfini.c: Remove file.
61233 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
61235         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
61236         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
61237         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
61238         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
61239         <bits/inotify.h>.
61240         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
61241         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61242         bits/inotify.h.
61244 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
61246         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
61247         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
61248         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
61249         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
61250         <bits/eventfd.h>.
61251         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
61252         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61253         bits/eventfd.h.
61255 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
61257         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
61258         __feraiseexcept instead of feraiseexcept.
61260         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
61261         nanosleep invocations.
61262         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
61263         strings, and add error checking for a nanosleep invocations.
61265 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
61267         Replace FSF snail mail address with URLs, as per GNU coding standards.
61268         Most of the snail mail addresses were wrong anyway, and omitting
61269         them makes the source code easier to maintain.  Almost all of the
61270         changes are to license notices and to locale LC_IDENTIFICATION
61271         addresses, except for this one:
61272         * manual/libc.texinfo: In "Published by", give the FSF's URL,
61273         not its snail mail address.
61275 2012-02-09  Richard Henderson  <rth@twiddle.net>
61277         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
61278         of kernel-features.h.
61280         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
61282 2012-02-08  Marek Polacek  <polacek@redhat.com>
61284         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
61285         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
61286         * sysdeps/gnu/_G_config.h: Likewise.
61287         * sysdeps/generic/_G_config.h: Likewise.
61289 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
61291         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
61292         tests.
61293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61295         * sysdeps/powerpc/powerpc32/crti.S: New file.
61296         * sysdeps/powerpc/powerpc32/crtn.S: New file.
61297         * sysdeps/powerpc/powerpc64/crti.S: New file.
61298         * sysdeps/powerpc/powerpc64/crtn.S: New file.
61300         * Makeconfig (have-initfini): Don't set.
61301         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
61302         * configure.in (nopic_initfini): Don't substitute.
61303         * config.h.in (HAVE_INITFINI): Don't #undef.
61304         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
61305         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
61307 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
61309         Support crti.S and crtn.S provided directly by architectures.
61310         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
61311         [crti.S in sysdirs] (omit-deps): Likewise.
61312         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
61313         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
61314         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
61315         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
61316         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
61317         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
61318         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
61319         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
61320         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
61321         compiler output for sysdeps/generic/initfini.c.
61322         * sysdeps/i386/elf/Makefile: Remove file.
61323         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
61325 2012-02-07  Marek Polacek  <polacek@redhat.com>
61327         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
61328         * sysdeps/gnu/_G_config.h: Likewise.
61329         * sysdeps/mach/hurd/_G_config.h: Likewise.
61331 2012-02-07  Marek Polacek  <polacek@redhat.com>
61333         * math/Makefile (tests): Add tst-CMPLX2.
61334         * math/tst-CMPLX2.c: New file.
61336 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
61338         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61340         * math/libm-test.inc (jn_test): Add missing L suffix.
61342 2012-02-06  Marek Polacek  <polacek@redhat.com>
61344         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
61345         * sysdeps/i386/fpu/e_powf.S: Likewise.
61346         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61347         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61348         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61349         * sysdeps/i386/fpu/e_pow.S: Likewise.
61350         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61351         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61352         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61353         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61354         * sysdeps/i386/fpu/e_log2.S: Likewise.
61355         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61356         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61357         * sysdeps/i386/fpu/e_powl.S: Likewise.
61358         * sysdeps/i386/fpu/s_log1p.S: Likewise.
61359         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61360         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61361         * sysdeps/i386/fpu/e_logl.S: Likewise.
61362         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61363         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
61364         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61365         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61366         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61367         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61368         * sysdeps/i386/fpu/e_log.S: Likewise.
61369         * sysdeps/i386/fpu/s_cexp.S: Likewise.
61370         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61371         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
61372         * sysdeps/i386/fpu/e_logf.S: Likewise.
61373         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61374         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61375         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
61376         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61377         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61378         * sysdeps/i386/fpu/e_log10.S: Likewise.
61379         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61380         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61381         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61382         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61383         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61384         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61385         * sysdeps/i386/asm-syntax.h: Likewise.
61386         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61387         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61388         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61389         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
61390         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
61391         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61392         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61393         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61394         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61395         * sysdeps/powerpc/sysdep.h: Likewise.
61396         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
61397         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61399 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
61401         [BZ #411]
61402         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
61404 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
61406         * sysdeps/i386/sysdep.h: Include <features.h>.
61407         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
61408         version.
61410 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
61412         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
61413         Define.
61414         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
61415         LOAD_PIC_REG_STR.
61417 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61419         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
61420         (SETUP_PIC_REG): Use GET_PC_THUNK.
61421         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
61422         macro.
61424 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61426         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
61427         for non-PIC compilation.
61428         (SETUP_PIC_REG): Add .p2align directive.
61429         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
61430         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
61431         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61432         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61433         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
61434         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61435         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
61436         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61437         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61438         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61439         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61440         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61441         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61442         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61443         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61444         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
61445         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
61446         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61447         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61448         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61449         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61450         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
61451         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61452         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61453         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
61454         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
61455         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61456         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
61457         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61458         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61459         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61460         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61461         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61462         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61463         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61464         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61465         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61466         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61467         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61468         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61469         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61471 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61473         * math/tst-CMPLX.c: Include <stdio.h>.
61475 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
61477         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
61478         float.
61479         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
61480         * sysdeps/sparc/bits/mathdef.h: Likewise.
61482 2012-01-31  Marek Polacek  <polacek@redhat.com>
61484         * libio/libio.h: Don't define _PARAMS.
61485         * locale/programs/config.h: Don't define PARAMS.
61486         * stdlib/strtol_l.c: Likewise.
61487         (__strtol_l): Remove PARAMS from the prototype.
61489 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
61491         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
61492         names.  Just use the correct names.  Remove unnecessary wrapper
61493         functions.
61494         * malloc/arena.c: Likewise.
61495         * malloc/hooks.c: Likewise.
61497         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
61498         ARENA_TEST says not to.  Simplify test for creation of a new arena.
61499         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
61501 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
61503         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
61504         into tail calls.
61505         (update_get_addr): New function.
61506         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
61507         GET_ADDR_MODULE parameter.
61509 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61511         * crypt/cert.c: Remove __STDC__ conditionals.
61512         * crypt/crypt-entry.c: Likewise.
61513         * crypt/crypt_util.c: Likewise.
61514         * libio/filedoalloc.c: Likewise.
61515         * libio/fileops.c: Likewise.
61516         * libio/genops.c: Likewise.
61517         * libio/iofclose.c: Likewise.
61518         * libio/iofdopen.c: Likewise.
61519         * libio/iofopen.c: Likewise.
61520         * libio/iofopen64.c: Likewise.
61521         * libio/iogetdelim.c: Likewise.
61522         * libio/iopopen.c: Likewise.
61523         * libio/obprintf.c: Likewise.
61524         * libio/oldfileops.c: Likewise.
61525         * libio/oldiofclose.c: Likewise.
61526         * libio/oldiofdopen.c: Likewise.
61527         * libio/oldiofopen.c: Likewise.
61528         * libio/oldiopopen.c: Likewise.
61529         * libio/wfiledoalloc.c: Likewise.
61530         * libio/wgenops.c: Likewise.
61531         * locale/programs/xmalloc.c: Likewise.
61532         * misc/syslog.c: Likewise.
61533         * stdio-common/xbug.c: Likewise.
61534         * string/memchr.c: Likewise.
61535         * string/memcmp.c: Likewise.
61536         * string/memrchr.c: Likewise.
61537         * string/rawmemchr.c: Likewise.
61538         * sysdeps/posix/getcwd.c: Likewise.
61539         * time/strftime_l.c: Likewise.
61541 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61543         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
61544         * config.make.in (config-cflags-sse2avx): Define.
61545         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
61546         Fix typo.
61548 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
61550         * scripts/config.guess: Update from upstream config git repository.
61551         * scripts/config.sub: Likewise.
61553 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
61555         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
61556         (EM_NUM): Update.
61557         (R_TILEPRO_*, R_TILEGX_*): New macros.
61559         * scripts/firstversions.awk: Fix bug in version range handling.
61561         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
61563         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
61565         * include/sys/epoll.h: New file.
61566         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
61567         libc_hidden_def.
61569 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
61571         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
61572         Avoid unnecessary __WORDSIZE == 64 test.
61573         (fmaxf): Use VEX format if possible.
61574         (fmax): Likewise.
61575         (fminf): Likewise.
61576         (fmin): Likewise.
61578         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
61579         * math/math_private.h: Remove libc_fegetround* and
61580         libc_fesetround*.
61581         * sysdeps/i386/configure.in: Check for -msse2avx.
61582         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
61583         also if SSE2AVX is defined.
61584         Remove libc_fegetround* and libc_fesetround*.
61585         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
61586         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
61587         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
61588         of HAS_YMM_USABLE.
61589         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61590         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61591         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61592         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61593         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61595         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
61597 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61599         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
61600         size is not set.
61601         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61603 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
61605         [BZ #13618]
61606         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
61607         relocation.
61608         * Makeconfig (libm): Define.
61609         * elf/Makefile: Add rules to build and run tst-relsort1.
61610         * elf/tst-relsort1.c: New file.
61611         * elf/tst-relsort1mod1.c: New file.
61612         * elf/tst-relsort1mod2.c: New file.
61614 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
61616         * math/s_ldexp.c: Remove __STDC__ conditionals.
61617         * math/s_ldexpf.c: Likewise.
61618         * math/s_ldexpl.c: Likewise.
61619         * math/s_nextafter.c: Likewise.
61620         * math/s_nexttowardf.c: Likewise.
61621         * math/s_significand.c: Likewise.
61622         * math/s_significandf.c: Likewise.
61623         * math/s_significandl.c: Likewise.
61624         * math/w_jnl.c: Likewise.
61625         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61626         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61627         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61628         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61629         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61630         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61631         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
61632         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61633         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61634         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61635         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61636         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61637         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61638         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61639         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61640         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61641         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61642         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61643         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61644         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61645         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61646         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61647         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61648         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61649         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61650         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61651         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61652         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61653         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61654         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61655         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61656         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61657         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61658         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61659         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61660         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61661         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61662         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61663         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61664         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61665         * sysdeps/ieee754/k_standard.c: Likewise.
61666         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61667         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61668         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61669         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61670         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61671         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61672         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61673         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61674         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61675         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61676         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61677         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61678         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61679         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61680         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61681         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61682         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61683         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61684         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61685         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61686         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61687         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61688         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61689         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61690         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61691         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61692         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61693         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61694         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61695         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61696         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61697         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
61698         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61699         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61700         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61701         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61702         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
61703         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61704         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61705         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
61706         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
61707         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61708         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
61709         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
61710         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61711         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61712         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
61713         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61714         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61715         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
61716         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
61717         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61718         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61719         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61720         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61721         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61722         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
61723         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61724         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61725         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61726         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61727         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61728         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61729         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61730         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61731         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61732         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61733         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61734         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61735         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61736         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61737         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61738         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61739         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61740         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61741         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61742         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61743         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61744         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61745         * sysdeps/ieee754/s_matherr.c: Likewise.
61746         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61747         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61748         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61749         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61751 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61753         * crypt/md5.h: Remove __STDC__ conditionals.
61754         * libio/libioP.h: Likewise.
61755         * locale/programs/config.h: Likewise.
61756         * sysdeps/generic/sysdep.h: Likewise.
61757         * sysdeps/i386/asm-syntax.h: Likewise.
61758         * sysdeps/s390/asm-syntax.h: Likewise.
61759         * sysdeps/unix/sysdep.h: Likewise.
61760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
61761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61763 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61765         * libio/libio.h: Remove __STDC__ conditionals.
61766         * malloc/obstack.h: Likewise.
61767         * math/complex.h: Likewise.
61768         * math/math.h: Likewise.
61769         * sysdeps/generic/_G_config.h: Likewise.
61770         * sysdeps/gnu/_G_config.h: Likewise.
61771         * sysdeps/mach/hurd/_G_config.h: Likewise.
61772         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61773         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
61774         * sysdeps/sparc/bits/mathdef.h: Likewise.
61776 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
61778         [BZ #13583]
61779         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
61780         Clean up HAS_* macros.
61781         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
61782         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
61783         possible.
61784         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
61785         HAS_AVX.
61786         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61787         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61788         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61789         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61790         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61792 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
61794         * elf/tst-unique3.cc (gets): Remove declaration.
61795         * elf/tst-unique3lib.cc (gets): Likewise.
61796         * elf/tst-unique3lib2.cc (gets): Likewise.
61797         * elf/tst-unique4.cc (gets): Likewise.
61799 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
61801         * include/stdio.h: Add C++ protection.  Add gets declarations and
61802         definitions.
61803         * debug/tst-chk1.c: Don't declare gets here.
61804         * stdio-common/tst-gets.c: Likewise.
61806 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61808         * posix/glob: Remove directory.
61810 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61812         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
61814 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
61816         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
61817         of the non-standard EPFNOSUPPORT.
61819 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61821         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
61822         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
61823         ANYWHERE set to 1 only on KERN_NO_SPACE error.
61825 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
61827         * wcsmbs/uchar.h: Test __STDC_VERSION__.
61829 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
61831         * nscd/aicache.c (addhstaiX): Do not cache negative results of
61832         transient errors.
61833         * nscd/grpcache.c (cache_addgr): Likewise.
61834         * nscd/hstcache.c (cache_addhst): Likewise.
61835         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61836         * nscd/pwdcache.c (cache_addpw): Likewise.
61837         * nscd/servicescache.c (cache_addserv): Likewise.
61839 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
61841         * malloc/malloc.c: Various cleanups.
61842         * malloc/hooks.c: Likewise.
61844         * stdlib/Makefile (tests): Add bug-fmtmsg1.
61845         * stdlib/bug-fmtmsg1.c: New file.
61847         * stdlib/fmtmsg.c (init): Add missing unlock.
61848         Patch by Peng Haitao <penght@cn.fujitsu.com>.
61850 2012-01-12  Marek Polacek  <polacek@redhat.com>
61852         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
61853         and _GNU_SOURCE.
61855 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
61857         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
61858         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
61859         macro to ensure uniqueness of label name.
61860         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
61861         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
61863 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
61865         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
61867         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
61868         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61869         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61870         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
61872 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
61874         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
61876         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
61877         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61878         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61880         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
61882         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
61883         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61884         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61885         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
61887         * math/bits/math-finite.h: Add ldexp support.
61889 2012-01-10  Marek Polacek  <polacek@redhat.com>
61891         * locale/programs/localedef.h (show_archive_content): Add noreturn
61892         attribute.
61894 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
61896         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
61898 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61900         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
61902         * io/Makefile (headers): Add bits/poll2.h.
61904 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
61906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
61907         typo #include statement.
61909 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61911         * include/sys/cdefs.h: Define __attribute_alloc_size.
61912         * catgets/gencat.c: Add alloc_size attribute and apply consistently
61913         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
61914         * elf/pldd.c: Likewise.
61915         * iconv/iconv_charmap.c: Likewise.
61916         * iconv/iconvconfig.c: Likewise.
61917         * iconv/strtab.c: Likewise.
61918         * locale/programs/locale.c: Likewise.
61919         * locale/programs/localedef.h: Likewise.
61920         * locale/programs/simple-hash.c: Likewise.
61921         * nscd/nscd.h: Likewise.
61922         * nss/makedb.c: Likewise.
61923         * sysdeps/generic/ldconfig.h: Likewise.
61924         * locale/programs/localedef.c: Remove xmalloc prototype.
61925         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
61927 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61929         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
61930         appropriate.
61932 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61934         * math/Makefile (tests): Add tst-CMPLX.
61935         * math/tst-CMPLX.c: New file.
61937         * math/complex.h (CMPLXL): Fix typo.
61939         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
61940         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
61941         GLIBC_2.16.
61942         * debug/tst-chk1.c: Add poll and ppoll tests.
61943         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
61944         * include/sys/poll.h: Add hidden proto for ppoll.
61945         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
61946         * sysdeps/mach/hurd/ppoll.c: Likewise.
61947         * io/ppoll.c: Likewise.
61948         * debug/poll_chk.c: New file.
61949         * debug/ppoll_chk.c: New file.
61950         * include/bits/poll2.h: New file.
61951         * io/bits/poll2.h: New file.
61953         [BZ #1350]
61954         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
61956         * configure.in: static is always set to yes.  Remove.
61957         * config.make.in: Don't set build-static.
61958         * Makeconfig: Remove use of build-static.
61959         * dlfcn/Makefile: Likewise.
61960         * elf/Makefile: Likewise.
61961         * math/Makefile: Likewise.
61962         * misc/Makefile: Likewise.
61963         * nptl/Makefile: Likewise.
61964         * sysdeps/mach/hurd/Makefile: Likewise.
61966         * configure.in: PWD_P is not used anymore.
61967         * config.make.in: Remove PWD_P entry.
61969         * configure.in: Remove last remnants of RANLIB.
61970         No need to check for signed size_t anymore.
61971         Don't set libc_commonpagesize and libc_relro_required here for Alpha
61972         and IA-64.
61973         Remove __builtin_expect test because we require at least gcc 3.4.
61974         * aclocal.m4: Likewise.
61976         * wcsmbs/mbrtoc16.c: Implement using towc function.
61977         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
61978         * wcsmbs/wcsmbsload.c: Likewise.
61979         * iconv/gconv_simple.c: Likewise.
61980         * iconv/gconv_int.h: Likewise.
61981         * iconv/gconv_builtin.h: Likewise.
61982         * iconv/iconv_prog.c: Remove CHAR16 handling.
61984         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
61986         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
61988         * configure.in: Remove --with-elf and --enable-bounded options.
61989         Dont set base_machine for ia64.  More non-ELF conditions removed.
61990         Remove testing and setting of leading underscore information.
61991         * config.make.in (build-bounded): Set to no.
61992         * config.h.in: Remove NO_UNDERSCORES entry.
61993         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
61994         them.
61995         * csu/start.c: Remove !NO_UNDERSCORE code.
61996         * locale/localeinfo.h: Likewise.
61997         * sysdeps/generic/machine-gmon.h: Likewise.
61998         * sysdeps/generic/sysdep.h: Likewise.
61999         * sysdeps/i386/sysdep.h: Likewise.
62000         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
62001         * sysdeps/mach/sysdep.h: Likewise.
62002         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62003         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62004         * sysdeps/sh/sysdep.h: Likewise.
62005         * sysdeps/sparc/sparc32/alloca.S: Likewise.
62006         * sysdeps/unix/i386/sysdep.S: Likewise.
62007         * sysdeps/unix/sparc/start.c: Likewise.
62008         * sysdeps/unix/sparc/sysdep.S: Likewise.
62009         * sysdeps/unix/sparc/sysdep.h: Likewise.
62010         * sysdeps/unix/start.c: Likewise.
62011         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62012         * sysdeps/x86_64/sysdep.h: Likewise.
62014 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
62016         [BZ #13553]
62017         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
62018         for non-gcc.
62019         * argp/argp-fmtstream.h: Use const instead __const.
62020         * argp/argp.h: Likewise.
62021         * assert/assert.h: Likewise.
62022         * bits/fenv.h: Likewise.
62023         * bits/sched.h: Likewise.
62024         * bits/sigset.h: Likewise.
62025         * bits/sigthread.h: Likewise.
62026         * catgets/nl_types.h: Likewise.
62027         * conform/data/pthread.h-data: Likewise.
62028         * crypt/crypt-private.h: Likewise.
62029         * crypt/crypt.h: Likewise.
62030         * crypt/crypt_util.c: Likewise.
62031         * ctype/ctype.h: Likewise.
62032         * debug/execinfo.h: Likewise.
62033         * debug/mbsnrtowcs_chk.c: Likewise.
62034         * debug/mbsrtowcs_chk.c: Likewise.
62035         * debug/wcsnrtombs_chk.c: Likewise.
62036         * debug/wcsrtombs_chk.c: Likewise.
62037         * debug/wcstombs_chk.c: Likewise.
62038         * dirent/dirent.h: Likewise.
62039         * dlfcn/dlfcn.h: Likewise.
62040         * elf/neededtest4.c: Likewise.
62041         * grp/grp.h: Likewise.
62042         * gshadow/gshadow.h: Likewise.
62043         * iconv/gconv.h: Likewise.
62044         * iconv/gconv_int.h: Likewise.
62045         * iconv/gconv_simple.c: Likewise.
62046         * iconv/iconv.h: Likewise.
62047         * iconv/loop.c: Likewise.
62048         * iconv/skeleton.c: Likewise.
62049         * include/aio.h: Likewise.
62050         * include/aliases.h: Likewise.
62051         * include/argz.h: Likewise.
62052         * include/arpa/inet.h: Likewise.
62053         * include/assert.h: Likewise.
62054         * include/dirent.h: Likewise.
62055         * include/dlfcn.h: Likewise.
62056         * include/execinfo.h: Likewise.
62057         * include/fcntl.h: Likewise.
62058         * include/fenv.h: Likewise.
62059         * include/glob.h: Likewise.
62060         * include/grp.h: Likewise.
62061         * include/libintl.h: Likewise.
62062         * include/mntent.h: Likewise.
62063         * include/netdb.h: Likewise.
62064         * include/pwd.h: Likewise.
62065         * include/rpc/netdb.h: Likewise.
62066         * include/sched.h: Likewise.
62067         * include/search.h: Likewise.
62068         * include/shadow.h: Likewise.
62069         * include/signal.h: Likewise.
62070         * include/stdio.h: Likewise.
62071         * include/stdlib.h: Likewise.
62072         * include/string.h: Likewise.
62073         * include/sys/socket.h: Likewise.
62074         * include/sys/stat.h: Likewise.
62075         * include/sys/statfs.h: Likewise.
62076         * include/sys/statvfs.h: Likewise.
62077         * include/sys/syslog.h: Likewise.
62078         * include/sys/time.h: Likewise.
62079         * include/sys/uio.h: Likewise.
62080         * include/time.h: Likewise.
62081         * include/unistd.h: Likewise.
62082         * include/utmp.h: Likewise.
62083         * include/wchar.h: Likewise.
62084         * include/wctype.h: Likewise.
62085         * inet/aliases.h: Likewise.
62086         * inet/arpa/inet.h: Likewise.
62087         * inet/netinet/ether.h: Likewise.
62088         * inet/netinet/in.h: Likewise.
62089         * intl/libintl.h: Likewise.
62090         * io/bits/fcntl2.h: Likewise.
62091         * io/fcntl.h: Likewise.
62092         * io/ftw.h: Likewise.
62093         * io/sys/poll.h: Likewise.
62094         * io/sys/stat.h: Likewise.
62095         * io/sys/statfs.h: Likewise.
62096         * io/sys/statvfs.h: Likewise.
62097         * io/utime.h: Likewise.
62098         * libio/bits/stdio.h: Likewise.
62099         * libio/bits/stdio2.h: Likewise.
62100         * libio/libio.h: Likewise.
62101         * libio/libioP.h: Likewise.
62102         * libio/stdio.h: Likewise.
62103         * locale/lc-ctype.c: Likewise.
62104         * locale/locale.h: Likewise.
62105         * login/utmp.h: Likewise.
62106         * malloc/arena.c: Likewise.
62107         * malloc/malloc.c: Likewise.
62108         * malloc/malloc.h: Likewise.
62109         * malloc/mcheck.c: Likewise.
62110         * malloc/mtrace.c: Likewise.
62111         * math/bits/mathcalls.h: Likewise.
62112         * math/fenv.h: Likewise.
62113         * math/math_private.h: Likewise.
62114         * misc/bits/error.h: Likewise.
62115         * misc/bits/syslog.h: Likewise.
62116         * misc/err.h: Likewise.
62117         * misc/error.h: Likewise.
62118         * misc/fstab.h: Likewise.
62119         * misc/mntent.h: Likewise.
62120         * misc/regexp.h: Likewise.
62121         * misc/search.h: Likewise.
62122         * misc/sgtty.h: Likewise.
62123         * misc/sys/mman.h: Likewise.
62124         * misc/sys/syslog.h: Likewise.
62125         * misc/sys/uio.h: Likewise.
62126         * misc/sys/xattr.h: Likewise.
62127         * misc/ttyent.h: Likewise.
62128         * nis/rpcsvc/ypclnt.h: Likewise.
62129         * nss/nss.h: Likewise.
62130         * posix/bits/unistd.h: Likewise.
62131         * posix/fnmatch.h: Likewise.
62132         * posix/glob.h: Likewise.
62133         * posix/sched.h: Likewise.
62134         * posix/spawn.h: Likewise.
62135         * posix/sys/wait.h: Likewise.
62136         * posix/unistd.h: Likewise.
62137         * posix/wordexp.h: Likewise.
62138         * pwd/pwd.h: Likewise.
62139         * resolv/netdb.h: Likewise.
62140         * resource/sys/resource.h: Likewise.
62141         * rt/aio.h: Likewise.
62142         * rt/bits/mqueue2.h: Likewise.
62143         * rt/mqueue.h: Likewise.
62144         * shadow/shadow.h: Likewise.
62145         * signal/signal.h: Likewise.
62146         * socket/send.c: Likewise.
62147         * socket/sendto.c: Likewise.
62148         * socket/sys/socket.h: Likewise.
62149         * stdio-common/printf.h: Likewise.
62150         * stdlib/bits/stdlib.h: Likewise.
62151         * stdlib/fmtmsg.h: Likewise.
62152         * stdlib/monetary.h: Likewise.
62153         * stdlib/stdlib.h: Likewise.
62154         * stdlib/ucontext.h: Likewise.
62155         * streams/stropts.h: Likewise.
62156         * string/argz.h: Likewise.
62157         * string/bits/string2.h: Likewise.
62158         * string/string.h: Likewise.
62159         * string/strings.h: Likewise.
62160         * sunrpc/rpc/auth.h: Likewise.
62161         * sunrpc/rpc/auth_des.h: Likewise.
62162         * sunrpc/rpc/clnt.h: Likewise.
62163         * sunrpc/rpc/netdb.h: Likewise.
62164         * sunrpc/rpc/pmap_clnt.h: Likewise.
62165         * sunrpc/rpc/xdr.h: Likewise.
62166         * sysdeps/generic/inttypes.h: Likewise.
62167         * sysdeps/generic/net/if.h: Likewise.
62168         * sysdeps/generic/sys/swap.h: Likewise.
62169         * sysdeps/gnu/net/if.h: Likewise.
62170         * sysdeps/gnu/utmpx.h: Likewise.
62171         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
62172         * sysdeps/i386/i486/bits/string.h: Likewise.
62173         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
62174         * sysdeps/s390/bits/string.h: Likewise.
62175         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
62176         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
62177         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
62178         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
62179         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
62180         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
62181         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
62182         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
62183         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
62184         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
62185         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
62186         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
62187         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
62188         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
62189         * sysdeps/unix/sysv/linux/readv.c: Likewise.
62190         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
62191         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
62192         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62193         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
62194         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
62195         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62196         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
62197         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
62198         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
62199         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
62200         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
62201         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
62202         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62203         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
62204         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
62205         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
62206         * sysvipc/sys/ipc.h: Likewise.
62207         * sysvipc/sys/msg.h: Likewise.
62208         * sysvipc/sys/sem.h: Likewise.
62209         * sysvipc/sys/shm.h: Likewise.
62210         * termios/termios.h: Likewise.
62211         * time/sys/time.h: Likewise.
62212         * time/time.h: Likewise.
62213         * wcsmbs/bits/wchar2.h: Likewise.
62214         * wcsmbs/uchar.h: Likewise.
62215         * wcsmbs/wchar.h: Likewise.
62216         * wctype/wctype.h: Likewise.
62218         [BZ #13551]
62219         * Makeconfig: Remove all but ELF support including AIX support.
62220         * Makerules: Likewise.
62221         * config.h.in: Likewise.
62222         * config.make.in: Likewise.
62223         * configure: Likewise.
62224         * configure.in: Likewise.
62225         * csu/Makefile: Likewise.
62226         * csu/version.c: Likewise.
62227         * debug/Makefile: Likewise.
62228         * dlfcn/Makefile: Likewise.
62229         * elf/Makefile: Likewise.
62230         * extra-lib.mk: Likewise.
62231         * iconv/Makefile: Likewise.
62232         * include/libc-symbols.h: Likewise.
62233         * include/shlib-compat.h: Likewise.
62234         * resolv/Makefile: Likewise.
62235         * resolv/res_libc.c: Likewise.
62236         * rt/Makefile: Likewise.
62237         * sysdeps/i386/asm-syntax.h: Likewise.
62238         * sysdeps/i386/sysdep.h: Likewise.
62239         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
62240         * sysdeps/mach/sysdep.h: Likewise.
62241         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
62242         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
62243         * sysdeps/s390/asm-syntax.h: Likewise.
62244         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62245         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62246         * sysdeps/sh/sysdep.h: Likewise.
62247         * sysdeps/unix/sparc/sysdep.h: Likewise.
62248         * sysdeps/wordsize-32/divdi3.c: Likewise.
62249         * sysdeps/x86_64/sysdep.h: Likewise.
62251         * argp/Versions: Remove _argp_unlock_xxx.
62253         [BZ #13559]
62254         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
62255         * abilist/libBrokenLocale.abilist: Likewise.
62256         * abilist/libanl.abilist: Likewise.
62257         * abilist/libc.abilist: Likewise.
62258         * abilist/libcrypt.abilist: Likewise.
62259         * abilist/libdl.abilist: Likewise.
62260         * abilist/libm.abilist: Likewise.
62261         * abilist/libnsl.abilist: Likewise.
62262         * abilist/libpthread.abilist: Likewise.
62263         * abilist/libresolv.abilist: Likewise.
62264         * abilist/librt.abilist: Likewise.
62265         * abilist/libthread_db.abilist: Likewise.
62266         * abilist/libutil.abilist: Likewise.
62267         * abilist/libnss_db.abilist: New file.
62269         * scripts/abilist.awk: Add support for indirect functions.
62271         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
62273         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
62275         * shlib-versions: Remove entries for ports architectures.
62277         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
62278         files in ports.
62279         * elf/stackguard-macros.h: Remove support for IA-64.
62280         * elf/tst-auditmod1.c: Likewise.
62281         * sysdeps/generic/ldsodefs.h: Likewise.
62283         * sysdeps/unix/sysv/linux/configure.in: Ports should define
62284         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
62285         configure files.
62287         [BZ #13552]
62288         * configure.in: Remove --enable-omitfp support.
62289         * FAQ.in: Adjust.
62290         * config.make.in: Likewise.
62291         * Makeconfig: Likewise.
62292         * manual/install.texi: Likewise.
62294         In case anyone cares, the IA-64 architecture could move to ports.
62295         * sysdeps/ia64/*: Removed.
62296         * sysdeps/unix/sysv/linux/ia64/*: Removed.
62297         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
62299         [BZ #13555]
62300         * configure.in: Remove entries for unsupported architectures.
62302         [BZ #13533]
62303         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
62304         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
62305         routines.
62306         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
62307         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
62308         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
62309         fall back to using wcrtomb.
62310         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
62311         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
62312         renaming.
62313         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
62314         * wcsmbs/tst-c16c32-1.c: New file.
62316         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
62317         local variable.
62319         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
62321         * elf/tst-unique3.cc: Add explicit declaration of gets.
62322         * elf/tst-unique3lib.cc: Likewise.
62323         * elf/tst-unique3lib2.cc: Likewise.
62324         * elf/tst-unique4.cc: Likewise.
62326         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
62328 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
62330         [BZ #13566]
62331         * assert/assert.h (static_assert): Don't define for C++.
62332         * libio/stdio.h (gets): Do declare for C++ <= C++11.
62333         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
62335 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
62337         * iconv/loop.c (single loop): Fix assertion in storing of
62338         remaining bytes.
62340         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
62342 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
62344         * posix/getconf.c: Update copyright year.
62345         * nss/getent.c: Likewise.
62346         * nss/makedb.c: Likewise.
62347         * iconv/iconvconfig.c: Likewise.
62348         * iconv/iconv_prog.c: Likewise.
62349         * elf/ldconfig.c: Likewise.
62350         * elf/pldd.c: Likewise.
62351         * elf/sotruss.ksh: Likewise.
62352         * catgets/gencat.c: Likewise.
62353         * csu/version.c: Likewise.
62354         * elf/ldd.bash.in: Likewise.
62355         * elf/sprof.c (print_version): Likewise.
62356         * locale/programs/locale.c: Likewise.
62357         * locale/programs/localedef.c: Likewise.
62358         * login/programs/pt_chown.c: Likewise.
62359         * nscd/nscd.c (print_version): Likewise.
62360         * debug/xtrace.sh: Likewise.
62361         * malloc/memusage.sh: Likewise.
62362         * malloc/mtrace.pl: Likewise.
62363         * debug/catchsegv.sh: Likewise.
62365 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
62367         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
62368         pure attribute.
62370 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
62372         [BZ #13533]
62373         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
62374         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
62375         transformations.
62376         * iconv/gconv_int.h: Likewise.
62377         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
62378         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
62379         from libc for GLIBC_2.16.
62380         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
62381         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
62382         * wcsmbs/uchar.h: Really define mbstate_t.
62383         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
62384         * wcsmbs/c16rtomb.c: New file.
62385         * wcsmbs/mbrtoc16.c: New file.
62386         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
62387         for C/POSIX locale.
62388         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
62389         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
62391         * wcsmbs/wchar.h: Add missing __restrict.
62393 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
62395         [BZ #13532]
62396         * time/Makefile (routines): Add timespec_get.
62397         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
62398         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
62399         timespec for ISO C11.
62400         * time/timespec_get.c: New file.
62401         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
62402         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
62404         [BZ #13531]
62405         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
62406         * stdlib/stdlib.h: Declare aligned_alloc.
62407         * Versions.def: Add GLIBC_2.16 for libc.
62408         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
62410         [BZ 13527]
62411         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
62412         ISO C11.
62414         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
62415         code.
62417         [BZ #13528]
62418         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
62420         [BZ #13529]
62421         * assert/assert.h (static_assert): Define.
62423         * version.h: Update for 2.16 development version.
62425         [BZ #13526]
62426         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
62427         _ISOC11_SOURCE.
62429         * version.h (RELEASE): Bump for 2.15 release.
62430         * include/features.h (__GLIBC_MINOR__): Bump to 15.
62432         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
62433         Patch by Marek Polacek <mpolacek@redhat.com>.
62435         * bits/byteswap.h: Protect long long constants with __extension__.
62436         * sysdeps/i386/bits/byteswap.h: Likewise.
62437         * sysdeps/ia64/bits/byteswap.h: Likewise.
62438         * sysdeps/s390/bits/byteswap.h: Likewise.
62439         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62441 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62443         [BZ #13540]
62444         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
62445         destination buffer.
62446         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
62448 2011-12-23  Marek Polacek  <polacek@redhat.com>
62450         * elf/dl-addr.c (determine_info): Add inline keyword.
62451         * elf/tst-auditmod4b.c (check_avx): Likewise.
62452         * elf/tst-auditmod6b.c (check_avx): Likewise.
62453         * elf/tst-auditmod6c.c (check_avx): Likewise.
62454         * elf/tst-auditmod7b.c (check_avx): Likewise.
62456 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
62458         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
62459         !__SSE_MATH__.
62461 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62463         [BZ #13540]
62464         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
62465         processing for last bytes.
62467 2011-08-06  Bruno Haible  <bruno@clisp.org>
62469         [BZ #13061]
62470         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
62471         U+0385, not to U+1FEE.
62473         [BZ #13062]
62474         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
62475         entry for U+00A5 U+0301.
62477 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62479         [BZ #13166]
62480         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
62481         buffer for the output is too small.
62483         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
62484         optimization.
62486         [BZ #13185]
62487         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
62488         SSE flags if possible.
62490 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62492         [BZ #13540]
62493         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
62494         processing for last bytes.
62496 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
62498         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
62499         (syscall-list-default-options, syscall-list-default-condition)
62500         (syscall-list-includes): Define.
62501         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
62502         list of ABIs and options and #if conditions for each ABI.  Do not
62503         handle common syscalls between ABIs specially.
62504         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
62505         Remove.
62506         (syscall-list-variants, syscall-list-32bit-options)
62507         (syscall-list-32bit-condition, syscall-list-64bit-options)
62508         (syscall-list-64bit-condition): Define.
62509         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
62510         (syscall-list-variants, syscall-list-32bit-options)
62511         (syscall-list-32bit-condition, syscall-list-64bit-options)
62512         (syscall-list-64bit-condition): Define.
62513         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
62514         Remove.
62515         (syscall-list-variants, syscall-list-32bit-options)
62516         (syscall-list-32bit-condition, syscall-list-64bit-options)
62517         (syscall-list-64bit-condition): Define.
62518         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
62519         Remove.
62520         (syscall-list-variants, syscall-list-32bit-options)
62521         (syscall-list-32bit-condition, syscall-list-64bit-options)
62522         (syscall-list-64bit-condition): Define.
62524 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62526         * locale/iso-639.def: Add brx entry.
62528         [BZ #13328]
62529         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
62530         Proposed by Mariusz_Cukr <marcukr@op.pl>.
62532         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
62533         __feraiseexcept_renamed.
62535 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62537         [BZ #13538]
62538         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
62539         EPOLLET with unsigned values.
62540         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62541         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62543         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
62544         to large cancellation.
62545         * math/s_cacoshf.c: Likewise.
62546         * math/s_cacoshl.c: Likewise.
62548 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
62550         [BZ #13305]
62551         [BZ #12786]
62552         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
62553         * math/s_cacoshf.c: Likewise.
62554         * math/s_cacoshl.c: Likewise.
62556 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62558         [BZ #13439]
62559         * iconv/gconv.h: Define __GCONV_SWAP.
62560         * iconvdata/unicode.c: The swap bit must be stored in __flags.
62561         * iconvdata/utf-16.c: Likewise.
62562         * iconvdata/utf-32.c: Likewise.
62564 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
62566         [BZ #13524]
62567         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
62568         numerator after shifting it by one limb.
62570 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
62572         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
62573         under [__USE_EXTERN_INLINES].
62575 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62577         [BZ #13446]
62578         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
62580 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62582         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
62583         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
62584         optimized code.
62585         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
62586         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
62587         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
62588         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
62589         for strncasecmp/strncasecmp_l compilation.
62590         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
62591         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
62593 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
62595         [BZ #13484]
62596         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
62597         of __asm__.
62599 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62601         [BZ #13506]
62602         * time/tzfile.c (__tzfile_read): Check values from file header.
62604 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62606         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
62607         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
62608         * powerpc/powerpc32/dl-start.S: Likewise.
62609         * powerpc/powerpc32/elf/start.S: Likewise.
62610         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
62611         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
62612         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
62613         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
62614         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62615         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
62616         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
62617         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62618         * powerpc/powerpc32/fpu/s_round.S: Likewise.
62619         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62620         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62621         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62622         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
62623         * powerpc/powerpc32/memset.S: Likewise.
62624         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62625         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62626         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62627         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62628         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62629         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62630         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62631         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62632         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
62633         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
62634         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
62635         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
62636         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
62638 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62640         * math/libm-test.inc: Added more nearbyint tests.
62641         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
62642         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
62643         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
62644         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
62646 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
62648         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
62649         FD_CLOEXEC.
62651 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62653         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
62654         Add wcscpy-ssse3 wcscpy-c.
62655         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
62656         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
62657         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
62658         * sysdeps/x86_64/wcschr.S: New file.
62659         * sysdeps/x86_64/wcsrchr.S: New file.
62660         * string/test-strcmp.c: Remove checking of wcscmp function for
62661         wrong alignments.
62662         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
62663         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
62664         wcsrchr-sse2 wcsrchr-c.
62665         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
62666         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
62667         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
62668         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
62669         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
62670         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
62671         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
62672         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
62673         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
62674         * wcsmbc/wcschr.c (WCSCHR): New macro.
62676 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62678         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
62679         * wcsmbs/test-wcsrchr.c: New file.
62680         * string/test-strrchr.c: Add wcsrchr support.
62681         (WIDE): New macro.
62682         * wcsmbs/test-wcscpy.c: New file.
62683         * string/test-strcpy.c: Add wcscpy support.
62684         (WIDE): New macro.
62686 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
62688         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
62689         the inner loop.
62691 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
62693         [BZ #13472]
62694         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
62696 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
62698         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
62699         Minor optimizations.
62701         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
62702         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
62703         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
62705 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
62707         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
62708         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
62709         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
62710         for gcc to avoid warnings.
62711         * inet/Makefile (tests): Add tst-checks.
62712         * inet/tst-checks.c: New file.
62714         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
62715         warning.
62717         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
62718         __wmemcmp_sse2.
62720         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
62721         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
62723         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
62725 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
62727         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
62728         problem.
62730         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
62732 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
62734         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
62735         conditional on GCC version.
62736         (__arch_compare_and_exchange_val_8_acq)
62737         (__arch_compare_and_exchange_val_16_acq)
62738         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
62739         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
62740         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
62742 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
62744         * sysdeps/sh/backtrace.c: New file.
62746 2011-12-02  Andreas Schwab  <schwab@redhat.com>
62748         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
62749         parenthesis.
62751 2011-12-01  Andreas Schwab  <schwab@redhat.com>
62753         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
62754         falling back to utime.
62756 2011-11-30  Andreas Schwab  <schwab@redhat.com>
62758         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
62759         expectations for float.
62761 2011-11-29  Andreas Schwab  <schwab@redhat.com>
62763         * locale/weight.h (findidx): Add parameter len.
62764         * locale/weightwc.h (findidx): Likewise.
62765         * posix/fnmatch_loop.c (FCT): Adjust caller.
62766         * posix/regcomp.c (build_equiv_class): Likewise.
62767         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
62768         * posix/regexec.c (check_node_accept_bytes): Likewise.
62769         * string/strcoll_l.c (STRCOLL): Likewise.
62770         * string/strxfrm_l.c (STRXFRM): Likewise.
62772 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
62774         * Makefile.in: Remove CVSOPT handling.
62775         * configure.in: Remove use of AC_REVISION.
62776         * iconvdata/Makefile (distribute): No need to filter out CVS.
62777         * scripts/list-sources.sh: Remove CVS, subversion and monotone
62778         handling.
62780 2011-11-16  Andreas Schwab  <schwab@redhat.com>
62782         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
62783         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
62784         [USE_AS_STRNCASECMP_L]: Likewise.
62785         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
62786         NO_TLS_DIRECT_SEG_REFS.
62787         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
62788         Fix argument offsets for non-PIC.
62789         [USE_AS_STRNCASECMP_L]: Likewise.
62790         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
62791         NO_TLS_DIRECT_SEG_REFS.
62793 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62795         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
62796         O_CLOEXEC.
62797         * locale/loadlocale.c (_nl_load_locale): Likewise.
62799 2011-11-15  Andreas Schwab  <schwab@redhat.com>
62801         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
62802         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
62803         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
62804         (SYSCALL_GETTIME): Set errno on error.
62806         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
62807         count references to noai6ai_cached.
62809 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62811         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
62813         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
62814         FD_CLOEXEC for /proc/self/maps.
62816         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
62817         FD_CLOEXEC for /proc/meminfo.
62819         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
62820         gai.conf.
62822         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
62823         FD_CLOEXEC for given file.
62825         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
62827         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
62828         FD_CLOEXEC for /etc/hosts.
62829         (_gethtent): Likewise.
62831         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
62833         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
62834         cancellation and set FD_CLOEXEC for /etc/netgroup.
62836         * nss/nss_files/files-key.c (search): Don't allow cancellation when
62837         reading /etc/publickey.
62839         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
62840         allow cancellation when reading /etc/group.
62842         * nss/nss_files/files-alias.c (internal_setent): Don't allow
62843         cancellation.
62844         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
62846         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
62847         when using data file.
62849         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
62851         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
62852         (write_nis_obj): Use "c" and "e" in fopen.
62854         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
62856         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
62858         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
62860         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
62862         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
62863         locale.alias.
62865         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
62867         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
62869         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
62871         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
62872         file parsing and set FD_CLOEXEC.
62874 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62876         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
62878 2011-11-14  Andreas Schwab  <schwab@redhat.com>
62880         * malloc/arena.c (arena_get2): Don't call reused_arena when
62881         _int_new_arena failed.
62883 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62885         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
62886         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
62887         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
62888         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62889         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62890         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
62891         to compile strcasecmp and strncasecmp.
62892         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
62893         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
62895         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
62897 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
62899         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
62900         locale-defines.sym to gen-as-const-headers.
62901         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
62902         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
62903         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
62904         to compile strcasecmp and strncasecmp.
62905         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
62906         strcasecmp_l and strncasecmp_l.
62907         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
62908         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
62909         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
62910         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
62911         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
62912         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
62913         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
62914         * sysdeps/i386/i686/multiarch/strncase.S: New file.
62915         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
62916         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
62917         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
62919 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
62921         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
62922         result of SYSDEP_GETTIME_CPU to retval.
62923         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
62924         parameter list to macro.  Remove trailing semicolon.  Adjust users.
62926         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
62927         variable.
62929         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
62930         mantissa words.
62931         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
62933         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
62934         from unused variable.
62936         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
62937         DWARF definitions.
62938         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
62939         for assembling.
62941         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
62942         over namespaces.
62944         * sunrpc/rpc_prot.c (rejected): Fix case value.
62946         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
62947         unsigned long long int to avoid warnings in shift.
62949         * posix/regex_internal.c (re_string_reconstruct): Actually use result
62950         of use of trans.
62951         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
62952         variable tmp.
62954         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
62955         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
62956         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
62958         * nis/nis_table.c (nis_list): Use variable of correct type for
62959         result of __follow_path call.
62961 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62963         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
62964         of math functions ceil, trunc, floor, round, and sqrt, when
62965         avaliable on the platform.
62966         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
62967         name clash.
62968         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62969         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
62970         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
62972 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
62974         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
62975         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
62977 2011-11-11  Roland McGrath  <roland@hack.frob.com>
62979         * include/unistd.h: Fix __readlink return type.
62980         Reported by Chris Metcalf <cmetcalf@tilera.com>.
62982 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
62984         * stdlib/ucontext.h: Undo last change for makecontext.
62986 2011-11-11  Andreas Schwab  <schwab@redhat.com>
62988         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
62990         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
62991         * setjmp/setjmp.h: Mark functions as non-leaf.
62992         * setjmp/bits/setjmp2.h: Likewise.
62993         * stdlib/ucontext.h: Likewise.
62995 2011-11-10  Andreas Schwab  <schwab@redhat.com>
62997         * malloc/arena.c (_int_new_arena): Don't increment narenas.
62998         (reused_arena): Don't check arena limit.
62999         (arena_get2): Atomically check arena limit.
63001 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
63003         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
63004         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
63006         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
63007         instructions.
63009 2011-11-07  Andreas Schwab  <schwab@redhat.com>
63011         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
63012         handler when locking.
63014         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
63015         Fix size of allocated buffer.
63017 2011-11-04  Andreas Schwab  <schwab@redhat.com>
63019         [BZ #10103]
63020         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
63021         declarations for long double functions.
63022         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
63024         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
63026 2011-11-03  Andreas Schwab  <schwab@redhat.com>
63028         * nscd/nscd.c (main): Don't start AVC thread until credentials are
63029         installed.
63031         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
63032         is disabled.
63034 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63036         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
63038 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
63040         * include/alloca.h (stackinfo_alloca_round): Define.
63041         (extend_alloca): Use it.
63042         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
63043         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
63044         here.
63046         * scripts/check-local-headers.sh: Ignore libaudit.h.
63048         * nscd/Makefile (extra-objs): Make recursively expanded.
63050 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
63052         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
63053         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63055         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
63056         * posix/tst-rfc3484-2.c: Likewise.
63057         * posix/tst-rfc3484-3.c: Likewise.
63059         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63060         process_vm_writev.
63061         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
63062         process_vm_writev.
63063         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
63064         process_vm_writev from libc using GLIBC_2.15 version.
63066         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
63068 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
63070         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
63071         stack usage.
63073 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
63075         [BZ #13367]
63076         * nss/getent.c (initgroups_keys): Show error message in case no group
63077         names are given.
63079         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
63080         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
63081         __bump_nl_timestamp.
63082         * nscd/connections (nscd_init): When host database is served open
63083         netlink socket and request notification about configuration changes.
63084         (main_loop_poll): Track netlink file descriptor and bump timestamp
63085         in case data becomes available.
63086         (main_loop_epoll): Likewise.
63087         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
63088         (database_pers_head): Add extra_data fileds.
63089         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
63090         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
63091         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
63092         Adjust caller.
63093         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
63094         in6ai data, call __free_in6ai.
63095         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
63096         Add -DHAVE_NETLINK.
63097         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
63098         interface information.  Reuse previous data if netlink timestamp
63099         is not changed.
63100         (__bump_nl_timestamp): New function.
63101         (__free_in6ai): New function.
63103 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
63105         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
63106         close_not_cancel_no_status here.
63107         (__check_pf): Reorganize code a bit to not call close twice if OOM.
63109 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
63111         [BZ #13276]
63112         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
63113         return value.
63115         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
63116         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
63117         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
63119 2011-07-03  Andreas Jaeger  <aj@suse.de>
63121         [BZ #10709]
63122         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
63123         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
63124         * math/libm-test.inc (sin_test): Add test case.
63126 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
63128         [BZ #13337]
63129         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
63130         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
63132         * elf/chroot_canon.c (chroot_canon): Cleanups.
63134         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
63136         [BZ #13335]
63137         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
63138         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
63140         * string/test-strchr.c: Make usable for strchrnul testing.
63141         * string/test-strchrnul.c: New file.
63142         * string/Makefile (strop-tests): Add strchrnul.
63144         * po/it.po: Update from translation team.
63145         * po/es.po: Likewise.
63147 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
63149         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
63150         the three constants needed as parameters.  Drop the others.
63151         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
63152         __m128i_strloadu_tolower.
63153         Create and initialize variable zero and use it in all the places
63154         where _mm_setzero_si128 was used.
63156         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
63157         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
63158         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
63159         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
63160         anymore.
63161         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
63162         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
63163         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
63164         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
63165         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
63166         __mpranred, __mptan.
63167         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
63168         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
63169         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
63170         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
63171         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
63172         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
63173         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
63174         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
63175         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
63177 2011-10-28  Andreas Schwab  <schwab@redhat.com>
63179         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
63180         redefine if SHARED.
63181         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
63183         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
63184         wide char related routines to wcsmbs subdir.
63186 2011-10-27  Andreas Schwab  <schwab@redhat.com>
63188         [BZ #13344]
63189         * misc/sys/cdefs.h (__THROWNL): Define.
63190         * posix/unistd.h: Use __THREADNL instead of __THREAD
63191         for memory synchronization functions.
63193 2011-10-26  Roland McGrath  <roland@hack.frob.com>
63195         [BZ #13349]
63196         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
63197         doesn't exist.
63198         * manual/stdio.texi (Obstack Streams): Node removed.
63200 2011-10-26  Andreas Schwab  <schwab@redhat.com>
63202         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
63203         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63204         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63206         * math/math_private.h (math_force_eval): Allow non-addressable
63207         arguments.
63208         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
63210 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63212         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
63213         file is not needed.
63215         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
63216         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
63217         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63218         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63219         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63220         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63221         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63222         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
63223         Add AVX variants.
63224         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
63225         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
63226         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
63227         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
63228         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
63229         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
63230         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
63231         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
63232         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
63233         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
63234         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
63235         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
63236         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
63237         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
63238         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
63239         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
63240         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
63241         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
63242         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
63244         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
63245         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
63247         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
63248         place.  Use VEX encoding when compiling for AVX.
63250 2011-10-25  Andreas Schwab  <schwab@redhat.com>
63252         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
63253         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63255         * string/test-strchr.c (do_test): Don't generate NUL bytes.
63257 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63259         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
63260         useless if() expression.
63261         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63262         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63263         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63264         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63265         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63266         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63267         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63268         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63269         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63270         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63271         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63272         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63273         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63274         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63275         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63276         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63277         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63278         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63279         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63281         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
63283 2011-10-25  Andreas Schwab  <schwab@redhat.com>
63285         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
63286         condition.
63287         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63289 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63291         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
63292         .text section.  Avoid duplicate constants.
63293         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63294         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63295         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63296         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63297         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63298         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63299         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63300         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63301         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
63302         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
63303         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
63304         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
63305         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
63306         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
63307         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
63308         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
63309         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
63310         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
63311         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63312         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63313         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63314         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63315         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63316         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
63317         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
63318         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
63319         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
63320         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
63321         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
63322         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
63323         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
63324         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
63325         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63326         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
63327         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
63328         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
63329         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
63330         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
63331         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
63332         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
63333         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
63334         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
63335         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
63336         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
63337         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
63339 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
63341         * sysdeps/x86_64/dla.h: Move to ...
63342         * sysdeps/x86_64/fpu/dla.h: ...here.
63343         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
63344         situations.  Use __builtin_fma only for gcc 4.6 and up.
63346         * config.make.in: Add have-mfma4 entry.
63347         * configure.in: Substitute libc_cv_cc_fma4.
63348         * math/Makefile (dbl-only-routines): Add sincostab.
63349         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
63350         Use __sincostab not sincos.
63351         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
63352         name is a macro.
63353         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63354         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63355         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63356         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
63357         using __copysign.
63358         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
63359         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
63360         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
63361         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
63362         and __inv.
63363         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
63364         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
63365         __copysign.
63366         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
63367         define aliases when function name is a macro.
63368         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
63369         sysdeps/ieee754/dbl-64/sincos.tbl.
63370         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
63371         fma4-enabled routines.
63372         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
63373         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
63374         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
63375         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
63376         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
63377         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
63378         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
63379         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
63380         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
63381         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
63382         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
63383         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
63384         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
63385         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
63386         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
63387         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
63388         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
63389         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
63390         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
63391         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
63392         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
63393         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
63394         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
63395         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
63396         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
63397         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
63398         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
63399         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
63400         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
63401         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
63403         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
63404         rename.
63405         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63406         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63407         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63408         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63409         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63410         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63411         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63412         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63414 2011-10-24  Andreas Schwab  <schwab@redhat.com>
63416         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
63418 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63420         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
63422         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
63423         prediction.
63424         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
63426         * string/strnlen.c: Don't define STRNLEN, reverse logic.
63427         Remove unused variable magic_bits.
63428         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
63430         * string/strnlen.c: Define and use STRNLEN macro.
63431         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
63432         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
63433         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
63434         * wcsmbs/wcslen.c: Define and use WCSLEN.
63435         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
63436         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
63437         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
63438         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
63439         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
63440         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
63441         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
63443 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63445         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63446         strnlen-sse2-no-bsf.
63447         Rename strlen-no-bsf to strlen-sse2-no-bsf.
63448         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
63449         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
63450         Add strnlen support.
63451         (USE_AS_STRNLEN): New macro.
63452         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
63453         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
63454         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
63455         * sysdeps/x86_64/wcslen.S: New file.
63457 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
63459         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
63460         XMM-moves are used for copying on small sizes.
63462 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63464         * wcsmbs/Makefile (strop-tests): Add wcschr.
63465         * wcsmbs/test-wcschr.c: New file.
63466         * string/test-strchr.c: Update.
63467         Add wcschr support.
63468         (WIDE): New macro.
63470 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63472         * wcsmbs/Makefile (strop-tests): Add wcslen.
63473         * wcsmbs/test-wcslen.c: New file.
63474         * string/test-strlen.c: Update.
63475         Add wcslen support.
63476         (WIDE): New macro.
63478 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63480         * po/it.po: Update from translation team.
63482 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63484         * sysdeps/x86_64/wcscmp.S: Update.
63485         Fix wrong comparison semantics.
63486         wcscmp shall use signed comparison not unsigned.
63487         Don't use substraction to avoid overflow bug.
63488         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
63489         * wcsmbc/wcscmp.c: Likewise.
63490         * string/test-strcmp.c: Likewise.
63491         Add new tests to check cases with negative values.
63493 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63495         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
63496         * sysdeps/x86_64/dla.h: ...here.  New file.
63497         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
63498         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63499         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63500         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63501         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63502         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63503         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63504         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63505         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63507 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
63509         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
63510         __ynl_finite aliases.
63512 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63516         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
63517         define DLA_FMA.
63518         [DLA_FMA] (EMULV): Use DLA_FMA.
63519         [DLA_FMA] (MUL12): Use EMULV.
63520         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
63521         that are not needed.
63522         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63523         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63524         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63525         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63526         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63527         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63528         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63530 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
63532         * math/s_nan.c: Undef __nan.
63533         * math/s_nanf.c: Undef __nanf.
63534         * math/s_nanl.c: Undef __nanl.
63535         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
63536         "math_private.h".
63538 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63540         * math/s_catan.c: Add branch predictions.
63541         * math/s_catanf.c: Likewise.
63542         * math/s_catanh.c: Likewise.
63543         * math/s_catanhf.c: Likewise.
63544         * math/s_catanhl.c: Likewise.
63545         * math/s_catanl.c: Likewise.
63546         * math/s_cexp.c: Likewise.
63547         * math/s_cexpf.c: Likewise.
63548         * math/s_cexpl.c: Likewise.
63549         * math/s_clog.c: Likewise.
63550         * math/s_clog10.c: Likewise.
63551         * math/s_clog10f.c: Likewise.
63552         * math/s_clog10l.c: Likewise.
63553         * math/s_clogf.c: Likewise.
63554         * math/s_clogl.c: Likewise.
63555         * math/s_csqrt.c: Likewise.
63556         * math/s_csqrtf.c: Likewise.
63557         * math/s_csqrtl.c: Likewise.
63558         * math/s_ctanf.c: Likewise.
63559         * math/s_ctanh.c: Likewise.
63560         * math/s_ctanhf.c: Likewise.
63561         * math/s_ctanhl.c: Likewise.
63562         * math/s_ctanl.c: Likewise.
63564         * math/math_private.h: Define __nan, __nanf, __nanl.
63565         * math/s_cacosh.c: Include <math_private.h>.
63566         * math/s_cacoshl.c: Likewise.
63567         * math/s_casinh.c: Likewise.
63568         * math/s_casinhf.c: Likewise.
63569         * math/s_casinhl.c: Likewise.
63570         * math/s_ccos.c: Rely entire on ccosh.
63571         * math/s_ccosf.c: Rely entire on ccoshf.
63572         * math/s_ccosl.c: Rely entirely on ccoshl.
63573         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
63574         Remove tests for FE_INVALID.
63575         * math/s_ccoshf.c: Likewise.
63576         * math/s_ccoshl.c: Likewise.
63577         * math/s_csin.c: Likewise.
63578         * math/s_csinf.c: Likewise.
63579         * math/s_csinh.c Likewise.
63580         * math/s_csinhf.c: Likewise.
63581         * math/s_csinhl.c: Likewise.
63582         * math/s_csinl.c: Likewise.
63583         * math/s_ctan.c: Likewise.
63584         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
63585         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
63586         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
63588 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
63590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
63591         compilation problems.
63593         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
63594         __builtin_expect.
63596 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
63598         * sysdeps/i386/configure.in: Test for -mfma4 option.
63599         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
63600         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
63601         COMMON_CPUID_INDEX_80000001.
63602         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
63603         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
63604         use it if FMA3 is not supported.
63605         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
63607         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
63608         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63610 2011-10-20  Andreas Schwab  <schwab@redhat.com>
63612         [BZ #12892]
63613         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
63614         it would create a cycle with a link time dependency.
63616 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
63618         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
63619         instruction.
63620         * string/Makefile (strop-tests): Add rawmemchr.
63621         * string/test-rawmemchr.c: New file.
63623         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
63624         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
63625         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
63626         when compiling str{,n}casecmp and when AVX is available.  Hook up
63627         new optimized code in initializers.
63629 2011-10-19  Andreas Schwab  <schwab@redhat.com>
63631         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
63632         __feraiseexcept instead of feraiseexcept.
63634 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
63636         * math/math_private.h: Define defaults for libc_fetestexcept and
63637         libc_feupdateenv.
63638         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
63639         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
63640         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
63641         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63642         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63643         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63644         libc_fetestexcept and libc_feupdateenv.
63646         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
63647         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
63648         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
63649         * sysdeps/x86_64/fpu/math_private.h: Define special version of
63650         libc_feholdexcept_setround.
63652         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
63653         Add s_nearbyint-c and s_nearbyintf-c.
63654         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
63655         nearbyintf inlines.
63656         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
63657         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
63658         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
63659         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
63661         * math/math_private.h: Define defaults for libc_fegetround,
63662         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
63663         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
63664         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
63665         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
63666         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
63667         standard functions.
63668         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
63669         Remove comments and hacks for old compiler versions.
63670         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63671         libc_fegetround, libc_fesetround, libc_feholdexcept, and
63672         libc_feholdexceptl.
63674 2011-10-18  Andreas Schwab  <schwab@redhat.com>
63676         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
63677         (__feraiseexcept_renamed): Add __NTH.
63678         (feraiseexcept): Add __NTH.  Rename local variables to fix
63679         namespace violations.
63681 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
63683         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
63685         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
63687         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
63688         recently added interfaces.
63689         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
63691         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
63692         about macro parameter expansion.
63694         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
63695         __NO_MATH_INLINES is defined.  Cleanups.
63697         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
63698         and __floorf is target has SSE4.1.
63699         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
63700         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
63701         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
63702         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
63704         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
63705         name.
63706         (floorf): Likewise.
63708         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
63710 2011-10-17  Andreas Schwab  <schwab@redhat.com>
63712         * misc/sys/cdefs.h: Fix last change.
63714         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
63715         database lookup.
63717 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
63719         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
63721         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
63722         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63723         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63724         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63725         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63726         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63727         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63728         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63729         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63730         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
63731         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
63732         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
63733         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
63734         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
63735         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
63736         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
63737         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
63738         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
63739         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
63740         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
63741         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
63742         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
63744         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
63745         ceil, ceilf, floor, floorf.
63747         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
63748         Perform IRELATIVE relocations last.
63750         * elf/do-rel.h: Add another parameter nrelative, replacing the
63751         local variable with the same name.  Change name of the function
63752         to end in Rel or Rela (uppercase).
63753         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
63754         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
63755         elf_dynamic_do_##reloc function.
63757 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63759         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
63760         is sufficient, at least on modern CPUs.
63762         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
63764         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
63765         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
63767         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
63768         __expl_finite.
63769         * math/bits/math-finite.h: Add entries for exp.
63770         * math/e_expl.c: Add __*_finite alias.
63771         * sysdeps/i386/fpu/e_exp.S: Likewise.
63772         * sysdeps/i386/fpu/e_expf.S: Likewise.
63773         * sysdeps/i386/fpu/e_expl.c: Likewise.
63774         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63775         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63776         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63777         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63778         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
63779         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63780         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63782         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
63783         is sufficient, at least on modern CPUs.
63785         * ctype/ctype-info.c (__ctype_init): Define.
63786         * include/ctype.h (__ctype_init): Declare.
63787         (__ctype_b_loc): The variable is always initialized.
63788         (__ctype_toupper_loc): Likewise.
63789         (__ctype_tolower_loc): Likewise.
63790         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
63791         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
63793 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
63795         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
63797         * configure.in: Also look in $cxxmachine/include for C++ system
63798         headers.
63800 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63802         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
63803         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
63804         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
63805         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
63806         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
63807         (USE_AS_WMEMCMP): New macro.
63808         Fixing indents.
63809         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
63810         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
63811         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
63812         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
63813         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63814         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
63815         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
63816         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
63817         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
63818         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
63819         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
63820         (USE_AS_WMEMCMP): New macro.
63821         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
63822         * sysdeps/string/test-memcmp.c: Update.
63823         Fix simple_wmemcmp.
63824         Add new tests.
63825         * wcsmbs/wmemcmp.c: Update.
63826         (WMEMCMP): New macro.
63827         Fix overflow bug.
63829 2011-10-12  Andreas Jaeger  <aj@suse.de>
63831         [BZ #13268]
63832         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
63834 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63836         * libio/iofwide.c (do_length): Avoid warning.
63838         * ctype/ctype.h (__isctype_f): Add missing __THROW.
63840 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
63842         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
63844         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
63845         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
63846         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
63847         * sysdeps/i386/i686/fpu/e_log.S: New file.
63848         * sysdeps/i386/i686/fpu/e_logf.S: New file.
63849         * sysdeps/i386/i686/fpu/e_logl.S: New file.
63851         * ctype/ctype.h: Add support for inlined isXXX functions when
63852         compiling C++ code.
63854 2011-10-14  Andreas Schwab  <schwab@redhat.com>
63856         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63858         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
63860 2011-10-13  Roland McGrath  <roland@hack.frob.com>
63862         [BZ #13291]
63863         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
63865 2011-10-13  Andreas Schwab  <schwab@redhat.com>
63867         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
63868         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
63869         feraiseexcept.
63871         * sysdeps/x86_64/memrchr.S: Check for zero size.
63873         * string/stratcliff.c: Add memrchr tests.
63875 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63877         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63878         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
63879         rawmemchr-sse2 rawmemchr-sse2-bsf.
63880         * sysdeps/i386/i686/multiarch/memchr.S: New file.
63881         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
63882         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
63883         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
63884         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
63885         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
63886         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
63887         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
63888         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
63889         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
63890         * string/memrchr.c (MEMRCHR): New macro.
63892 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
63894         Add integration with gcc's -ffinite-math-only and optimize wrapper
63895         functions in libm.
63896         * Versions.def: Define GLIBC_2.15 version for libm.
63897         * math/Makefile (headers): Add bits/math-finite.h.
63898         * math/bits/math-finite.h: New file.
63899         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
63900         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
63901         * math/e_acoshl.c: Add __*_finite alias.
63902         * math/e_acosl.c: Likewise.
63903         * math/e_asinl.c: Likewise.
63904         * math/e_atan2l.c: Likewise.
63905         * math/e_atanhl.c: Likewise.
63906         * math/e_coshl.c: Likewise.
63907         * math/e_exp10.c: Likewise.
63908         * math/e_exp10f.c: Likewise.
63909         * math/e_exp10l.c: Likewise.
63910         * math/e_exp2l.c: Likewise.
63911         * math/e_fmodl.c: Likewise.
63912         * math/e_gammal_r.c: Likewise.
63913         * math/e_hypotl.c: Likewise.
63914         * math/e_j0l.c: Likewise.
63915         * math/e_j1l.c: Likewise.
63916         * math/e_jnl.c: Likewise.
63917         * math/e_lgammal_r.c: Likewise.
63918         * math/e_log10l.c: Likewise.
63919         * math/e_log2l.c: Likewise.
63920         * math/e_logl.c: Likewise.
63921         * math/e_powl.c: Likewise.
63922         * math/e_sinhl.c: Likewise.
63923         * math/e_sqrtl.c: Likewise.
63924         * math/e_scalb.c: Completely rewritten and optimized.
63925         * math/e_scalbf.c: Likewise.
63926         * math/e_scalbl.c: Likewise.
63927         * math/w_acos.c: Likewise.
63928         * math/w_acosf.c: Likewise.
63929         * math/w_acosl.c: Likewise.
63930         * math/w_acosh.c: Likewise.
63931         * math/w_acoshf.c: Likewise.
63932         * math/w_acoshl.c: Likewise.
63933         * math/w_asin.c: Likewise.
63934         * math/w_asinf.c: Likewise.
63935         * math/w_asinl.c: Likewise.
63936         * math/w_atan2.c: Likewise.
63937         * math/w_atan2f.c: Likewise.
63938         * math/w_atan2l.c: Likewise.
63939         * math/w_atanh.c: Likewise.
63940         * math/w_atanhf.c: Likewise.
63941         * math/w_atanhl.c: Likewise.
63942         * math/w_exp10.c: Likewise.
63943         * math/w_exp10f.c: Likewise.
63944         * math/w_exp10l.c: Likewise.
63945         * math/w_fmod.c: Likewise.
63946         * math/w_fmodf.c: Likewise.
63947         * math/w_fmodl.c: Likewise.
63948         * math/w_j0.c: Likewise.
63949         * math/w_j0f.c: Likewise.
63950         * math/w_j0l.c: Likewise.
63951         * math/w_j1.c: Likewise.
63952         * math/w_j1f.c: Likewise.
63953         * math/w_j1l.c: Likewise.
63954         * math/w_jn.c: Likewise.
63955         * math/w_jnf.c: Likewise.
63956         * math/w_log.c: Likewise.
63957         * math/w_logf.c: Likewise.
63958         * math/w_logl.c: Likewise.
63959         * math/w_log10.c: Likewise.
63960         * math/w_log10f.c: Likewise.
63961         * math/w_log10l.c: Likewise.
63962         * math/w_log2.c: Likewise.
63963         * math/w_log2f.c: Likewise.
63964         * math/w_log2l.c: Likewise.
63965         * math/w_pow.c: Likewise.
63966         * math/w_powf.c: Likewise.
63967         * math/w_powl.c: Likewise.
63968         * math/w_remainder.c: Likewise.
63969         * math/w_remainderf.c: Likewise.
63970         * math/w_remainderl.c: Likewise.
63971         * math/w_scalb.c: Likewise.
63972         * math/w_scalbf.c: Likewise.
63973         * math/w_scalbl.c: Likewise.
63974         * math/w_sqrt.c: Likewise.
63975         * math/w_sqrtf.c: Likewise.
63976         * math/w_sqrtl.c: Likewise.
63977         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
63978         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
63979         used.
63980         * math/math_private.h: Declare __kernel_standard_f.
63981         * math/w_cosh.c: Remove cruft and optimize a bit.
63982         * math/w_coshf.c: Likewise.
63983         * math/w_coshl.c: Likewise.
63984         * math/w_exp2.c: Likewise.
63985         * math/w_exp2f.c: Likewise.
63986         * math/w_exp2l.c: Likewise.
63987         * math/w_hypot.c: Likewise.
63988         * math/w_hypotf.c: Likewise.
63989         * math/w_hypotl.c: Likewise.
63990         * math/w_lgamma.c: Likewise.
63991         * math/w_lgamma_r.c: Likewise.
63992         * math/w_lgammaf.c: Likewise.
63993         * math/w_lgammaf_r.c: Likewise.
63994         * math/w_lgammal.c: Likewise.
63995         * math/w_lgammal_r.c: Likewise.
63996         * math/w_sinh.c: Likewise.
63997         * math/w_sinhf.c: Likewise.
63998         * math/w_sinhl.c: Likewise.
63999         * math/w_tgamma.c: Likewise.
64000         * math/w_tgammaf.c: Likewise.
64001         * math/w_tgammal.c: Likewise.
64002         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64003         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64004         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
64005         Minor optimizations.  Pretty printing.  Remove cruft.
64006         * sysdeps/i386/fpu/e_acosf.S: Likewise.
64007         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64008         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64009         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64010         * sysdeps/i386/fpu/e_acosl.c: Likewise.
64011         * sysdeps/i386/fpu/e_asin.S: Likewise.
64012         * sysdeps/i386/fpu/e_asinf.S: Likewise.
64013         * sysdeps/i386/fpu/e_atan2.S: Likewise.
64014         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
64015         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
64016         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64017         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64018         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64019         * sysdeps/i386/fpu/e_exp10.S: Likewise.
64020         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
64021         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
64022         * sysdeps/i386/fpu/e_exp2.S: Likewise.
64023         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
64024         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
64025         * sysdeps/i386/fpu/e_fmod.S: Likewise.
64026         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
64027         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
64028         * sysdeps/i386/fpu/e_hypot.S: Likewise.
64029         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
64030         * sysdeps/i386/fpu/e_log.S: Likewise.
64031         * sysdeps/i386/fpu/e_log10.S: Likewise.
64032         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64033         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64034         * sysdeps/i386/fpu/e_log2.S: Likewise.
64035         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64036         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64037         * sysdeps/i386/fpu/e_logf.S: Likewise.
64038         * sysdeps/i386/fpu/e_logl.S: Likewise.
64039         * sysdeps/i386/fpu/e_pow.S: Likewise.
64040         * sysdeps/i386/fpu/e_powf.S: Likewise.
64041         * sysdeps/i386/fpu/e_powl.S: Likewise.
64042         * sysdeps/i386/fpu/e_remainder.S: Likewise.
64043         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
64044         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
64045         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64046         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64047         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64048         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
64049         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
64050         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
64051         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
64052         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64053         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64054         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
64055         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
64056         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
64057         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
64058         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
64059         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64060         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
64061         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
64062         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
64063         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64064         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
64065         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
64066         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64067         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64068         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
64069         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64070         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64071         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
64072         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
64073         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64074         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64075         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
64076         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
64077         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
64078         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
64079         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
64080         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
64081         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64082         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
64083         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64084         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
64085         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
64086         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
64087         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
64088         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
64089         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
64090         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
64091         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
64092         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
64093         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
64094         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
64095         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64096         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
64097         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
64098         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
64099         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
64100         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
64101         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
64102         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
64103         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
64104         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64105         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
64106         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
64107         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
64108         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64109         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
64110         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
64111         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
64112         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
64113         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64114         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64115         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
64116         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
64117         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
64118         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
64119         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
64120         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
64121         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
64122         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
64123         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
64124         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
64125         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
64126         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64127         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
64128         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
64129         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64130         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
64131         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64132         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
64133         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
64134         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64135         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64136         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
64137         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64138         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
64139         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
64140         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
64141         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64142         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64143         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64144         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
64145         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64146         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64147         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64148         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
64149         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
64150         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
64151         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
64152         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
64153         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
64154         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
64155         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64156         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64157         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64158         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64159         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
64160         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64161         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
64162         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
64163         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
64164         (__isnanf): Likewise.
64165         (__isinf_ns): Likewise.
64166         (__isinf_nsf): Likewise.
64167         (__finite): Likewise.
64168         (__finitef): Likewise.
64169         (__ieee754_sqrt): Define as macro.
64170         (__ieee754_sqrtf): Define as macro.
64171         (__ieee754_sqrtl): Define as macro.
64172         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
64173         inlined copy.
64174         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
64175         __FINITE_MATH_ONLY__ consistent.
64176         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
64178 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
64180         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
64181         of rawmemchr.
64183         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
64185 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
64187         * po/ja.po: Update from translation team.
64189 2011-10-08  Roland McGrath  <roland@hack.frob.com>
64191         * locale/programs/locarchive.c (prepare_address_space): New function.
64192         (create_archive, enlarge_archive, open_archive): Use it.
64194         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
64195         inside [SHARED], where it is used.
64197         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
64199         * nss/getent.c (netgroup_keys): Remove unused variable.
64200         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
64202 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
64204         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
64205         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
64206         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
64207         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
64208         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
64209         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
64210         * math/Makefile (libm-calls): Add s_isinf_ns.
64211         * math/divtc3.c: Use __isinf_nsl instead of isinf.
64212         * math/multc3.c: Likewise.
64213         * math/s_casin.c: Likewise.
64214         * math/s_casinf.c: Likewise.
64215         * math/s_casinl.c: Likewise.
64216         * math/s_ccos.c: Likewise.
64217         * math/s_ccosf.c: Likewise.
64218         * math/s_ccosl.c: Likewise.
64219         * math/s_ctan.c: Likewise.
64220         * math/s_ctanf.c: Likewise.
64221         * math/s_ctanh.c: Likewise.
64222         * math/s_ctanhf.c: Likewise.
64223         * math/s_ctanhl.c: Likewise.
64224         * math/s_ctanl.c: Likewise.
64225         * math/w_fmod.c: Likewise.
64226         * math/w_fmodf.c: Likewise.
64227         * math/w_fmodl.c: Likewise.
64228         * math/w_remainder.c: Likewise.
64229         * math/w_remainderf.c: Likewise.
64230         * math/w_remainderl.c: Likewise.
64231         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
64232         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
64233         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
64234         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
64235         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
64236         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
64237         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
64238         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
64240         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
64241         of the number.
64242         * stdio-common/printf_fphex.c: Likewise.
64243         * stdio-common/printf_size.c: Likewise.
64245         * math/e_exp10.c: Include math_private.h using <...> not "...".
64246         * math/e_exp10f.c: Likewise.
64247         * math/e_exp10l.c: Likewise.
64248         * math/e_exp2l.c: Likewise.
64249         * math/e_j0l.c: Likewise.
64250         * math/e_j1l.c: Likewise.
64251         * math/e_jnl.c: Likewise.
64252         * math/e_lgammal_r.c: Likewise.
64253         * math/e_rem_pio2l.c: Likewise.
64254         * math/e_scalb.c: Likewise.
64255         * math/e_scalbf.c: Likewise.
64256         * math/e_scalbl.c: Likewise.
64257         * math/k_cosl.c: Likewise.
64258         * math/k_sinl.c: Likewise.
64259         * math/k_tanl.c: Likewise.
64260         * math/s_cacoshf.c: Likewise.
64261         * math/s_catan.c: Likewise.
64262         * math/s_catanf.c: Likewise.
64263         * math/s_catanh.c: Likewise.
64264         * math/s_catanhf.c: Likewise.
64265         * math/s_catanhl.c: Likewise.
64266         * math/s_catanl.c: Likewise.
64267         * math/s_ccosh.c: Likewise.
64268         * math/s_ccoshf.c: Likewise.
64269         * math/s_ccoshl.c: Likewise.
64270         * math/s_cexp.c: Likewise.
64271         * math/s_cexpf.c: Likewise.
64272         * math/s_cexpl.c: Likewise.
64273         * math/s_clog.c: Likewise.
64274         * math/s_clog10.c: Likewise.
64275         * math/s_clog10f.c: Likewise.
64276         * math/s_clog10l.c: Likewise.
64277         * math/s_clogf.c: Likewise.
64278         * math/s_clogl.c: Likewise.
64279         * math/s_csin.c: Likewise.
64280         * math/s_csinf.c: Likewise.
64281         * math/s_csinh.c: Likewise.
64282         * math/s_csinhf.c: Likewise.
64283         * math/s_csinhl.c: Likewise.
64284         * math/s_csinl.c: Likewise.
64285         * math/s_csqrt.c: Likewise.
64286         * math/s_csqrtf.c: Likewise.
64287         * math/s_csqrtl.c: Likewise.
64288         * math/s_ctan.c: Likewise.
64289         * math/s_ctanf.c: Likewise.
64290         * math/s_ctanh.c: Likewise.
64291         * math/s_ctanhf.c: Likewise.
64292         * math/s_ctanhl.c: Likewise.
64293         * math/s_ctanl.c: Likewise.
64294         * math/s_ldexp.c: Likewise.
64295         * math/s_ldexpf.c: Likewise.
64296         * math/s_ldexpl.c: Likewise.
64297         * math/s_significand.c: Likewise.
64298         * math/s_significandf.c: Likewise.
64299         * math/s_significandl.c: Likewise.
64300         * math/w_acos.c: Likewise.
64301         * math/w_acosf.c: Likewise.
64302         * math/w_acosh.c: Likewise.
64303         * math/w_acoshf.c: Likewise.
64304         * math/w_acoshl.c: Likewise.
64305         * math/w_acosl.c: Likewise.
64306         * math/w_asin.c: Likewise.
64307         * math/w_asinf.c: Likewise.
64308         * math/w_asinl.c: Likewise.
64309         * math/w_atan2.c: Likewise.
64310         * math/w_atan2f.c: Likewise.
64311         * math/w_atan2l.c: Likewise.
64312         * math/w_atanh.c: Likewise.
64313         * math/w_atanhf.c: Likewise.
64314         * math/w_atanhl.c: Likewise.
64315         * math/w_cosh.c: Likewise.
64316         * math/w_coshf.c: Likewise.
64317         * math/w_coshl.c: Likewise.
64318         * math/w_dremf.c: Likewise.
64319         * math/w_exp10.c: Likewise.
64320         * math/w_exp10f.c: Likewise.
64321         * math/w_exp10l.c: Likewise.
64322         * math/w_exp2.c: Likewise.
64323         * math/w_exp2f.c: Likewise.
64324         * math/w_fmod.c: Likewise.
64325         * math/w_fmodf.c: Likewise.
64326         * math/w_fmodl.c: Likewise.
64327         * math/w_hypot.c: Likewise.
64328         * math/w_hypotf.c: Likewise.
64329         * math/w_hypotl.c: Likewise.
64330         * math/w_j0.c: Likewise.
64331         * math/w_j0f.c: Likewise.
64332         * math/w_j0l.c: Likewise.
64333         * math/w_j1.c: Likewise.
64334         * math/w_j1f.c: Likewise.
64335         * math/w_j1l.c: Likewise.
64336         * math/w_jn.c: Likewise.
64337         * math/w_jnf.c: Likewise.
64338         * math/w_jnl.c: Likewise.
64339         * math/w_lgamma.c: Likewise.
64340         * math/w_lgamma_r.c: Likewise.
64341         * math/w_lgammaf.c: Likewise.
64342         * math/w_lgammaf_r.c: Likewise.
64343         * math/w_lgammal.c: Likewise.
64344         * math/w_lgammal_r.c: Likewise.
64345         * math/w_log.c: Likewise.
64346         * math/w_log10.c: Likewise.
64347         * math/w_log10f.c: Likewise.
64348         * math/w_log10l.c: Likewise.
64349         * math/w_log2.c: Likewise.
64350         * math/w_log2f.c: Likewise.
64351         * math/w_log2l.c: Likewise.
64352         * math/w_logf.c: Likewise.
64353         * math/w_logl.c: Likewise.
64354         * math/w_pow.c: Likewise.
64355         * math/w_powf.c: Likewise.
64356         * math/w_powl.c: Likewise.
64357         * math/w_remainder.c: Likewise.
64358         * math/w_remainderf.c: Likewise.
64359         * math/w_remainderl.c: Likewise.
64360         * math/w_scalb.c: Likewise.
64361         * math/w_scalbf.c: Likewise.
64362         * math/w_scalbl.c: Likewise.
64363         * math/w_sinh.c: Likewise.
64364         * math/w_sinhf.c: Likewise.
64365         * math/w_sinhl.c: Likewise.
64366         * math/w_sqrt.c: Likewise.
64367         * math/w_sqrtf.c: Likewise.
64368         * math/w_sqrtl.c: Likewise.
64369         * math/w_tgamma.c: Likewise.
64370         * math/w_tgammaf.c: Likewise.
64371         * math/w_tgammal.c: Likewise.
64373         * po/ja.po: Update from translation team.
64375 2011-09-29  Andreas Jaeger  <aj@suse.de>
64377         [BZ #13179]
64378         * sunrpc/netname.c (netname2host): Fix logic.
64380         [BZ #6779]
64381         [BZ #6783]
64382         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
64383         correctly.
64384         * math/w_remainder.c (__remainder): Likewise.
64385         * math/w_remainderf.c (__remainderf): Likewise.
64386         * math/libm-test.inc (remainder_test): Add test cases.
64388 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64390         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
64391         sdiv_qrnnd.
64393 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
64395         * string/test-memcmp.c: Avoid unncessary #defines.
64396         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64398 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64400         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
64401         Use new sse2 version for core i3 - i7 as it's faster
64402         than sse42 version.
64403         (bit_Prefer_PMINUB_for_stringop): New.
64404         * sysdeps/x86_64/rawmemchr.S: Update.
64405         Replace with faster SSE2 version.
64406         * sysdeps/x86_64/memrchr.S: New file.
64407         * sysdeps/x86_64/memchr.S: Update.
64408         Replace with faster SSE2 version.
64410 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
64412         * elf/dl-load.c (lose): Add cast to avoid warning.
64414 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
64416         * po/ca.po: Update from translation team.
64418         * inet/getnetgrent_r.c: Hook up nscd.
64419         * nscd/Makefile (routines): Add nscd_netgroup.
64420         (nscd-modules): Add netgroupcache.
64421         (CFLAGS-netgroupcache.c): Define.
64422         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
64423         (cache_search): Add const to second parameter.
64424         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
64425         INNETGR.
64426         (dbs): Add netgrdb entry.
64427         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
64428         (verify_persistent_db): Handle netgrdb.
64429         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
64430         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
64431         GETFDNETGR.
64432         (netgroup_response_header): Define.
64433         (innetgroup_response_header): Define.
64434         (datahead): Add netgroup_response_header and innetgroup_response_header
64435         elements.
64436         * nscd/nscd.conf: Add entries for netgroup cache.
64437         * nscd/nscd.h (dbtype): Add netgrdb.
64438         (_PATH_NSCD_NETGROUP_DB): Define.
64439         (netgroup_iov_disabled): Declare.
64440         (xmalloc, xcalloc, xrealloc): Move declarations here.
64441         (cache_search): Adjust prototype.
64442         Add netgroup-related prototypes.
64443         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
64444         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
64445         (__nscd_innetgr): Declare.
64446         * nscd/selinux.c (perms): Use access_vector_t as element type and
64447         add netgroup-related initializers.
64448         * nscd/netgroupcache.c: New file.
64449         * nscd/nscd_netgroup.c: New file.
64450         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
64451         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
64452         For four parameters use innetgr.
64453         * nss/nss_files/files-init.c: Add definition and callback for netgr.
64454         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
64455         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
64456         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
64458         * nscd/connections.c (register_traced_file): Don't register file
64459         for disabled databases.
64461 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
64463         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
64465         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
64466         from tree and freeing node.
64468 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
64470         * nss/nsswitch.c (__nss_database_lookup): Handle
64471         nss_parse_service_list out of memory case.
64473 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
64475         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
64476         out of memory case.
64478 2011-10-04  Andreas Schwab  <schwab@redhat.com>
64480         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
64481         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
64482         pass it down.
64483         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
64484         elf_machine_rela, elf_machine_lazy_rel.
64485         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
64486         (ELF_DYNAMIC_DO_REL): Likewise.
64487         (ELF_DYNAMIC_DO_RELA): Likewise.
64488         (ELF_DYNAMIC_RELOCATE): Likewise.
64489         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
64490         to ELF_DYNAMIC_DO_REL.
64491         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
64492         (dl_main): In trace mode always set __RTLD_NOIFUNC.
64493         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
64494         elf_machine_rela.
64495         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
64496         skip_ifunc, don't call ifunc function if non-zero.
64497         (elf_machine_rela): Likewise.
64498         (elf_machine_lazy_rel): Likewise.
64499         (elf_machine_lazy_rela): Likewise.
64500         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
64501         (elf_machine_lazy_rel): Likewise.
64502         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
64503         Likewise.
64504         (elf_machine_lazy_rel): Likewise.
64505         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64506         Likewise.
64507         (elf_machine_lazy_rel): Likewise.
64508         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
64509         (elf_machine_lazy_rel): Likewise.
64510         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
64511         (elf_machine_lazy_rel): Likewise.
64512         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
64513         (elf_machine_lazy_rel): Likewise.
64514         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
64515         (elf_machine_lazy_rel): Likewise.
64516         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
64517         (elf_machine_lazy_rel): Likewise.
64518         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64519         (elf_machine_lazy_rel): Likewise.
64521 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
64523         * nss/nss_files/files-init.c (_nss_files_init): Use static
64524         initialization for all the *_traced_file variables.
64526 2011-09-28  Andreas Schwab  <schwab@redhat.com>
64528         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64530 2011-09-27  Roland McGrath  <roland@hack.frob.com>
64532         [BZ #13226]
64533         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
64535 2011-09-27  Andreas Schwab  <schwab@redhat.com>
64537         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64538         Reread the line before reparsing it.
64540 2011-09-26  Andreas Schwab  <schwab@redhat.com>
64542         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
64544 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
64545             Maxim Kuvyrkov  <maxim@codesourcery.com>
64546             Joseph Myers  <joseph@codesourcery.com>
64548         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
64549         if needed for __stack_chk_guard.
64551 2011-09-19  Roland McGrath  <roland@hack.frob.com>
64553         * sysdeps/posix/spawni.c (script_execute): Always define it.
64554         It will be optimized away if unused.
64555         (maybe_script_execute): New function.
64556         (__spawni): Call it.
64558         * Makerules: Don't include tls.make.
64559         (config-tls): Always set to thread.
64560         * tls.make.c: File removed.
64562 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
64564         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
64565         * config.make.in (CPPFLAGS-config): New substituted variable.
64567 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64569         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
64571         [BZ #13192]
64572         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
64573         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
64575 2011-09-15  Roland McGrath  <roland@hack.frob.com>
64577         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
64578         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
64579         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64580         (CALL_FAIL): Likewise.
64581         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
64582         (CALL_FAIL): Macro removed.
64583         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
64585 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64587         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
64588         for __FINITE_MATH_ONLY__ == 1.
64590 2011-09-15  Andreas Schwab  <schwab@redhat.com>
64592         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
64593         __ieee754_sqrt instead of sqrt.
64594         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
64595         __ieee754_sqrtf instead of sqrtf.
64596         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
64597         __floorf instead of floorf.
64598         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
64599         __floorf, __truncf instead of floorf, truncf.
64601 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
64603         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
64605         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
64606         __extern_always_inline.
64607         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
64608         32-bit.
64610 2011-09-14  Andreas Schwab  <schwab@redhat.com>
64612         * elf/rtld.c (dl_main): Also relocate in dependency order when
64613         doing symbol dependency testing.
64615 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
64617         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64618         Always define `refsym'.
64620 2011-09-13  Andreas Schwab  <schwab@redhat.com>
64622         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
64623         (__FD_ELT): Renamed from __FDELT.
64624         * misc/bits/select2.h (__FD_ELT): Likewise.
64625         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
64626         __FD_MASK instead of __FDELT, __FDMASK.
64627         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64628         Likewise.
64629         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64630         Likewise.
64632         * elf/Makefile (gen-ldd): Fix pattern.
64634         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
64635         (init_tls): Likewise.
64637 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
64639         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
64641 2011-09-12  Andreas Schwab  <schwab@redhat.com>
64643         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
64644         `struct cmsghdr *' instead of `void *'.
64645         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
64646         Likewise.
64648 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
64650         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
64651         if non-absolute.
64652         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
64653         ldd_rewrite_script.
64655 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
64657         * configure.in: Remove --with-tls option.
64658         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
64659         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
64660         out in case it is missing.
64661         * sysdeps/ia64/elf/configure.in: Likewise.
64662         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
64663         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
64664         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
64665         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
64666         * sysdeps/sh/elf/configure.in: Likewise.
64667         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
64668         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64669         * sysdeps/x86_64/elf/configure.in: Likewise.
64670         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
64671         * sysdeps/mach/hurd/tls.h: Likewise.
64673         [BZ #13067]
64674         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
64676         [BZ #13090]
64677         * configure.in: Fix use of AC_INIT.
64679         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
64681 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
64683         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
64684         __set_errno.
64685         * malloc/hooks.c: Likewise.
64687         [BZ #11929]
64688         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
64689         variables statically.
64690         (narenas): Initialize.
64691         (list_lock): Initialize.
64692         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
64693         initializtion of main_arena and list_lock.  Small cleanups.
64694         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
64695         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
64696         Add initializers to main_arena and mp_.
64697         (malloc_state): Remove pagesize member.  Change all users to use
64698         GLRO(dl_pagesize).
64700         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
64701         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
64702         is always initialized.
64704         * malloc/malloc.c: Removed unused configurations and dead code.
64705         * malloc/arena.c: Likewise.
64706         * malloc/hooks.c: Likewise.
64707         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
64709         * include/tls.h: Removed.  USE___THREAD must always be defined.
64710         * bits/libc-tsd.h: Don't handle !USE___THREAD.
64711         * elf/dl-libc.c: Likewise.
64712         * elf/dl-tsd.c: Likewise.
64713         * include/errno.h: Likewise.
64714         * include/netdb.h: Likewise.
64715         * include/resolv.h: Likewise.
64716         * inet/herrno-loc.c: Likewise.
64717         * inet/herrno.c: Likewise.
64718         * malloc/arena.c: Likewise.
64719         * malloc/hooks.c: Likewise.
64720         * malloc/malloc.c: Likewise.
64721         * resolv/res-state.c: Likewise.
64722         * resolv/res_libc.c: Likewise.
64723         * sysdeps/i386/dl-machine.h: Likewise.
64724         * sysdeps/ia64/dl-machine.h: Likewise.
64725         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
64726         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64727         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
64728         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
64729         * sysdeps/sh/dl-machine.h: Likewise.
64730         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64731         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64732         * sysdeps/unix/i386/sysdep.S: Likewise.
64733         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
64734         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
64735         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
64736         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
64737         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
64738         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
64739         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
64740         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64741         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64742         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
64743         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64744         * sysdeps/x86_64/dl-machine.h: Likewise.
64745         * tls.make.c: Likewise.
64747         * configure.in: Remove --with-__thread option.  Make tests for
64748         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
64749         tls_model attribute fail if no support is available.  Remove
64750         USE_IN_LIBIO.
64751         * Makeconfig: Adjust for dropped configure option.  All features are
64752         now mandatory.
64753         * Makerules: Likewise.
64754         * Versions.def: Likewise.
64755         * argp/argp-fmtstream.c: Likewise.
64756         * argp/argp-fmtstream.h: Likewise.
64757         * argp/argp-help.c: Likewise.
64758         * assert/assert.c: Likewise.
64759         * config.h.in: Likewise.
64760         * config.make.in: Likewise.
64761         * configure: Likewise.
64762         * configure.in: Likewise.
64763         * csu/Versions: Likewise.
64764         * csu/init.c: Likewise.
64765         * elf/tst-audit2.c: Likewise.
64766         * elf/tst-tls10.c: Likewise.
64767         * elf/tst-tls10.h: Likewise.
64768         * elf/tst-tls11.c: Likewise.
64769         * elf/tst-tls12.c: Likewise.
64770         * elf/tst-tls14.c: Likewise.
64771         * elf/tst-tlsmod11.c: Likewise.
64772         * elf/tst-tlsmod12.c: Likewise.
64773         * elf/tst-tlsmod13.c: Likewise.
64774         * elf/tst-tlsmod13a.c: Likewise.
64775         * elf/tst-tlsmod14a.c: Likewise.
64776         * elf/tst-tlsmod15b.c: Likewise.
64777         * elf/tst-tlsmod16a.c: Likewise.
64778         * elf/tst-tlsmod16b.c: Likewise.
64779         * elf/tst-tlsmod7.c: Likewise.
64780         * elf/tst-tlsmod8.c: Likewise.
64781         * elf/tst-tlsmod9.c: Likewise.
64782         * gmon/gmon.c: Likewise.
64783         * grp/fgetgrent_r.c: Likewise.
64784         * grp/putgrent.c: Likewise.
64785         * hurd/fopenport.c: Likewise.
64786         * include/libc-symbols.h: Likewise.
64787         * include/tls.h: Likewise.
64788         * intl/gettextP.h: Likewise.
64789         * intl/loadinfo.h: Likewise.
64790         * locale/global-locale.c: Likewise.
64791         * locale/localeinfo.h: Likewise.
64792         * mach/devstream.c: Likewise.
64793         * malloc/arena.c: Likewise.
64794         * malloc/set-freeres.c: Likewise.
64795         * misc/err.c: Likewise.
64796         * misc/getttyent.c: Likewise.
64797         * misc/mntent_r.c: Likewise.
64798         * posix/getopt.c: Likewise.
64799         * posix/wordexp.c: Likewise.
64800         * pwd/fgetpwent_r.c: Likewise.
64801         * resolv/Versions: Likewise.
64802         * resolv/res_hconf.c: Likewise.
64803         * shadow/fgetspent_r.c: Likewise.
64804         * shadow/putspent.c: Likewise.
64805         * stdio-common/printf_fphex.c: Likewise.
64806         * stdio-common/tmpfile.c: Likewise.
64807         * stdlib/abort.c: Likewise.
64808         * stdlib/fmtmsg.c: Likewise.
64809         * sunrpc/auth_unix.c: Likewise.
64810         * sunrpc/clnt_perr.c: Likewise.
64811         * sunrpc/clnt_tcp.c: Likewise.
64812         * sunrpc/clnt_udp.c: Likewise.
64813         * sunrpc/clnt_unix.c: Likewise.
64814         * sunrpc/openchild.c: Likewise.
64815         * sunrpc/svc_simple.c: Likewise.
64816         * sunrpc/svc_tcp.c: Likewise.
64817         * sunrpc/svc_udp.c: Likewise.
64818         * sunrpc/svc_unix.c: Likewise.
64819         * sunrpc/xdr.c: Likewise.
64820         * sunrpc/xdr_array.c: Likewise.
64821         * sunrpc/xdr_rec.c: Likewise.
64822         * sunrpc/xdr_ref.c: Likewise.
64823         * sunrpc/xdr_stdio.c: Likewise.
64825 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64827         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64829 2011-07-03  Andreas Jaeger  <aj@suse.de>
64831         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
64832         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
64833         regenerate with gen-libm-tests.pl.
64835 2010-05-12  Petr Baudis  <pasky@suse.cz>
64837         [BZ #11589]
64838         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
64839         around j0() zero points by switching to j1().
64840         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64841         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64842         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64843         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64845 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64847         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
64848         instead of 0.
64849         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
64850         instead of 0.
64851         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64852         Patch in part by Pavel Roskin <proski@gnu.org>.
64854         [BZ #13138]
64855         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
64856         realloc.
64857         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
64858         Free memory block if necessary.
64860         [BZ #12847]
64861         * libio/genops.c (INTDEF): For string streams the _lock pointer can
64862         be NULL.  Don't lock in this case.
64864 2011-09-09  Roland McGrath  <roland@hack.frob.com>
64866         * elf/elf.h (ELFOSABI_GNU): New macro.
64867         (ELFOSABI_LINUX): Define to that.
64869 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
64871         * string/strncat.c (strncat): Undef the symbol in case it has been
64872         defined in bits/string.h.
64874 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64876         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
64878         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
64879         link map.
64881 2011-08-17  Andreas Jaeger  <aj@suse.de>
64883         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
64885 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
64886             Ian Lance Taylor  <iant@google.com>
64888         * math/libm-test.inc (lround_test): New testcase.
64889         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
64891 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
64893         * Makefile: Remove support for automatic cvs check-ins.
64894         * Makerules: Likewise.
64895         * config.make.in: Likewise.
64896         * configure.in: Likewise.
64897         * intl/Makefile: Likewise.
64898         * locale/Makefile: Likewise.
64899         * po/Makefile: Likewise.
64900         * posix/Makefile: Likewise.
64901         * sysdeps/gnu/Makefile: Likewise.
64902         * sysdeps/mach/hurd/Makefile: Likewise.
64903         * sysdeps/sparc/sparc32/Makefile: Likewise.
64905         [BZ #13118]
64906         * posix/Makefile (bug-regex32-ENV): Define.
64907         Patch by John Stanley <jpsinthemix@verizon.net>.
64909         * misc/Makefile (headers): Add bits/select2.h.
64910         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
64911         * misc/bits/select2.h: New file.
64912         * include/bits/select2.h: New file.
64913         * debug/Makefile (routines): Add fdelt_chk.
64914         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
64915         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
64916         FD_ISSET.
64917         * debug/fdelt_chk.c: New file.
64919         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
64920         * wcsmbs/test-wmemcmp.c: Likewise.
64921         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
64922         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
64924 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64926         * string/Makefile (strop-tests): Add memcmp.
64927         * string/test-wmemcmp.c: New file.
64928         * string/test-memcmp.c: Add wmemcmp support.
64930 2011-09-08  Roland McGrath  <roland@hack.frob.com>
64932         [BZ #13153]
64933         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
64934         2011-07-19 change.
64936         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
64937         garbage value in a __mach_port_mod_refs call in the cases of the
64938         task-self and thread-self ports.
64940 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64942         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
64944 2011-09-08  Andreas Schwab  <schwab@redhat.com>
64946         * elf/dl-load.c (lose): Check for non-null L.
64948 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
64950         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
64952         * elf/dl-libc.c (dlerror_run): Pass back error code from
64953         dl_catch_error.
64955         [BZ #13123]
64956         * elf/dl-load.c (lose): Free l_origin if it is valid.
64958         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
64959         names.
64960         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
64961         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
64962         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
64963         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
64964         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
64965         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
64967 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64969         * sysdeps/powerpc/fpu/e_hypot.c: New file.
64970         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
64971         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
64972         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
64973         * sysdeps/powerpc/fpu/k_cosf.c: New file.
64974         * sysdeps/powerpc/fpu/k_sinf.c: New file.
64975         * sysdeps/powerpc/fpu/s_cosf.c: New file.
64976         * sysdeps/powerpc/fpu/s_sinf.c: New file.
64977         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
64978         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
64980 2011-08-15  Alan Modra  <amodra@gmail.com>
64982         [BZ #13092]
64983         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
64984         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
64985         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
64986         ppc_mcount to static-only-routines.
64987         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
64988         __mcount_internal.
64989         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
64990         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
64992 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
64994         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
64995         for finite and infinity parameters.
64997 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
64999         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
65000         and add nop instructions for throughput optimization.
65001         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65003 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
65005         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
65006         aligned copy for power7 with vector-scalar instructions.
65007         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
65009 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
65011         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
65012         AVX check.
65014 2011-09-07  Andreas Schwab  <schwab@redhat.com>
65016         [BZ #13144]
65017         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
65018         last change.
65020 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
65022         * sysdeps/unix/sysv/linux/x86_64/init-first.c
65023         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
65024         syscall wrapper around clock_gettime in __vdso_clock_gettime.
65025         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
65026         clock_gettime.
65028 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
65030         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
65031         Forgot to demangle the pointer.
65033         * sysdeps/i386/sysdep.h: Define atom_text_section.
65034         * sysdeps/x86_64/sysdep.h: Likewise.
65035         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
65036         section with atom_text_section.
65037         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
65038         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
65039         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
65040         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65041         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
65043         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
65044         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
65045         already be defined.  Change to take two parameters and don't assign
65046         result to variable.  Adjust all users.
65047         Define INTERNAL_GETTIME if not already defined.
65048         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
65049         call.
65050         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
65051         HAVE_CLOCK_GETTIME_VSYSCALL.
65052         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
65054         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
65055         gettimeofday vsyscall, just use time.
65057 2011-09-06  Andreas Schwab  <schwab@redhat.com>
65059         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
65060         <errno.h>.
65062 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
65064         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
65065         syscall on x86-64.
65066         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
65067         syscall.
65068         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
65069         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
65070         syscall if possible.
65072 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65074         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
65075         e_ident.  Don't pass to find_mapsXX.
65076         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
65078 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65080         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65081         strchr-sse2-no-bsf strrchr-sse2-no-bsf
65082         * sysdeps/x86_64/multiarch/strchr.S: Update.
65083         Check bit_slow_BSF bit.
65084         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65085         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
65086         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
65088 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65090         [BZ #13134]
65091         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
65092         before glibc 2.15.
65093         (tryshell): Define.
65094         (__spawni): Change last parameter to be flag.  Test
65095         SPAWN_XFLAGS_USE_PATH flag to use path or not.
65096         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
65097         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
65098         * posix/spawni.c: Likewise.
65099         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
65100         * posix/spawnp.c: Likewise.  Change normal version to use
65101         SPAWN_XFLAGS_USE_PATH.
65102         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
65103         SPAWN_XFLAGS_TRY_SHELL.
65105         [BZ #13150]
65106         * posix/glob.h: Remove gcc 1.x support.
65108         [BZ #13068]
65109         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
65111 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65113         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65114         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
65115         strrchr-sse2-bsf
65116         * sysdeps/i386/i686/multiarch/strchr.S: New file.
65117         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
65118         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
65119         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
65120         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
65121         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
65123 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65125         * sysdeps/x86_64/wcscmp.S: New file.
65127         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
65128         wcscmp-c wcscmp-sse2
65129         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
65130         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
65131         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
65132         * wcsmbs/wcscmp.c: Allow renaming.
65134 2011-09-05  David S. Miller  <davem@davemloft.net>
65136         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
65137         stack slot, rather than the struct return pointer slot.
65138         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
65139         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
65140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
65141         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
65143 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65145         * po/ja.po: Update from translation team.
65147         [BZ #13144]
65148         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
65149         kernel in 64-bit binaries.
65151 2011-09-01  David S. Miller  <davem@davemloft.net>
65153         * elf/elf.h (HWCAP_SPARC_*): Move to..
65154         * sysdeps/sparc/sysdep.h: this new file and add new values.
65155         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
65156         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
65157         _DL_HWCAP_COUNT to 24.
65158         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
65159         entries.
65160         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
65161         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
65162         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
65163         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
65164         instead of magic constants.
65165         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65167 2011-08-31  David S. Miller  <davem@davemloft.net>
65169         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
65170         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
65171         Reimplement to do errno handling inline.
65172         (SYSCALL_ERROR_HANDLER): New macro.
65173         (__SYSCALL_STRING): Do not do errno handling in asm.
65174         (__CLONE_SYSCALL_STRING): Delete.
65175         (__INTERNAL_SYSCALL_STRING): Delete.
65176         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
65177         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
65178         (PSEUDO): Reimplement to do errno handling inline.
65179         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
65180         (SYSCALL_ERROR_HANDLER): New macro.
65181         (__SYSCALL_STRING): Do not do errno handling in asm.
65182         (__CLONE_SYSCALL_STRING): Delete.
65183         (__INTERNAL_SYSCALL_STRING): Delete.
65184         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
65185         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
65186         i386.
65187         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
65188         (inline_syscall*): Add 'err' argument.
65189         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
65190         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
65191         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
65192         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
65194         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
65195         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65197 2011-08-30  Andreas Schwab  <schwab@redhat.com>
65199         * elf/rtld.c (dl_main): Relocate objects in dependency order.
65201 2011-08-29  Jiri Olsa <jolsa@redhat.com>
65203         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
65204         directive.
65206 2011-08-24  David S. Miller  <davem@davemloft.net>
65208         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
65210 2011-08-24  Andreas Schwab  <schwab@redhat.com>
65212         * elf/Makefile: Add rules to build and run unload8 test.
65213         * elf/unload8.c: New file.
65214         * elf/unload8mod1.c: New file.
65215         * elf/unload8mod1x.c: New file.
65216         * elf/unload8mod2.c: New file.
65217         * elf/unload8mod3.c: New file.
65219         * elf/dl-close.c (_dl_close_worker): Reset private search list if
65220         it wasn't used.
65222 2011-08-23  David S. Miller  <davem@davemloft.net>
65224         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
65225         subtract stack bias.
65226         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
65227         %sp not %fp in calculations.
65228         (_JMPBUF_UNWINDS_ADJ): Likewise.
65230         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
65231         (aio_suspend): Call it to force an exception region around the
65232         AIO_MISC_WAIT() invocation.
65234 2011-08-23  Andreas Schwab  <schwab@redhat.com>
65236         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
65237         backslash.
65239 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
65241         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
65242         protection macro.
65243         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
65244         and <dl-machine.h>.
65245         (Elf64_FuncDesc): Remove.
65247 2011-08-22  David S. Miller  <davem@davemloft.net>
65249         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
65250         sigaltstack check, add missing cfi directives.
65251         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
65252         missing cfi directives, and sigaltstack handling.
65254 2011-08-16  Andreas Schwab  <schwab@redhat.com>
65256         [BZ #11724]
65257         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
65258         object is seen twice.
65259         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65261         * elf/Makefile (distribute): Add tst-initorder2.c.
65262         (tests): Add tst-initorder2.
65263         (modules-names): Add tst-initorder2a tst-initorder2b
65264         tst-initorder2c tst-initorder2d.  Add rules to build them.
65265         ($(objpfx)tst-initorder2.out): New rule.
65266         * elf/tst-initorder2.c: New file.
65267         * elf/tst-initorder2.exp: New file.
65269 2011-08-22  Andreas Schwab  <schwab@redhat.com>
65271         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
65273         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
65274         dependencies back to end of function.
65276         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65277         $(elfobjdir)/ld.so.
65279 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
65281         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
65282         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
65283         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
65284         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
65285         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
65286         of __vdso_gettimeofday.
65287         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
65288         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
65289         attribute_hidden.
65290         (_libc_vdso_platform_setup): Remove initialization of
65291         __vdso_gettimeofday and __vdso_time.
65293 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
65295         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
65296         and fgetc_unlocked.
65297         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
65298         getc_unlocked.
65300         * elf/dl-open.c (add_to_global): Report additions to the global scope
65301         for LD_DEBUG=scopes.
65302         (dl_open_worker): Also print scope of newly loaded dependencies.
65303         (_dl_show_scope): Indicate if there is no scope.
65305         [BZ #13114]
65306         * stdio-common/Makefile (tests): Add bug24.
65307         * stdio-common/bug24.c: New file.
65309 2011-08-19  Andreas Jaeger  <aj@suse.de>
65311         [BZ #13114]
65312         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
65313         non-existant file when using close-on-exec mode.
65315 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
65317         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
65318         the very first instruction.
65320         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
65321         the CFI state in the end.
65322         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
65323         inclusion of dl-trampoline.h.
65324         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
65326 2011-08-19  Andreas Schwab  <schwab@redhat.com>
65328         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
65329         expectations for long double.
65331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
65332         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
65334 2011-08-14  David S. Miller  <davem@davemloft.net>
65336         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
65337         artificual limit depends upon the system page size.
65339 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
65341         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
65342         * resolv/Makefile: Define CFLAGS-libresolv.
65344 2011-08-17  Andreas Schwab  <schwab@redhat.com>
65346         * nss/makedb.c (compute_tables): Make variables used in nested
65347         function static.
65349 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
65351         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
65352         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
65353         if buffer was too small.
65355         * elf/pldd.c (main): Attach to all threads in the process.
65356         Rewrite /proc handling to use *at functions.
65358 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
65360         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
65361         specifies first scope to show.
65362         (dl_open_worker): Update callers.  Move printing scope of new
65363         object to before the relocation.
65364         * elf/rtld.c (dl_main): Update _dl_show_scope call.
65365         * sysdeps/generic/ldsodefs.h: Update declaration.
65367         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
65368         string for the scope number.
65370 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
65372         * nscd/servicescache.c (cache_addserv): Make sure written is always
65373         initialized.
65375 2011-08-14  Roland McGrath  <roland@hack.frob.com>
65377         * sysdeps/i386/i486/bits/atomic.h
65378         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
65379         statement expression, so as to suppress "set but not used" warning.
65380         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
65382         * string/strncat.c (STRNCAT): Use prototype definition.
65384         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
65385         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
65386         -Iprograms here.
65387         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
65388         (localedef-modules): Add localedef.
65389         (locale-modules): Add locale.
65391         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
65392         * elf/rtld.c (dl_main): Invert order of assignment in last change,
65393         to avoid a warning.
65395 2011-08-14  David S. Miller  <davem@davemloft.net>
65397         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
65398         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
65400 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
65402         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
65403         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
65404         * elf/rtld.c (dl_main): Set l_name of vDSO.
65405         Call _dl_show_scope when DL_DEBUG_SCOPES.
65406         (process_dl_debug): Recognize scopes flag and also set it for all.
65407         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
65408         Declare _dl_show_scope.
65410         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
65411         (do_dlopen): Pass caller_dlopen to dl_open.
65412         (__libc_dlopen_mode): Initialize caller_dlopen.
65414         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
65415         of libc.  Make tolower call locale-independent.  Optimize a bit by
65416         using isdigit instead of isalnum.
65417         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
65419 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
65421         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
65422         was a dependency or dynamically loaded.
65424 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
65426         * intl/l10nflist.c: Allow architecture-specific pop function.
65427         * sysdeps/x86_64/l10nflist.c: New file.
65429         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
65430         classification.
65432 2011-08-10  Andreas Schwab  <schwab@redhat.com>
65434         * include/dirent.h: Add libc_hidden_proto for scandirat and
65435         scandirat64.  Don't declare __scandirat64.
65436         * dirent/scandirat.c: Add libc_hidden_def.
65437         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
65438         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
65440 2011-08-10  David S. Miller  <davem@davemloft.net>
65442         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
65443         enum.
65444         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
65445         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
65446         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
65448 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
65450         * Versions.def [libc]: Add GLIBC_2.15.
65451         * dirent/Makefile (routines): Add scandirat and scandirat64.
65452         * dirent/Versions [libc]: Export scandirat and scandirat64 for
65453         GLIBC_2.15.
65454         * dirent/dirent.h: Declare scandirat and scandirat64.
65455         * dirent/scandirat.c: New file.
65456         * dirent/scandirat64.c: New file.
65457         * sysdeps/wordsize-64/scandirat.c: New file.
65458         * sysdeps/wordsize-64/scandirat64.c: New file.
65459         * dirent/opendir.c: Define opendirat.
65460         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
65461         using scandirat.
65462         * dirent/scandir64.c: Adjust for scandir.c change.
65463         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
65464         __scandirat64, and __scandir_cancel_handler.
65465         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
65466         additional parameter and use openat instead of open (outside of ld.so).
65467         Add new __opendir as wrapper around __opendirat.
65468         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
65469         here without requiring old scandirat implementation.
65471 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
65473         * dirent/scandir.c (cancel_handler): Renamed to
65474         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
65475         defined.  Adjust users.
65476         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
65477         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
65479 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
65481         * string/test-string.h (IMPL): Use __STRING to expand name and then
65482         stringify it.
65484         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
65485         of cleanups.
65487 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65489         * string/Makefile: Update.
65490         (strop-tests): Append strncat.
65491         * string/test-wcscmp.c: New file.
65492         New comprehensive test for wcscmp.
65493         * string/test-strcmp.c: Update.
65494         (WIDE): New define.
65496 2011-07-22  Andreas Schwab  <schwab@redhat.com>
65498         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
65499         line.
65501 2011-07-26  Andreas Schwab  <schwab@redhat.com>
65503         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
65504         encoding to ACE if AI_IDN.
65506 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
65508         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
65509         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
65511 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65513         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
65514         Fix overflow bug in strncat.
65515         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
65517         * string/test-strncat.c: Update.
65518         Add new tests for checking overflow bugs.
65520 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65522         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65523         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
65524         * sysdeps/i386/i686/multiarch/strcat.S: New file.
65525         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
65526         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
65527         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
65528         * sysdeps/i386/i686/multiarch/strncat.S: New file.
65529         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
65530         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
65532         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
65533         (USE_AS_STRCAT): Define.
65534         Add strcat and strncat support.
65535         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
65537 2011-07-25  Andreas Schwab  <schwab@redhat.com>
65539         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
65540         __n bigger than INT_MAX+1.
65541         (__strncmp_g): Likewise.
65543 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
65545         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
65546         * libio/stido.h: Likewise.
65548         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
65549         (AF_NFC): Define.
65550         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
65551         (AF_NFC): Define.
65553         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
65554         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
65555         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
65556         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
65557         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
65559         [BZ #13021]
65560         * scripts/test-installation.pl: Don't expect libnss_test1 to be
65561         installed.
65563         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
65564         typo.
65565         (_dl_x86_64_save_sse): Likewise.
65567 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
65569         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
65570         OSXSAVE.
65571         (_dl_x86_64_save_sse): Likewise.
65573         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
65575         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
65577 2011-07-21  Andreas Schwab  <schwab@redhat.com>
65579         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
65580         change.
65581         (_dl_x86_64_save_sse): Use correct AVX check.
65583 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65585         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
65586         bug in strncpy/strncat.
65587         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
65589 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
65591         * string/tester.c (test_strcat): Add tests for different alignments
65592         of source and destination.
65593         (test_strncat): Likewise.
65595 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65597         [BZ #12852]
65598         * posix/glob.c (glob): Check passed in values before using them in
65599         expressions to avoid some overflows.
65600         (glob_in_dir): Likewise.
65602         [BZ #13007]
65603         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
65604         check for AVX enablement so that we don't crash with old kernels and
65605         new hardware.
65606         * elf/tst-audit4.c: Add same checks here.
65607         * elf/tst-audit6.c: Likewise.
65609         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
65611 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
65613         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
65615 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65617         * po/cs.po: Update from translation team.
65618         * po/bg.po: Likewise.
65620 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
65622         * misc/sys/cdefs.h: Add support for const attribute.
65623         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
65624         to gnu_dev_{major,minor,makedev} functions.
65626 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
65628         * intl/dcigettext.c (get_output_charset): Add missing bracket.
65630 2011-07-20  Andreas Schwab  <schwab@redhat.com>
65632         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
65633         strlen results.
65635 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65637         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
65638         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
65639         register in order to avoid conflicts with the soft frame pointer
65640         being held in r11 when necessary.
65641         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
65642         (INTERNAL_VSYSCALL_NCS): Likewise.
65644 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
65646         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
65647         * elf/dl-fini.c (_dl_fini): Adjust caller.
65648         * elf/dl-close.c (_dl_close_worker): Likewise.
65649         * sysdeps/generic/ldsodefs.h: Adjust declaration.
65651 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65653         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
65654         "aux_cache->nlibs < 0".
65656         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
65657         in the reload-count case.
65659 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65661         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65662         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
65663         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
65664         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
65665         * sysdeps/x86_64/multiarch/strcat.S: New file.
65666         * sysdeps/x86_64/multiarch/strncat.S: New file.
65667         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
65668         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
65669         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
65670         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
65671         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
65672         (USE_AS_STRCAT): Define.
65673         Add strcat and strncat support.
65674         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65675         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
65676         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
65677         * string/strncat.c: Update.
65678         (USE_AS_STRNCAT): Define.
65679         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65680         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
65681         and i7.
65682         * sysdeps/x86_64/multiarch/init-arch.h
65683         (bit_Prefer_PMINUB_for_stringop): New.
65684         (index_Prefer_PMINUB_for_stringop): Likewise.
65685         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
65686         bit_Prefer_PMINUB_for_stringop.
65688 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65690         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
65691         buffer64.
65692         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
65693         of casting of buffer.
65694         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
65695         buffer32 and buffer64.
65696         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
65697         writes instead of casting of buffer.
65698         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
65699         buffer32.
65700         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
65701         casting of buffer.
65703 2011-07-19  Andreas Schwab  <schwab@redhat.com>
65705         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
65707 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65709         * nscd/nscd.c (termination_handler): Don't do anything for a database
65710         if it has not yet been initialized.
65712 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65714         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65716 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65718         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65720 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65722         * po/nl.po: Update from translation team.
65723         * po/sv.po: Likewise.
65725 2011-07-16  Roland McGrath  <roland@hack.frob.com>
65727         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
65728         now disallowed by GCC.
65730         * configure.in (use-default-link): Default to yes if a test -shared
65731         link meets our qualifications.
65732         * configure: Regenerated.
65734         * config.make.in (output-format): New variable.
65735         * configure.in: Check for ld --print-output-format support.
65736         * configure: Regenerated.
65737         * Makerules ($(common-objpfx)format.lds)
65738         [$(output-format) != unknown]: Just use $(output-format),
65739         instead of the linker-script munging.
65741 2011-07-14  Roland McGrath  <roland@hack.frob.com>
65743         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
65744         of $(common-objpfx)shlib.lds.
65745         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
65747         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
65748         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
65750         * configure.in (-z relro check): Adjust test code to add a large
65751         writable data section after it.
65752         * configure: Regenerated.
65754 2011-07-11  Roland McGrath  <roland@hack.frob.com>
65756         * configure.in (-z relro check): Fix test code to make the variable
65757         truly const.
65758         * configure: Regenerated.
65760 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
65762         * nscd/nscd.h (struct traced_file): Define.
65763         (struct database_dyn): Remove inotify_descr, reset_res, and filename
65764         elements.  Add traced_files.
65765         (inotify_fd): Declare.
65766         (register_traced_file): Declare.
65767         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
65768         (inotify_fd): Export.
65769         (resolv_conf_descr): Remove.
65770         (nscd_init): Move inotify descriptor creation to main.
65771         Don't register files for notification here.
65772         (register_traced_file): New function.
65773         (invalidate_cache): Don't use reset_res to determine whether to call
65774         res_init, go through the list of registered files.
65775         (main_loop_poll): The inotify descriptors are now stored in the
65776         structures for the traced files.
65777         (main_loop_epoll): Likewise
65778         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
65779         to __nss_disable_nscd.
65780         * nscd/cache.c (prune_cache): There is no single inotify descriptor
65781         for a database anymore.  Check the records for all the registered
65782         files instead.
65783         * nss/Makefile (libnss_files-routines): Add files-init.
65784         (libnss_db-routines): Add db-init.
65785         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
65786         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
65787         * nss/nss_db/db-init.c: New file.
65788         * nss/nss_files/files-init.c: New file.
65789         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
65790         __nss_lookup_function.
65791         (__nss_lookup_function): Call nss_load_library.
65792         (nss_load_all_libraries): New function.
65793         (__nss_disable_nscd): Take parameter with callback function for files
65794         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
65795         used for the cached services.
65796         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
65797         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
65798         options for features to all the files in nscd.
65800         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
65802 2011-07-10  Roland McGrath  <roland@hack.frob.com>
65804         * csu/elf-init.c (__libc_csu_init): Comment typo.
65806 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
65808         * po/pl.po: Update from translation team.
65809         * po/ja.po: Likewise.
65810         * po/ru.po: Likewise.
65811         * po/ko.po: Likewise.
65812         * po/fr.po: Likewise.
65814 2011-07-09  Roland McGrath  <roland@hack.frob.com>
65816         * configure.in (.ctors/.dtors header and trailer check):
65817         Use an empirical test on a built program.
65818         * configure: Regenerated.
65820         * configure.in (-z relro check): Use an empirical test on a built DSO.
65821         Detect, but do not require, on ia64.
65822         * configure: Regenerated.
65824         * configure.in (READELF): Find it with AC_CHECK_TOOL.
65825         Update tests that use readelf to use $READELF instead.
65826         * configure: Regenerated.
65828 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
65830         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
65831         if the result is not used.
65833 2011-07-05  Andreas Jaeger  <aj@suse.de>
65835         [BZ#9696]
65836         * stdlib/tst-strtod.c: Add testcase.
65838 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
65840         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
65841         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
65842         The latter has a higher limit.  Take additional parameter to pass to
65843         the new function.
65844         (__pathconf): Pass file to __statfs_link_max.
65845         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
65846         __statfs_link_max.
65847         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
65848         __statfs_link_max.
65850         [BZ #12868]
65851         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
65852         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65853         Handle Lustre.
65854         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
65855         (__statfs_filesize_max): Likewise.
65856         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
65858 2011-07-05  Andreas Jaeger  <aj@suse.de>
65860         * resolv/res_comp.c (dn_skipname): Remove unused variable.
65862 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
65864         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
65865         `status' variable.
65866         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
65867         Likewise.
65869 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
65871         * Makefile (strop-tests): Add strncat.
65872         * string/test-strncat.c: New file.
65874 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
65876         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
65878 2011-06-21  Andreas Jaeger  <aj@suse.de>
65880         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
65881         Copy rule from iconvdata/Makefile.
65883 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65885         [BZ #12922]
65886         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
65887         but no long options are defined, just return 'W'.
65889 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
65891         [BZ #9696]
65892         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
65894 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65896         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
65897         netgroups to read.
65898         (innetgr): Likewise.
65900 2011-07-05  Roland McGrath  <roland@hack.frob.com>
65902         * config.make.in (install_root): Default to $(DESTDIR).
65904 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
65906         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
65908 2011-07-02  Roland McGrath  <roland@hack.frob.com>
65910         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
65912         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
65913         containing directory rather than embedding absolute directory names.
65915         * scripts/check-local-headers.sh: Rewritten using awk.
65916         Match by word, not by line.  Print error messages for matches.
65917         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
65919         * Makerules [shlib-lds-flags empty]:
65920         ($(common-objpfx)libc_pic.opts): New target.
65921         ($(common-objpfx)libc_pic.os.clean): New target.
65922         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
65924         * config.make.in (OBJCOPY): New variable.
65925         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
65926         * configure: Regenerated.
65928         * config.make.in (use-default-link): New variable.
65929         * configure.in (use_default_link): Grok --with-default-link to set it.
65930         * configure: Regenerated.
65931         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
65932         (shlib-lds, shlib-lds-flags): Define to empty.
65934         * Makerules (shlib-lds): New variable.
65935         (shlib-lds-flags): New variable.
65936         (build-shlib, build-moduile, build-module-asneeded): Use it.
65937         ($(common-objpfx)libc.so): Use $(shlib-lds).
65938         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
65939         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
65941         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
65942         DT_FLAGS/DT_FLAGS_1 with zero flags.
65944         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
65945         linker script munging.
65947 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
65949         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
65950         as 128-bit value.
65951         * crypt/sha512.c (sha512_process_block): Perform total addition using
65952         128-bit if possible.
65953         (__sha512_finish_ctx): Likewise.
65954         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
65955         as 64-bit value.
65956         * crypt/sha256.c (SWAP64): Define.
65957         (sha256_process_block): Perform total addition using 64-bit if
65958         possible.
65959         (__sha256_finish_ctx): Likewise.
65961 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
65963         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
65964         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65965         * nscd/hstcache.c (cache_addhst): Likewise.
65966         * nscd/grpcache.c (cache_addgr): Likewise.
65967         * nscd/aicache.c (addhstaiX): Likewise
65968         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
65970 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
65972         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
65973         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65974         * nscd/hstcache.c (cache_addhst): Likewise.
65975         * nscd/grpcache.c (cache_addgr): Likewise.
65976         * nscd/aicache.c (addhstaiX): Likewise
65978 2011-07-01  Andreas Schwab  <schwab@redhat.com>
65980         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
65981         domain only when needed.
65983 2011-06-30  Andreas Schwab  <schwab@redhat.com>
65985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
65986         is always restored.
65988 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
65990         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
65991         are re-adding the entry.
65992         * nscd/servicescache.c (cache_addserv): Likewise.
65994 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
65996         * sysdeps/generic/dl-irel.h: fix protection against multiple
65997         inclusions.
65998         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
66000 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
66002         [BZ #12935]
66003         * malloc/memusage.sh: Fix quoting in message.
66004         * debug/xtrace.sh: Likewise.
66006         * configure.in: Remove support for --experimental-malloc option, make
66007         it the default.
66008         * config.make.in: Likewise.
66009         * malloc/Makefile: Likewise.
66011 2011-06-27  Andreas Schwab  <schwab@redhat.com>
66013         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
66014         two-byte characters.
66016 2011-06-27  Roland McGrath  <roland@hack.frob.com>
66018         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
66019         AC_CACHE_CHECK invocation.
66020         * configure: Regenerated.
66022         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
66024 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
66026         [BZ #12350]
66027         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
66028         bit from old_res_options.
66030         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
66032         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
66033         value type for setfct.
66035 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
66037         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
66038         __gettimeofday instead of gettimeofday.
66040 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
66042         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
66044 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
66046         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
66048         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
66049         info.
66051 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
66053         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66054         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
66055         strcpy-sse2-unaligned strncpy-sse2-unaligned
66056         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
66057         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
66058         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
66059         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
66060         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
66061         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
66062         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
66063         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
66064         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
66065         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
66066         (STRCPY): Support SSE2 and SSSE3 versions.
66068 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
66070         [BZ #12874]
66071         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
66072         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
66073         kernels which artificially limit size of requests.
66075 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
66077         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66078         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
66079         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
66080         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
66081         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
66082         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
66083         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
66084         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
66085         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
66086         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
66087         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
66088         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
66089         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
66090         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
66091         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
66092         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66093         Enable unaligned load optimization for Intel Core i3, i5 and i7
66094         processors.
66095         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
66096         Define.
66097         (index_Fast_Unaligned_Load): Define.
66098         (HAS_FAST_UNALIGNED_LOAD): Define.
66100 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
66102         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
66104 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
66106         [BZ #12907]
66107         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
66108         until it is clear that the information is realy needed.
66109         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
66111 2011-06-22  Andreas Schwab  <schwab@redhat.com>
66113         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
66115 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
66117         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
66118         /sys/devices/system/cpu/online if it is usable.
66120         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
66121         reading the information from the /proc filesystem to once a second.
66123 2011-06-21  Andreas Jaeger  <aj@suse.de>
66125         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
66126         NULL after inclusion of kernel headers.
66128 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
66130         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
66131         calls to internal_setent.
66133         [BZ #12885]
66134         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
66135         addresses using gethostbyname4_r ignore IPv4 addresses.
66137         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
66138         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
66140         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
66142 2011-06-20  David S. Miller  <davem@davemloft.net>
66144         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
66145         inclusions.
66146         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
66148         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
66149         (elf_irel): Use it.
66150         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
66151         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
66152         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
66153         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
66154         * sysdeps/x86_64/dl-irel.h: Likewise.
66156         * elf/dl-runtime.c: Use elf_ifunc_invoke.
66157         * elf/dl-sym.c: Likewise.
66159 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
66161         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
66162         need to dereference resplen2.
66164 2011-06-14  Andreas Schwab  <schwab@redhat.com>
66166         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
66168 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
66170         * Makeconfig: Define vardbdir and inst_vardbdir.
66171         * nss/Makefile: Add rules to install db-Makefile.
66173         * nss/nss_db/db-XXX.c: Cleanup.
66175         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
66176         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
66177         GLIBC_PRIVATE.
66178         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
66179         * nss/makedb.c: Implement -g option to specify that value strings
66180         are generated and should not be added to table iterated over for
66181         get*ent calls.
66182         * nss/nss_db/db-initgroups.c: New file.
66184         * nss/getent.c: Add support for initgroups lookups through getgrouplist
66185         interface.
66187         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
66188         (internal_getgrouplist): Adjust to name change.
66189         Update use_initgroups_entry if this is not the first call.
66190         * nss/databases.def: Add initgroups entry.
66192         * nss/makedb.c (compute_tables): Check result of multiple hash table
66193         sizes to minimize maximum chain length.
66195 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
66197         * Versions.def: Add entry for libnss_db.
66198         * shlib-versions: Likewise.
66199         * nss/Makefile: Add rules to build libnss_db.
66200         * nss/Versions: Add libnss_db information.  Organize libnss_files
66201         entries better.
66202         * nss/db-Makefile: Add gshadow support.  Change rules for the new
66203         makedb progra.  Some minor improvements to generate smaller files.
66204         * nss/nss_db/nss_db.h: Move NSS database header data structures to
66205         here from...
66206         * nss/makedb.c: ...here.
66207         Improve database format to be smaller and require less memory at
66208         runtime.
66209         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
66210         db anymore.
66211         * nss/nss_db/db-netgrp.c: Likewise.
66212         * nss/nss_db/db-open.c: Likewise.
66213         * nss/nss_files/flies-XXX.x: Adjust comments.
66214         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
66215         * nss/nss_files/files-grp.c: Likewise.
66216         * nss/nss_files/files-hosts.c: Likewise.
66217         * nss/nss_files/files-network.c: Likewise.
66218         * nss/nss_files/files-proto.c: Likewise.
66219         * nss/nss_files/files-pwd.c: Likewise.
66220         * nss/nss_files/files-rpc.c: Likewise.
66221         * nss/nss_files/files-service.c: Likewise.
66222         * nss/nss_files/files-sgrp.c: Likewise.
66223         * nss/nss_files/files-spwd.c: Likewise.
66224         * nss/nss_db/db-alias.c: Removed.
66225         * nss/nss_db/dummy-db.h: Removed.
66227 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
66229         * nss/makedb.c: Rewritten to not use database library.
66230         * nss/Makefile: Update to build new makedb program.
66232 2011-06-14  Andreas Jaeger  <aj@suse.de>
66234         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
66235         memset declaration.
66237 2011-06-10  Andreas Schwab  <schwab@redhat.com>
66239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
66240         tmpbuf.
66242 2011-06-10  Roland McGrath  <roland@hack.frob.com>
66244         * Makerules (shlib.lds): Fail if the linker script comes out empty.
66245         * elf/Makefile ($(objpfx)ld.so): Likewise.
66247         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
66248         Don't list ld.so twice in dependencies.
66250         * posix/bug-regex31.c: Include <stdlib.h>.
66252         * nscd/hstcache.c (cache_addhst): Remove unused variable.
66254         * nis/nss_compat/compat-spwd.c
66255         (getspent_next_nss_netgr): Remove unused variable.
66256         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
66258         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
66259         nonmembers" output to use the right array.
66261         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
66263         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
66265         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
66266         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
66267         * catgets/gencat.c (read_input_file): Likewise.
66268         * locale/programs/locarchive.c (enlarge_archive): Likewise.
66270         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
66271         variable definition inside #if's controlling its use.
66273         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
66275         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
66277         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
66279         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
66280         unreachable code.
66282         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
66284         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
66285         * configure: Regenerated.
66287         * Makerules: Revert last change.
66288         * elf/Makefile: Likewise.
66290 2011-06-09  Roland McGrath  <roland@hack.frob.com>
66292         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
66293         * elf/Makefile ($(objpfx)librtld.os): Likewise.
66294         (reloc-link): Likewise.
66296 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
66298         * elf/Makefile: Add rules to build pldd.
66299         * elf/pldd.c: New file.
66300         * elf/pldd-xx.c: New file.
66302 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
66304         * version.h: Update for 2.15 development version.
66306 2011-06-07  David S. Miller  <davem@davemloft.net>
66308         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
66309         ifuncs.
66310         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
66311         elf_machine_lazy_rel): Likewise.
66312         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
66313         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
66314         elf_machine_lazy_rel): Likewise.
66315         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
66316         dl_hwcap via passed in argument.
66317         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
66318         Likewise.
66320 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66322         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
66324 2011-06-06  Roland McGrath  <roland@hack.frob.com>
66326         [BZ #12849]
66327         * manual/fdl-1.1.texi: New file, verbatim from:
66328         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
66329         * manual/lgpl-2.1.texi: New file, verbatim from:
66330         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
66331         * manual/Makefile (licenses): New variable, list those new file names.
66332         (texis): Use it.
66333         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
66335         * manual/fdl.texi: File removed.
66336         * manual/lesser.texi: File removed.
66337         * manual/libc.texinfo (Copying, Documentation License):
66338         Use new @include file names, put @appendix directive before @include.
66340 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
66342         [BZ #12841]
66343         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
66344         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
66345         (mq_open): Add __NTH.
66347 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
66349         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66350         Assume Intel Core i3/i5/i7 processor if AVX is available.
66352 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
66354         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66355         typo.
66357 2011-05-31  Andreas Schwab  <schwab@redhat.com>
66359         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
66360         memory.  Use alloca_account.  Fix memory leak when retrying.
66362 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
66364         * version.h (RELEASE): Bump for 2.14 release.
66365         * include/features.h (__GLIBC_MINOR__): Bump to 14.
66367         * config.make.in (RANLIB): Remove entry.
66369 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
66371         * po/Makefile (po-sed-cmd): Add ksh to extensions.
66372         (libc.pot): Work around missing support for .ksh extension in xgettext.
66374         [BZ #12684]
66375         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
66376         if both request failed.
66377         (send_dg): In case of server errors clear resplen or *resplen2.
66379         [BZ #12454]
66380         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
66381         when there are multiple maps.
66382         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
66383         (_dl_fini): Remove test here.
66385         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
66387 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
66389         [BZ #12350]
66390         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
66391         bit from old_res_options.
66392         (gaih_inet): Likewise.
66394         [BZ #11099]
66395         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
66396         as signed.
66398         * resolv/res_init.c (res_setoptions): Make the code more compact.
66400         [BZ #11558]
66401         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
66402         set RES_USEVC.
66404         [BZ #11634]
66405         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
66407         * malloc/malloc.h: Mark malloc hook variables as deprecated.
66409         [BZ #11781]
66410         * malloc/malloc.h: Declare malloc hook variables as volatile.
66412         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
66413         in last patch.
66415         [BZ #11799]
66416         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
66417         raise in the comment.
66418         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
66419         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66420         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
66422 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
66424         [BZ #12811]
66425         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
66426         grow the buffers more if it already has to be sufficient.
66427         (build_wcs_upper_buffer): Likewise.
66428         * posix/regexec.c (check_matching): Likewise.
66429         (clean_state_log_if_needed): Likewise.
66430         (extend_buffers): Don't enlarge buffers beyond size of the input
66431         buffer.
66432         Patches mostly by Emil Wojak <emil@wojak.eu>.
66433         * posix/bug-regex32.c: New file.
66434         * posix/Makefile (tests): Add bug-regex32.
66436         * locale/findlocale.c (_nl_find_locale): Return right away if
66437         _nl_explode_name failed.
66438         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
66440         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
66442         * debug/xtrace.sh: Unify messages.
66443         * malloc/memusage.sh: Likewise.
66445         [BZ #12813]
66446         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
66447         time symbol from vDSO.  Substitute with vsyscall if not available.
66448         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
66449         __vdso_time.
66451         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
66452         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
66453         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
66454         Add sendmmsg and internal_sendmmsg.
66455         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
66456         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
66457         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
66459         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
66460         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
66461         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
66463 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
66465         [BZ #12813]
66466         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
66467         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
66468         available.
66469         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
66470         __vdso_getcpu.
66472         [BZ #12814]
66473         * iconvdata/Makefile (tests): Add bug-iconv9.
66474         * iconvdata/bug-iconv9.c: New file.
66476 2011-05-27  Andreas Schwab  <schwab@redhat.com>
66478         [BZ #12814]
66479         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
66481 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
66483         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66484         (struct user_regs_struct): Change intcs field back to cs.
66486 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
66488         * po/ja.po: Update from translation team.
66490 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
66492         [BZ #12795]
66493         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
66494         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
66496 2011-05-20  Andreas Schwab  <schwab@redhat.com>
66498         * stdlib/longlong.h: Update from GCC.
66500 2011-05-23  Andreas Schwab  <schwab@redhat.com>
66502         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
66503         parameter name.
66504         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
66505         Add parameter name.
66506         (__sysconf): Pass it down.
66508 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
66510         [BZ #12671]
66511         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
66512         some situations.
66513         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
66514         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
66515         add in in __libc_use_alloca calls.  Adjust callers.
66516         (glob): Use malloc in some situations.
66518         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
66519         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
66520         pltexit.
66522 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
66524         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
66525         and CLOCK_BOOTTIME_ALARM.
66527         [BZ #12782]
66528         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
66529         is returned.
66531         * string/_strerror.c (__strerror_r): Print negative errors as signed
66532         numbers.
66534         [BZ #12777]
66535         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
66536         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
66537         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
66539         * configure.in: Fix typo in redirection and correct removal of test
66540         files in two cases.
66542         [BZ #12788]
66543         * locale/setlocale.c (new_composite_name): Fix test to check for
66544         identical name of all categories.
66546         [BZ #12792]
66547         * libio/filedoalloc.c (local_isatty): New function.
66548         (_IO_file_doallocate): Use local_isatty.
66549         * stdio-common/perror.c (perror): In case a new stream is used
66550         forward the stream error.
66551         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
66552         error flag.
66554 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
66556         [BZ #11869]
66557         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
66558         alloca.
66559         * include/alloca.h (extend_alloca_account): Define.
66561         [BZ #11857]
66562         * posix/regex.h: Fix comments with documentation of user-accessible
66563         fields after compilation and describe correct free'ing of pattern
66564         after re_compile_pattern.
66565         Patch by Reuben Thomas <rrt@sc3d.org>.
66567 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
66569         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
66570         and -mno-altivec to prevent the compiler from using Altivec and/or
66571         VSX instructions when the corresponding registers are not available.
66573 2011-05-19  Andreas Schwab  <schwab@redhat.com>
66575         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
66577 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
66579         * libio/freopen.c (freopen): Use __dup2, not dup2.
66580         * libio/freopen64.c (freopen64): Likewise.
66582 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66584         [BZ #12775]
66585         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
66586         * math/Makefile (tests): Add test-powl.
66587         (CFLAGS-test-powl.c): Define.
66588         * math/test-powl.c: New file.
66590 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66592         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
66594 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
66596         [BZ #11837]
66597         * iconvdata/gb18030.c: Update to GB18020-2005.
66599 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
66601         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
66602         RE_SYNTAX_POSIX_AWK): Update to match recent development.
66603         Patch by Aharon Robbins <arnold@skeeve.com>.
66605         [BZ #11892]
66606         * stdlib/putenv.c (putenv): Don't always create copy of the variable
66607         on the stack.
66609         [BZ #11895]
66610         * misc/pselect.c (__pselect): Handle timeout value errors hidden
66611         through underflows.
66613         [BZ #12766]
66614         * misc/error.c (error_at_line): Ensure file_name and old_file_name
66615         point to strings before performing equality test for error_one_per_line
66616         mode.
66618         [BZ #11697]
66619         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
66621         [BZ #11820]
66622         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66623         (struct user_fpregs_struct): Avoid __uint*_t types.
66625         [BZ #6420]
66626         * malloc/mtrace.c (tr_where): Add additional parameter to point to
66627         symbol info.  Use it instead of calling _dl_addr locally.
66628         (lock_and_info): New function.
66629         (tr_freehook): Call lock_and_info and pass symbol info as additional
66630         parameter to tr_where.
66631         (tr_mallochook): Likewise.
66632         (tr_reallochook): Likewise.
66633         (tr_memalignhook): Likewise.
66635         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
66636         used and couldn't be at all thread-safe.
66638 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
66640         * libio/freopen.c (freopen): Don't close old file descriptor
66641         before the new one is opened.  Instead dup the new file descriptor
66642         to the old one after the new stream is created.
66643         * libio/freopen64.c (freopen64): Likewise.
66644         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
66645         * libio/fileops.c (_IO_new_file_close_it): Handle new
66646         _IO_FLAGS2_NOCLOSE flag.
66647         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
66648         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
66649         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
66650         _IO_FLAGS2_NOCLOSE flag.
66651         * include/unistd.h: Add hidden_proto for dup3.
66652         Define __have_dup3.
66653         * io/dup3.c: Define hidden symbol.
66654         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
66656         [BZ #7101]
66657         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
66658         when an incomplete long option is used.
66659         * posix/tst-getopt_long1.c: New file.
66660         * posix/Makefile (tests): Add tst-getopt_long1.
66662         [BZ #10138]
66663         * scripts/config.guess: Update from autoconf-2.68.
66664         * scripts/config.sub: Likewise.
66666         [BZ #10157]
66667         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
66668         tests into ...
66669         (has_cpuclock): ...this.  New function.
66670         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
66671         macro here based on has_cpuclock code.
66673         [BZ #10149]
66674         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66675         First byte (not low byte) is now always NUL.
66676         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
66678         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66679         Use non-cancelable interfaces.
66681         [BZ #9809]
66682         * locale/iso-639.def: Add entry for Sorani.
66684         [BZ #11901]
66685         * include/stdlib.h: Move include protection to the right place.
66686         Define abort_msg_s.  Declare __abort_msg with it.
66687         * stdlib/abort.c (__abort_msg): Adjust type.
66688         * assert/assert.c (__assert_fail_base): New function.  Majority
66689         of code from __assert_fail.  Allocate memory for __abort_msg with
66690         mmap.
66691         (__assert_fail): Now call __assert_fail_base.
66692         * assert/assert-perr.c: Remove bulk of implementation.  Use
66693         __assert_fail_base.
66694         * include/assert.hL Declare __assert_fail_base.
66695         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
66696         mmap.
66697         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
66699 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
66701         [BZ #11952]
66702         [BZ #12453]
66703         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
66704         until all modules are registered in the DTV.
66705         * elf/Makefile: Add rules to build and run tst-tls19.
66706         * elf/tst-tls19.c: New file.
66707         * elf/tst-tls19mod1.c: New file.
66708         * elf/tst-tls19mod2.c: New file.
66709         * elf/tst-tls19mod3.c: New file.
66710         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
66712         [BZ #12083]
66713         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
66714         correctly.
66716         [BZ #12601]
66717         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
66718         two-byte sequence errors.
66719         * iconvdata/Makefile (tests): Add bug-iconv8.
66720         * iconvdata/bug-iconv8.c: New file.
66722         [BZ #12626]
66723         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
66724         buf2 definition.
66726         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
66728         [BZ #12432]
66729         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
66730         (dummy_getcfa): New function.
66731         (init): Get _Unwind_GetCFA address, use dummy if not found.
66732         (backtrace_helper): In recursion check, also check whether CFA changes.
66733         (__backtrace): Completely initialize arg.
66735         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
66736         storing incomplete byte sequence in state object.  Avoid testing for
66737         guaranteed too small input if we know there is enough data available.
66739 2011-05-11  Andreas Schwab  <schwab@redhat.com>
66741         * Makeconfig (+link-pie): Indent.
66742         * Rules (binaries-pie): Define if $(have-fpie) and
66743         $(build-shared).
66744         (binaries-shared): Also filter out $(binaries-pie).
66745         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
66746         * nscd/Makefile (others-pie): Add nscd.
66747         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
66748         ($(objpfx)nscd): Remove command override.
66749         * login/Makefile (others-pie): Add pt_chown.
66750         ($(objpfx)pt_chown): Remove command override.
66751         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
66752         remove command overrides.
66754 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
66756         * libio/tst_putwc.c: Fix error messages.
66758         [BZ #12724]
66759         * libio/fileops.c (_IO_new_file_close_it): Always flush when
66760         currently writing and seek to current position when not.
66761         * libio/Makefile (tests): Add bug-fclose1.
66762         * libio/bug-fclose1.c: New file.
66764 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
66766         [BZ #12511]
66767         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
66768         don't set DF_1_NODELETE here.
66769         (do_lookup_x): When entering new entry test for copy relocation
66770         and if necessary set DF_1_NODELETE flag.
66771         * elf/tst-unique4.cc: New file.
66772         * elf/tst-unique4.h: New file.
66773         * elf/tst-unique4lib.cc: New file.
66774         * elf/Makefile: Add rules to build and run tst-unique4.
66775         Patch by Piotr Bury <pbury@goahead.com>.
66777 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
66779         [BZ #12052]
66780         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
66782         [BZ #12625]
66783         * misc/mntent_r.c (addmntent): Flush the stream after the output
66785         [BZ #12393]
66786         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
66787         (is_trusted_path_normalize): Skip initial colon.  Append slash
66788         to empty buffer.  Duplicate is_trusted_path code but allow
66789         constructed patch to be prefix.
66790         (is_dst): Allow $ORIGIN followed by /.
66791         (_dl_dst_substitute): Correct clearing of check_for_trusted.
66792         Correct testing of result of is_trusted_path_normalize
66793         (decompose_rpath): Fix warning.
66795 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
66797         [BZ #11257]
66798         * grp/initgroups.c (internal_getgrouplist): When we found the service
66799         list through the initgroups entry in nsswitch.conf do not always
66800         continue on a successful lookup.  Don't always use the
66801         __nss_group_database value if it is set.
66802         * nss/nsswitch.conf (initgroups): Change action for successful db
66803         lookup to continue for compatibility.
66805 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
66807         [BZ #11532]
66808         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
66809         and CP774 modules.
66810         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
66811         and CP774 modules.
66812         * iconvdata/tst-tables.sh: Likewise.
66813         * iconvdata/cp770.c: New file.
66814         * iconvdata/cp771.c: New file.
66815         * iconvdata/cp772.c: New file.
66816         * iconvdata/cp773.c: New file.
66817         * iconvdata/cp774.c: New file.
66818         * iconvdata/testdata/CP770: New file.
66819         * iconvdata/testdata/CP770..UTF8: New file.
66820         * iconvdata/testdata/CP771: New file.
66821         * iconvdata/testdata/CP771..UTF8: New file.
66822         * iconvdata/testdata/CP772: New file.
66823         * iconvdata/testdata/CP772..UTF8: New file.
66824         * iconvdata/testdata/CP773: New file.
66825         * iconvdata/testdata/CP773..UTF8: New file.
66826         * iconvdata/testdata/CP774: New file.
66827         * iconvdata/testdata/CP774..UTF8: New file.
66829         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
66830         END CHARMAP line.
66831         * iconvdata/gen-8bit-gap.sh: Likewise.
66832         * iconvdata/gen-8bit.sh: Likewise.
66834         * locale/iso-639.def: Add ary entry.
66836         [BZ #11258]
66837         * locale/C-translit.h.in: Add U20A1 transliteration.
66839         [BZ #12178]
66840         * locale/iso-639.def: Add wae entry.
66841         Patch by Kevin Bortis <bortis@translate-wae.ch>.
66843         [BZ #12545]
66844         * locale/programs/localedef.c (construct_output_path): Use ssize_t
66845         for n.
66847         [BZ #12711]
66848         * locale/C-translit.h.in: Add entry for U20B9.
66849         Patch by pravin.d.s@gmail.com.
66851 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
66853         [BZ #12713]
66854         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
66855         ENAMETOOLONG use generic getcwd.
66856         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
66857         in rtld.  Use *stat64.
66858         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
66859         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
66860         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
66861         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
66862         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
66863         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
66864         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
66865         __fstatat64 macros.
66866         * include/dirent.h: Add libc_hidden_proto for rewinddir.
66867         * dirent/rewinddir.c: Add libc_hidden_def.
66868         * sysdeps/mach/hurd/rewinddir.c: Likewise.
66869         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
66871         * include/dirent.h (__alloc_dir): Add flags parameter.
66872         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
66873         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
66874         __alloc_dir.
66875         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
66876         from fdopendir if O_CLOEXEC is already set.
66878 2011-03-15  Alan Modra  <amodra@gmail.com>
66880         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
66881         l_tls_firstbyte_offset non-zero.  Save padding offset in
66882         l_tls_firstbyte_offset for later use.
66883         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
66884         freeing static tls block.
66886 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
66888         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
66889         where #ifdef was intended.  The intent is to prevent ARG_MAX from
66890         being defined by the kernel headers.
66892 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
66894         [BZ #12734]
66895         * resolv/resolv.h: Define RES_NOTLDQUERY.
66896         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
66897         no-tld-query and set RES_NOTLDQUERY.
66898         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
66899         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
66900         modern BIND to search name as TLD unless forbidden.
66902 2011-05-07  Petr Baudis  <pasky@suse.cz>
66903             Ulrich Drepper  <drepper@gmail.com>
66905         [BZ #12393]
66906         * elf/dl-load.c (fillin_rpath): Move trusted path check...
66907         (is_trusted_path): ...to here.
66908         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
66909         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
66910         using is_trusted_path_normalize() in setuid scripts.
66912 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66914         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
66915         __BEGIN/__END_DECLS.
66917 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
66919         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
66920         NSS_STATUS_NOTFOUND if no record was found.
66922 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66924         * sunrpc/Makefile (headers): Add rpc/netdb.h.
66925         (headers-not-in-tirpc): Remove rpc/netdb.h
66926         * resolv/netdb.h: Revert last change.
66928 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66930         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
66931         circular dependency between libgcc.a and libc.a.
66933 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66935         * resolv/netdb.h: Don't include <rpc/netdb.h>.
66936         * nis/Makefile: Don't install rpcsvc/*.
66937         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
66938         instead of <rpc/types.h>.
66939         (MAXHOSTNAMELEN): Define.
66941 2011-05-03  Andreas Schwab  <schwab@redhat.com>
66943         * elf/ldconfig.c (add_dir): Don't crash on empty path.
66945 2011-04-28  Maciej Babinski  <mbabinski@google.com>
66947         [BZ #12714]
66948         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
66949         gethostbyname4_r when IPv6 results are possible.
66951 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
66953         [BZ #12723]
66954         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
66955         _PC_PIPE_BUF handling.
66957 2011-04-30  Bruno Haible  <bruno@clisp.org>
66959         [BZ #12717]
66960         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
66961         * resolv/netdb.h (getnameinfo): Change type of flags parameter
66962         to 'int'.
66963         * inet/getnameinfo.c (getnameinfo): Likewise.
66965 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
66967         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
66968         to groups setting in database lookup.
66969         * nss/nsswitch.conf: Add initgroups entry.
66971 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
66973         [BZ #12685]
66974         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
66975         mode string.
66976         Patch by Eric Blake <eblake@redhat.com>.
66978 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
66980         * sunrpc/Makefile (need-export-routines): Add svc_run.
66981         (routines): Remove svc_run.
66982         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
66983         * sunrpc/clnt_perr.c (clnt_perrno): Export.
66984         * sunrpc/svc_run.c (svc_run): Likewise.
66985         * sunrpc/svc_udp.c (svcudp_create): Likewise.
66987 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
66989         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
66990         problem in reallocation in last patch.
66992 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
66994         * sunrpc/Makefile: Move inclusion of Rules.
66996 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
66998         * nss/nss_files/files-initgroups.c: New file.
66999         * nss/Makefile (libnss_files-routines): Add files-initgroups.
67000         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
67001         _nss_files_initgroups_dyn.
67003 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
67005         * elf/elf.h (R_ARM_IRELATIVE): Define.
67007 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
67009         * po/ru.po: Update from translation team.
67011 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
67013         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
67014         dependencies.
67016 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
67018         [BZ #12653]
67019         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
67020         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
67021         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67022         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67023         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
67025 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
67027         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
67028         differing bytes.
67029         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
67030         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
67031         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67033 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
67035         [BZ #12420]
67036         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
67037         storing it.
67038         * stdlib/bug-getcontext.c: New file.
67039         * stdlib/Makefile: Add rules to build and run bug-getcontext.
67041 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67043         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
67044         instructions into .machine "z9-109".
67045         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
67046         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
67048 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67050         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
67051         between environment variables and auxiliary vector.
67053 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
67055         * Makefile: Add rules to build linkobj/libc.so.
67056         * include/libc-symbols.h: Define libc_hidden_nolink.
67057         * include/rpc/auth.h: Mark functions which are to be hidden.
67058         * include/rpc/auth_des.h: Likewise.
67059         * include/rpc/auth_unix.h: Likewise.
67060         * include/rpc/clnt.h: Likewise.
67061         * include/rpc/des_crypt.h: Likewise.
67062         * include/rpc/key_prot.h: Likewise.
67063         * include/rpc/pmap_clnt.h: Likewise.
67064         * include/rpc/pmap_prot.h: Likewise.
67065         * include/rpc/pmap_rmt.h: Likewise.
67066         * include/rpc/rpc_msg.h: Likewise.
67067         * include/rpc/svc.h: Likewise.
67068         * include/rpc/svc_auth.h: Likewise.
67069         * include/rpc/xdr.h: Likewise.
67070         * nis/Makefile: Link all DSOs against linkobj/libc.so.
67071         * nss/Makefile: Likewise.
67072         * sunrpc/Makefile: Don't install headers.  Build library with normal
67073         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
67074         * sunrpc/auth_des.c: Hide exported symbols by default, export some
67075         for the compat linking library.  Remove use of INTDEF/INTUSE.
67076         * sunrpc/auth_none.c: Likewise.
67077         * sunrpc/auth_unix.c: Likewise.
67078         * sunrpc/authdes_prot.c: Likewise.
67079         * sunrpc/authuxprot.c: Likewise.
67080         * sunrpc/clnt_gen.c: Likewise.
67081         * sunrpc/clnt_perr.c: Likewise.
67082         * sunrpc/clnt_raw.c: Likewise.
67083         * sunrpc/clnt_simp.c: Likewise.
67084         * sunrpc/clnt_tcp.c: Likewise.
67085         * sunrpc/clnt_udp.c: Likewise.
67086         * sunrpc/clnt_unix.c: Likewise.
67087         * sunrpc/des_crypt.c: Likewise.
67088         * sunrpc/des_soft.c: Likewise.
67089         * sunrpc/get_myaddr.c: Likewise.
67090         * sunrpc/key_call.c: Likewise.
67091         * sunrpc/key_prot.c: Likewise.
67092         * sunrpc/netname.c: Likewise.
67093         * sunrpc/pm_getmaps.c: Likewise.
67094         * sunrpc/pm_getport.c: Likewise.
67095         * sunrpc/pmap_clnt.c: Likewise.
67096         * sunrpc/pmap_prot.c: Likewise.
67097         * sunrpc/pmap_prot2.c: Likewise.
67098         * sunrpc/pmap_rmt.c: Likewise.
67099         * sunrpc/publickey.c: Likewise.
67100         * sunrpc/rpc_cmsg.c: Likewise.
67101         * sunrpc/rpc_common.c: Likewise.
67102         * sunrpc/rpc_dtable.c: Likewise.
67103         * sunrpc/rpc_prot.c: Likewise.
67104         * sunrpc/rpc_thread.c: Likewise.
67105         * sunrpc/rtime.c: Likewise.
67106         * sunrpc/svc.c: Likewise.
67107         * sunrpc/svc_auth.c: Likewise.
67108         * sunrpc/svc_authux.c: Likewise.
67109         * sunrpc/svc_raw.c: Likewise.
67110         * sunrpc/svc_run.c: Likewise.
67111         * sunrpc/svc_simple.c: Likewise.
67112         * sunrpc/svc_tcp.c: Likewise.
67113         * sunrpc/svc_udp.c: Likewise.
67114         * sunrpc/svc_unix.c: Likewise.
67115         * sunrpc/svcauth_des.c: Likewise.
67116         * sunrpc/xcrypt.c: Likewise.
67117         * sunrpc/xdr.c: Likewise.
67118         * sunrpc/xdr_array.c: Likewise.
67119         * sunrpc/xdr_float.c: Likewise.
67120         * sunrpc/xdr_intXX_t.c: Likewise.
67121         * sunrpc/xdr_mem.c: Likewise.
67122         * sunrpc/xdr_rec.c: Likewise.
67123         * sunrpc/xdr_ref.c: Likewise.
67124         * sunrpc/xdr_sizeof.c: Likewise.
67125         * sunrpc/xdr_stdio.c: Likewise.
67127 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
67129         [BZ #12650]
67130         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
67131         * sysdeps/ia64/dl-tls.h: Likewise.
67132         * sysdeps/powerpc/dl-tls.h: Likewise.
67133         * sysdeps/s390/dl-tls.h: Likewise.
67134         * sysdeps/sh/dl-tls.h: Likewise.
67135         * sysdeps/sparc/dl-tls.h: Likewise.
67136         * sysdeps/x86_64/dl-tls.h: Likewise.
67137         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
67139 2011-03-14  Andreas Schwab  <schwab@redhat.com>
67141         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
67142         rpath element also skip the following colon.
67143         (expand_dynamic_string_token): Add is_path parameter and pass
67144         down to DL_DST_REQUIRED and _dl_dst_substitute.
67145         (decompose_rpath): Call expand_dynamic_string_token with
67146         non-zero is_path.  Ignore empty rpaths.
67147         (_dl_map_object_from_fd): Call expand_dynamic_string_token
67148         with zero is_path.
67150 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
67152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67153         Make cancelable.
67155 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
67157         [BZ #12655]
67158         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
67159         Patch by Filipe David Manana <fdmanana@apache.org>.
67161 2011-04-07  Andreas Schwab  <schwab@redhat.com>
67163         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
67164         Maintain aligned stack.
67165         (CHECK_RSP): Remove unused macro.
67167 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
67169         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
67170         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
67172 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
67174         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
67176         * include/features.h: Mention __USE_XOPEN2K8 in comment.
67178 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
67180         [BZ #12518]
67181         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
67182         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
67183         * sysdeps/x86_64/memmove.c: New file.
67184         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
67185         (memcpy): Renamed to ...
67186         (__new_memcpy): This.
67187         (memcpy): Provide GLIBC_2_14 memcpy.
67188         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
67189         (memcpy): Provide GLIBC_2_2_5 memcpy.
67191 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67193         [BZ #12631]
67194         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
67196 2011-03-30  Andreas Schwab  <schwab@redhat.com>
67198         * misc/syncfs.c: New file.
67199         * misc/Makefile (routines): Add syncfs.
67200         * posix/unistd.h: Declare syncfs.
67201         * sysdeps/unix/syscalls.list: Add syncfs.
67203 2011-04-01  Andreas Schwab  <schwab@redhat.com>
67205         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
67206         open_by_handle_at.
67207         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
67208         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67209         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67210         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67211         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67212         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
67213         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67215 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67217         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
67218         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67219         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
67220         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67221         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67222         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67223         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67225         * io/Makefile: Compile fallocate.c, fallocate64.c, and
67226         sync_file_range.c with -fexceptions.
67227         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
67228         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
67229         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
67230         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
67231         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
67232         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67233         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
67234         sync_file_range as cancellation point
67235         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
67236         now a wrapper around __call_sync_file_range with cancellation handling.
67237         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
67238         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
67239         function name to __call_sync_file_range.
67240         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
67241         Add call_sync_file_range.
67243 2011-04-01  Andreas Schwab  <schwab@redhat.com>
67245         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67246         bits/timex.h.
67248 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67250         * iconv/iconv.h: Fix typo in comment.
67251         * io/fcntl.h: Likewise.
67252         * libio/stdio.h: Likewise.
67253         * posix/spawn.h: Likewise.
67254         * posix/unistd.h: Likewise.
67255         * stdlib/stdlib.h: Likewise.
67256         * time/time.h: Likewise.
67257         * wcsmbs/wchar.h: Likewise.
67259         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
67260         open_by_handle): Add.
67261         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
67262         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
67263         Augment a few comments.
67264         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67265         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67266         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67267         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67268         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67269         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
67270         open_by_handle.
67272         * io/fcntl.h (AT_EMPTY_PATH): Define.
67274 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
67276         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
67277         * sysdeps/unix/sysv/linux/bits/time.h: New file.
67278         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
67279         to...
67280         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
67281         * Versions.def: Add GLIBC_2.14.
67282         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
67283         Export.
67285 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
67287         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
67288         round counter.
67289         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
67291 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67293         [BZ #12597]
67294         * string/test-strncmp.c (do_page_test): New function.
67295         (check2): Likewise.
67296         (test_main): Call check2.
67297         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
67299 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
67301         [BZ #12587]
67302         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
67303         Handle cache information in CPU leaf 4.
67304         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
67306 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
67308         [BZ #12583]
67309         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
67310         character representation.
67311         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
67313 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
67315         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
67316         END(__isnan) to END(__isnanf) to match function entry point/label
67317         EALIGN(__isnanf,...).
67319 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
67321         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
67323 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
67325         [BZ #12510]
67326         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
67327         copy from the symbol referenced in the relocation to initialize the
67328         used variable.
67329         Patch by Piotr Bury <pbury@goahead.com>.
67330         * elf/Makefile: Add rules to build and tst-unique3.
67331         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
67332         * elf/tst-unique3.cc: New file.
67333         * elf/tst-unique3.h: New file.
67334         * elf/tst-unique3lib.cc: New file.
67335         * elf/tst-unique3lib2.cc: New file.
67337         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
67339 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
67341         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
67342         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
67343         to _start.
67345 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
67347         * elf/dl-load.c (_dl_map_object): If we are looking for the first
67348         to-be-loaded object along a path to loader is ld.so.
67350 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
67351             Ulrich Drepper  <drepper@gmail.com>
67353         * sysdeps/x86_64/memset.S: After aligning destination, code
67354         branches to different locations depending on the value of
67355         misalignment, when multiarch is enabled. Fix this.
67357 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
67359         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
67360         Set _x86_64_preferred_memory_instruction for AMD processsors.
67361         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67362         Set bit_Prefer_SSE_for_memop for AMD processors.
67364 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
67366         * libio/fmemopen.c (fmemopen): Optimize a bit.
67368 2011-03-03  Andreas Schwab  <schwab@redhat.com>
67370         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
67372 2011-03-03  Roland McGrath  <roland@redhat.com>
67374         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
67376 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
67378         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
67379         __bzero_ultra1 instead of __memset_ultra1.
67381 2011-02-23  Andreas Schwab  <schwab@redhat.com>
67382             Ulrich Drepper  <drepper@gmail.com>
67384         [BZ #12509]
67385         * include/link.h (struct link_map): Add l_orig_initfini.
67386         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
67387         returning unsuccessfully.
67388         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
67389         close of a file loaded at startup, restore the original l_initfini
67390         list.
67391         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
67392         list, store the pointer.
67393         * elf/Makefile ($(objpfx)noload-mem): New rule.
67394         (noload-ENV): Define.
67395         (tests): Add $(objpfx)noload-mem.
67396         * elf/noload.c: Include <memcheck.h>.
67397         (main): Call mtrace.  Close all opened handles.
67399 2011-02-17  Andreas Schwab  <schwab@redhat.com>
67401         [BZ #12454]
67402         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
67403         dependencies are missing.
67405 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67407         Fix __if_freereq crash: Unlike the generic version which uses free,
67408         Hurd needs munmap.
67409         * sysdeps/mach/hurd/ifreq.h: New file.
67411 2011-01-27  Petr Baudis  <pasky@suse.cz>
67412             Ulrich Drepper  <drepper@gmail.com>
67414         [BZ 12445]#
67415         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
67416         to extend_alloca().
67417         * stdio-common/bug23.c: New file.
67418         * stdio-common/Makefile (tests): Add bug23.
67420 2010-09-28  Andreas Schwab  <schwab@redhat.com>
67421             Ulrich Drepper  <drepper@gmail.com>
67423         [BZ #12489]
67424         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
67425         before performing relro protection.  At old place add assertion
67426         to make sure nothing changed.
67428 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
67429             Glauber de Oliveira Costa  <glommer@gmail.com>
67431         * elf/elf.h: Add new ARM TLS relocs.
67433 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
67435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67436         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
67437         cast from r3.
67438         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
67439         'tests' variable.
67440         * sysdeps/wordsize-64/tst-writev.c: New file.
67442 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
67444         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
67445         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
67446         insns in _dl_start to prevent a TOC reference before relocs are
67447         resolved.
67449 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
67451         [BZ #12469]
67452         * Makeconfig: Remove RANLIB definition.
67453         * Makerules: Don't use RANLIB.
67454         * aclocal.m4: Remove ranlib test.
67455         * configure.in: No need to check for ranlib.
67456         * elf/rtld-Rules: Don't use RANLIB.
67458 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67460         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
67461         protection macro.
67462         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
67463         inclusion protection macro.
67465         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
67466         SIGRTMIN and SIGRTMAX and print information in that case only when
67467         SIGRTMIN is defined.
67469 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
67471         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
67472         arginfo fn returning -1.
67474         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
67475         and thousands string is zero terminated.
67477 2011-02-03  Andreas Schwab  <schwab@redhat.com>
67479         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
67480         sysdeps/unix/sysv/linux/bits/socket.h.
67482 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67484         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
67485         (__CPU_COUNT): Remove old macros.
67486         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
67487         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
67488         (__CPU_ALLOC, __CPU_FREE): Add macros.
67489         (__sched_cpualloc, __sched_cpufree): Add declarations.
67491 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
67493         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
67494         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
67495         * nscd/aicache.c (addhstaiX): Return timeout of added value.
67496         (readdhstai): Return value of addhstaiX call.
67497         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
67498         (addgrbyX): Return value returned by cache_addgr.
67499         (readdgrbyname): Return value returned by addgrbyX.
67500         (readdgrbygid): Likewise.
67501         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
67502         (addpwbyX): Return value returned by cache_addpw.
67503         (readdpwbyname): Return value returned by addhstbyX.
67504         (readdpwbyuid): Likewise.
67505         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
67506         (addservbyX): Return value returned by cache_addserv.
67507         (readdservbyname): Return value returned by addservbyX:
67508         (readdservbyport): Likewise.
67509         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
67510         (addhstbyX): Return value returned by cache_addhst.
67511         (readdhstbyname): Return value returned by addhstbyX.
67512         (readdhstbyaddr): Likewise.
67513         (readdhstbynamev6): Likewise.
67514         (readdhstbyaddrv6): Likewise.
67515         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
67516         (readdinitgroups): Return value returned by addinitgroupsX.
67517         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
67518         (prune_cache): Keep track of timeout value of re-added entries.
67519         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
67520         * nscd/nscd.h: Adjust prototypes of readd* functions.
67522 2011-02-04  Roland McGrath  <roland@redhat.com>
67524         * nis/nis_server.c (nis_servstate): Use the right name for 0.
67525         (nis_stats): Likewise.
67526         * nis/nis_modify.c (nis_modify): Likewise.
67527         * nis/nis_remove.c (nis_remove): Likewise.
67528         * nis/nis_add.c (nis_add): Likewise.
67530         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
67532         * posix/fnmatch_loop.c: Add some consts.
67534         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
67536 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
67538         [BZ #12460]
67539         * config.make.in (config-cflags-novzeroupper): Define.
67540         * configure.in: Substitute libc_cv_cc_novzeroupper.
67541         * elf/Makefile (AVX-CFLAGS): Define.
67542         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
67543         (CFLAGS-tst-auditmod4a.c): Likewise.
67544         (CFLAGS-tst-auditmod4b.c): Likewise.
67545         (CFLAGS-tst-auditmod6b.c): Likewise.
67546         (CFLAGS-tst-auditmod6c.c): Likewise.
67547         (CFLAGS-tst-auditmod7b.c): Likewise.
67548         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
67550 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
67552         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
67553         function to the callback.
67554         Patch partly by Jiri Olsa <jolsa@redhat.com>.
67556 2011-02-02  Andreas Schwab  <schwab@redhat.com>
67558         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
67559         of errno.
67561 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
67563         [BZ #11724]
67564         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
67565         of constructors.
67566         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
67567         of destructors.
67568         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
67570         [BZ #11724]
67571         * elf/Makefile: Add rules to build and run new test.
67572         * elf/tst-initorder.c: New file.
67573         * elf/tst-initorder.exp: New file.
67574         * elf/tst-initordera1.c: New file.
67575         * elf/tst-initordera2.c: New file.
67576         * elf/tst-initordera3.c: New file.
67577         * elf/tst-initordera4.c: New file.
67578         * elf/tst-initorderb1.c: New file.
67579         * elf/tst-initorderb2.c: New file.
67580         * elf/tst-order-a1.c: New file.
67581         * elf/tst-order-a2.c: New file.
67582         * elf/tst-order-a3.c: New file.
67583         * elf/tst-order-a4.c: New file.
67584         * elf/tst-order-b1.c: New file.
67585         * elf/tst-order-b2.c: New file.
67586         * elf/tst-order-main.c: New file.
67587         New test case by George Gensure <werkt0@gmail.com>.
67589 2010-10-01  Andreas Schwab  <schwab@redhat.com>
67591         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67592         decoding ACE if AI_CANONIDN.
67594 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
67596         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
67598 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
67600         * version.h (RELEASE): Bump for 2.13 release.
67601         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
67603         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
67605         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
67606         MADV_NOHUGEPAGE.
67607         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
67608         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
67609         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67610         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67611         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67612         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67614         * posix/getconf.c: Update copyright year.
67615         * catgets/gencat.c: Likewise.
67616         * csu/version.c: Likewise.
67617         * debug/catchsegv.sh: Likewise.
67618         * debug/xtrace.sh: Likewise.
67619         * elf/ldconfig.c: Likewise.
67620         * elf/ldd.bash.in: Likewise.
67621         * elf/sprof.c (print_version): Likewise.
67622         * iconv/iconv_prog.c: Likewise.
67623         * iconv/iconvconfig.c: Likewise.
67624         * locale/programs/locale.c: Likewise.
67625         * locale/programs/localedef.c: Likewise.
67626         * malloc/memusage.sh: Likewise.
67627         * malloc/mtrace.pl: Likewise.
67628         * nscd/nscd.c (print_version): Likewise.
67629         * nss/getent.c: Likewise.
67631         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
67632         PF_CAIF, and PF_ALG.
67633         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67635 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
67637         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
67638         (modules-names): Use them.
67639         (ifunc-test-modules, ifunc-pie-tests): Define.
67640         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
67641         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
67642         (test-extras): Likewise.
67643         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
67644         $(compile-command.c).
67645         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
67646         (all-built-dso): Define.
67647         (check-textrel.out, check-execstack.out): Depend on it.
67649         * configure.in: Don't override --enable-multi-arch.
67651 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
67653         [BZ #6812]
67654         * nscd/hstcache.c (tryagain): Define.
67655         (cache_addhst): Return tryagain not notfound for temporary errors.
67656         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
67657         failed.
67659 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
67661         [BZ #10563]
67662         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
67663         to make the syscall.
67664         * sysdeps/unix/sysv/linux/setgroups.c: New file.
67666         [BZ #12378]
67667         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
67668         and fall back to matching as normal character if the string ends before
67669         the matching ']' is found.  This is what POSIX requires.
67670         * posix/testfnm.c: Adjust test result.
67671         * posix/globtest.sh: Adjust test result.  Add new test.
67672         * posix/tst-fnmatch.input: Likewise.
67673         * posix/tst-fnmatch2.c: Add new test.
67675 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
67677         * elf/Makefile (check-execstack): Revert last change.  Depend on
67678         check-execstack.h.
67679         (check-execstack.h): New target.
67680         (generated): Add check-execstack.h.
67681         * elf/check-execstack.c: Include "check-execstack.h".
67682         (main): Revert last change.
67683         (handle_file): Return zero if GNU_STACK is absent and
67684         DEFAULT_STACK_PERMS doesn't include PF_X.
67686 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
67688         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
67689         in child fails because the descriptor is already closed.
67690         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
67691         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
67692         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
67694         [BZ #12397]
67695         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
67696         syscall.
67698         [BZ #10484]
67699         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
67700         temporary buffer used to handle multi lookups locally.
67701         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
67703 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67705         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
67706         loader is ld.so.
67708 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
67710         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
67711         alignment for SSE2.
67713 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67715         [BZ #12394]
67716         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
67717         characters.  When rounding increased number of integer digits recompute
67718         number of groups.
67719         * stdio-common/tst-grouping.c: New file.
67720         * stdio-common/Makefile: Add rules to build and run tst-grouping.
67722 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
67724         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
67725         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
67727         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
67728         void.
67729         * bits/select.h: Likewise.
67731 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
67733         * po/ja.po: Update from translation team.
67735 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
67737         [BZ #11155]
67738         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
67739         implementation just like for lxstat, fxstatat, et al.
67741 2010-12-27  Jim Meyering  <meyering@redhat.com>
67743         [BZ #12348]
67744         * posix/regexec.c (build_trtable): Return failure indication upon
67745         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
67747 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
67749         [BZ #12201]
67750         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
67751         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
67752         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
67753         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
67755         [BZ #12207]
67756         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
67758         [BZ #12204]
67759         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
67760         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
67762 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
67764         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
67765         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
67766         script has SORT_BY_INIT_PRIORITY.
67767         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
67768         NO_CTORS_DTORS_SECTIONS is defined.
67769         * elf/soinit.c: Likewise.
67770         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
67771         NO_CTORS_DTORS_SECTIONS is defined.
67772         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
67773         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
67774         * sysdeps/sh/init-first.c: Likewise.
67775         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
67777 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
67779         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
67780         always use the slow path.
67782 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
67784         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
67785         similar rule which adds the sysdep directories to the header search in
67786         order to pick up the correct platform stackinfo.h.
67787         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
67788         perform test if it is, otherwise return successfully without testing.
67789         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
67790         DEFAULT_STACK_PERMS define in stackinfo.h.
67791         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
67792         defined in stackinfo.h.
67793         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
67794         DEFAULT_STACK_PERMS defined in stackinfo.h.
67795         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
67796         * sysdeps/ia64/stackinfo.h: Likewise.
67797         * sysdeps/s390/stackinfo.h: Likewise.
67798         * sysdeps/sh/stackinfo.h: Likewise.
67799         * sysdeps/sparc/stackinfo.h: Likewise.
67800         * sysdeps/x86_64/stackinfo.h: Likewise.
67801         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
67802         PF_X for powerpc64.  Retain PF_X for powerpc32.
67804 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
67806         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
67807         accurately.
67808         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
67809         GETDENTS_64BIT_ALIGNED.
67811 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
67813         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
67815 2010-12-10  Andreas Schwab  <schwab@redhat.com>
67817         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
67818         _GNU_SOURCE.
67820         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
67821         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
67822         Remove __restrict.
67823         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
67824         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
67826 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
67828         [BZ #11655]
67829         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
67830         are initialized.
67832 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
67834         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
67836 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
67838         * po/it.po: Update from translation team.
67840 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
67842         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
67843         unused codes.
67845 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
67847         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
67849 2010-11-24  Andreas Schwab  <schwab@redhat.com>
67851         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
67852         specially.
67853         (gaih_getanswer_slice): Likewise.
67855 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
67857         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
67859 2010-05-31  Petr Baudis  <pasky@suse.cz>
67861         [BZ #11149]
67862         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
67863         silently even in the chroot mode.
67865 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
67867         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
67868         last patch a bit.  Pretty printing
67870 2010-05-31  Petr Baudis <pasky@suse.cz>
67872         [BZ #10085]
67873         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
67874         initialization of skip_initgroups_dyn.
67876 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
67878         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
67879         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67881 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
67883         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
67885 2010-11-11  Andreas Schwab  <schwab@redhat.com>
67887         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
67888         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
67889         (tst-fnmatch-ENV): Set MALLOC_TRACE.
67890         ($(objpfx)tst-fnmatch-mem): New rule.
67891         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
67892         * posix/tst-fnmatch.c (main): Call mtrace.
67894 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
67896         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67897         Support Intel processor model 6 and model 0x2c.
67899 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
67901         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
67902           signed comparison.
67904 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
67906         [BZ #12205]
67907         * string/test-strncasecmp.c (check_result): New function.
67908         (do_one_test): Use it.
67909         (check1): New function.
67910         (test_main): Use it.
67911         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
67912         Support strcasecmp and strncasecmp.
67914 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
67916         [BZ #12194]
67917         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
67918         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67920 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67922         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
67923         IFUNC support.
67924         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67925         memset-x86-64.
67926         * sysdeps/x86_64/multiarch/bzero.S: New file.
67927         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
67928         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
67929         * sysdeps/x86_64/multiarch/memset.S: New file.
67930         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
67931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67932         Set bit_Prefer_SSE_for_memop for Intel processors.
67933         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
67934         Define.
67935         (index_Prefer_SSE_for_memop): Define.
67936         (HAS_PREFER_SSE_FOR_MEMOP): Define.
67938 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
67940         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
67941         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
67943 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
67945         [BZ #12191]
67946         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67947         (__x86_64_raw_data_cache_size_half): Likewise.
67948         (__x86_64_raw_shared_cache_size): Likewise.
67949         (__x86_64_raw_shared_cache_size_half): Likewise.
67951         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67952         (__x86_64_raw_data_cache_size_half): Likewise.
67953         (__x86_64_raw_shared_cache_size): Likewise.
67954         (__x86_64_raw_shared_cache_size_half): Likewise.
67955         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
67956         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
67957         and __x86_64_raw_shared_cache_size_half.  Round
67958         __x86_64_data_cache_size_half, __x86_64_data_cache_size
67959         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
67960         to multiple of 256 bytes.
67962 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
67964         [BZ #12167]
67965         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
67966         of inacessible symlinks.  Verify result of symlink before returning it.
67967         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
67968         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
67970 2010-10-28  Erich Ritz  <erichritz@gmail.com>
67972         * math/math.h (isinf): Fix typo in comment.
67974 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
67976         * po/da.po: Update from translation team.
67978 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
67980         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
67981         is added to the list.
67983 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67984             Ulrich Drepper  <drepper@gmail.com>
67986         * elf/dl-object.c (_dl_new_object): Don't append the new object to
67987         the global list here.  Move code to...
67988         (_dl_add_to_namespace_list): ...here.  New function.
67989         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
67990         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
67991         * elf/dl-load.c (lose): Don't remove the element from the list.
67992         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
67993         (_dl_map_object): Likewise.
67995 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
67997         [BZ #12159]
67998         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
67999         into all bytes of SSE register.
68000         Patch by Richard Li <richardpku@gmail.com>.
68002 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
68004         [BZ #12140]
68005         * malloc/malloc.c (_int_free): Fill correct number of bytes when
68006         perturbing.
68008 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
68010         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
68011         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
68012         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
68013         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
68015         submachine.
68016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
68018 2010-10-22  Andreas Schwab  <schwab@redhat.com>
68020         * include/dlfcn.h (__RTLD_SECURE): Define.
68021         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
68022         mode & __RTLD_SECURE instead.
68023         (open_path): Rename preloaded parameter to secure.
68024         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
68025         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
68026         * elf/dl-deps.c (openaux): Likewise.
68027         * elf/rtld.c (struct map_args): Remove is_preloaded.
68028         (map_doit): Don't use it.
68029         (dl_main): Likewise.
68030         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
68031         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
68033 2010-09-09  Andreas Schwab  <schwab@redhat.com>
68035         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
68036         (sysd-rules-targets): Remove duplicates.
68037         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
68038         rtld-%.$o dependency.
68040 2010-10-18  Andreas Schwab  <schwab@redhat.com>
68042         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
68043         _dl_map_object do it.
68045 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
68047         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
68048         fast fma builtins, define the macros in the C99 standard.
68049         (FP_FAST_FMAF): Likewise.
68050         (FP_FAST_FMAL): Likewise.
68051         * sysdeps/x86_64/bits/mathdef.h: Likewise.
68053         * bits/mathdef.h: Update copyright year.
68054         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68056 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
68058         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
68059         builtins, define the macros in the C99 standard.
68060         (FP_FAST_FMAF): Likewise.
68061         (FP_FAST_FMAL): Likewise.
68062         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
68063         multiply/add.
68064         (FP_FAST_FMAF): Likewise.
68066 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
68068         [BZ #3268]
68069         * math/libm-test.inc (fma_test): Some new testcases.
68070         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
68071         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
68072         y and infinite z.  Do multiplication by C already in long double.
68073         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
68074         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
68075         y and infinite z.  Do bitwise or of inexact bit into u.d.
68076         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
68077         * sysdeps/i386/fpu/s_fmaf.S: Removed.
68078         * sysdeps/i386/fpu/s_fma.S: Removed.
68079         * sysdeps/i386/fpu/s_fmal.S: Removed.
68081 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
68083         [BZ #3268]
68084         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
68085         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
68086         computation is not scheduled after fetestexcept.  Fix value
68087         of minimum denormal long double.
68089 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
68091         [BZ #3268]
68092         * math/libm-test.inc (fma_test): Add some more tests.
68093         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
68094         correctly.
68096 2010-10-15  Andreas Schwab  <schwab@redhat.com>
68098         * scripts/data/localplt-s390-linux-gnu.data: New file.
68099         * scripts/data/localplt-s390x-linux-gnu.data: New file.
68101 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
68103         [BZ #3268]
68104         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
68105         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
68106         instead of dbl-64.
68107         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
68108         inlines.
68109         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
68110         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
68111         if one of x and y is very large and the other is subnormal.
68112         * sysdeps/s390/fpu/s_fmaf.c: New file.
68113         * sysdeps/s390/fpu/s_fma.c: New file.
68114         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
68115         * sysdeps/powerpc/fpu/s_fma.S: New file.
68116         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
68117         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
68118         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
68120 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
68122         [BZ #3268]
68123         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
68124         fma tests.
68125         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
68126         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
68127         * sysdeps/i386/i686/multiarch/s_fma.c: Include
68128         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
68129         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
68130         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
68131         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
68133 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
68135         [BZ #12078]
68136         * posix/regcomp.c (parse_branch): One more memory leak plugged.
68137         * posix/bug-regex31.input: Add test case.
68139 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
68141         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
68142         * posix/bug-regex31.input: New file.
68144         [BZ #12078]
68145         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
68146         (parse_sub_exp): Fix last change, use postorder.
68148         * posix/bug-regex31.c: New file.
68149         * posix/Makefile: Add rules to build and run bug-regex31.
68151         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
68153         [BZ #12078]
68154         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
68156         [BZ #12108]
68157         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
68158         to have entries in sys_siglist.
68160         [BZ #12093]
68161         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
68162         be NULL.
68164 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
68166         [BZ #3268]
68167         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
68168         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
68169         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
68170         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
68171         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
68172         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
68173         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
68174         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
68175         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
68176         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
68177         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
68178         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
68179         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
68180         * math/ftestexcept.c (fetestexcept): Likewise.
68181         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
68182         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
68183         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
68184         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
68185         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
68186         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
68187         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68189 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
68191         [BZ #12107]
68192         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
68193         newline.
68195 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
68197         * string/bug-strstr1.c: New file.
68198         * string/Makefile: Add rules to build and run bug-strstr1.
68200 2010-10-05  Eric Blake  <eblake@redhat.com>
68202         [BZ #12092]
68203         * string/str-two-way.h (two_way_long_needle): Always clear memory
68204         when skipping input due to the shift table.
68206 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
68208         [BZ #12005]
68209         * malloc/mcheck.c: Handle large requests.
68211         [BZ #12077]
68212         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
68213         for strncmp and strncasecmp.
68214         * string/stratcliff.c: Add tests for strcmp and strncmp.
68215         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
68217 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68219         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
68220         __set_fpscr.
68222 2010-09-30  Andreas Jaeger  <aj@suse.de>
68224         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
68225         (CGROUP_SUPER_MAGIC): Define.
68226         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68227         Handle btrfs and cgroup file systems.
68228         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
68229         Likewise.
68231 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
68233         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
68234         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
68236 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68238         [BZ #12067]
68239         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
68240         trying to locate the ELF header.
68242 2010-09-27  Andreas Schwab  <schwab@redhat.com>
68244         [BZ #11611]
68245         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
68246         Mask out sign-bit copies when constructing f_fsid.
68248 2010-09-24  Petr Baudis <pasky@suse.cz>
68250         * debug/stack_chk_fail_local.c: Add missing licence exception.
68251         * debug/warning-nop.c: Likewise.
68253 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
68255         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
68256         implementing getdents64 using getdents syscall, set d_type if
68257         __ASSUME_GETDENTS32_D_TYPE.
68259 2010-09-16  Andreas Schwab  <schwab@redhat.com>
68261         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
68262         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
68264 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
68266         [BZ #12037]
68267         * posix/unistd.h: Undo change of feature selection for ftruncate from
68268         2010-01-11.
68270 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
68272         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
68273         detection.
68275 2010-09-20  Andreas Schwab  <schwab@redhat.com>
68277         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
68278         fanotify_mark.
68279         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
68281 2010-09-14  Andreas Schwab  <schwab@redhat.com>
68283         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
68284         variables after CHECK_SP call.
68285         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
68287 2010-09-13  Andreas Schwab  <schwab@redhat.com>
68288             Ulrich Drepper  <drepper@redhat.com>
68290         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
68291         re-relocationg ld.so.
68292         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
68293         _dl_init_paths call.
68294         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
68295         here anymore.
68297 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
68299         * resolv/res_init.c (__res_vinit): Count the default server we added.
68301 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
68302             Ulrich Drepper  <drepper@redhat.com>
68304         [BZ #11968]
68305         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68306         (____longjmp_chk): Use %ebx for saving value across system call.
68307         Add unwind info.
68309 2010-09-06  Andreas Schwab  <schwab@redhat.com>
68311         * manual/Makefile: Don't mix pattern rules with normal rules.
68313 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68315         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
68316         operation.
68317         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
68318         * libio/iofopncook.c (_IO_cookie_init): Likewise.
68319         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
68320         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
68321         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68322         Likewise.
68324 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
68326         [BZ #11979]
68327         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
68328         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
68330 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
68332         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
68333         * sysdeps/x86_64/addmul_1.S: Likewise.
68334         * sysdeps/x86_64/lshift.S: Likewise.
68335         * sysdeps/x86_64/mul_1.S: Likewise.
68336         * sysdeps/x86_64/rshift.S: Likewise.
68337         * sysdeps/x86_64/sub_n.S: Likewise.
68338         * sysdeps/x86_64/submul_1.S: Likewise.
68340 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68342         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
68343         Define __sched_param instead of SCHED_* and sched_param when
68344         <bits/sched.h> is included with __need_schedparam defined.
68345         * bits/sched.h [__need_schedparam]
68346         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
68347         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
68348         (__defined_schedparam): Define to 1.
68349         (__sched_param): New structure, identical to sched_param.
68350         (__need_schedparam): Undefine.
68352 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
68354         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
68355         (epoll_create1): Declare.
68357         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
68359 2010-08-31  Andreas Schwab  <schwab@redhat.com>
68361         [BZ #7066]
68362         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
68363         shifting retval into place.
68365 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
68367         * nis/rpcsvc/nis.h: Update copyright notice.
68368         * nis/rpcsvc/nis.x: Likewise.
68369         * nis/rpcsvc/nis_callback.h: Likewise.
68370         * nis/rpcsvc/nis_callback.x: Likewise.
68371         * nis/rpcsvc/nis_object.x: Likewise.
68372         * nis/rpcsvc/nis_tags.h: Likewise.
68373         * nis/rpcsvc/yp.h: Likewise.
68374         * nis/rpcsvc/yp.x: Likewise.
68375         * nis/rpcsvc/ypupd.h: Likewise.
68376         * nis/yp_xdr.c: Likewise.
68377         * nis/ypupdate_xdr.c: Likewise.
68379         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
68380         mainly the body of pmap_getport.  Add parameters to specify timeouts.
68381         (pmap_getport): Use __libc_rpc_getport.
68382         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
68383         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
68384         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
68386 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
68388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
68389         fanotify_mark.
68391 2010-08-27  Roland McGrath  <roland@redhat.com>
68393         * sysdeps/i386/i686/multiarch/Makefile
68394         (CFLAGS-varshift.c): New variable.
68396 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
68398         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
68399         * sysdeps/i386/i686/multiarch/varshift.c: New file.
68401         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
68403         * sysdeps/x86_64/strlen.S: Minimal code improvement.
68405 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
68407         * sysdeps/x86_64/strlen.S: Unroll the loop.
68408         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68409         strlen-sse2 strlen-sse2-bsf.
68410         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
68411         __strlen_no_bsf if bit_Slow_BSF is set.
68412         (__strlen_sse42): Removed.
68413         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
68414         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
68416 2010-08-25  Roland McGrath  <roland@redhat.com>
68418         * sysdeps/x86_64/multiarch/varshift.S: File removed.
68419         * sysdeps/x86_64/multiarch/varshift.c: New file.
68420         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
68421         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
68422         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
68423         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68425 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
68427         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68428         strlen-sse2 strlen-sse2-bsf.
68429         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
68430         __strlen_sse2_bsf if bit_Slow_BSF is unset.
68431         (__strlen_sse2): Removed.
68432         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
68433         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
68434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
68435         bit_Slow_BSF for Atom.
68436         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
68437         (index_Slow_BSF): Define.
68438         (HAS_SLOW_BSF): Define.
68440 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
68442         [BZ #10851]
68443         * resolv/res_init.c (__res_vinit): When no server address at all
68444         is given default to loopback.
68446 2010-08-24  Roland McGrath  <roland@redhat.com>
68448         * configure.in: Remove config-name.h generation.
68449         * configure: Regenerated.
68450         * config-name.in: File removed.
68451         * scripts/config-uname.sh: New file.
68452         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
68453         ($(objdir)config-name.h): New target.
68455         * sunrpc/rpc_parse.h: Avoid nested comment.
68457 2010-08-24  Richard Henderson  <rth@redhat.com>
68458             Ulrich Drepper  <drepper@redhat.com>
68459             H.J. Lu  <hongjiu.lu@intel.com>
68461         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
68462         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
68463         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
68464         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
68465         _mm_alignr_epi8 with _mm_loadu_si128.
68466         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
68467         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
68468         (__m128i_shift_right): Removed.
68469         * sysdeps/i386/i686/multiarch/varshift.h: New file.
68470         * sysdeps/i386/i686/multiarch/varshift.S: New file.
68471         * sysdeps/x86_64/multiarch/varshift.h: New file.
68472         * sysdeps/x86_64/multiarch/varshift.S: New file.
68474 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
68476         * configure.in: Move assembler checks to before sysdep dir checking.
68478 2010-08-20  Petr Baudis  <pasky@suse.cz>
68480         * LICENSES: Sync the sunrpc license.
68482 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
68484         * sunrpc/auth_des.c: Update copyright notice once again.
68485         * sunrpc/auth_none.c: Likewise.
68486         * sunrpc/auth_unix.c: Likewise.
68487         * sunrpc/authdes_prot.c: Likewise.
68488         * sunrpc/authuxprot.c: Likewise.
68489         * sunrpc/bindrsvprt.c: Likewise.
68490         * sunrpc/clnt_gen.c: Likewise.
68491         * sunrpc/clnt_perr.c: Likewise.
68492         * sunrpc/clnt_raw.c: Likewise.
68493         * sunrpc/clnt_simp.c: Likewise.
68494         * sunrpc/clnt_tcp.c: Likewise.
68495         * sunrpc/clnt_udp.c: Likewise.
68496         * sunrpc/clnt_unix.c: Likewise.
68497         * sunrpc/des_crypt.c: Likewise.
68498         * sunrpc/des_soft.c: Likewise.
68499         * sunrpc/get_myaddr.c: Likewise.
68500         * sunrpc/getrpcport.c: Likewise.
68501         * sunrpc/key_call.c: Likewise.
68502         * sunrpc/key_prot.c: Likewise.
68503         * sunrpc/openchild.c: Likewise.
68504         * sunrpc/pm_getmaps.c: Likewise.
68505         * sunrpc/pm_getport.c: Likewise.
68506         * sunrpc/pmap_clnt.c: Likewise.
68507         * sunrpc/pmap_prot.c: Likewise.
68508         * sunrpc/pmap_prot2.c: Likewise.
68509         * sunrpc/pmap_rmt.c: Likewise.
68510         * sunrpc/rpc/auth.h: Likewise.
68511         * sunrpc/rpc/auth_unix.h: Likewise.
68512         * sunrpc/rpc/clnt.h: Likewise.
68513         * sunrpc/rpc/des_crypt.h: Likewise.
68514         * sunrpc/rpc/key_prot.h: Likewise.
68515         * sunrpc/rpc/netdb.h: Likewise.
68516         * sunrpc/rpc/pmap_clnt.h: Likewise.
68517         * sunrpc/rpc/pmap_prot.h: Likewise.
68518         * sunrpc/rpc/pmap_rmt.h: Likewise.
68519         * sunrpc/rpc/rpc.h: Likewise.
68520         * sunrpc/rpc/rpc_des.h: Likewise.
68521         * sunrpc/rpc/rpc_msg.h: Likewise.
68522         * sunrpc/rpc/svc.h: Likewise.
68523         * sunrpc/rpc/svc_auth.h: Likewise.
68524         * sunrpc/rpc/types.h: Likewise.
68525         * sunrpc/rpc/xdr.h: Likewise.
68526         * sunrpc/rpc_clntout.c: Likewise.
68527         * sunrpc/rpc_cmsg.c: Likewise.
68528         * sunrpc/rpc_common.c: Likewise.
68529         * sunrpc/rpc_cout.c: Likewise.
68530         * sunrpc/rpc_dtable.c: Likewise.
68531         * sunrpc/rpc_hout.c: Likewise.
68532         * sunrpc/rpc_main.c: Likewise.
68533         * sunrpc/rpc_parse.c: Likewise.
68534         * sunrpc/rpc_parse.h: Likewise.
68535         * sunrpc/rpc_prot.c: Likewise.
68536         * sunrpc/rpc_sample.c: Likewise.
68537         * sunrpc/rpc_scan.c: Likewise.
68538         * sunrpc/rpc_scan.h: Likewise.
68539         * sunrpc/rpc_svcout.c: Likewise.
68540         * sunrpc/rpc_tblout.c: Likewise.
68541         * sunrpc/rpc_util.c: Likewise.
68542         * sunrpc/rpc_util.h: Likewise.
68543         * sunrpc/rpcinfo.c: Likewise.
68544         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
68545         * sunrpc/rpcsvc/key_prot.x: Likewise.
68546         * sunrpc/rpcsvc/klm_prot.x: Likewise.
68547         * sunrpc/rpcsvc/mount.x: Likewise.
68548         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
68549         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
68550         * sunrpc/rpcsvc/rex.x: Likewise.
68551         * sunrpc/rpcsvc/rstat.x: Likewise.
68552         * sunrpc/rpcsvc/rusers.x: Likewise.
68553         * sunrpc/rpcsvc/sm_inter.x: Likewise.
68554         * sunrpc/rpcsvc/spray.x: Likewise.
68555         * sunrpc/rpcsvc/yppasswd.x: Likewise.
68556         * sunrpc/rtime.c: Likewise.
68557         * sunrpc/svc.c: Likewise.
68558         * sunrpc/svc_auth.c: Likewise.
68559         * sunrpc/svc_authux.c: Likewise.
68560         * sunrpc/svc_raw.c: Likewise.
68561         * sunrpc/svc_run.c: Likewise.
68562         * sunrpc/svc_simple.c: Likewise.
68563         * sunrpc/svc_tcp.c: Likewise.
68564         * sunrpc/svc_udp.c: Likewise.
68565         * sunrpc/svc_unix.c: Likewise.
68566         * sunrpc/svcauth_des.c: Likewise.
68567         * sunrpc/xcrypt.c: Likewise.
68568         * sunrpc/xdr.c: Likewise.
68569         * sunrpc/xdr_array.c: Likewise.
68570         * sunrpc/xdr_float.c: Likewise.
68571         * sunrpc/xdr_mem.c: Likewise.
68572         * sunrpc/xdr_rec.c: Likewise.
68573         * sunrpc/xdr_ref.c: Likewise.
68574         * sunrpc/xdr_sizeof.c: Likewise.
68575         * sunrpc/xdr_stdio.c: Likewise.
68577         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
68578         handling.
68580 2010-08-19  Andreas Schwab  <schwab@redhat.com>
68582         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
68584 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
68586         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
68587         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
68588         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
68589         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
68590         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
68591         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
68592         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
68593         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
68594         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
68595         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
68596         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
68597         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
68598         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
68599         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
68601 2010-07-26  Anton Blanchard  <anton@samba.org>
68603         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
68604         * malloc/arena.c (heap_trim): Likewise.
68606 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
68608         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
68609         here.  Not...
68610         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
68611         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
68613 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
68615         * sysdeps/i386/elf/Makefile: New file.
68617 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68619         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
68620         from fanotify_init.
68621         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
68622         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68624 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
68626         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
68627         of strncasecmp_l.
68628         * sysdeps/multiarch/strcmp.S: Likewise.
68630 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
68632         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68633         strncase_l-nonascii.
68634         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68635         Add strncase_l-ssse3.
68636         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
68637         * sysdeps/x86_64/strcmp.S: Likewise.
68638         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
68639         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
68640         * sysdeps/x86_64/strncase.S: New file.
68641         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
68642         * sysdeps/x86_64/strncase_l.S: New file.
68643         * string/Makefile (strop-tests): Add strncasecmp.
68644         * string/test-strncasecmp.c: New file.
68646         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
68647         warning.
68649         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
68650         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
68652 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68654         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
68656 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
68658         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
68659         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
68660         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
68662 2010-05-01  Alan Modra  <amodra@gmail.com>
68664         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
68665         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
68666         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
68667         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
68668         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
68669         tidying.  Don't tail-call __sigjmp_save for static lib.
68670         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
68671         save location.
68672         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
68673         (CALL_MCOUNT): Add eh info, and nop after bl.
68674         (TAIL_CALL_SYSCALL_ERROR): New macro.
68675         (PSEUDO_RET): Use it.
68676         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
68677         Correct save location of integer regs and cr.
68678         (_dl_profile_resolve): Correct cr save location.  Delete nops
68679         after bl when SHARED.  Reduce cfi size a little by better
68680         placement of cfi directives.
68681         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
68682         make a stack frame.  Instead use parm save area as a temp.
68683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
68684         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
68685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
68686         Don't make a stack frame for parent, use parm save area.
68687         Increase child stack frame to 112 bytes.  Don't save unused reg,
68688         and adjust reg usage.  Set up cfi on error recovery and
68689         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
68690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68691         (__makecontext): Add dummy nop after jump to exit.
68692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
68693         Use correct parm save area and cr save, reduce stack frame.
68694         Correct cfi for possible PSEUDO_RET frame setup.
68695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
68696         Branch to local label emitted by PSEUDO_RET rather than
68697         __syscall_error.
68699 2010-08-12  Andreas Schwab  <schwab@redhat.com>
68701         [BZ #11904]
68702         * locale/programs/locale.c (print_assignment): New function.
68703         (show_locale_vars): Use it.
68705 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
68707         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
68708         field.
68709         (struct statfs64): Likewise.
68710         (_STATFS_F_FLAGS): Define.
68711         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
68712         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68713         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
68714         (ST_VALID): Define locally.
68715         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
68716         __statvfs_getflags, use the provided value.
68717         * sysdeps/unix/sysv/linux/kernel-features.h: Define
68718         __ASSUME_STATFS_F_FLAGS.
68720         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
68722         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
68723         Add sys/fanotify.h.
68724         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
68725         fanotify_mask for GLIBC_2.13.
68726         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
68727         fanotify_init and fanotify_mark.
68728         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68729         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
68731         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
68732         Add prlimit.
68733         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
68734         prlimit64 for GLIBC_2.13.
68735         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
68736         prlimit64.
68737         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
68738         syscall.
68739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
68740         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
68741         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
68742         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
68743         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
68744         add prlimit alias.
68745         * sysdeps/unix/sysv/linux/prlimit.c: New file.
68747         [BZ #11903]
68748         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
68749         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
68751         * nss/Makefile: Add rules to build and run tst-nss-test1.
68752         * shlib-versions: Add entry for libnss_test1.
68753         * nss/nss_test1.c: New file.
68754         * nss/tst-nss-test1.c: New file.
68756         * nss/nsswitch.c (__nss_database_custom): Define new variable.
68757         (__nss_configure_lookup): Set appropriate entry in
68758         __nss_configure_lookup to true.
68759         * nss/nsswitch.h: Define enum with indeces of databases in
68760         databases and __nss_database_custom arrays.  Declare
68761         __nss_database_custom.
68762         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
68763         to avoid using nscd when custom rules are installed.
68764         * nss/getXXbyYY_r.c: Likewise.
68765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
68767         * nss/nss_files/files-parse.c: Whitespace fixes.
68769 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
68771         [BZ #11883]
68772         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
68773         * posix/fnmatch_loop.c: Likewise.
68775 2010-07-17  Andi Kleen  <ak@linux.intel.com>
68777         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
68778         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
68779         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
68780         * Versions.def [GLIBC_2.13]: Add.
68782 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
68784         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
68785         Also fail if tpwd after pwuid call is NULL.
68787 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68789         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
68790         when converting to ms.
68792 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68794         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
68795         EOPNOTSUPP errors with ENOTTY.
68796         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
68797         EOPNOTSUPP errors with ENOTTY.
68799 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
68801         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68802         Add strcasecmp_l-ssse3.
68803         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
68804         strcasecmp.
68805         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
68806         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
68807         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
68809 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
68811         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
68813         * string/Makefile (strop-tests): Add strcasecmp.
68814         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68815         strcasecmp_l-nonascii.
68816         (gen-as-const-headers): Add locale-defines.sym.
68817         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
68818         * sysdeps/x86_64/strcasecmp.S: New file.
68819         * sysdeps/x86_64/strcasecmp_l.S: New file.
68820         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
68821         * sysdeps/x86_64/locale-defines.sym: New file.
68822         * string/test-strcasecmp.c: New file.
68824         * string/test-strcasestr.c: Test both ends of the range of characters.
68825         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
68827 2010-07-29  Roland McGrath  <roland@redhat.com>
68829         [BZ #11856]
68830         * manual/locale.texi (Yes-or-No Questions): Fix example code.
68832 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
68834         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
68835         for ld.so.
68837 2010-07-27  Andreas Schwab  <schwab@redhat.com>
68839         * manual/memory.texi (Malloc Tunable Parameters): Document
68840         M_PERTURB.
68842 2010-07-26  Roland McGrath  <roland@redhat.com>
68844         [BZ #11840]
68845         * configure.in (-fgnu89-inline check): Set and substitute
68846         gnu89_inline, not libc_cv_gnu89_inline.
68847         * configure: Regenerated.
68848         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
68850 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
68852         * string/test-strnlen.c: New file.
68853         * string/Makefile (strop-tests): Add strnlen.
68854         * string/tester.c (test_strnlen): Add a few more test cases.
68855         * string/tst-strlen.c: Better error reporting.
68857         * sysdeps/x86_64/strnlen.S: New file.
68859 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
68861         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
68862         lower-latency instructions.
68864 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
68866         * string/test-strcasestr.c: New file.
68867         * string/test-strstr.c: New file.
68868         * string/Makefile (strop-tests): Add strstr and strcasestr.
68869         * string/str-two-way.h: Don't undefine MAX.
68870         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
68872 2010-07-21  Andreas Schwab  <schwab@redhat.com>
68874         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68875         strcasestr-nonascii.
68876         (CFLAGS-strcasestr-nonascii.c): Define.
68877         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
68878         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
68879         Remove unused attribute.
68881 2010-07-20  Roland McGrath  <roland@redhat.com>
68883         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
68884         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
68885         ld.so.cache was broken.  With it, there is no way to disable dsocaps
68886         like LD_HWCAP_MASK can disable hwcaps.
68888 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
68890         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
68892 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
68894         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
68895         call in strcasestr.
68896         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
68897         __strcasestr_sse42_nonascii.
68898         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
68899         strcasestr-nonascii.c.
68900         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
68902 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
68904         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
68905         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
68906         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
68907         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
68909 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
68911         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
68912         fcntl.
68914 2010-07-06  Andreas Schwab  <schwab@redhat.com>
68916         [BZ #11577]
68917         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
68918         dl_signal_cerror.
68920 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
68922         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
68923         _PC_PIPE_BUF using F_GETPIPE_SZ.
68925 2010-07-05  Roland McGrath  <roland@redhat.com>
68927         * manual/arith.texi (Rounding Functions): Fix rint description
68928         implicit in round description.
68930 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
68932         * elf/Makefile: Fix linking for a few tests to make recent linker
68933         happy.
68935 2010-06-30  Andreas Schwab  <schwab@redhat.com>
68937         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68938         $(common-objpfx)libc_nonshared.a.
68940 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
68942         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
68943         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
68944         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68945         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68946         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
68947         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
68948         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68949         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
68951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
68952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
68953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
68955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
68957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
68958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
68959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
68960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
68962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
68964         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
68965         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
68966         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
68967         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
68968         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
68969         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
68970         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
68971         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
68972         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
68973         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
68974         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
68975         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
68976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
68977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
68978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
68979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
68980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
68981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
68982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
68983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
68984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
68985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
68986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
68987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
68988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
68989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
68991 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
68993         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
68994         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
68995         * string/memmove.c (memmove): Renamed to ...
68996         (MEMMOVE): ...this.  Default to memmove.
68997         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
68998         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
68999         (END_CHK): Define.
69000         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69001         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
69002         mempcpy-ssse3-back memmove-ssse3-back.
69003         * sysdeps/x86_64/multiarch/bcopy.S: New file .
69004         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
69005         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
69006         * sysdeps/x86_64/multiarch/memcpy.S: New file.
69007         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
69008         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
69009         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
69010         * sysdeps/x86_64/multiarch/memmove.c: New file.
69011         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
69012         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
69013         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
69014         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
69015         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
69016         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
69017         Define.
69018         (index_Fast_Copy_Backward): Define.
69019         (HAS_ARCH_FEATURE): Define.
69020         (HAS_FAST_REP_STRING): Define.
69021         (HAS_FAST_COPY_BACKWARD): Define.
69023 2010-06-21  Andreas Schwab  <schwab@redhat.com>
69025         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
69026         Restore proper fallback handling.
69028 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
69030         [BZ #11701]
69031         * posix/group_member.c (__group_member): Correct checking loop.
69033         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
69034         OOM in getpwuid_r correctly.  Return error number when the caller
69035         should return, otherwise -1.
69036         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
69037         call returning > 0 value.
69038         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
69040 2010-06-07  Andreas Schwab  <schwab@redhat.com>
69042         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
69043         libc_nonshared.a from targets in modules-names.
69045 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
69047         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
69048         requires it.
69050 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
69052         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
69053         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
69054         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
69055         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
69057 2010-06-02  Andreas Schwab  <schwab@redhat.com>
69059         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
69061 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
69063         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
69064         and F_GETPIPE_SZ.
69065         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69066         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69067         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69068         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69069         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69070         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
69072 2010-06-14  Roland McGrath  <roland@redhat.com>
69074         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
69076 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
69078         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
69079         __REDIRECT followed by __THROW.
69080         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
69081         * posix/getopt.h (getopt): Likewise.
69083 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
69085         * hurd/lookup-at.c (__file_name_lookup_at): Accept
69086         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
69087         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
69088         in AT_FLAGS.
69089         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
69090         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
69092 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
69094         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
69096 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
69098         [BZ #11640]
69099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69100         Properly check family and model.
69102 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
69104         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
69106 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
69108         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
69110 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
69112         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
69113         symbol reference.
69115 2010-05-19  Andreas Schwab  <schwab@redhat.com>
69117         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
69118         symbol reference.
69120 2010-05-21  Andreas Schwab  <schwab@redhat.com>
69122         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
69123         and internal_recvmmsg.
69124         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
69125         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
69126         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
69127         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
69129         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
69130         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
69131         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
69133 2010-05-20  Andreas Schwab  <schwab@redhat.com>
69135         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
69137 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
69139         POWER7 optimizations.
69140         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
69141         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
69143 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
69145         * version.h: Update for 2.13 development version.
69147 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
69149         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
69150         exceptions.  Return 0.
69152 2010-05-07  Roland McGrath  <roland@redhat.com>
69154         * elf/ldconfig.c (main): Add a const.
69156 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
69158         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
69159         (args_options): Add no-idn option.
69160         (ahosts_keys_int): Add idn_flags to ai_flags.
69161         (parse_option): Handle 'i' option to clear idn_flags.
69163         * malloc/malloc.c (_int_free): Possible race in the most recently
69164         added check.  Only act on the data if no current modification
69165         happened.
69167 See ChangeLog.17 for earlier changes.