Gracefully handle incompatible locale data
[glibc.git] / ChangeLog
blob29ec9125a2f5f8e1944936efc0db337dea38bd01
1 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
3         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
4         on CNT to a conditional jump to 'puntdata'.
6 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8         * configure.ac (libc_cv_gcc___thread): Remove configure test.
9         (libc_cv_gcc_tls_model_attr): Likewise.
10         * configure: Regenerated.
12         * configure.ac (libc_cv_need_minus_P): Remove configure test.
13         * configure: Regenerated.
14         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
18         * configure.ac (old_glibc_headers): Remove configure test.
19         * configure: Regenerated.
20         * config.make.in (old-glibc-headers): Remove variable.
21         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
22         (install): Remove dependency on remove-old-headers.
23         (headers2_0): Remove variable.
24         (remove-old-headers): Remove rule.
26         * configure.ac (libc_cv_dot_text): Remove configure test.
27         (libc_cv_asm_set_directive): Use .text instead of
28         ${libc_cv_dot_text} in configure test.
29         * configure: Regenerated.
31 2015-10-26  Florian Weimer  <fweimer@redhat.com>
33         [BZ #19168]
34         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36 2015-10-26  Florian Weimer  <fweimer@redhat.com>
38         * configure.ac (CXX): Clear the variable if the C++ toolchain does
39         not support static linking.
40         * configure: Regenerate.
42 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
44         * math/libm-test.inc (check_float_internal): Do not special-case
45         errors up to 0.5 ulp.
47         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
48         log2.
49         * math/auto-libm-test-out: Regenerated.
50         * math/libm-test.inc (MAX_EXP): New macro.
51         (ilogb_test_data): Add more tests.
52         (isfinite_test_data): Likewise.
53         (isgreater_test_data): Likewise.
54         (isgreaterequal_test_data): Likewise.
55         (isinf_test_data): Likewise.
56         (isless_test_data): Likewise.
57         (islessequal_test_data): Likewise.
58         (islessgreater_test_data): Likewise.
59         (isnan_test_data): Likewise.
60         (isnormal_test_data): Likewise.
61         (issignaling_test_data): Likewise.
62         (isunordered_test_data): Likewise.
63         (j0_test_data): Likewise.
64         (j1_test_data): Likewise.
65         (jn_test_data): Likewise.
66         (lgamma_test_data): Likewise.
67         (log_test_data): Likewise.
68         (log10_test_data): Likewise.
69         (log1p_test_data): Likewise.
70         (log2_test_data): Likewise.
71         (logb_test_data): Likewise.
72         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74         [BZ #18611]
75         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
76         avoid excess range and precision on underflow.
77         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
78         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
79         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
80         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
81         underflow.
82         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
83         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
84         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
85         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
86         * math/auto-libm-test-in: Do not allow missing errno setting for
87         tests of j1 and jn.
88         * math/auto-libm-test-out: Regenerated.
90 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
92         [BZ #15491]
93         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
94         floating-point environment instead of clearing all exceptions.
95         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
96         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
97         merging in "invalid" exceptions from frndint.
98         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
99         * math/test-nearbyint-except.c: New file.
100         * math/Makefile (tests): Add test-nearbyint-except.
102 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
104         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
106         * sysdeps/tile/libm-test-ulps: Regenerated.
108 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
111         (__NR_sync_file_range2): Assume it is always defined.
112         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
113         (__NR_sync_file_range): Assume it is always defined.
115 2015-10-22  Andreas Schwab  <schwab@suse.de>
117         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
118         INTERNAL_SYSCALL_ERRNO.
119         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
120         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
121         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
122         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
123         Likewise.
124         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
126 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
128         * io/tst-fcntl.c (fd): New static variable.
129         (do_prepare): Open temporary file here....
130         (do_test): ...not here.
132         * io/ftwtest-sh: Also trap on exit to remove temporary files.
134 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
136         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
137         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
138         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
139         Moved before "#ifdef __ASSEMBLER__".
141 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
143         [BZ #19156]
144         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
145         arguments very close to 0.
147 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
149         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
150         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
152 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
154         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
155         New.  Defined for GCC 5 and above when not compiling for
156         profiling.
157         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
159         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
160         Renamed to ...
161         (CFLAGS-epoll_pwait.o): This.
162         (CFLAGS-mmap.c): Renamed to ...
163         (CFLAGS-mmap.o): This.
164         (CFLAGS-mmap64.c): Renamed to ...
165         (CFLAGS-mmap64.o): This.
166         (CFLAGS-epoll_pwait.os): New.
167         (CFLAGS-mmap.os): Likewise.
168         (CFLAGS-mmap64.os): Likewise.
169         (CFLAGS-semtimedop.os): Likewise.
170         (CFLAGS-semtimedop.c): Renamed to ...
171         (CFLAGS-semtimedop.o): This.
173 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
175         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
176         warning message.
178 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
180         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
181         * Makefile ($(objpfx)c++-types-check.out): Filter out
182         $(+gccwarn-c) instead of -Wstrict-prototypes.
184         * io/fts.c (fts_open): Convert to prototype-style function
185         definition.
186         * malloc/mcheck.c (mcheck): Likewise.
187         (mcheck_pedantic): Likewise.
188         * posix/regexec.c (re_search_2_stub): Likewise.  Use
189         internal_function.
190         (re_search_internal): Likewise.
191         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
192         prototype-style function definition.
193         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
194         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
195         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
196         (xdr_utmpptr): Likewise.
197         (xdr_utmparr): Likewise.
198         (xdr_utmpidle): Likewise.
199         (xdr_utmpidleptr): Likewise.
200         (xdr_utmpidlearr): Likewise.
202         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
203         log, log10 and log2.
204         * math/auto-libm-test-out: Regenerated.
205         * math/libm-test.inc (fmod_test_data): Add more tests.
206         (fpclassify_test_data): Likewise.
207         (frexp_test_data): Likewise.
208         (hypot_test_data): Likewise.
209         (ilogb_test_data): Likewise.
211 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
213         * debug/fortify_fail.c (__fortify_fail): Convert to
214         prototype-style function definition.  Use internal_function.
215         * libio/genops.c (save_for_backup): Convert to prototype-style
216         function definition.
217         * libio/wgenops.c (save_for_wbackup): Likewise.
218         * login/grantpt.c (grantpt): Likewise.
219         * login/ptsname.c (ptsname): Likewise.
220         (__ptsname_r): Likewise.
221         * login/unlockpt.c (unlockpt): Likewise.
222         * mach/msgserver.c (__mach_msg_server): Likewise.
223         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
224         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
225         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
226         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
227         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
228         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
229         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
230         Likewise.
231         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
232         internal_function.
233         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
234         prototype-style function definition.
235         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
236         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
237         (__pthread_create_2_0): Likewise.
238         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
239         * nptl/register-atfork.c (__register_atfork): Likewise.
240         * posix/glob.c (glob): Likewise.
241         * posix/regcomp.c (re_comp): Likewise.
242         * posix/regexec.c (re_exec): Likewise.
243         * stdlib/add_n.c [__STDC__]: Make code unconditional.
244         [!__STDC__]: Remove conditional code.
245         * stdlib/cmp.c [__STDC__]: Make code unconditional.
246         [!__STDC__]: Remove conditional code.
247         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
248         [!__STDC__]: Remove conditional code.
249         * stdlib/divrem.c [__STDC__]: Make code unconditional.
250         [!__STDC__]: Remove conditional code.
251         * stdlib/lshift.c [__STDC__]: Make code unconditional.
252         [!__STDC__]: Remove conditional code.
253         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
254         [!__STDC__]: Remove conditional code.
255         * stdlib/mul.c [__STDC__]: Make code unconditional.
256         [!__STDC__]: Remove conditional code.
257         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
258         [!__STDC__]: Remove conditional code.
259         * stdlib/rshift.c [__STDC__]: Make code unconditional.
260         [!__STDC__]: Remove conditional code.
261         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
262         function definition.
263         (STRTOF): Likewise.
264         * stdlib/strtod_l.c (__STRTOF): Likewise.
265         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
266         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
267         (__strtol_l): Likewise.
268         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
269         [!__STDC__]: Remove conditional code.
270         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
271         definition.
272         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
273         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
274         type.
275         (__strcasecmp): Convert to prototype-style function definition.
276         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
277         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
278         type.
279         (__strncasecmp): Convert to prototype-style function definition.
280         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
281         * sunrpc/xdr.c (xdr_union): Likewise.
282         * sunrpc/xdr_array.c (xdr_array): Likewise.
283         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
284         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
285         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
286         Likewise.
287         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
288         Likewise.
289         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
290         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
291         Likewise.
292         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
293         (LOCALE_PARAM_PROTO): Likewise.
294         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
295         argument type.
296         (ut_argument_spec): Remove macro.
297         (ut_argument_spec_iso): Rename to ut_argument_spec.
298         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
299         prototype-style function definition.
300         (memcpy_uppcase): Likewise.
301         (__strftime_internal): Likewise.
302         (my_strftime): Likewise.
303         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
304         (LOCALE_PARAM_DECL): Likewise.
305         [_LIBC] (LOCALE_PARAM): Include argument type.
306         (__strptime_internal): Convert to prototype-style function
307         definition.
308         (strptime): Likewise.
309         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
310         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
311         type.
312         (__wcscasecmp): Convert to prototype-style function definition.
313         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
314         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
315         type.
316         (__wcsncasecmp): Convert to prototype-style function definition.
318         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
319         function definition.
320         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
321         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
322         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
323         * elf/dl-minimal.c (_itoa): Likewise.
324         * hurd/hurdmalloc.c (malloc): Likewise.
325         (free): Likewise.
326         (realloc): Likewise.
327         * inet/inet6_option.c (inet6_option_space): Likewise.
328         (inet6_option_init): Likewise.
329         (inet6_option_append): Likewise.
330         (inet6_option_alloc): Likewise.
331         (inet6_option_next): Likewise.
332         (inet6_option_find): Likewise.
333         * io/ftw.c (FTW_NAME): Likewise.
334         (NFTW_NAME): Likewise.
335         (NFTW_NEW_NAME): Likewise.
336         (NFTW_OLD_NAME): Likewise.
337         * libio/iofwide.c (_IO_fwide): Likewise.
338         * libio/strops.c (_IO_str_init_static_internal): Likewise.
339         (_IO_str_init_static): Likewise.
340         (_IO_str_init_readonly): Likewise.
341         (_IO_str_overflow): Likewise.
342         (_IO_str_underflow): Likewise.
343         (_IO_str_count): Likewise.
344         (_IO_str_seekoff): Likewise.
345         (_IO_str_pbackfail): Likewise.
346         (_IO_str_finish): Likewise.
347         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
348         (_IO_wstr_overflow): Likewise.
349         (_IO_wstr_underflow): Likewise.
350         (_IO_wstr_count): Likewise.
351         (_IO_wstr_seekoff): Likewise.
352         (_IO_wstr_pbackfail): Likewise.
353         (_IO_wstr_finish): Likewise.
354         * locale/programs/localedef.c (normalize_codeset): Likewise.
355         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
356         (add_locales_to_archive): Likewise.
357         (delete_locales_from_archive): Likewise.
358         * malloc/malloc.c (__libc_mallinfo): Likewise.
359         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
360         * misc/tsearch.c (__tfind): Likewise.
361         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
362         * nptl/pthread_attr_getdetachstate.c
363         (__pthread_attr_getdetachstate): Likewise.
364         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
365         Likewise.
366         * nptl/pthread_attr_getinheritsched.c
367         (__pthread_attr_getinheritsched): Likewise.
368         * nptl/pthread_attr_getschedparam.c
369         (__pthread_attr_getschedparam): Likewise.
370         * nptl/pthread_attr_getschedpolicy.c
371         (__pthread_attr_getschedpolicy): Likewise.
372         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
373         Likewise.
374         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
375         Likewise.
376         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
377         Likewise.
378         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
379         Likewise.
380         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
381         (__pthread_attr_init_2_0): Likewise.
382         * nptl/pthread_attr_setdetachstate.c
383         (__pthread_attr_setdetachstate): Likewise.
384         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
385         Likewise.
386         * nptl/pthread_attr_setinheritsched.c
387         (__pthread_attr_setinheritsched): Likewise.
388         * nptl/pthread_attr_setschedparam.c
389         (__pthread_attr_setschedparam): Likewise.
390         * nptl/pthread_attr_setschedpolicy.c
391         (__pthread_attr_setschedpolicy): Likewise.
392         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
393         Likewise.
394         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
395         Likewise.
396         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
397         Likewise.
398         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
399         Likewise.
400         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
401         Likewise.
402         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
403         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
404         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
405         use internal_function.
406         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
407         prototype-style function definition.
408         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
409         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
410         internal_function.
411         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
412         Convert to prototype-style function definition.
413         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
414         Likewise.
415         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
416         Likewise.
417         (__pthread_mutex_unlock): Likewise.
418         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
419         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
420         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
421         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
422         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
423         * nss/makedb.c (process_input): Likewise.
424         * posix/fnmatch.c (__strchrnul): Likewise.
425         (__wcschrnul): Likewise.
426         (fnmatch): Likewise.
427         * posix/fnmatch_loop.c (FCT): Likewise.
428         * posix/glob.c (globfree): Likewise.
429         (__glob_pattern_type): Likewise.
430         (__glob_pattern_p): Likewise.
431         * posix/regcomp.c (re_compile_pattern): Likewise.
432         (re_set_syntax): Likewise.
433         (re_compile_fastmap): Likewise.
434         (regcomp): Likewise.
435         (regerror): Likewise.
436         (regfree): Likewise.
437         * posix/regexec.c (regexec): Likewise.
438         (re_match): Likewise.
439         (re_search): Likewise.
440         (re_match_2): Likewise.
441         (re_search_2): Likewise.
442         (re_search_stub): Likewise.  Use internal_function
443         (re_copy_regs): Likewise.
444         (re_set_registers): Convert to prototype-style function
445         definition.
446         (prune_impossible_nodes): Likewise.  Use internal_function.
447         * resolv/inet_net_pton.c (inet_net_pton): Convert to
448         prototype-style function definition.
449         (inet_net_pton_ipv4): Likewise.
450         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
451         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
452         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
453         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
454         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
455         Make variadic.
456         * time/strptime_l.c (localtime_r): Convert to prototype-style
457         function definition.
458         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
459         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
460         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
461         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
463         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
464         definition.
465         (_ufc_doit_r): Likewise.
466         * crypt/crypt_util.c (_ufc_copymem): Likewise.
467         (_ufc_output_conversion_r): Likewise.
468         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
469         * inet/rcmd.c (rcmd_af): Likewise.
470         (rcmd): Likewise.
471         (ruserok_af): Likewise.
472         (ruserok): Likewise.
473         (ruserok2_sa): Likewise.
474         (ruserok_sa): Likewise.
475         (iruserok_af): Likewise.
476         (iruserok): Likewise.
477         (__ivaliduser): Likewise.
478         (__validuser2_sa): Likewise.
479         * inet/rexec.c (rexec_af): Likewise.
480         (rexec): Likewise.
481         * inet/ruserpass.c (ruserpass): Likewise.
482         * locale/programs/xmalloc.c (xcalloc): Likewise.
483         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
484         * math/w_drem.c (__drem): Likewise.
485         * math/w_dremf.c (__dremf): Likewise.
486         * math/w_dreml.c (__dreml): Likewise.
487         * misc/daemon.c (daemon): Likewise.
488         * resolv/res_debug.c (p_fqnname): Likewise.
489         * stdlib/div.c (div): Likewise.
490         * string/memcmp.c (memcmp_bytes): Likewise.
491         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
492         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
494         * crypt/cert.c (main): Convert to prototype-style function
495         definition.
496         * io/pipe.c (__pipe): Likewise.
497         * io/pipe2.c (__pipe2): Likewise.
498         * misc/futimesat.c (futimesat): Likewise.
499         * misc/utimes.c (__utimes): Likewise.
500         * posix/execve.c (__execve): Likewise.
501         * posix/execvp.c (execvp): Likewise.
502         * posix/execvpe.c (__execvpe): Likewise.
503         * posix/fexecve.c (fexecve): Likewise.
504         * socket/socketpair.c (socketpair): Likewise.
505         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
506         * stdlib/erand48.c (erand48): Likewise.
507         * stdlib/erand48_r.c (__erand48_r): Likewise.
508         * stdlib/jrand48.c (jrand48): Likewise.
509         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
510         * stdlib/lcong48.c (lcong48): Likewise.
511         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
512         * stdlib/nrand48.c (nrand48): Likewise.
513         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
514         * stdlib/seed48.c (seed48): Likewise.
515         * stdlib/seed48_r.c (__seed48_r): Likewise.
516         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
517         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
518         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
520 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
522         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
523         * configure: Regenerated.
524         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
525         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
526         unconditional.
527         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
528         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
529         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
530         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
531         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
532         unconditional.
533         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
535         * posix/Makefile (CFLAGS-regex.c): Remove variable.
536         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
538         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
539         function definition.
540         * crypt/crypt_util.c (__encrypt_r): Likewise.
541         * libio/genops.c (_IO_no_init): Likewise.
542         * libio/iofopncook.c (_IO_fopencookie): Likewise.
543         (_IO_old_fopencookie): Likewise.
544         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
545         * libio/iogetline.c (_IO_getline): Likewise.
546         (_IO_getline_info): Likewise.
547         * libio/iogetwline.c (_IO_getwline): Likewise.
548         (_IO_getwline_info): Likewise.
549         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
550         * libio/vswprintf.c (_IO_vswprintf): Likewise.
551         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
552         (find_entry): Likewise.
553         (iterate_table): Likewise.
554         (lookup): Likewise.
555         * login/forkpty.c (forkpty): Likewise.
556         * misc/hsearch_r.c (__hsearch_r): Likewise.
557         * misc/select.c (__select): Likewise.
558         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
559         Likewise.
560         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
561         Likewise.
562         * nptl/old_pthread_cond_timedwait.c
563         (__pthread_cond_timedwait_2_0): Likewise.
564         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
565         * nptl/pthread_barrierattr_getpshared.c
566         (pthread_barrierattr_getpshared): Likewise.
567         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
568         Likewise.
569         * nptl/pthread_mutex_setprioceiling.c
570         (pthread_mutex_setprioceiling): Likewise.
571         * nptl/pthread_mutexattr_getprioceiling.c
572         (pthread_mutexattr_getprioceiling): Likewise.
573         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
574         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
575         Likewise.
576         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
577         Likewise.
578         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
579         Likewise.
580         * socket/recvfrom.c (__recvfrom): Likewise.
581         * socket/sendto.c (__sendto): Likewise.
582         * socket/setsockopt.c (__setsockopt): Likewise.
583         * stdio-common/_itoa.c (_itoa): Likewise.
584         * stdio-common/_itowa.c (_itowa): Likewise.
585         * stdio-common/reg-printf.c (__register_printf_specifier):
586         Likewise.
587         (__register_printf_function): Likewise.
588         * stdio-common/tempname.c (__path_search): Likewise.
589         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
590         * stdlib/mul_1.c (mpn_mul_1): Likewise.
591         * stdlib/random_r.c (__initstate_r): Likewise.
592         * stdlib/setenv.c (__add_to_environ): Likewise.
593         * stdlib/submul_1.c (mpn_submul_1): Likewise.
594         * streams/getpmsg.c (getpmsg): Likewise.
595         * streams/putmsg.c (putmsg): Likewise.
596         * streams/putpmsg.c (putpmsg): Likewise.
597         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
598         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
599         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
600         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
601         * sunrpc/pm_getport.c (pmap_getport): Likewise.
602         * sunrpc/svc_udp.c (cache_get): Likewise.
603         * sunrpc/xdr_array.c (xdr_vector): Likewise.
604         * sysdeps/mach/hurd/getcwd.c
605         (__canonicalize_directory_name_internal): Likewise.
606         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
607         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
608         * sysdeps/mach/hurd/select.c (__select): Likewise.
609         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
610         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
611         * sysdeps/sparc/nptl/pthread_barrier_init.c
612         (__pthread_barrier_init): Likewise.
613         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
614         (__pthread_cond_timedwait): Likewise.
615         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
616         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
617         Likewise.
618         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
619         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
620         Likewise.
621         * sysvipc/semtimedop.c (semtimedop): Likewise.
622         * time/setitimer.c (__setitimer): Likewise.
623         * time/strftime_l.c (emacs_strftime): Likewise.
625 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
627         * config.make.in (have-ssp): Delete.
628         (stack-protector): New variable.
629         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
630         cache test for -fstack-protector-strong.  Export stack_protector to
631         the best ssp flag.
632         * configure: Regenerated.
633         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
634         * nscd/Makefile (CFLAGS-nscd): Likewise.
635         * resolv/Makefile (CFLAGS-libresolv): Likewise.
637 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
639         [BZ #19122]
640         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
641         attribute_hidden.
643 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
645         [BZ #18743]
646         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
647         code to...
648         (ELIDE_LOCK): ...here.
649         (__get_new_count): New function with part of the code from
650         __elide_lock that updates the value of adapt_count after a
651         transaction abort.
652         (__elided_trylock): Moved this code to...
653         (ELIDE_TRYLOCK): ...here.
655 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
657         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
658         * configure: Regenerate.
659         * INSTALL: Regenerate.
660         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
661         and tweak grammar.
663 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
665         * login/programs/pt_chown.c: Include signal.h
666         (main): Clear any signal mask from the parent process.
668 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
670         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
671         * configure: Regenerated.
672         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
673         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
674         $(gnu89-inline-CFLAGS).
676         * configure.ac (libc_cv_asm_weak_directive): Remove configure
677         test.
678         (libc_cv_asm_weakext_directive): Likewise.
679         * configure: Regenerated.
680         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
681         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
682         * include/libc-symbols.h
683         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
684         #error.
685         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
686         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
688         * sysdeps/arm/backtrace.c (__backtrace): Convert to
689         prototype-style function definition.
690         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
691         * sysdeps/i386/ffs.c (__ffs): Likewise.
692         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
693         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
694         Likewise.
695         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
696         Likewise.
697         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
698         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
699         Likewise.
700         * sysdeps/m68k/ffs.c (__ffs): Likewise.
701         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
702         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
703         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
704         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
705         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
706         * sysdeps/mach/hurd/access.c (__access): Likewise.
707         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
708         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
709         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
710         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
711         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
712         (cthread_getspecific): Likewise.
713         (cthread_setspecific): Likewise.
714         (__libc_getspecific): Likewise.
715         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
716         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
717         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
718         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
719         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
720         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
721         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
722         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
723         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
724         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
725         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
726         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
727         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
728         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
729         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
730         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
731         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
732         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
733         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
734         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
735         * sysdeps/mach/hurd/link.c (__link): Likewise.
736         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
737         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
738         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
739         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
740         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
741         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
742         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
743         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
744         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
745         * sysdeps/mach/hurd/rename.c (rename): Likewise.
746         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
747         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
748         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
749         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
750         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
751         * sysdeps/mach/hurd/send.c (__send): Likewise.
752         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
753         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
754         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
755         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
756         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
757         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
758         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
759         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
760         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
761         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
762         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
763         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
764         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
765         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
766         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
767         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
768         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
769         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
770         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
771         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
772         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
773         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
774         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
775         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
776         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
777         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
778         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
779         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
780         * sysdeps/posix/alarm.c (alarm): Likewise.
781         * sysdeps/posix/cuserid.c (cuserid): Likewise.
782         * sysdeps/posix/dirfd.c (dirfd): Likewise.
783         * sysdeps/posix/dup.c (__dup): Likewise.
784         * sysdeps/posix/dup2.c (__dup2): Likewise.
785         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
786         (main): Likewise.
787         * sysdeps/posix/flock.c (__flock): Likewise.
788         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
789         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
790         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
791         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
792         * sysdeps/posix/isatty.c (__isatty): Likewise.
793         * sysdeps/posix/killpg.c (killpg): Likewise.
794         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
795         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
796         * sysdeps/posix/raise.c (raise): Likewise.
797         * sysdeps/posix/remove.c (remove): Likewise.
798         * sysdeps/posix/rename.c (rename): Likewise.
799         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
800         * sysdeps/posix/seekdir.c (seekdir): Likewise.
801         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
802         * sysdeps/posix/sigignore.c (sigignore): Likewise.
803         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
804         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
805         * sysdeps/posix/sigset.c (sigset): Likewise.
806         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
807         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
808         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
809         * sysdeps/posix/time.c (time): Likewise.
810         * sysdeps/posix/ttyname.c (getttyname): Likewise.
811         (ttyname): Likewise.
812         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
813         * sysdeps/posix/utime.c (utime): Likewise.
814         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
815         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
816         Likewise.
817         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
818         (pthread_spin_trylock): Likewise.
819         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
820         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
821         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
822         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
823         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
824         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
825         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
826         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
827         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
828         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
829         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
830         * sysdeps/s390/ffs.c (__ffs): Likewise.
831         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
832         Likewise.
833         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
834         Likewise.
835         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
836         Likewise.
837         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
838         (pthread_barrier_destroy): Likewise.
839         * sysdeps/sparc/nptl/pthread_barrier_wait.c
840         (__pthread_barrier_wait): Likewise.
841         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
842         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
843         (__pthread_barrier_wait): Likewise.
844         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
845         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
846         (memcmp_not_common_alignment): Likewise.
847         (MEMCMP): Likewise.
848         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
849         (_wordcopy_fwd_dest_aligned): Likewise.
850         (_wordcopy_bwd_aligned): Likewise.
851         (_wordcopy_bwd_dest_aligned): Likewise.
852         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
853         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
854         * sysdeps/unix/bsd/stty.c (stty): Likewise.
855         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
856         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
857         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
858         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
859         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
860         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
861         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
862         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
863         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
864         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
865         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
866         * sysdeps/unix/stime.c (stime): Likewise.
867         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
868         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
869         Likewise.  Use internal_function.
870         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
871         Convert to prototype-style function definition.
872         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
873         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
874         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
875         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
876         Likewise.  Use internal_function.
877         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
878         prototype-style function definition
879         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
880         Likewise.
881         (__getlogin_r): Likewise.
882         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
883         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
884         (__pthread_cond_broadcast): Likewise.
885         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
886         (__pthread_cond_destroy): Likewise.
887         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
888         (__pthread_cond_init): Likewise.
889         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
890         (__pthread_cond_signal): Likewise.
891         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
892         (__pthread_cond_wait): Likewise.
893         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
894         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
895         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
896         Likewise.
897         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
898         Likewise.
899         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
900         Likewise.
901         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
902         Likewise.
903         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
905         (__ftruncate64): Likewise.
906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
907         (truncate64): Likewise.
908         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
909         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
910         (pthread_getcpuclockid): Likewise.
911         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
912         Likewise.
913         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
914         Likewise.
915         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
916         Likewise.
917         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
918         Likewise.
919         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
920         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
921         (__libc_sigaction): Likewise.
922         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
923         Likewise.
924         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
925         (__sigprocmask): Likewise.
926         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
927         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
928         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
929         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
930         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
931         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
932         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
933         Likewise.
934         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
935         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
936         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
937         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
938         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
939         Likewise.
940         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
941         (__sigprocmask): Likewise.
942         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
943         (cfgetispeed): Likewise.
944         (cfsetospeed): Likewise.
945         (cfsetispeed): Likewise.
946         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
947         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
948         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
949         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
950         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
951         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
952         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
953         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
954         Likewise.
955         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
956         Likewise.
957         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
958         Likewise.
959         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
960         Likewise.
961         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
963 2015-10-17  Florian Weimer  <fweimer@redhat.com>
965         sunrpc: Rewrite with explicit TLS access using __thread.
966         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
967         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
968         directly.
969         (__rpc_thread_variables): Access thread_rpc_vars directly.
970         Eliminate redundant assignment of the tvp variable.
972 2015-10-17  Florian Weimer  <fweimer@redhat.com>
974         malloc: Rewrite with explicit TLS access using __thread.
975         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
976         (tsd_setspecific, tsd_getspecific): Remove.
977         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
978         (tsd_setspecific, tsd_getspecific): Likewise.
979         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
980         (tsd_setspecific, tsd_getspecific): Likewise.
981         * malloc/arena.c (thread_arena): New TLS variable.
982         (arena_key): Remove variable.
983         (arena_get): Use thread_arena.
984         (arena_lookup): Remove macro.
985         (malloc_atfork, free_atfork, ptmalloc_lock_all)
986         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
987         (_int_new_arena, get_free_list, reused_arena)
988         (arena_thread_freeres): Use thread_arena.
989         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
990         tsd_getspecific, tsd_setspecific from safety annotations.
991         (Allocating Cleared Space): Remove arena_lookup from safety
992         annotations.
994 2015-10-17  Florian Weimer  <fweimer@redhat.com>
996         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
997         struct scratch_buffer instead of extend_alloca.
999 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1001         * sysdeps/unix/sysv/linux/kernel-features.h
1002         (__ASSUME_SOCK_CLOEXEC): Remove.
1003         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
1004         (__have_paccept): Remove unused macro.
1005         * include/unistd.h (__have_sock_cloexec): Remove declaration.
1006         * misc/syslog.c (openlog_internal): Remove fallback code for
1007         !__ASSUME_SOCK_CLOEXEC.
1008         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
1009         missing SOCK_CLOEXEC.
1010         * nscd/connections.c (have_sock_cloexec): Remove definition.
1011         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
1012         * nscd/nscd_helper.c (open_socket): Remove fallback code for
1013         !__ASSUME_SOCK_CLOEXEC.
1014         * resolv/res_send.c (__have_o_nonblock): Remove definition.
1015         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
1016         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
1017         definition.
1018         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
1019         code for !__ASSUME_SOCK_CLOEXEC.
1021 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1023         [BZ #18982]
1024         * manual/stdio.texi (Variable Arguments Output): Add portability
1025         note, explaining that vfprintf clobbers the va_list pointer.
1027 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
1029         * math/libm-test.inc (fabs_test_data): Add more tests.
1030         (fdim_test_data): Likewise.
1031         (fma_test_data): Likewise.
1032         (fmax_test_data): Likewise.
1033         (fmin_test_data): Likewise.
1034         (fmod_test_data): Likewise.
1036 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
1038         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
1039         data.
1041 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
1043         * math/libm-test.inc (ceil_test_data): Add more tests and more
1044         expectations for "inexact".
1045         (floor_test_data): Add more tests.
1046         (round_test_data): Likewise.
1047         (trunc_test_data): Likewise.
1049         * crypt/cert.c (good_bye): Convert to prototype-style function
1050         definition.
1051         (get8): Likewise.
1052         (put8): Likewise.
1053         * crypt/crypt-entry.c (crypt): Likewise.
1054         (__fcrypt): Likewise.
1055         * crypt/crypt_util.c (_ufc_prbits): Likewise.
1056         (_ufc_set_bits): Likewise.
1057         (_ufc_clearmem): Likewise.
1058         (__init_des_r): Likewise.
1059         (shuffle_sb): Likewise.
1060         (shuffle_sb): Likewise.
1061         (_ufc_setup_salt_r): Likewise.
1062         (_ufc_mk_keytab_r): Likewise.
1063         (_ufc_dofinalperm_r): Likewise.
1064         (encrypt): Likewise.
1065         (__setkey_r): Likewise.
1066         (setkey): Likewise.
1067         * crypt/md5.c (md5_init_ctx): Likewise.
1068         (md5_read_ctx): Likewise.
1069         (md5_finish_ctx): Likewise.
1070         (md5_stream): Likewise.
1071         (md5_buffer): Likewise.
1072         (md5_process_bytes): Likewise.
1073         * crypt/sha256.c (__sha256_init_ctx): Likewise.
1074         (__sha256_finish_ctx): Likewise.
1075         (__sha256_process_bytes): Likewise.
1076         * crypt/sha512.c (__sha512_init_ctx): Likewise.
1077         (__sha512_finish_ctx): Likewise.
1078         (__sha512_process_bytes): Likewise.
1079         * ctype/isctype.c (__isctype): Likewise.
1080         * debug/backtrace.c (__backtrace): Likewise.
1081         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
1082         * debug/fgets_chk.c (__fgets_chk): Likewise.
1083         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
1084         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
1085         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1086         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1087         * debug/memset_chk.c (__memset_chk): Likewise.
1088         * debug/strcat_chk.c (__strcat_chk): Likewise.
1089         * debug/strncat_chk.c (__strncat_chk): Likewise.
1090         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
1091         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
1092         * dirent/dirfd.c (dirfd): Likewise.
1093         * dirent/getdents.c (__getdirentries): Likewise.
1094         * dirent/getdents64.c (getdirentries64): Likewise.
1095         * dirent/rewinddir.c (__rewinddir): Likewise.
1096         * dirent/seekdir.c (seekdir): Likewise.
1097         * dirent/telldir.c (telldir): Likewise.
1098         * elf/sln.c (makesymlinks): Likewise.
1099         (makesymlink): Likewise.
1100         * gmon/gmon.c (__moncontrol): Likewise.
1101         (__monstartup): Likewise.
1102         (write_hist): Likewise.
1103         (write_call_graph): Likewise.
1104         (write_bb_counts): Likewise.
1105         * grp/setgroups.c (setgroups): Likewise.
1106         * inet/inet_lnaof.c (inet_lnaof): Likewise.
1107         * inet/inet_net.c (inet_network): Likewise.
1108         * inet/inet_netof.c (inet_netof): Likewise.
1109         * inet/rcmd.c (rresvport_af): Likewise.
1110         (rresvport): Likewise.
1111         * io/access.c (__access): Likewise.
1112         * io/chdir.c (__chdir): Likewise.
1113         * io/chmod.c (__chmod): Likewise.
1114         * io/chown.c (__chown): Likewise.
1115         * io/close.c (__close): Likewise.
1116         * io/creat.c (creat): Likewise.
1117         * io/creat64.c (creat64): Likewise.
1118         * io/dup.c (__dup): Likewise.
1119         * io/dup2.c (__dup2): Likewise.
1120         * io/dup3.c (__dup3): Likewise.
1121         * io/euidaccess.c (__euidaccess): Likewise.
1122         * io/faccessat.c (faccessat): Likewise.
1123         * io/fchmod.c (__fchmod): Likewise.
1124         * io/fchmodat.c (fchmodat): Likewise.
1125         * io/fchown.c (__fchown): Likewise.
1126         * io/fchownat.c (fchownat): Likewise.
1127         * io/fcntl.c (__fcntl): Likewise.
1128         * io/flock.c (__flock): Likewise.
1129         * io/fts.c (fts_load): Likewise.
1130         (fts_close): Likewise.
1131         (fts_read): Likewise.
1132         (fts_set): Likewise.
1133         (fts_children): Likewise.
1134         (fts_build): Likewise.
1135         (fts_stat): Likewise.
1136         (fts_sort): Likewise.
1137         (fts_alloc): Likewise.
1138         (fts_lfree): Likewise.
1139         (fts_palloc): Likewise.
1140         (fts_padjust): Likewise.
1141         (fts_maxarglen): Likewise.
1142         (fts_safe_changedir): Likewise.
1143         * io/getwd.c (getwd): Likewise.
1144         * io/isatty.c (__isatty): Likewise.
1145         * io/lchown.c (__lchown): Likewise.
1146         * io/link.c (__link): Likewise.
1147         * io/linkat.c (linkat): Likewise.
1148         * io/lseek.c (__libc_lseek): Likewise.
1149         * io/mkdir.c (__mkdir): Likewise.
1150         * io/mkdirat.c (mkdirat): Likewise.
1151         * io/mkfifo.c (mkfifo): Likewise.
1152         * io/mkfifoat.c (mkfifoat): Likewise.
1153         * io/open.c (__libc_open): Likewise.
1154         * io/open64.c (__libc_open64): Likewise.
1155         * io/readlink.c (__readlink): Likewise.
1156         * io/readlinkat.c (readlinkat): Likewise.
1157         * io/rmdir.c (__rmdir): Likewise.
1158         * io/symlink.c (__symlink): Likewise.
1159         * io/symlinkat.c (symlinkat): Likewise.
1160         * io/ttyname.c (ttyname): Likewise.
1161         * io/ttyname_r.c (__ttyname_r): Likewise.
1162         * io/umask.c (__umask): Likewise.
1163         * io/unlink.c (__unlink): Likewise.
1164         * io/unlinkat.c (unlinkat): Likewise.
1165         * io/utime.c (utime): Likewise.
1166         * libio/clearerr.c (clearerr): Likewise.
1167         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
1168         * libio/feof.c (_IO_feof): Likewise.
1169         * libio/feof_u.c (feof_unlocked): Likewise.
1170         * libio/ferror.c (_IO_ferror): Likewise.
1171         * libio/ferror_u.c (ferror_unlocked): Likewise.
1172         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1173         * libio/fileno.c (__fileno): Likewise.
1174         * libio/fputc.c (fputc): Likewise.
1175         * libio/fputc_u.c (fputc_unlocked): Likewise.
1176         * libio/fputwc.c (fputwc): Likewise.
1177         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
1178         * libio/freopen.c (freopen): Likewise.
1179         * libio/freopen64.c (freopen64): Likewise.
1180         * libio/fseek.c (fseek): Likewise.
1181         * libio/fseeko.c (fseeko): Likewise.
1182         * libio/fseeko64.c (fseeko64): Likewise.
1183         * libio/ftello.c (__ftello): Likewise.
1184         * libio/ftello64.c (ftello64): Likewise.
1185         * libio/fwide.c (fwide): Likewise.
1186         * libio/genops.c (_IO_un_link): Likewise.
1187         (_IO_link_in): Likewise.
1188         (_IO_least_marker): Likewise.
1189         (_IO_switch_to_main_get_area): Likewise.
1190         (_IO_switch_to_backup_area): Likewise.
1191         (_IO_switch_to_get_mode): Likewise.
1192         (_IO_free_backup_area): Likewise.
1193         (_IO_switch_to_put_mode): Likewise.
1194         (__overflow): Likewise.
1195         (__underflow): Likewise.
1196         (__uflow): Likewise.
1197         (_IO_setb): Likewise.
1198         (_IO_doallocbuf): Likewise.
1199         (_IO_default_underflow): Likewise.
1200         (_IO_default_uflow): Likewise.
1201         (_IO_default_xsputn): Likewise.
1202         (_IO_sgetn): Likewise.
1203         (_IO_default_xsgetn): Likewise.
1204         (_IO_sync): Likewise.
1205         (_IO_default_setbuf): Likewise.
1206         (_IO_default_seekpos): Likewise.
1207         (_IO_default_doallocate): Likewise.
1208         (_IO_init): Likewise.
1209         (_IO_old_init): Likewise.
1210         (_IO_default_sync): Likewise.
1211         (_IO_default_finish): Likewise.
1212         (_IO_default_seekoff): Likewise.
1213         (_IO_sputbackc): Likewise.
1214         (_IO_sungetc): Likewise.
1215         (_IO_set_column): Likewise.
1216         (_IO_set_column): Likewise.
1217         (_IO_adjust_column): Likewise.
1218         (_IO_get_column): Likewise.
1219         (_IO_init_marker): Likewise.
1220         (_IO_remove_marker): Likewise.
1221         (_IO_marker_difference): Likewise.
1222         (_IO_marker_delta): Likewise.
1223         (_IO_seekmark): Likewise.
1224         (_IO_unsave_markers): Likewise.
1225         (_IO_nobackup_pbackfail): Likewise.
1226         (_IO_default_pbackfail): Likewise.
1227         (_IO_default_seek): Likewise.
1228         (_IO_default_stat): Likewise.
1229         (_IO_default_read): Likewise.
1230         (_IO_default_write): Likewise.
1231         (_IO_default_showmanyc): Likewise.
1232         (_IO_default_imbue): Likewise.
1233         (_IO_iter_next): Likewise.
1234         (_IO_iter_file): Likewise.
1235         * libio/getc.c (_IO_getc): Likewise.
1236         * libio/getwc.c (_IO_getwc): Likewise.
1237         * libio/iofclose.c (_IO_new_fclose): Likewise.
1238         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
1239         * libio/iofflush.c (_IO_fflush): Likewise.
1240         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
1241         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
1242         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
1243         * libio/iofgets.c (_IO_fgets): Likewise.
1244         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
1245         * libio/iofgetws.c (fgetws): Likewise.
1246         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1247         * libio/iofopen64.c (_IO_fopen64): Likewise.
1248         * libio/iofopncook.c (_IO_cookie_read): Likewise.
1249         (_IO_cookie_write): Likewise.
1250         (_IO_cookie_seek): Likewise.
1251         (_IO_cookie_close): Likewise.
1252         (_IO_cookie_seekoff): Likewise.
1253         (_IO_old_cookie_seek): Likewise.
1254         * libio/iofputs.c (_IO_fputs): Likewise.
1255         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
1256         * libio/iofputws.c (fputws): Likewise.
1257         * libio/iofputws_u.c (fputws_unlocked): Likewise.
1258         * libio/iofread.c (_IO_fread): Likewise.
1259         * libio/iofread_u.c (__fread_unlocked): Likewise.
1260         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1261         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
1262         * libio/ioftell.c (_IO_ftell): Likewise.
1263         * libio/iofwrite.c (_IO_fwrite): Likewise.
1264         * libio/iogetdelim.c (_IO_getdelim): Likewise.
1265         * libio/iogets.c (_IO_gets): Likewise.
1266         * libio/iopadn.c (_IO_padn): Likewise.
1267         * libio/iopopen.c (_IO_new_proc_open): Likewise.
1268         (_IO_new_popen): Likewise.
1269         (_IO_new_proc_close): Likewise.
1270         * libio/ioputs.c (_IO_puts): Likewise.
1271         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
1272         (_IO_seekoff): Likewise.
1273         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
1274         (_IO_seekpos): Likewise.
1275         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
1276         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
1277         * libio/ioungetc.c (_IO_ungetc): Likewise.
1278         * libio/ioungetwc.c (ungetwc): Likewise.
1279         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1280         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
1281         * libio/iowpadn.c (_IO_wpadn): Likewise.
1282         * libio/libc_fatal.c (__libc_fatal): Likewise.
1283         * libio/memstream.c (__open_memstream): Likewise.
1284         (_IO_mem_sync): Likewise.
1285         (_IO_mem_finish): Likewise.
1286         * libio/oldfileops.c (_IO_old_file_init): Likewise.
1287         (_IO_old_file_close_it): Likewise.
1288         (_IO_old_file_finish): Likewise.
1289         (_IO_old_file_fopen): Likewise.
1290         (_IO_old_file_attach): Likewise.
1291         (_IO_old_file_setbuf): Likewise.
1292         (_IO_old_do_write): Likewise.
1293         (old_do_write): Likewise.
1294         (_IO_old_file_underflow): Likewise.
1295         (_IO_old_file_overflow): Likewise.
1296         (_IO_old_file_sync): Likewise.
1297         (_IO_old_file_seekoff): Likewise.
1298         (_IO_old_file_write): Likewise.
1299         (_IO_old_file_xsputn): Likewise.
1300         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1301         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1302         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
1303         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
1304         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1305         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
1306         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
1307         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
1308         (_IO_old_popen): Likewise.
1309         (_IO_old_proc_close): Likewise.
1310         * libio/oldpclose.c (__old_pclose): Likewise.
1311         * libio/pclose.c (__new_pclose): Likewise.
1312         * libio/peekc.c (_IO_peekc_locked): Likewise.
1313         * libio/putc.c (_IO_putc): Likewise.
1314         * libio/putc_u.c (putc_unlocked): Likewise.
1315         * libio/putchar.c (putchar): Likewise.
1316         * libio/putchar_u.c (putchar_unlocked): Likewise.
1317         * libio/putwc.c (putwc): Likewise.
1318         * libio/putwc_u.c (putwc_unlocked): Likewise.
1319         * libio/putwchar.c (putwchar): Likewise.
1320         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1321         * libio/rewind.c (rewind): Likewise.
1322         * libio/setbuf.c (setbuf): Likewise.
1323         * libio/setlinebuf.c (setlinebuf): Likewise.
1324         * libio/vasprintf.c (_IO_vasprintf): Likewise.
1325         * libio/vscanf.c (_IO_vscanf): Likewise.
1326         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
1327         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
1328         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1329         * libio/wgenops.c (_IO_least_wmarker): Likewise.
1330         (_IO_switch_to_main_wget_area): Likewise.
1331         (_IO_switch_to_wbackup_area): Likewise.
1332         (_IO_wsetb): Likewise.
1333         (_IO_wdefault_pbackfail): Likewise.
1334         (_IO_wdefault_finish): Likewise.
1335         (_IO_wdefault_uflow): Likewise.
1336         (__woverflow): Likewise.
1337         (__wuflow): Likewise.
1338         (__wunderflow): Likewise.
1339         (_IO_wdefault_xsputn): Likewise.
1340         (_IO_wdefault_xsgetn): Likewise.
1341         (_IO_wdoallocbuf): Likewise.
1342         (_IO_wdefault_doallocate): Likewise.
1343         (_IO_switch_to_wget_mode): Likewise.
1344         (_IO_free_wbackup_area): Likewise.
1345         (_IO_switch_to_wput_mode): Likewise.
1346         (_IO_sputbackwc): Likewise.
1347         (_IO_sungetwc): Likewise.
1348         (_IO_adjust_wcolumn): Likewise.
1349         (_IO_init_wmarker): Likewise.
1350         (_IO_wmarker_delta): Likewise.
1351         (_IO_seekwmark): Likewise.
1352         (_IO_unsave_wmarkers): Likewise.
1353         * libio/wmemstream.c (open_wmemstream): Likewise.
1354         (_IO_wmem_sync): Likewise.
1355         (_IO_wmem_finish): Likewise.
1356         * locale/nl_langinfo.c (nl_langinfo): Likewise.
1357         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
1358         * locale/programs/simple-hash.c (init_hash): Likewise.
1359         (delete_hash): Likewise.
1360         (insert_entry): Likewise.
1361         (set_entry): Likewise.
1362         (next_prime): Likewise.
1363         (is_prime): Likewise.
1364         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
1365         (xmalloc): Likewise.
1366         (xrealloc): Likewise.
1367         * locale/programs/xstrdup.c (xstrdup): Likewise.
1368         * localedata/collate-test.c (xstrcoll): Likewise.
1369         * localedata/xfrm-test.c (xstrcmp): Likewise.
1370         * login/getlogin_r.c (__getlogin_r): Likewise.
1371         * login/getpt.c (__posix_openpt): Likewise.
1372         * login/login_tty.c (login_tty): Likewise.
1373         * login/setlogin.c (setlogin): Likewise.
1374         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
1375         (mach_msg_destroy_port): Likewise.
1376         (mach_msg_destroy_memory): Likewise.
1377         * malloc/mcheck.c (flood): Likewise.
1378         * misc/acct.c (acct): Likewise.
1379         * misc/brk.c (__brk): Likewise.
1380         * misc/chflags.c (chflags): Likewise.
1381         * misc/chroot.c (chroot): Likewise.
1382         * misc/fchflags.c (fchflags): Likewise.
1383         * misc/fstab.c (getfsspec): Likewise.
1384         (getfsfile): Likewise.
1385         * misc/fsync.c (fsync): Likewise.
1386         * misc/ftruncate.c (__ftruncate): Likewise.
1387         * misc/ftruncate64.c (__ftruncate64): Likewise.
1388         * misc/getdomain.c (getdomainname): Likewise.
1389         (getdomainname): Likewise.
1390         * misc/gethostname.c (__gethostname): Likewise.
1391         * misc/getpass.c (getpass): Likewise.
1392         * misc/getttyent.c (skip): Likewise.
1393         (value): Likewise.
1394         * misc/gtty.c (gtty): Likewise.
1395         * misc/hsearch.c (hsearch): Likewise.
1396         (hcreate): Likewise.
1397         * misc/hsearch_r.c (__hcreate_r): Likewise.
1398         (__hdestroy_r): Likewise.
1399         * misc/ioctl.c (__ioctl): Likewise.
1400         * misc/mkdtemp.c (mkdtemp): Likewise.
1401         * misc/mkostemp.c (mkostemp): Likewise.
1402         * misc/mkostemp64.c (mkostemp64): Likewise.
1403         * misc/mkostemps.c (mkostemps): Likewise.
1404         * misc/mkostemps64.c (mkostemps64): Likewise.
1405         * misc/mkstemp.c (mkstemp): Likewise.
1406         * misc/mkstemp64.c (mkstemp64): Likewise.
1407         * misc/mkstemps.c (mkstemps): Likewise.
1408         * misc/mkstemps64.c (mkstemps64): Likewise.
1409         * misc/mktemp.c (__mktemp): Likewise.
1410         * misc/preadv.c (preadv): Likewise.
1411         * misc/preadv64.c (preadv64): Likewise.
1412         * misc/pwritev.c (pwritev): Likewise.
1413         * misc/pwritev64.c (pwritev64): Likewise.
1414         * misc/readv.c (__readv): Likewise.
1415         * misc/revoke.c (revoke): Likewise.
1416         * misc/setdomain.c (setdomainname): Likewise.
1417         * misc/setegid.c (setegid): Likewise.
1418         * misc/seteuid.c (seteuid): Likewise.
1419         * misc/sethostid.c (sethostid): Likewise.
1420         * misc/sethostname.c (sethostname): Likewise.
1421         * misc/setregid.c (__setregid): Likewise.
1422         * misc/setreuid.c (__setreuid): Likewise.
1423         * misc/sstk.c (sstk): Likewise.
1424         * misc/stty.c (stty): Likewise.
1425         * misc/syscall.c (syscall): Likewise.
1426         * misc/syslog.c (setlogmask): Likewise.
1427         * misc/truncate.c (__truncate): Likewise.
1428         * misc/truncate64.c (truncate64): Likewise.
1429         * misc/ualarm.c (ualarm): Likewise.
1430         * misc/usleep.c (usleep): Likewise.
1431         * misc/ustat.c (ustat): Likewise.
1432         * misc/writev.c (__writev): Likewise.
1433         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
1434         * nptl/old_pthread_cond_broadcast.c
1435         (__pthread_cond_broadcast_2_0): Likewise.
1436         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
1437         Likewise.
1438         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
1439         Likewise.
1440         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
1441         Likewise.
1442         * nptl/pt-raise.c (raise): Likewise.
1443         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
1444         Likewise.
1445         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
1446         * nptl/pthread_barrierattr_destroy.c
1447         (pthread_barrierattr_destroy): Likewise.
1448         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
1449         Likewise.
1450         * nptl/pthread_barrierattr_setpshared.c
1451         (pthread_barrierattr_setpshared): Likewise.
1452         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1453         Likewise.
1454         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1455         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1456         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1457         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
1458         Likewise.
1459         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
1460         Likewise.
1461         * nptl/pthread_condattr_getpshared.c
1462         (pthread_condattr_getpshared): Likewise.
1463         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
1464         Likewise.
1465         * nptl/pthread_condattr_setpshared.c
1466         (pthread_condattr_setpshared): Likewise.
1467         * nptl/pthread_detach.c (pthread_detach): Likewise.
1468         * nptl/pthread_equal.c (__pthread_equal): Likewise.
1469         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
1470         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1471         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1472         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
1473         Likewise.
1474         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
1475         Likewise.
1476         * nptl/pthread_mutex_getprioceiling.c
1477         (pthread_mutex_getprioceiling): Likewise.
1478         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
1479         Likewise.
1480         * nptl/pthread_mutexattr_getprotocol.c
1481         (pthread_mutexattr_getprotocol): Likewise.
1482         * nptl/pthread_mutexattr_getpshared.c
1483         (pthread_mutexattr_getpshared): Likewise.
1484         * nptl/pthread_mutexattr_getrobust.c
1485         (pthread_mutexattr_getrobust): Likewise.
1486         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1487         Likewise.
1488         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
1489         Likewise.
1490         * nptl/pthread_mutexattr_setprioceiling.c
1491         (pthread_mutexattr_setprioceiling): Likewise.
1492         * nptl/pthread_mutexattr_setprotocol.c
1493         (pthread_mutexattr_setprotocol): Likewise.
1494         * nptl/pthread_mutexattr_setpshared.c
1495         (pthread_mutexattr_setpshared): Likewise.
1496         * nptl/pthread_mutexattr_setrobust.c
1497         (pthread_mutexattr_setrobust): Likewise.
1498         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1499         Likewise.
1500         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
1501         Likewise.
1502         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
1503         Likewise.
1504         * nptl/pthread_rwlockattr_getkind_np.c
1505         (pthread_rwlockattr_getkind_np): Likewise.
1506         * nptl/pthread_rwlockattr_getpshared.c
1507         (pthread_rwlockattr_getpshared): Likewise.
1508         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
1509         Likewise.
1510         * nptl/pthread_rwlockattr_setkind_np.c
1511         (pthread_rwlockattr_setkind_np): Likewise.
1512         * nptl/pthread_rwlockattr_setpshared.c
1513         (pthread_rwlockattr_setpshared): Likewise.
1514         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
1515         Likewise.
1516         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
1517         Likewise.
1518         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
1519         Likewise.
1520         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1521         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1522         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
1523         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
1524         * nptl/sem_close.c (sem_close): Likewise.
1525         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
1526         * nptl/sem_init.c (__old_sem_init): Likewise.
1527         * nptl/sigaction.c (__sigaction): Likewise.
1528         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1529         * posix/_exit.c (_exit): Likewise.
1530         * posix/alarm.c (alarm): Likewise.
1531         * posix/confstr.c (confstr): Likewise.
1532         * posix/fpathconf.c (__fpathconf): Likewise.
1533         * posix/getgroups.c (__getgroups): Likewise.
1534         * posix/getpgid.c (__getpgid): Likewise.
1535         * posix/group_member.c (__group_member): Likewise.
1536         * posix/pathconf.c (__pathconf): Likewise.
1537         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
1538         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
1539         * posix/setgid.c (__setgid): Likewise.
1540         * posix/setpgid.c (__setpgid): Likewise.
1541         * posix/setuid.c (__setuid): Likewise.
1542         * posix/sleep.c (__sleep): Likewise.
1543         * posix/sysconf.c (__sysconf): Likewise.
1544         * posix/times.c (__times): Likewise.
1545         * posix/uname.c (__uname): Likewise.
1546         * posix/waitid.c (__waitid): Likewise.
1547         * pwd/getpw.c (__getpw): Likewise.
1548         * resolv/base64.c (b64_pton): Likewise.
1549         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
1550         * resolv/gethnamaddr.c (Dprintf): Likewise.
1551         (gethostbyname): Likewise.
1552         (gethostbyname2): Likewise.
1553         (gethostbyaddr): Likewise.
1554         (_sethtent): Likewise.
1555         (_gethtbyname): Likewise.
1556         (_gethtbyname2): Likewise.
1557         (_gethtbyaddr): Likewise.
1558         (map_v4v6_address): Likewise.
1559         (map_v4v6_hostent): Likewise.
1560         (addrsort): Likewise.
1561         (ht_sethostent): Likewise.
1562         (ht_gethostbyname): Likewise.
1563         (ht_gethostbyaddr): Likewise.
1564         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
1565         (inet_net_ntop_ipv4): Likewise.
1566         * resolv/inet_neta.c (inet_neta): Likewise.
1567         * resolv/inet_ntop.c (inet_ntop): Likewise.
1568         (inet_ntop4): Likewise.
1569         (inet_ntop6): Likewise.
1570         * resolv/inet_pton.c (__inet_pton): Likewise.
1571         (inet_pton4): Likewise.
1572         (inet_pton6): Likewise.
1573         * resolv/res_debug.c (loc_aton): Likewise.
1574         (loc_ntoa): Likewise.
1575         * resource/getpriority.c (__getpriority): Likewise.
1576         * resource/getrusage.c (__getrusage): Likewise.
1577         * resource/nice.c (nice): Likewise.
1578         * resource/setpriority.c (__setpriority): Likewise.
1579         * resource/setrlimit64.c (setrlimit64): Likewise.
1580         * resource/vlimit.c (vlimit): Likewise.
1581         * resource/vtimes.c (vtimes): Likewise.
1582         * rt/aio_error.c (aio_error): Likewise.
1583         * rt/aio_return.c (aio_return): Likewise.
1584         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
1585         * signal/kill.c (__kill): Likewise.
1586         * signal/killpg.c (killpg): Likewise.
1587         * signal/raise.c (raise): Likewise.
1588         * signal/sigaction.c (__sigaction): Likewise.
1589         * signal/sigaddset.c (sigaddset): Likewise.
1590         * signal/sigaltstack.c (sigaltstack): Likewise.
1591         * signal/sigandset.c (sigandset): Likewise.
1592         * signal/sigblock.c (__sigblock): Likewise.
1593         * signal/sigdelset.c (sigdelset): Likewise.
1594         * signal/sigempty.c (sigemptyset): Likewise.
1595         * signal/sigfillset.c (sigfillset): Likewise.
1596         * signal/sighold.c (sighold): Likewise.
1597         * signal/sigignore.c (sigignore): Likewise.
1598         * signal/sigintr.c (siginterrupt): Likewise.
1599         * signal/sigisempty.c (sigisemptyset): Likewise.
1600         * signal/sigismem.c (sigismember): Likewise.
1601         * signal/signal.c (signal): Likewise.
1602         * signal/sigorset.c (sigorset): Likewise.
1603         * signal/sigpause.c (__sigpause): Likewise.
1604         * signal/sigpending.c (sigpending): Likewise.
1605         * signal/sigprocmask.c (__sigprocmask): Likewise.
1606         * signal/sigrelse.c (sigrelse): Likewise.
1607         * signal/sigreturn.c (__sigreturn): Likewise.
1608         * signal/sigset.c (sigset): Likewise.
1609         * signal/sigsetmask.c (__sigsetmask): Likewise.
1610         * signal/sigstack.c (sigstack): Likewise.
1611         * signal/sigsuspend.c (__sigsuspend): Likewise.
1612         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
1613         * signal/sysv_signal.c (__sysv_signal): Likewise.
1614         * socket/accept.c (accept): Likewise.
1615         * socket/accept4.c (__libc_accept4): Likewise.
1616         * socket/bind.c (__bind): Likewise.
1617         * socket/connect.c (__connect): Likewise.
1618         * socket/getpeername.c (getpeername): Likewise.
1619         * socket/getsockname.c (__getsockname): Likewise.
1620         * socket/getsockopt.c (getsockopt): Likewise.
1621         * socket/listen.c (__listen): Likewise.
1622         * socket/recv.c (__recv): Likewise.
1623         * socket/recvmsg.c (__recvmsg): Likewise.
1624         * socket/send.c (__send): Likewise.
1625         * socket/sendmsg.c (__sendmsg): Likewise.
1626         * socket/shutdown.c (shutdown): Likewise.
1627         * socket/sockatmark.c (sockatmark): Likewise.
1628         * socket/socket.c (__socket): Likewise.
1629         * stdio-common/ctermid.c (ctermid): Likewise.
1630         * stdio-common/cuserid.c (cuserid): Likewise.
1631         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
1632         * stdio-common/remove.c (remove): Likewise.
1633         * stdio-common/rename.c (rename): Likewise.
1634         * stdio-common/renameat.c (renameat): Likewise.
1635         * stdio-common/tempname.c (__gen_tempname): Likewise.
1636         * stdio-common/xbug.c (InitBuffer): Likewise.
1637         (AppendToBuffer): Likewise.
1638         (ReadFile): Likewise.
1639         * stdlib/a64l.c (a64l): Likewise.
1640         * stdlib/drand48_r.c (drand48_r): Likewise.
1641         * stdlib/getcontext.c (getcontext): Likewise.
1642         * stdlib/getenv.c (getenv): Likewise.
1643         * stdlib/l64a.c (l64a): Likewise.
1644         * stdlib/llabs.c (llabs): Likewise.
1645         * stdlib/lldiv.c (lldiv): Likewise.
1646         * stdlib/lrand48_r.c (lrand48_r): Likewise.
1647         * stdlib/mrand48_r.c (mrand48_r): Likewise.
1648         * stdlib/putenv.c (putenv): Likewise.
1649         * stdlib/random.c (__srandom): Likewise.
1650         (__initstate): Likewise.
1651         (__setstate): Likewise.
1652         * stdlib/random_r.c (__srandom_r): Likewise.
1653         (__setstate_r): Likewise.
1654         (__random_r): Likewise.
1655         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
1656         * stdlib/setcontext.c (setcontext): Likewise.
1657         * stdlib/setenv.c (setenv): Likewise.
1658         (unsetenv): Likewise.
1659         * stdlib/srand48.c (srand48): Likewise.
1660         * stdlib/srand48_r.c (__srand48_r): Likewise.
1661         * stdlib/swapcontext.c (swapcontext): Likewise.
1662         * stdlib/system.c (__libc_system): Likewise.
1663         * stdlib/tst-strtod.c (expand): Likewise.
1664         * stdlib/tst-strtol.c (expand): Likewise.
1665         * stdlib/tst-strtoll.c (expand): Likewise.
1666         * streams/fattach.c (fattach): Likewise.
1667         * streams/fdetach.c (fdetach): Likewise.
1668         * streams/getmsg.c (getmsg): Likewise.
1669         * streams/isastream.c (isastream): Likewise.
1670         * string/ffs.c (__ffs): Likewise.
1671         * string/ffsll.c (ffsll): Likewise.
1672         * string/memcmp.c (memcmp_common_alignment): Likewise.
1673         (memcmp_not_common_alignment): Likewise.
1674         (MEMCMP): Likewise.
1675         * string/memcpy.c (memcpy): Likewise.
1676         * string/memmove.c (MEMMOVE): Likewise.
1677         * string/memset.c (memset): Likewise.
1678         * string/rawmemchr.c (RAWMEMCHR): Likewise.
1679         * string/strchrnul.c (STRCHRNUL): Likewise.
1680         * string/strerror.c (strerror): Likewise.
1681         * string/strndup.c (__strndup): Likewise.
1682         * string/strverscmp.c (__strverscmp): Likewise.
1683         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
1684         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
1685         (clnttcp_freeres): Likewise.
1686         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
1687         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
1688         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
1689         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
1690         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
1691         (xdr_callhdr): Likewise.
1692         * sunrpc/rpcinfo.c (udpping): Likewise.
1693         (tcpping): Likewise.
1694         (pstatus): Likewise.
1695         (pmapdump): Likewise.
1696         (brdcst): Likewise.
1697         (deletereg): Likewise.
1698         (getprognum): Likewise.
1699         (getvers): Likewise.
1700         (get_inet_address): Likewise.
1701         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
1702         * sunrpc/svc_udp.c (svcudp_create): Likewise.
1703         (svcudp_stat): Likewise.
1704         (svcudp_recv): Likewise.
1705         (svcudp_reply): Likewise.
1706         (svcudp_getargs): Likewise.
1707         (svcudp_freeargs): Likewise.
1708         (svcudp_destroy): Likewise.
1709         * sunrpc/xdr.c (xdr_bytes): Likewise.
1710         (xdr_netobj): Likewise.
1711         (xdr_string): Likewise.
1712         (xdr_wrapstring): Likewise.
1713         * sunrpc/xdr_float.c (xdr_float): Likewise.
1714         (xdr_double): Likewise.
1715         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
1716         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
1717         * sysvipc/ftok.c (ftok): Likewise.
1718         * sysvipc/msgctl.c (msgctl): Likewise.
1719         * sysvipc/msgget.c (msgget): Likewise.
1720         * sysvipc/msgrcv.c (msgrcv): Likewise.
1721         * sysvipc/msgsnd.c (msgsnd): Likewise.
1722         * sysvipc/semget.c (semget): Likewise.
1723         * sysvipc/semop.c (semop): Likewise.
1724         * sysvipc/shmat.c (shmat): Likewise.
1725         * sysvipc/shmctl.c (shmctl): Likewise.
1726         * sysvipc/shmdt.c (shmdt): Likewise.
1727         * sysvipc/shmget.c (shmget): Likewise.
1728         * termios/cfmakeraw.c (cfmakeraw): Likewise.
1729         * termios/speed.c (cfgetospeed): Likewise.
1730         (cfgetispeed): Likewise.
1731         (cfsetospeed): Likewise.
1732         (cfsetispeed): Likewise.
1733         * termios/tcflow.c (tcflow): Likewise.
1734         * termios/tcflush.c (tcflush): Likewise.
1735         * termios/tcgetattr.c (__tcgetattr): Likewise.
1736         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
1737         * termios/tcgetsid.c (tcgetsid): Likewise.
1738         * termios/tcsendbrk.c (tcsendbreak): Likewise.
1739         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
1740         * time/adjtime.c (__adjtime): Likewise.
1741         * time/dysize.c (dysize): Likewise.
1742         * time/ftime.c (ftime): Likewise.
1743         * time/getitimer.c (__getitimer): Likewise.
1744         * time/gettimeofday.c (__gettimeofday): Likewise.
1745         * time/gmtime.c (__gmtime_r): Likewise.
1746         (gmtime): Likewise.
1747         * time/localtime.c (__localtime_r): Likewise.
1748         (localtime): Likewise.
1749         * time/offtime.c (__offtime): Likewise.
1750         * time/settimeofday.c (__settimeofday): Likewise.
1751         * time/stime.c (stime): Likewise.
1752         * time/strftime_l.c (tm_diff): Likewise.
1753         (iso_week_days): Likewise.
1754         * time/strptime.c (strptime): Likewise.
1755         * time/time.c (time): Likewise.
1756         * time/timespec_get.c (timespec_get): Likewise.
1757         * time/tzset.c (tzset_internal): Likewise.
1758         (compute_change): Likewise.
1759         (__tz_compute): Likewise.
1760         * wcsmbs/btowc.c (__btowc): Likewise.
1761         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
1762         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
1763         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
1764         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
1765         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
1766         * wcsmbs/wcscat.c (__wcscat): Likewise.
1767         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1768         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
1769         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
1770         * wcsmbs/wcscspn.c (wcscspn): Likewise.
1771         * wcsmbs/wcsdup.c (wcsdup): Likewise.
1772         * wcsmbs/wcslen.c (__wcslen): Likewise.
1773         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
1774         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
1775         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
1776         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
1777         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1778         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
1779         * wcsmbs/wcsspn.c (wcsspn): Likewise.
1780         * wcsmbs/wcsstr.c (wcsstr): Likewise.
1781         * wcsmbs/wcstok.c (wcstok): Likewise.
1782         * wcsmbs/wctob.c (wctob): Likewise.
1783         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
1784         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1785         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
1786         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
1787         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
1788         * wcsmbs/wmemset.c (__wmemset): Likewise.
1789         * wctype/wcfuncs.c (__towlower): Likewise.
1790         (__towupper): Likewise.
1792         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
1793         (lll_unlock_elision): Add adapt_count parameter.
1795 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
1797         * sysdeps/nptl/configure.ac: Do not give errors based on the
1798         results of top-level configure tests.
1799         * sysdeps/nptl/configure: Regenerated.
1801         * configure.ac (libc_cv_Bgroup): Remove configure test.
1802         * configure: Regenerated.
1803         * config.make.in (have-Bgroup): Remove variable.
1805         * configure.ac (sizeof_long_double): Remove configure test.
1806         * configure: Regenerated.
1807         * config.make.in (sizeof-long-double): Remove variable.
1809         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
1810         * configure: Regenerated.
1811         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
1812         variable.
1813         (exceptions): Likewise.
1814         * sysdeps/arm/configure: Regenerated.
1815         * config.make.in (exceptions): Remove variable.
1816         * Makeconfig (uses-callbacks): Use -fexceptions instead of
1817         $(exceptions).
1818         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
1819         (CFLAGS-vdprintf_chk.c): Likewise.
1820         (CFLAGS-printf_chk.c): Likewise.
1821         (CFLAGS-fprintf_chk.c): Likewise.
1822         (CFLAGS-vprintf_chk.c): Likewise.
1823         (CFLAGS-vfprintf_chk.c): Likewise.
1824         (CFLAGS-gets_chk.c): Likewise.
1825         (CFLAGS-fgets_chk.c): Likewise.
1826         (CFLAGS-fgets_u_chk.c): Likewise.
1827         (CFLAGS-fread_chk.c): Likewise.
1828         (CFLAGS-fread_u_chk.c): Likewise.
1829         (CFLAGS-wprintf_chk.c): Likewise.
1830         (CFLAGS-fwprintf_chk.c): Likewise.
1831         (CFLAGS-vwprintf_chk.c): Likewise.
1832         (CFLAGS-vfwprintf_chk.c): Likewise.
1833         (CFLAGS-fgetws_chk.c): Likewise.
1834         (CFLAGS-fgetws_u_chk.c): Likewise.
1835         * libio/Makefile (CFLAGS-fileops.c): Likewise.
1836         (CFLAGS-fputc.c): Likewise.
1837         (CFLAGS-fputwc.c): Likewise.
1838         (CFLAGS-freopen64.c): Likewise.
1839         (CFLAGS-freopen.c): Likewise.
1840         (CFLAGS-fseek.c): Likewise.
1841         (CFLAGS-fseeko64.c): Likewise.
1842         (CFLAGS-fseeko.c): Likewise.
1843         (CFLAGS-ftello64.c): Likewise.
1844         (CFLAGS-ftello.c): Likewise.
1845         (CFLAGS-fwide.c): Likewise.
1846         (CFLAGS-genops.c): Likewise.
1847         (CFLAGS-getc.c): Likewise.
1848         (CFLAGS-getchar.c): Likewise.
1849         (CFLAGS-getwc.c): Likewise.
1850         (CFLAGS-getwchar.c): Likewise.
1851         (CFLAGS-iofclose.c): Likewise.
1852         (CFLAGS-iofflush.c): Likewise.
1853         (CFLAGS-iofgetpos64.c): Likewise.
1854         (CFLAGS-iofgetpos.c): Likewise.
1855         (CFLAGS-iofgets.c): Likewise.
1856         (CFLAGS-iofgetws.c): Likewise.
1857         (CFLAGS-iofputs.c): Likewise.
1858         (CFLAGS-iofputws.c): Likewise.
1859         (CFLAGS-iofread.c): Likewise.
1860         (CFLAGS-iofsetpos64.c): Likewise.
1861         (CFLAGS-iofsetpos.c): Likewise.
1862         (CFLAGS-ioftell.c): Likewise.
1863         (CFLAGS-iofwrite.c): Likewise.
1864         (CFLAGS-iogetdelim.c): Likewise.
1865         (CFLAGS-iogetline.c): Likewise.
1866         (CFLAGS-iogets.c): Likewise.
1867         (CFLAGS-iogetwline.c): Likewise.
1868         (CFLAGS-ioputs.c): Likewise.
1869         (CFLAGS-ioseekoff.c): Likewise.
1870         (CFLAGS-ioseekpos.c): Likewise.
1871         (CFLAGS-iosetbuffer.c): Likewise.
1872         (CFLAGS-iosetvbuf.c): Likewise.
1873         (CFLAGS-ioungetc.c): Likewise.
1874         (CFLAGS-ioungetwc.c): Likewise.
1875         (CFLAGS-oldfileops.c): Likewise.
1876         (CFLAGS-oldiofclose.c): Likewise.
1877         (CFLAGS-oldiofgetpos64.c): Likewise.
1878         (CFLAGS-oldiofgetpos.c): Likewise.
1879         (CFLAGS-oldiofsetpos64.c): Likewise.
1880         (CFLAGS-oldiofsetpos.c): Likewise.
1881         (CFLAGS-peekc.c): Likewise.
1882         (CFLAGS-putc.c): Likewise.
1883         (CFLAGS-putchar.c): Likewise.
1884         (CFLAGS-putwc.c): Likewise.
1885         (CFLAGS-putwchar.c): Likewise.
1886         (CFLAGS-rewind.c): Likewise.
1887         (CFLAGS-wfileops.c): Likewise.
1888         (CFLAGS-wgenops.c): Likewise.
1889         (CFLAGS-oldiofopen.c): Likewise.
1890         (CFLAGS-iofopen.c): Likewise.
1891         (CFLAGS-iofopen64.c): Likewise.
1892         (CFLAGS-oldtmpfile.c): Likewise.
1893         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
1894         (CFLAGS-fprintf.c): Likewise.
1895         (CFLAGS-printf.c): Likewise.
1896         (CFLAGS-vfwprintf.c): Likewise.
1897         (CFLAGS-vfscanf.c): Likewise.
1898         (CFLAGS-vfwscanf.c): Likewise.
1899         (CFLAGS-fscanf.c): Likewise.
1900         (CFLAGS-scanf.c): Likewise.
1901         (CFLAGS-isoc99_vfscanf.c): Likewise.
1902         (CFLAGS-isoc99_vscanf.c): Likewise.
1903         (CFLAGS-isoc99_fscanf.c): Likewise.
1904         (CFLAGS-isoc99_scanf.c): Likewise.
1905         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
1906         (CFLAGS-isoc99_fwscanf.c): Likewise.
1907         (CFLAGS-isoc99_vwscanf.c): Likewise.
1908         (CFLAGS-isoc99_vfwscanf.c): Likewise.
1910         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
1911         after mkstemp64.
1912         * login/tst-utmp.c (do_prepare): Likewise.
1913         * rt/tst-aio.c (do_prepare): Likewise.
1914         * rt/tst-aio64.c (do_prepare): Likewise.
1916 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1918         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1919         (__lll_lock_elision): Remove adapt_count decrement...
1920         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1921         (__lll_trylock_elision): Likewise.
1922         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1923         (__lll_unlock_elision): ... to here. And utilize
1924         new adapt_count parameter.
1925         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1926         (__lll_unlock_elision): Update to include adapt_count
1927         parameter.
1928         (lll_unlock_elision): Pass pointer to adapt_count
1929         variable.
1931 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1933         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
1934         Add elision adapt_count parameter to list of arguments.
1935         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1936         (lll_unlock_elision): Update with new parameter list
1937         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1938         (lll_unlock_elision): Likewise
1939         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
1940         (lll_unlock_elision): Likewise
1942 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1944         [BZ #19122]
1945         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
1946         attribute_hidden.
1948         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
1949         attribute_hidden.
1950         [IS_IN (rtld)] (__strdup): Likewise.
1951         [IS_IN (rtld)] (__strerror_r): Likewise.
1952         [IS_IN (rtld)] (__strsep_g): Likewise.
1953         [IS_IN (rtld)] (memchr): Likewise.
1954         [IS_IN (rtld)] (memcmp): Likewise.
1955         [IS_IN (rtld)] (memcpy): Likewise.
1956         [IS_IN (rtld)] (memmove): Likewise.
1957         [IS_IN (rtld)] (memset): Likewise.
1958         [IS_IN (rtld)] (rawmemchr): Likewise.
1959         [IS_IN (rtld)] (stpcpy): Likewise.
1960         [IS_IN (rtld)] (strchr): Likewise.
1961         [IS_IN (rtld)] (strcmp): Likewise.
1962         [IS_IN (rtld)] (strlen): Likewise.
1963         [IS_IN (rtld)] (strnlen): Likewise.
1964         [IS_IN (rtld)] (strsep): Likewise.
1966         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
1967         attribute_hidden.
1968         [IS_IN (rtld)] (__strtoul_internal): Likewise.
1970         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
1971         attribute_hidden.
1972         [IS_IN (rtld)] (__libc_sigaction): Likewise.
1974         * include/setjmp.h (__longjmp): Add attribute_hidden.
1975         [IS_IN (rtld)] (__sigsetjmp): Likewise.
1977         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
1978         Add attribute_hidden.
1980         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
1981         [IS_IN (rtld)] (__open): Likewise.
1982         [IS_IN (rtld)] (__fcntl): Likewise.
1984         * include/dirent.h (__opendirat): Add attribute_hidden.
1985         (__getdents): Likewise.
1986         (__getdents64): Likewise.
1987         (__alloc_dir): Likewise.
1988         [IS_IN (rtld)] (__closedir): Likewise.
1989         [IS_IN (rtld)] (__fdopendir): Likewise.
1990         [IS_IN (rtld)] (__readdir): Likewise.
1991         [IS_IN (rtld)] (__readdir64): Likewise.
1992         [IS_IN (rtld)] (__rewinddir): Likewise.
1994         * include/dlfcn.h (_dl_catch_error): Moved to ...
1995         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
1996         attribute_hidden.
1998         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
1999         (_itoa_word): Likewise.
2001         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
2002         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
2003         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
2004         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
2005         (_dl_higher_prime_number): Likewise.
2006         (_dl_debug_printf_c): Likewise.
2007         (_dl_signal_cerror): Likewise.
2008         (_dl_receive_error): Likewise.
2009         (_dl_reloc_bad_type): Likewise.
2010         (_dl_resolve_conflicts): Likewise.
2011         (_dl_check_all_versions): Likewise.
2012         (_dl_check_map_versions): Likewise.
2013         (_dl_sort_fini): Likewise.
2014         (_dl_debug_initialize): Likewise.
2015         (_dl_init_paths): Likewise.
2016         (_dl_show_auxv): Likewise.
2017         (_dl_next_ld_env_entry): Likewise.
2018         (_dl_important_hwcaps): Likewise.
2019         (_dl_load_cache_lookup): Likewise.
2020         (_dl_update_slotinfo): Likewise.
2021         (_dl_show_scope): Likewise.
2023         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
2024         attribute_hidden.
2025         (_wordcopy_fwd_dest_aligned): Likewise.
2026         (_wordcopy_bwd_aligned): Likewise.
2027         (_wordcopy_bwd_dest_aligned): Likewise.
2029         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2030         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
2031         Likewise.
2032         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
2033         Likewise.
2034         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
2036 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2038         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
2039         GCC 5 requirement.
2041 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
2043         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
2044         test.
2045         * sysdeps/i386/configure: Regenerated.
2046         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
2047         code unconditional.
2049         * configure.ac (libc_cv_asm_previous_directive): Remove configure
2050         test.
2051         (libc_cv_asm_popsection_directive): Likewise.
2052         * configure: Regenerated.
2053         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
2054         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
2055         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
2056         (__make_section_unallocated): Make definition unconditional.
2057         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
2058         Remove conditional definition.
2059         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
2060         (__make_section_unallocated): Likewise.
2062         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
2063         * configure: Regenerated.
2064         * config.make.in (static-libgcc): Remove variable.
2065         * Makerules (build-shlib-helper): Use -static-libgcc instead of
2066         $(static-libgcc).
2067         (build-module-helper): Likewise.
2069         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
2070         * configure: Regenerated.
2072 2015-10-15  Florian Weimer  <fweimer@redhat.com>
2074         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
2075         (struct char_buffer): New type.
2076         (char_buffer_start, char_buffer_size, char_buffer_error)
2077         (char_buffer_rewind, char_buffer_add): New functions.
2078         (ADDW): Remove macro, replaced by the char_buffer_add function.
2079         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
2080         of extend_alloca.  Make control flow more explicit.
2082 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2084         [BZ #19137]
2085         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2086         Add -fomit-frame-pointer.
2087         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
2089 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2091         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
2092         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
2093         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
2094         only if !__GNUC_PREREQ (5,0).
2095         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
2096         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
2097         (INTERNAL_SYSCALL_NCS): Likewise.
2098         (LOADREGS_0): New macro for GCC 5.
2099         (ASMARGS_0): Likewise.
2100         (LOADREGS_1): Likewise.
2101         (ASMARGS_1): Likewise.
2102         (LOADREGS_2): Likewise.
2103         (ASMARGS_2): Likewise.
2104         (LOADREGS_3): Likewise.
2105         (ASMARGS_3): Likewise.
2106         (LOADREGS_4): Likewise.
2107         (ASMARGS_4): Likewise.
2108         (LOADREGS_5): Likewise.
2109         (ASMARGS_5): Likewise.
2110         (LOADREGS_6): Likewise.
2111         (ASMARGS_6): Likewise.
2113 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2115         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
2116         -fomit-frame-pointer.
2117         (CFLAGS-mmap64.c): Likewise.
2118         (CFLAGS-semtimedop.c): Likewise.
2119         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
2120         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
2121         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2122         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2124 2015-10-15  Florian Weimer  <fweimer@redhat.com>
2126         [BZ #18928]
2127         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
2128         _dl_pointer_guard member.
2129         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
2130         initializer.
2131         (security_init): Always set up pointer guard.
2132         (process_envvars): Do not process LD_POINTER_GUARD.
2134 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
2136         [BZ #19134]
2137         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
2138         (.LC2): Likewise.
2139         (.LC3): Likewise.
2140         (__lround): Do not add 0.5 to integer or out-of-range arguments.
2142 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2144         [BZ #19129]
2145         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
2146         r0 and r1.
2148 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
2150         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
2152 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
2154         * include/stap-probe.h: Fix macro definition formatting.
2156 2015-10-14  Florian Weimer  <fweimer@redhat.com>
2158         [BZ #19074]
2159         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
2160         load and store num_ifs.
2162 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2164         [BZ #18822]
2165         * sysdeps/unix/sysv/linux/sched_getaffinity.c
2166         (__sched_getaffinity_new): Add libc_hidden_proto and
2167         libc_hidden_def.
2169 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2171         [BZ #19007]
2172         * scripts/localplt.awk: Also allow GOT references.
2173         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
2174         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
2175         with "+ REL R_386_GLOB_DAT".
2176         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
2177         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
2179 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2181         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
2182         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2183         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
2184         Likewise.
2185         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2186         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
2187         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2188         INTERNAL_SYSCALLINTERNAL_SYSCALL and
2189         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2190         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2191         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2192         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2193         Likewise.
2194         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2196 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
2198         [BZ #19125]
2199         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
2200         <math_private.h> and <stdint.h>.
2201         (__llround): Avoid conversions to and from long long int, and
2202         subtractions, where those might raise spurious exceptions.
2203         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
2204         <math_private.h> and <stdint.h>.
2205         (__llroundf): Avoid conversions to and from long long int, and
2206         subtractions, where those might raise spurious exceptions.
2208 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2210         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
2211         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2212         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2213         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
2214         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2215         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2216         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
2217         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
2218         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
2219         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2220         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2221         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2222         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
2223         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2224         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2225         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
2226         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
2227         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
2228         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
2229         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
2230         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2231         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
2232         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
2233         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2234         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
2235         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2236         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
2237         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
2238         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2239         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
2240         (__xstat64_conv): Likewise.
2241         (__xstat32_conv): Likewise.
2243 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2245         * sysdeps/unix/sysv/linux/sysdep.h: New file.
2246         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
2247         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
2248         <sysdeps/unix/sysv/linux/sysdep.h>.
2249         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2250         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
2251         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
2252         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2253         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2254         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
2255         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
2256         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2257         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2260         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2261         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2262         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2263         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2264         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2265         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
2266         (sysdep-dl-routines): Add sysdep.
2267         [$(subdir) == nptl] (libpthread-routines): Likewise.
2268         [$(subdir) == rt] (librt-routines): Likewise.
2269         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
2270         PIC when branching to SYSCALL_ERROR_LABEL.
2271         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
2272         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
2273         <sysdeps/unix/sysv/linux/sysdep.h>.
2274         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
2275         (SYSCALL_ERROR_ERRNO): Removed.
2276         (SYSCALL_ERROR_HANDLER): Changed to empty.
2277         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
2278         (__syscall_error): New prototype.
2279         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
2280         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
2282 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2284         [BZ #19124]
2285         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
2286         (_dl_runtime_resolve_avx512): Make it a hidden alias of
2287         _dl_runtime_resolve_avx.
2288         (_dl_runtime_profile_avx512): Make it a hidden alias of
2289         _dl_runtime_profile_avx.
2291 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
2293         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
2294         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
2295         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
2296         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
2298         [BZ #16422]
2299         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
2300         New configure test.
2301         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
2302         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
2303         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
2304         <math_private.h> and <stdint.h>.
2305         (__llrint): Avoid conversions to long long int where those might
2306         raise spurious exceptions.
2307         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
2308         <math_private.h> and <stdint.h>.
2309         (__llrintf): Avoid conversions to long long int where those might
2310         raise spurious exceptions.
2312 2015-10-12  Andreas Schwab  <schwab@suse.de>
2314         [BZ #18969]
2315         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
2316         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
2317         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
2318         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
2319         $(gen-locales).
2320         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
2321         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
2322         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
2323         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
2324         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
2325         $(gen-locales).
2326         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
2327         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
2328         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
2329         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
2330         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
2331         ($(objpfx)tst-ftell-active-handler.out)
2332         ($(objpfx)tst-ftell-append.out)
2333         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
2334         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
2335         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
2336         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
2337         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
2338         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
2339         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
2340         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
2341         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
2342         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
2343         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
2344         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
2345         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
2346         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
2347         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
2348         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
2349         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
2350         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
2351         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
2352         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
2353         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
2354         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
2355         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
2356         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
2357         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
2358         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
2359         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
2360         $(gen-locales).
2361         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
2362         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
2363         $(gen-locales).
2364         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
2365         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
2366         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
2367         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
2368         $(gen-locales).
2369         * libio/tst_wprintf2.c (main): Use explicit locale.
2370         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
2372 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2374         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
2375         __msg_sig_post.
2376         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
2378 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
2380         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2381         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2383         * sysdeps/arm/libm-test-ulps: Regenerated.
2385         [BZ #15470]
2386         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
2388         [BZ #16399]
2389         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
2390         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
2391         and <fix-fp-int-convert-overflow.h>.
2392         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
2393         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2394         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
2395         and <fix-fp-int-convert-overflow.h>.
2396         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
2397         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2398         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
2399         <fix-fp-int-convert-overflow.h>.
2400         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
2401         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2402         * sysdeps/ieee754/dbl-64/s_lround.c: Include
2403         <fix-fp-int-convert-overflow.h>.
2404         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
2405         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2406         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
2407         and <fix-fp-int-convert-overflow.h>.
2408         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
2409         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2410         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
2411         <limits.h> and <fix-fp-int-convert-overflow.h>.
2412         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
2413         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2414         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
2415         and <fix-fp-int-convert-overflow.h>.
2416         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
2417         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2418         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
2419         and <fix-fp-int-convert-overflow.h>.
2420         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
2421         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2422         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
2424 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
2426         [BZ #18589]
2427         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
2428         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
2429         $(gen-locales).
2431 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2432             Phil Blundell <pb@pbcl.net>
2434         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
2435         * nptl/tst-cancel26.c: New file.
2436         * nptl/tst-cancel27.c: Likewise.
2438 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
2440         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
2441         __ILP32__ isn't defined.
2442         (lrint): Likewise.
2443         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
2444         (lrintf): Likewise.
2445         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
2446         (lrintl): Likewise.
2447         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
2448         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
2449         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
2451 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2453         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2454         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2456         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
2457         file.
2458         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
2459         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2461 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
2463         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
2464         configure test.
2465         * sysdeps/i386/configure: Regenerated.
2466         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
2467         configure test.
2468         * sysdeps/x86_64/configure: Regenerated.
2469         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
2470         Make code unconditional.
2472         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
2473         test.
2474         * sysdeps/i386/configure: Regenerated.
2475         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
2476         test.
2477         * sysdeps/x86_64/configure: Regenerated.
2478         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
2479         Make code unconditional.
2480         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2481         Likewise.
2482         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
2483         Likewise.
2484         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2485         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
2486         code unconditional.
2487         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2488         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
2489         code unconditional.
2490         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2491         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
2492         code unconditional.
2493         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
2494         code unconditional.
2495         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2496         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
2497         code unconditional.
2498         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2499         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
2500         code unconditional.
2501         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2502         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
2503         code unconditional.
2504         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2505         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
2506         code unconditional.
2507         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2508         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
2510         [BZ #19095]
2511         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
2512         mantissa to long int before shifting left.
2514 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2516         [BZ #19094]
2517         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
2518         <limits.h>.
2519         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2520         when result overflows but exception would not result from cast.
2521         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
2522         <limits.h>.
2523         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2524         when result overflows but exception would not result from cast.
2525         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
2526         <limits.h>.
2527         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2528         when result overflows but exception would not result from cast.
2529         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
2530         <limits.h>.
2531         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2532         when result overflows but exception would not result from cast.
2533         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
2534         <limits.h>.
2535         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2536         when result overflows but exception would not result from cast.
2537         * math/libm-test.inc (lrint_test_data): Add more tests.
2538         (llrint_test_data): Likewise.
2540 2015-10-08  Roland McGrath  <roland@hack.frob.com>
2542         [BZ #18872]
2543         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
2544         Move out from under [$(run-built-tests) = yes] conditional.
2545         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
2546         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
2548 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
2550         [BZ #18589]
2551         * string/Makefile (tests): Add bug-strcoll2.
2552         (LOCALES): Add cs_CZ.UTF-8.
2553         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
2555         [BZ #18589]
2556         * string/bug-strcoll2.c: New file.
2557         * locale/categories.def: Revert commit
2558         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
2559         * locale/langinfo.h: Likewise.
2560         * locale/localeinfo.h: Likewise.
2561         * locale/C-collate.c: Likewise.
2562         * locale/programs/ld-collate.c (collate_output): Likewise.
2563         * string/strcoll_l.c (STRDIFF): Likewise.
2564         (STRCOLL): Likewise.
2565         * wcsmbs/wcscoll_l.c: Likewise.
2567 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2569         * math/libm-test.inc (lround_test_data): Do not expect the absence
2570         of "inexact" for some tests with non-integer arguments.
2571         (llround_test_data): Likewise.
2573         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
2574         test.
2575         (libc_cv_cc_sse2avx): Likewise.
2576         * sysdeps/i386/configure: Regenerated.
2577         * sysdeps/i386/i686/multiarch/Makefile
2578         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
2579         [$(subdir) = math].
2580         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
2581         code unconditional.
2582         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2583         Likewise.
2584         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
2585         Likewise.
2586         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2587         Likewise.
2588         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
2589         test.
2590         (libc_cv_cc_sse2avx): Likewise.
2591         * sysdeps/x86_64/configure: Regenerated.
2592         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
2593         unconditional.
2594         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
2595         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
2596         unconditional.
2597         (_dl_runtime_profile)
2598         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
2599         conditional code.
2600         * sysdeps/x86_64/fpu/multiarch/Makefile
2601         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
2602         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2603         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2604         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2605         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2606         * sysdeps/x86_64/fpu/multiarch/e_log.c
2607         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2608         * sysdeps/x86_64/fpu/multiarch/s_atan.c
2609         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2610         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2611         Likewise.
2612         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2613         Likewise.
2614         * sysdeps/x86_64/fpu/multiarch/s_sin.c
2615         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2616         * sysdeps/x86_64/fpu/multiarch/s_tan.c
2617         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2618         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
2619         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
2620         (HAVE_SSE2AVX_SUPPORT): Likewise.
2622 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
2624         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
2625         instead of #pragma optimize.
2627 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2629         [BZ #17195]
2630         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
2631         as is similarly done in systrim and _int_free already.
2633 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2635         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
2637 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2639         [BZ #19088]
2640         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
2641         <limits.h>.
2642         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2643         overflows but exception would not result from cast.
2644         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
2645         and <limits.h>.
2646         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2647         overflows but exception would not result from cast.
2648         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
2649         <limits.h>.
2650         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2651         overflows but exception would not result from cast.
2652         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
2653         <limits.h>.
2654         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2655         overflows but exception would not result from cast.
2656         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
2657         <limits.h>.
2658         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2659         overflows but exception would not result from cast.
2660         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
2661         <limits.h>.
2662         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2663         overflows but exception would not result from cast.
2664         * math/libm-test.inc (lround_test_data): Add more tests.
2665         (llround_test_data): Likewise.
2667 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
2669         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
2670         (CFLAGS-ialloc.c): Ditto.
2671         (CFLAGS-scheck.c): Ditto.
2673 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2675         [BZ #19086]
2676         * manual/filesys.texi (Storage Allocation): Fix argument order for
2677         posix_fallocate64.
2679 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2681         [BZ #19085]
2682         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
2683         exponent below 48 inside case for non-overflowing exponent.
2684         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
2686 2015-10-07  Florian Weimer  <fweimer@redhat.com>
2688         * iconvdata/cp737.h (from_idx): Add const.
2689         * iconvdata/cp775.h (from_idx): Likewise.
2691 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2693         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
2694         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
2695         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
2697         [BZ #19079]
2698         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
2699         file, conditioned on [!_LP64].
2700         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
2701         [!_LP64] (__lround): Do not define as function or alias.
2702         [!_LP64] (lround): Likewise.
2703         [!_LP64] (__lroundl): Likewise.
2704         [!_LP64] (lroundl): Likewise.
2705         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
2706         macro.
2707         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2708         Likewise.
2710 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2712         * math/libm-test.inc (lrint_test_data): Add more tests.
2713         (llrint_test_data): Likewise.
2714         (lround_test_data): Likewise.
2715         (llround_test_data): Likewise.
2717         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
2718         (llrint_test_data): Add tests used for lrint.
2720         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
2721         test.
2722         * sysdeps/i386/configure: Regenerated.
2723         * sysdeps/i386/i686/multiarch/Makefile
2724         [$(config-cflags-sse4) = yes]: Make code unconditional.
2725         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2726         Likewise.
2727         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
2728         Likewise.
2729         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
2730         test.
2731         * sysdeps/x86_64/configure: Regenerated.
2732         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
2733         Make code unconditional.
2734         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2735         Likewise.
2736         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
2737         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
2739         * scripts/rpm2dynsym.sh: Remove file.
2741 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2743         * configure.ac (libc_cv_cxx_thread_local): Define.
2744         * configure: Regenerate.
2745         * config.make.in (have-cxx-thread_local): Define.
2746         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
2747         (LDLIBS-tst-thread_local1): Define.
2748         (tests): Add tst-thread_local1.
2749         [have-cxx-thread_local != yes] (tests-unsupported): Add
2750         tst-thread_local1.
2751         * nptl/tst-thread_local1.cc: New file.
2753 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2755         [BZ #19078]
2756         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
2757         (u_thres): Likewise.
2758         (__expl): Determine whether to call __kernel_standard_l based on
2759         value of result, not argument.
2761         * math/libm-test.inc (scalb_test_data): Add more expectations for
2762         the "inexact" exception.
2764         [BZ #19077]
2765         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
2766         0.0L for argument 1.0L.
2768         [BZ #19076]
2769         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
2770         constant 0.0L when computing infinite result.
2772 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2774         [BZ #10432]
2775         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
2776         malloc_usable_size.
2778 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2780         [BZ #19018]
2781         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2782         Mangle function pointer before storing it.
2783         (__call_tls_dtors): Demangle function pointer before calling it.
2785 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2787         [BZ #19012]
2788         * iconv/gconv_db.c (gen_steps): Check for additional errors.
2789         Clean up on failure.
2791 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
2793         [BZ #19071]
2794         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
2795         long int variable to store possibly incremented high part of
2796         mantissa.
2797         * math/libm-test.inc (lround_test_data): Add tests used for
2798         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
2799         for tests requiring 64-bit long.  Do not condition tests on
2800         [TEST_FLOAT] unnecessarily.
2801         (llround_test_data): Add tests used for lround.  Add another
2802         expectation for the "inexact" exception.  Do not condition tests
2803         on [TEST_FLOAT] unnecessarily.
2805         [BZ #887]
2806         [BZ #19049]
2807         [BZ #19050]
2808         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
2809         * sysdeps/ieee754/dbl-64/e_log10.c: Include
2810         <fix-int-fp-convert-zero.h>.
2811         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2812         * sysdeps/ieee754/dbl-64/e_log2.c: Include
2813         <fix-int-fp-convert-zero.h>.
2814         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2815         * sysdeps/ieee754/dbl-64/s_erf.c: Include
2816         <fix-int-fp-convert-zero.h>.
2817         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2818         * sysdeps/ieee754/dbl-64/s_logb.c: Include
2819         <fix-int-fp-convert-zero.h>.
2820         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2821         * sysdeps/ieee754/flt-32/e_log10f.c: Include
2822         <fix-int-fp-convert-zero.h>.
2823         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2824         * sysdeps/ieee754/flt-32/e_log2f.c: Include
2825         <fix-int-fp-convert-zero.h>.
2826         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2827         * sysdeps/ieee754/flt-32/s_erff.c: Include
2828         <fix-int-fp-convert-zero.h>.
2829         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2830         * sysdeps/ieee754/flt-32/s_logbf.c: Include
2831         <fix-int-fp-convert-zero.h>.
2832         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2833         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
2834         <fix-int-fp-convert-zero.h>.
2835         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2836         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
2837         <fix-int-fp-convert-zero.h>.
2838         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2839         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
2840         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
2841         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
2842         file.
2843         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
2845 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2847         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2849 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
2851         [BZ #19059]
2852         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
2853         overflowing computation.
2854         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2855         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
2856         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2857         Likewise.
2858         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2859         Likewise.
2860         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
2861         Likewise.
2862         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2863         Likewise.
2864         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2865         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2866         Likewise.
2867         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2868         Likewise.
2869         * math/libm-test.inc (nexttoward_test_data): Add more tests.
2871         * nss/rewrite_field.c (__nss_rewrite_field): Use
2872         internal_function.
2873         * nss/valid_field.c (__nss_valid_field): Likewise.
2874         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
2876 2015-10-02  Florian Weimer  <fweimer@redhat.com>
2878         [BZ #18724]
2879         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
2880         (__nss_invalid_field_characters, __nss_valid_field)
2881         (__nss_valid_list_field, __nss_rewrite_field): Declare.
2882         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
2883         tst-field.c: New file.
2884         * nss/Makefile (routines): Add valid_field, rewrite_field.
2885         (tests-static): Define unconditionally.
2886         (tests): Include tests-static.
2887         [build-static-nss] (tests-static): Use append.
2888         [build-static-nss] (tests): Remove modification.
2889         * nss/getent.c (print_group): Call putgrent.  Report error.
2890         (print_gshadow): Call putsgent.  Report error.
2891         (print_passwd): Call putpwent.  Report error.
2892         (print_shadow): Call putspent.  Report error.
2893         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
2894         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
2895         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
2896         name, password, directory, shell fields for valid syntax.  Rewrite
2897         GECOS field to match syntax.
2898         * pwd/Makefile (tests): Add tst-putpwent.
2899         * pwd/tst-putpwent.c: New file.
2900         * grp/putgrent.c (putgrent): Convert to ISO function definition.
2901         Check grName, grpasswd, gr_mem fields for valid syntax.
2902         Change loop variable i to size_t.
2903         * grp/Makefile (tests): Add tst-putgrent.
2904         * grp/tst-putgrent.c: New file.
2905         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
2906         valid syntax.
2907         * shadow/Makefile (tests): Add tst-putspent.
2908         * shadow/tst-putspent.c: New file.
2909         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
2910         sg_mem fields for valid syntax.
2911         * gshadow/Makefile (tests): Add tst-putsgent.
2912         * gshadow/tst-putsgent.c: New file.
2914 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2916         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
2917         assembly instructions.
2919 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2921         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
2922         prefix from operands.
2924 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
2926         [BZ #16347]
2927         [BZ #19046]
2928         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
2929         <libc-internal.h>.
2930         (MAXLGM): Do not use diagnostic control macros.
2931         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
2932         threshold for ldbl-128ibm.
2933         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
2934         instead of multiplying by log then subtracting.
2935         * math/auto-libm-test-in: Add more tests of lgamma.
2936         * math/auto-libm-test-out: Regenerated.
2938         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
2939         (TYPE_HEX_DIG): Likewise.
2940         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
2941         precisions when printing floating-point numbers.
2942         (check_float_internal): Likewise.
2944 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
2946         [BZ #16620]
2947         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
2948         of log (10) rounded downward to 48 bits.
2949         (log10_low): Use corresponding low part of log (10).
2951         [BZ #19032]
2952         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
2953         compute result as (x - x) / (x - x) not as 0 / 0.
2954         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2955         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
2957         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2958         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
2959         and expm1.
2960         * math/auto-libm-test-out: Regenerated.
2961         * math/libm-test.inc (acos_test_data): Add more tests.
2962         (asin_test_data): Likewise.
2963         (asinh_test_data): Likewise.
2964         (atan_test_data): Likewise.
2965         (atanh_test_data): Likewise.
2966         (atan2_test_data): Likewise.
2967         (cbrt_test_data): Likewise.
2968         (ceil_test_data): Likewise.
2969         (copysign_test_data): Likewise.
2970         (cos_test_data): Likewise.
2971         (cosh_test_data): Likewise.
2972         (erf_test_data): Likewise.
2973         (erfc_test_data): Likewise.
2974         (exp_test_data): Likewise.
2975         (exp10_test_data): Likewise.
2976         (exp2_test_data): Likewise.
2977         (expm1_test_data): Likewise.
2978         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2980 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
2982         [BZ #19006]
2983         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
2984         to ...
2985         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
2986         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
2987         to ...
2988         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
2989         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
2990         to ...
2991         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
2992         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
2993         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
2994         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
2995         to ...
2996         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
2997         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2998         Moved to ...
2999         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
3000         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3001         Moved to ...
3002         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
3003         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
3004         to ...
3005         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
3006         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3007         Moved to ...
3008         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
3009         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
3010         to ...
3011         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
3012         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
3013         Removed.
3014         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
3015         Likewise.
3016         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
3017         Likewise.
3018         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
3019         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
3020         Likewise.
3021         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3022         Likewise.
3023         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3024         Likewise.
3025         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3026         Likewise.
3027         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3028         Likewise.
3029         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
3030         Likewise.
3031         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
3032         Likewise.
3033         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
3034         Likewise.
3035         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
3036         Likewise.
3037         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
3038         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
3039         Likewise.
3040         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3041         Likewise.
3042         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3043         Likewise.
3044         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3045         Likewise.
3046         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
3047         Likewise.
3048         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3049         Replace ../i486/pthread_cond_timedwait.S with
3050         ../pthread_cond_timedwait.S.
3052 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
3054         * math/libm-test.inc (acos_test_data): Refine expectations for
3055         errno and "inexact" exceptions.
3056         (acosh_test_data): Likewise.
3057         (asin_test_data): Likewise.
3058         (asinh_test_data): Likewise.
3059         (atan_test_data): Likewise.
3060         (atanh_test_data): Likewise.
3061         (atan2_test_data): Likewise.
3062         (cbrt_test_data): Likewise.
3063         (ceil_test_data): Likewise.
3064         (copysign_test_data): Likewise.
3065         (cosh_test_data): Likewise.
3066         (erf_test_data): Likewise.
3067         (erfc_test_data): Likewise.
3068         (exp_test_data): Likewise.
3069         (exp10_test_data): Likewise.
3070         (exp2_test_data): Likewise.
3071         (expm1_test_data): Likewise.
3072         (fabs_test_data): Likewise.
3073         (floor_test_data): Likewise.
3074         (fma_test_data): Likewise.
3075         (fmax_test_data): Likewise.
3076         (fmin_test_data): Likewise.
3077         (fmod_test_data): Likewise.
3078         (fpclassify_test_data): Likewise.
3079         (frexp_test_data): Likewise.
3080         (hypot_test_data): Likewise.
3081         (ilogb_test_data): Likewise.
3082         (isgreater_test_data): Likewise.
3083         (isgreaterequal_test_data): Likewise.
3084         (isinf_test_data): Likewise.
3085         (isless_test_data): Likewise.
3086         (islessequal_test_data): Likewise.
3087         (islessgreater_test_data): Likewise.
3088         (isnan_test_data): Likewise.
3089         (isnormal_test_data): Likewise.
3090         (issignaling_test_data): Likewise.
3091         (isunordered_test_data): Likewise.
3092         (j0_test_data): Likewise.
3093         (j1_test_data): Likewise.
3094         (jn_test_data): Likewise.
3095         (lgamma_test_data): Likewise.
3096         (lrint_test_data): Likewise.
3097         (llrint_test_data): Likewise.
3098         (log_test_data): Likewise.
3099         (log10_test_data): Likewise.
3100         (log1p_test_data): Likewise.
3101         (log2_test_data): Likewise.
3102         (logb_test_data): Likewise.
3103         (lround_test_data): Likewise.
3104         (llround_test_data): Likewise.
3105         (modf_test_data): Likewise.
3106         (nearbyint_test_data): Likewise.
3107         (nextafter_test_data): Likewise.
3108         (nexttoward_test_data): Likewise.
3109         (pow_test_data): Likewise.
3110         (remainder_test_data): Likewise.
3111         (remquo_test_data): Likewise.
3112         (rint_test_data): Likewise.
3113         (round_test_data): Likewise.
3114         (signbit_test_data): Likewise.
3115         (sinh_test_data): Likewise.
3116         (sqrt_test_data): Likewise.
3117         (tanh_test_data): Likewise.
3118         (tgamma_test_data): Likewise.
3119         (trunc_test_data): Likewise.
3120         (y0_test_data): Likewise.
3121         (y1_test_data): Likewise.
3122         (yn_test_data): Likewise.
3123         (significand_test_data): Likewise.
3125 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
3127         * manual/filesys.texi (Storage Allocation): Document that
3128         posix_fallocate emulation fails when fd is open with O_WRONLY.
3130 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
3132         [BZ #19016]
3133         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
3134         allow more cases with X^2 + Y^2 >= 0.5.
3135         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
3136         normal element in sum instead of special-casing based on values of
3137         arguments.
3138         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
3139         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
3140         -1 as normal element in sum instead of special-casing based on
3141         values of arguments.
3142         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
3143         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
3144         (__x2y2m1): Update comment.
3145         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
3146         as normal element in sum instead of special-casing based on values
3147         of arguments.
3148         * math/s_clog.c (__clog): Handle more cases using log1p without
3149         hypot.
3150         * math/s_clog10.c (__clog10): Likewise.
3151         * math/s_clog10f.c (__clog10f): Likewise.
3152         * math/s_clog10l.c (__clog10l): Likewise.
3153         * math/s_clogf.c (__clogf): Likewise.
3154         * math/s_clogl.c (__clogl): Likewise.
3155         * math/auto-libm-test-in: Add more tests of clog and clog10.
3156         * math/auto-libm-test-out: Regenerated.
3157         * sysdeps/i386/fpu/libm-test-ulps: Update.
3158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3160 2015-09-28  Martin Sebor  <msebor@redhat.com>
3162         [BZ #18969]
3163         * string/Makefile (LOCALES): Define.
3164         (gen-locales.mk): Include.
3165         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
3166         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
3167         * string/tst-strxfrm2.c (do_test): Print the name of the locale
3168         on setlocale failure.
3170 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3172         [BZ #18985]
3173         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
3174         (__strftime_internal): Likewise.
3175         * time/tst-strftime.c (do_bz18985): New test.
3176         (do_test): Call it.
3178 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
3180         [BZ #18956]
3181         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
3182         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
3183         extracting high part.
3184         * math/auto-libm-test-in: Add another test of pow.
3185         * math/auto-libm-test-out: Regenerated.
3186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3188 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
3190         [BZ #18825]
3191         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
3192         New macro.
3193         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
3194         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3195         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
3196         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
3197         DBL_NARROW_EVAL, reloading the PIC register as needed.
3198         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
3199         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
3200         FLT_NARROW_EVAL.  Use separate return path for case when first
3201         argument is NaN.
3202         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
3203         DEFINE_LDBL_MIN.
3204         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
3205         PIC register.
3206         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
3207         math_check_force_underflow_nonneg.
3208         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
3209         underflow for subnormal result.
3210         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3211         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
3212         math_check_force_underflow_nonneg.
3213         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
3214         math_check_force_underflow.
3215         * sysdeps/x86_64/fpu/x86_64-math-asm.h
3216         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
3217         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
3218         DEFINE_LDBL_MIN.
3219         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
3220         * math/auto-libm-test-in: Add more tests of pow.
3221         * math/auto-libm-test-out: Regenerated.
3223 2015-09-25  Florian Weimer  <fweimer@redhat.com>
3225         * nss/bug17079.c (init_test_items): Add diagnostic for
3226         inconsistent entries.
3227         (test_buffer_size): Skip inconsistent entries.
3229 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
3231         [BZ #13304]
3232         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
3233         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
3234         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
3236         [BZ #13304]
3237         * sysdeps/microblaze/s_fma.c: New file.
3238         * sysdeps/microblaze/s_fmaf.c: Likewise.
3239         * sysdeps/microblaze/sfp-machine.h: Likewise.
3241 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
3243         [BZ #17250]
3244         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
3245         member.
3247 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
3249         [BZ #18803]
3250         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
3251         (MO): New macro.
3252         (__ieee754_hypot) [PIC]: Load PIC register.
3253         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
3254         DBL_NARROW_EVAL.
3255         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
3256         math_check_force_underflow_nonneg in case where result might be
3257         tiny.
3258         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3259         Likewise.
3260         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3261         Likewise.
3262         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
3263         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
3264         * math/auto-libm-test-in: Add more tests of hypot.
3265         * math/auto-libm-test-out: Regenerated.
3267 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
3269         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
3271 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
3273         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
3274         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
3275         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
3276         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
3277         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
3278         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
3279         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
3281         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
3282         LOAD_PIC_REG.
3284         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
3285         (FLT_CHECK_FORCE_UFLOW): Likewise.
3286         (DBL_CHECK_FORCE_UFLOW): Likewise.
3287         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
3288         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
3289         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
3290         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3291         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3292         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3293         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3294         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3295         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
3296         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3297         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
3298         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
3299         (flt_min): Replace with use of DEFINE_FLT_MIN.
3300         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
3301         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
3302         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3303         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
3304         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
3305         (flt_min): Replace with use of DEFINE_FLT_MIN.
3306         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
3307         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
3308         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3309         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
3310         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
3311         (flt_min): Replace with use of DEFINE_FLT_MIN.
3312         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
3313         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
3314         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
3315         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
3316         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
3317         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
3318         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
3319         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
3320         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3321         (__atan): Use DBL_CHECK_FORCE_UFLOW.
3322         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
3323         (flt_min): Replace with use of DEFINE_FLT_MIN.
3324         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
3325         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
3326         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3327         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
3328         main computation.
3329         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
3330         (flt_min): Replace with use of DEFINE_FLT_MIN.
3331         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
3332         main computation.
3333         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
3334         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3335         (MO): New macro.
3336         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
3337         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
3338         (flt_min): Replace with use of DEFINE_FLT_MIN.
3339         (MO): New macro.
3340         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
3341         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
3342         (__log1pl): Use MO.
3344         [BZ #19003]
3345         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
3346         $(config-cflags-nofma).
3348 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3350         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3352 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
3354         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
3355         (TWO127): Likewise.
3357         * sysdeps/generic/math_private.h (fabs_tg): New macro.
3358         (min_of_type): Likewise.
3359         (math_check_force_underflow): Likewise.
3360         (math_check_force_underflow_nonneg): Likewise.
3361         (math_check_force_underflow_complex): Likewise.
3362         * math/e_exp2l.c (__ieee754_exp2l): Use
3363         math_check_force_underflow_nonneg.
3364         * math/k_casinh.c (__kernel_casinh): Likewise.
3365         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3366         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3367         * math/s_catan.c (__catan): Use
3368         math_check_force_underflow_complex.
3369         * math/s_catanf.c (__catanf): Likewise.
3370         * math/s_catanh.c (__catanh): Likewise.
3371         * math/s_catanhf.c (__catanhf): Likewise.
3372         * math/s_catanhl.c (__catanhl): Likewise.
3373         * math/s_catanl.c (__catanl): Likewise.
3374         * math/s_ccosh.c (__ccosh): Likewise.
3375         * math/s_ccoshf.c (__ccoshf): Likewise.
3376         * math/s_ccoshl.c (__ccoshl): Likewise.
3377         * math/s_cexp.c (__cexp): Likewise.
3378         * math/s_cexpf.c (__cexpf): Likewise.
3379         * math/s_cexpl.c (__cexpl): Likewise.
3380         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
3381         * math/s_clog10.c (__clog10): Likewise.
3382         * math/s_clog10f.c (__clog10f): Likewise.
3383         * math/s_clog10l.c (__clog10l): Likewise.
3384         * math/s_clogf.c (__clogf): Likewise.
3385         * math/s_clogl.c (__clogl): Likewise.
3386         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
3387         * math/s_csinf.c (__csinf): Likewise.
3388         * math/s_csinh.c (__csinh): Likewise.
3389         * math/s_csinhf.c (__csinhf): Likewise.
3390         * math/s_csinhl.c (__csinhl): Likewise.
3391         * math/s_csinl.c (__csinl): Likewise.
3392         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
3393         * math/s_csqrtf.c (__csqrtf): Likewise.
3394         * math/s_csqrtl.c (__csqrtl): Likewise.
3395         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
3396         * math/s_ctanf.c (__ctanf): Likewise.
3397         * math/s_ctanh.c (__ctanh): Likewise.
3398         * math/s_ctanhf.c (__ctanhf): Likewise.
3399         * math/s_ctanhl.c (__ctanhl): Likewise.
3400         * math/s_ctanl.c (__ctanl): Likewise.
3401         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
3402         instead of volatile.
3403         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
3404         math_check_force_underflow.
3405         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3406         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
3407         volatile when forcing underflow.
3408         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3409         math_check_force_underflow_nonneg.
3410         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
3411         Likewise.
3412         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
3413         math_check_force_underflow.
3414         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3415         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3416         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3417         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
3418         math_check_force_underflow_nonneg.
3419         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
3420         math_check_force_underflow.
3421         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
3422         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
3423         instead of volatile.
3424         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
3425         math_check_force_underflow.
3426         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3427         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3428         math_check_force_underflow_nonneg.
3429         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
3430         math_check_force_underflow.
3431         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
3432         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3433         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
3434         math_check_force_underflow_nonneg.
3435         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3436         Likewise.
3437         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
3438         math_check_force_underflow.
3439         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3440         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
3441         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
3442         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
3443         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
3444         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
3445         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
3446         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
3447         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3448         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
3449         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
3450         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
3451         Likewise.
3452         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
3453         math_check_force_underflow_nonneg.
3454         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3455         Likewise.
3456         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
3457         math_check_force_underflow.
3458         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3459         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
3460         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3461         Likewise.
3462         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
3463         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
3464         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
3465         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
3466         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
3467         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
3468         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
3469         instead of volatile.
3470         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
3471         math_check_force_underflow.
3472         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
3473         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
3474         math_check_force_underflow.
3475         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
3476         Likewise.
3477         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3478         Use math_check_force_underflow_nonneg.
3479         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
3480         math_check_force_underflow.
3481         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
3482         Likewise.
3483         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3484         Likewise.
3485         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3486         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3487         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3488         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3489         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
3490         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3491         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
3492         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
3493         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
3494         math_check_force_underflow_nonneg.
3495         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
3496         math_check_force_underflow.
3497         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3498         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
3499         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
3500         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
3501         math_check_force_underflow_nonneg.
3502         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
3503         math_check_force_underflow.
3504         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
3505         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
3506         instead of volatile.
3507         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
3508         math_check_force_underflow.
3510         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
3511         * stdlib/strtod_l.c: Include <math_private.h>.
3512         (overflow_value): Use math_narrow_eval.
3513         (underflow_value): Likewise.
3514         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3515         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
3516         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
3517         (__ieee754_gamma_r): Likewise.
3518         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
3519         Likewise.
3520         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3521         Likewise.
3522         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
3523         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
3524         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
3525         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
3526         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
3527         (__ieee754_gammaf_r): Likewise.
3528         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3529         Likewise.
3530         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
3531         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
3532         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
3533         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
3534         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
3535         volatile.
3536         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
3537         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
3538         math_narrow_eval.
3539         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
3540         Likewise.
3541         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3542         Likewise.
3543         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
3544         Likewise.
3545         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
3546         volatile.
3547         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
3548         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
3549         math_narrow_eval.
3550         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3551         Likewise.
3552         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3553         Likewise.
3555 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
3557         * nptl/Versions: Remove ignored symbols.
3559 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3561         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
3562         * nss/Makefile (tests): Update.
3564 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3566         * nss/bug18287.c: New file.
3567         * nss/Makefile (tests): Add bug18287.
3569 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3571         * mach/Versions (__mach_host_self_): Add symbol.
3573 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3575         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
3576         vm_page_size.
3578 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3580         Really fix sysdeps/i386/fpu/s_scalbn.S build
3582         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
3583         (libc: GLIBC_2_22): Remove unused version set.
3585 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3587         * config.make.in (enable-timezone-tools): New variable.
3588         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
3589         (enable_timezone_tools): Export to generated files.
3590         * configure: Regenerate.
3591         * INSTALL: Regenerate.
3592         * manual/install.texi (--disable-timezone-tools): Document new flag.
3593         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
3594         ifeq ($(enable-timezone-tools),yes) check.
3596 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3598         * timezone/Makefile: Revert previous change.
3600         [BZ #18980]
3601         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
3602         (DEFINE_DBL_MIN): Likewise.
3603         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3604         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3605         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3606         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3607         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
3608         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3609         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3610         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
3611         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
3612         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3613         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3614         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
3615         (flt_min): Replace with use of DEFINE_FLT_MIN.
3616         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3617         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
3618         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3619         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3620         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
3621         (flt_min): Replace with use of DEFINE_FLT_MIN.
3622         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3623         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
3624         (flt_min): Replace with use of DEFINE_FLT_MIN.
3625         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3626         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
3627         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
3628         (__ieee754_hypot): Use DBL_NARROW_EVAL.
3629         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
3630         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
3631         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
3632         (__ieee754_pow): Use DBL_NARROW_EVAL.
3633         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
3634         (__ieee754_powf): Use FLT_NARROW_EVAL.
3635         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
3636         (__ieee754_expf_sse2): Convert double-precision result to single
3637         precision.
3638         * sysdeps/i386/fpu/libm-test-ulps: Update.
3640 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3642         * timezone/Makefile: Ignore unused variable errors due to private.h
3643         (time_t_min) and (time_t_max).
3644         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
3645         Likewise.
3647 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3649         [BZ #18981]
3650         * sysdeps/i386/fpu/i386-math-asm.h: New file.
3651         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
3652         (__ieee754_scalb): Use DBL_NARROW_EVAL.
3653         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
3654         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
3655         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
3656         (__scalbn): Use DBL_NARROW_EVAL.
3657         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
3658         (__scalbnf): Use FLT_NARROW_EVAL.
3660 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3662         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
3663         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
3664         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
3665         * stdio-common/printf_fp.c (___printf_fp):
3666         Use signbit to get the sign. Use isinf macro to allow inlining.
3667         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
3668         * stdio-common/printf_size.c (__printf_size): Likewise.
3670 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3672         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
3674 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3676         [BZ #18980]
3677         * sysdeps/generic/math_private.h: Include <float.h>.
3678         (math_narrow_eval): New macro.
3679         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
3680         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
3681         math_narrow_eval on overflowing return value.
3682         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
3683         Likewise.
3684         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3685         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
3686         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
3687         Likewise.
3688         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
3690 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3692         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
3693         * math/Makefile: Remove isinf_ns.c.
3694         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
3695         * math/multc3.c (__multc3): Likewise.
3696         * math/s_casin.c (__casin): Likewise.
3697         * math/s_casinf.c (__casinf): Likewise.
3698         * math/s_casinl.c (__casinl): Likewise.
3699         * math/s_cproj.c (__cproj): Likewise.
3700         * math/s_cprojf.c (__cprojf): Likewise.
3701         * math/s_cprojl.c (__cprofl): Likewise.
3702         * math/s_ctan.c (__ctan): Likewise.
3703         * math/s_ctanf.c (__ctanf): Likewise.
3704         * math/s_ctanh.c (__ctanh): Likewise.
3705         * math/s_ctanhf.c (__ctanhf): Likewise.
3706         * math/s_ctanhl.c (__ctanhl): Likewise.
3707         * math/s_ctanl.c (__ctanl): Likewise.
3708         * math/w_fmod.c (__fmod): Likewise.
3709         * math/w_fmodf.c (__fmodf): Likewise.
3710         * math/w_fmodl.c (_fmodl): Likewise.
3711         * math/w_remainder.c (__remainder): Likewise.
3712         * math/w_remainderf.c (__remainderf): Likewise.
3713         * math/w_remainderl.c (__remainderl): Likewise.
3714         * math/w_scalb.c (__scalb): Likewise.
3715         * math/w_scalbf.c (__scalbf): Likewise.
3716         * math/w_scalbl.c (__scalbl): Likewise.
3717         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
3718         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
3719         with isinf.
3720         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
3721         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
3722         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
3723         __isinf_nsf with isinf.
3724         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
3725         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
3726         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
3727         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
3728         with isinf.
3729         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
3730         __isinf_nsl with isinf.
3731         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
3732         with isinf.
3733         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
3734         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
3735         __isinf_nsl with isinf.
3736         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
3737         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
3738         with isinf.
3740 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3742         * resolv/base64.c (rcsid): Remove unused static.
3743         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
3744         static.  (tqpi1): Likewise.
3745         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
3746         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
3747         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
3748         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
3749         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
3750         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
3751         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
3752         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
3753         Likewise.
3755 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
3757         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
3758         <nptl/pthreadP.h>.
3759         (_longjmp_unwind): Use __libc_ptf_call.
3760         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
3762 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
3764         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
3765         * sysdeps/arm/__longjmp.S: Likewise
3767 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3769         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
3770         Use __builtin_signbit.
3771         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
3772         Use __builtin_signbitf.
3773         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
3774         Use __builtin_signbitl.
3775         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3776         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
3778 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3780         [BZ #15367]
3781         [BZ #17441]
3783         * math/Makefile: Build test-snan.c with -fsignaling-nans.
3784         * math/math.h (fpclassify): Use __builtin_fpclassify when
3785         available.  (signbit): Use __builtin_signbit(f/l).
3786         (isfinite): Use__builtin_isfinite.  (isnormal): Use
3787         __builtin_isnormal.  (isnan): Use __builtin_isnan.
3788         (isinf): Use __builtin_isinf_sign.
3790 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3792         * benchtests/Makefile: Add bench-math-inlines, link with libm.
3793         * benchtests/bench-math-inlines.c: New benchmark.
3794         * benchtests/bench-util.h: New file.
3795         * benchtests/bench-util.c: New file.
3796         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
3798 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
3800         * elf/tst-dlmopen1.c: Define TEST_SO.
3801         (do_test): Use TEST_SO.
3803         * elf/dl-load.c: Include libc-internal.h.
3804         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
3806 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3808         [BZ #17887]
3809         * time/strptime_l.c (__strptime_internal): Make %z accept
3810         [+-]HH:MM time zones.
3812 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3814         [BZ #17886]
3815         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
3816         valid time zone.
3818 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
3820         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
3821         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
3822         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3823         (__ASSUME_FDATASYNC): Delete.
3825 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3827         * conform/linknamespace.pl: Require weak undefined symbols to be
3828         in the standard namespace.
3829         (%strong_syms): Rename to %seen_syms.
3830         (%strong_seen): Rename to %seen_where.
3832 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
3834         [BZ #18970]
3835         * misc/error.c (error): Replace pthread_setcancelstate with
3836         __pthread_setcancelstate.
3837         (error_at_line): Likewise.
3838         * posix/wordexp.c (parse_comm): Likewise.
3839         * stdlib/fmtmsg.c (fmtmsg): Likewise.
3840         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
3841         (__pthread_setcancelstate): This.
3842         (pthread_setcancelstate): Add an alias.
3843         * nptl/nptl-init.c (pthread_functions): Replace
3844         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
3845         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
3846         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
3847         hidden_proto.
3848         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
3849         it with hidden_def.
3850         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
3851         (pthread_setcancelstate): Renamed to ...
3852         (__pthread_setcancelstate): This.
3853         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
3854         __libc_ptf_call with __pthread_setcancelstate.
3856 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3857             Andreas Schwab  <schwab@suse.de>
3859         [BZ #17118]
3860         * math/s_ctan.c (__ctan): Determine sign of zero real part of
3861         result when imaginary part of argument is infinite using sine and
3862         cosine.
3863         * math/s_ctanf.c (__ctanf): Likewise.
3864         * math/s_ctanl.c (__ctanl): Likewise.
3865         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
3866         of result when real part of argument is infinite using sine and
3867         cosine.
3868         * math/s_ctanhf.c (__ctanhf): Likewise.
3869         * math/s_ctanhl.c (__ctanhl): Likewise.
3870         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
3871         (ctanh_test_data): Add more tests of ctanh.
3873 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3875         [BZ #15384]
3876         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
3877         bit-mask as in subtraction.
3878         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
3879         Likewise.
3880         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
3881         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
3882         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
3884         [BZ #18951]
3885         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
3886         underflow exception for small results.
3887         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3888         Likewise.
3889         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3890         Likewise.
3891         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3892         Likewise.
3893         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3894         Likewise.
3895         * math/auto-libm-test-in: Add more tests of tgamma.
3896         * math/auto-libm-test-out: Regenerated.
3898 2015-09-17  Andreas Schwab  <schwab@suse.de>
3900         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
3902 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3904         [BZ #18977]
3905         * math/bits/mathcalls.h
3906         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
3907         not declare.
3908         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
3909         Likewise.
3910         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
3911         Likewise.
3912         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
3913         Likewise.
3914         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
3915         Likewise.
3916         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
3917         Likewise.
3918         * conform/data/math.h-data
3919         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
3920         function.
3921         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
3922         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
3923         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
3924         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
3925         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
3926         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
3927         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
3928         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
3929         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
3930         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
3931         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
3933         [BZ #6803]
3934         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
3935         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
3936         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
3937         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
3938         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
3939         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
3940         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
3941         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
3942         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3943         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
3944         Likewise.
3945         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3946         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
3947         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
3948         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
3949         long_double_symbol calls.
3950         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
3951         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
3952         strong alias of __ldexpl.
3953         (scalbnl): Define using long_double_symbol.
3954         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
3955         Remove alias.
3956         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
3957         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
3958         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
3959         (scalbln_test_data): Add more errno expectations.
3961 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
3963         Cache the host port like we cache the task port.  This way we do not
3964         need to call the kernel just to get the port.  Furthermore, we no
3965         longer increase the reference count on every invocation of
3966         `mach_host_self'.
3968         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
3969         Protect declarations against the macro expansion.
3970         * mach/mach_init.c (__mach_host_self_): New variable.
3971         (mach_init): Initialize `__mach_host_self_'.
3972         * mach/mach_init.h (__mach_host_self_): New declaration.
3973         (__mach_host_self, mach_host_self): New macros.
3974         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
3975         Release reference.
3977 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3979         [BZ #4404]
3980         * po/de.po: Update from Translation Project.
3982         [BZ #16415]
3983         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
3984         (__expm1l): Remove code to handle positive infinity and overflow.
3985         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
3986         variable.
3987         (__expm1l): Remove code to handle positive infinity and overflow.
3989 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
3990             Paul Pluzhnikov  <ppluzhnikov@google.com>
3992         [BZ #18872]
3993         * stdio-common/Makefile (tst-printf-bz18872): New test.
3994         (tst-printf-bz18872-mem.out): Likewise.
3995         * stdio-common/tst-printf-bz18872.sh: Generate new test.
3996         * stdio-common/vfprintf.c: Fix memory leaks.
3998 2015-09-16  Andreas Schwab  <schwab@suse.de>
4000         [BZ #17244]
4001         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
4002         Remove extra va_start/va_end calls.
4004         [BZ #17243]
4005         * posix/execl.c (execl): Add missing va_end.
4006         * posix/execle.c (execle): Likewise.
4007         * posix/execlp.c (execlp): Likewise.
4009 2015-09-15  Roland McGrath  <roland@hack.frob.com>
4011         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
4012         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
4014 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
4016         [BZ #18967]
4017         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
4018         undefine around includes of <bits/mathcalls.h>.
4019         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
4020         not declare function.
4021         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
4022         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
4023         (scalb): Likewise.
4024         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
4025         not define macro.
4026         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
4027         variable.
4028         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4029         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4030         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4032         [BZ #18857]
4033         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
4034         return non-finite argument without doing ordered comparisons on
4035         it.
4037         [BZ #16296]
4038         * math/fenv.h (fegetround): Use __attribute_pure__.
4039         * include/fenv.h (__fegetround): Likewise.
4041         [BZ #18595]
4042         * math/s_ctan.c (__ctan): Force underflow exception for results
4043         whose real or imaginary part has small absolute value.
4044         * math/s_ctanf.c (__ctanf): Likewise.
4045         * math/s_ctanh.c (__ctanh): Likewise.
4046         * math/s_ctanhf.c (__ctanhf): Likewise.
4047         * math/s_ctanhl.c (__ctanhl): Likewise.
4048         * math/s_ctanl.c (__ctanl): Likewise.
4049         * math/auto-libm-test-in: Do not allow missing underflow for ctan
4050         and ctanh.  Add more tests of ctan and ctanh.
4052         [BZ #15918]
4053         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
4054         handling of cases where one argument is an infinity.
4056         [BZ #18875]
4057         [BZ #18966]
4058         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
4059         (MO): New macro.
4060         (__ieee754_exp10): For small results, force underflow exception
4061         and remove excess range and precision from return value.
4062         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
4063         (MO): New macro.
4064         (__ieee754_exp10f): For small results, force underflow exception
4065         and remove excess range and precision from return value.
4066         * math/auto-libm-test-in: Add more tests of exp10.
4067         * math/auto-libm-test-out: Regenerated.
4069 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
4071         [BZ #18875]
4072         [BZ #18961]
4073         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
4074         (MO): New macro.
4075         (__ieee754_exp): For small results, force underflow exception and
4076         remove excess range and precision from return value.
4077         (__exp_finite): Likewise.
4078         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
4079         (MO): New macro.
4080         (__ieee754_expf): For small results, force underflow exception and
4081         remove excess range and precision from return value.
4082         (__expf_finite): Likewise.
4083         * math/auto-libm-test-in: Add more tests of exp.
4084         * math/auto-libm-test-out: Regenerated.
4086         [BZ #16521]
4087         [BZ #18875]
4088         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
4089         small results.
4090         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
4091         (MO): New macro.
4092         (__ieee754_exp2): For small results, force underflow exception and
4093         remove excess range and precision from return value.
4094         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
4095         (MO): New macro.
4096         (__ieee754_exp2f): For small results, force underflow exception
4097         and remove excess range and precision from return value.
4098         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
4099         (MO): New macro.
4100         (__ieee754_exp2l): Force underflow exception for small results.
4101         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4102         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4103         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
4104         (MO): New macro.
4105         (__ieee754_exp2l): Force underflow exception for small results.
4106         * math/auto-libm-test-in: Add more tests or exp2.
4107         * math/auto-libm-test-out: Regenerated.
4109 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
4111         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
4113         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
4114         /dev/null.
4116 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4118         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4119         io fs process)): Drop spurious backslash.
4121 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4123         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
4124         Use sysinfo system call instead of parsing /proc/meminfo.
4125         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
4126         Likewise.
4128 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
4130         [BZ #16985]
4131         * programs/localedef.c (main): Display argv[remaining] when
4132         output_path is NULL.
4134 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
4136         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4137         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
4138         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
4139         tanh.
4140         * math/auto-libm-test-out: Regenerated.
4141         * sysdeps/i386/fpu/libm-test-ulps: Update.
4142         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4143         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4146 2015-09-11  Roland McGrath  <roland@hack.frob.com>
4148         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
4149         Use 'override' keyword to freeze the value here, preventing
4150         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
4152 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
4154         [BZ #14912]
4155         * sysdeps/aarch64/bits/atomic.h: Move to ...
4156         * sysdeps/aarch64/atomic-machine.h: ...here.
4157         (_AARCH64_BITS_ATOMIC_H): Rename macro to
4158         _AARCH64_ATOMIC_MACHINE_H.
4159         * sysdeps/alpha/bits/atomic.h: Move to ...
4160         * sysdeps/alpha/atomic-machine.h: ...here.
4161         * sysdeps/arm/bits/atomic.h: Move to ...
4162         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
4163         * bits/atomic.h: Move to ...
4164         * sysdeps/generic/atomic-machine.h: ...here.
4165         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4166         * sysdeps/i386/bits/atomic.h: Move to ...
4167         * sysdeps/i386/atomic-machine.h: ...here.
4168         * sysdeps/ia64/bits/atomic.h: Move to ...
4169         * sysdeps/ia64/atomic-machine.h: ...here.
4170         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
4171         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
4172         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4173         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
4174         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
4175         * sysdeps/microblaze/bits/atomic.h: Move to ...
4176         * sysdeps/microblaze/atomic-machine.h: ...here.
4177         * sysdeps/mips/bits/atomic.h: Move to ...
4178         * sysdeps/mips/atomic-machine.h: ...here.
4179         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
4180         * sysdeps/powerpc/bits/atomic.h: Move to ...
4181         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
4182         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
4183         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
4184         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
4185         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
4186         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
4187         <atomic-machine.h> instead of <bits/atomic.h>.
4188         * sysdeps/s390/bits/atomic.h: Move to ...
4189         * sysdeps/s390/atomic-machine.h: ...here.
4190         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
4191         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
4192         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4193         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
4194         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
4195         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
4196         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
4197         * sysdeps/tile/bits/atomic.h: Move to ...
4198         * sysdeps/tile/atomic-machine.h: ...here.
4199         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
4200         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
4201         <sysdeps/tile/atomic-machine.h> instead of
4202         <sysdeps/tile/bits/atomic.h>.
4203         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4204         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
4205         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
4206         <sysdeps/tile/atomic-machine.h> instead of
4207         <sysdeps/tile/bits/atomic.h>.
4208         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4209         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
4210         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
4211         <sysdeps/arm/atomic-machine.h> instead of
4212         <sysdeps/arm/bits/atomic.h>.
4213         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
4214         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
4215         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4216         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
4217         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
4218         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4219         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
4220         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
4221         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
4222         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
4223         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
4224         * sysdeps/x86_64/bits/atomic.h: Move to ...
4225         * sysdeps/x86_64/atomic-machine.h: ...here.
4226         * include/atomic.h: Include <atomic-machine.h> instead of
4227         <bits/atomic.h>.
4229         * sysdeps/mips/mips32/libm-test-ulps: Update.
4230         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4232         [BZ #18952]
4233         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
4234         not convert non-integer negative arguments to int to determine the
4235         value of signgam.
4236         * math/auto-libm-test-in: Add more tests of lgamma.
4237         * math/auto-libm-test-out: Regenerated.
4239         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
4240         cosh, csqrt, erfc, expm1 and lgamma.
4241         * math/auto-libm-test-out: Regenerated.
4242         * sysdeps/i386/fpu/libm-test-ulps: Update.
4243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4245 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
4247         [BZ #2542]
4248         [BZ #2543]
4249         [BZ #2558]
4250         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
4251         __lgamma_neg for arguments from -28.0 to -2.0.
4252         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
4253         __lgamma_negf for arguments from -15.0 to -2.0.
4254         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4255         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
4256         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
4257         Call __lgamma_negl for arguments from -33.0 to -2.0.
4258         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
4259         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4260         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
4261         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
4262         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4263         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4264         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
4265         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
4266         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
4267         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4268         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
4269         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
4270         (__lgamma_neg): Likewise.
4271         (__lgamma_negl): Likewise.
4272         (__lgamma_product): Likewise.
4273         (__lgamma_productl): Likewise.
4274         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
4275         * math/auto-libm-test-in: Add more tests of lgamma.
4276         * math/auto-libm-test-out: Regenerated.
4277         * sysdeps/i386/fpu/libm-test-ulps: Update.
4278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4280 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
4282         [BZ #18675]
4283         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
4285 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
4287         [BZ #14912]
4288         * bits/libc-lock.h: Move to ...
4289         * sysdeps/generic/libc-lock.h: ...here.
4290         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4291         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
4292         * sysdeps/mach/hurd/libc-lock.h: ...here.
4293         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4294         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
4295         * sysdeps/mach/bits/libc-lock.h: Move to ...
4296         * sysdeps/mach/libc-lock.h: ...here.
4297         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4298         * sysdeps/nptl/bits/libc-lock.h: Move to ...
4299         * sysdeps/nptl/libc-lock.h: ...here.
4300         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4301         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
4302         * sysdeps/nptl/libc-lockP.h: ...here.
4303         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
4304         * crypt/crypt_util.c: Include <libc-lock.h> instead of
4305         <bits/libc-lock.h>.
4306         * dirent/scandir-tail.c: Likewise.
4307         * dlfcn/dlerror.c: Likewise.
4308         * elf/dl-close.c: Likewise.
4309         * elf/dl-iteratephdr.c: Likewise.
4310         * elf/dl-lookup.c: Likewise.
4311         * elf/dl-open.c: Likewise.
4312         * elf/dl-support.c: Likewise.
4313         * elf/dl-writev.h: Likewise.
4314         * elf/rtld.c: Likewise.
4315         * grp/fgetgrent.c: Likewise.
4316         * gshadow/fgetsgent.c: Likewise.
4317         * gshadow/sgetsgent.c: Likewise.
4318         * iconv/gconv_conf.c: Likewise.
4319         * iconv/gconv_db.c: Likewise.
4320         * iconv/gconv_dl.c: Likewise.
4321         * iconv/gconv_int.h: Likewise.
4322         * iconv/gconv_trans.c: Likewise.
4323         * include/link.h: Likewise.
4324         * inet/getnameinfo.c: Likewise.
4325         * inet/getnetgrent.c: Likewise.
4326         * inet/getnetgrent_r.c: Likewise.
4327         * intl/bindtextdom.c: Likewise.
4328         * intl/dcigettext.c: Likewise.
4329         * intl/finddomain.c: Likewise.
4330         * intl/gettextP.h: Likewise.
4331         * intl/loadmsgcat.c: Likewise.
4332         * intl/localealias.c: Likewise.
4333         * intl/textdomain.c: Likewise.
4334         * libidn/idn-stub.c: Likewise.
4335         * libio/libioP.h: Likewise.
4336         * locale/duplocale.c: Likewise.
4337         * locale/freelocale.c: Likewise.
4338         * locale/newlocale.c: Likewise.
4339         * locale/setlocale.c: Likewise.
4340         * login/getutent_r.c: Likewise.
4341         * login/getutid_r.c: Likewise.
4342         * login/getutline_r.c: Likewise.
4343         * login/utmp-private.h: Likewise.
4344         * login/utmpname.c: Likewise.
4345         * malloc/mtrace.c: Likewise.
4346         * misc/efgcvt.c: Likewise.
4347         * misc/error.c: Likewise.
4348         * misc/fstab.c: Likewise.
4349         * misc/getpass.c: Likewise.
4350         * misc/mntent.c: Likewise.
4351         * misc/syslog.c: Likewise.
4352         * nis/nis_call.c: Likewise.
4353         * nis/nis_callback.c: Likewise.
4354         * nis/nss-default.c: Likewise.
4355         * nis/nss_compat/compat-grp.c: Likewise.
4356         * nis/nss_compat/compat-initgroups.c: Likewise.
4357         * nis/nss_compat/compat-pwd.c: Likewise.
4358         * nis/nss_compat/compat-spwd.c: Likewise.
4359         * nis/nss_nis/nis-alias.c: Likewise.
4360         * nis/nss_nis/nis-ethers.c: Likewise.
4361         * nis/nss_nis/nis-grp.c: Likewise.
4362         * nis/nss_nis/nis-hosts.c: Likewise.
4363         * nis/nss_nis/nis-network.c: Likewise.
4364         * nis/nss_nis/nis-proto.c: Likewise.
4365         * nis/nss_nis/nis-pwd.c: Likewise.
4366         * nis/nss_nis/nis-rpc.c: Likewise.
4367         * nis/nss_nis/nis-service.c: Likewise.
4368         * nis/nss_nis/nis-spwd.c: Likewise.
4369         * nis/nss_nisplus/nisplus-alias.c: Likewise.
4370         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4371         * nis/nss_nisplus/nisplus-grp.c: Likewise.
4372         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4373         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
4374         * nis/nss_nisplus/nisplus-network.c: Likewise.
4375         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4376         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4377         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4378         * nis/nss_nisplus/nisplus-service.c: Likewise.
4379         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4380         * nis/ypclnt.c: Likewise.
4381         * nptl/libc_pthread_init.c: Likewise.
4382         * nss/getXXbyYY.c: Likewise.
4383         * nss/getXXent.c: Likewise.
4384         * nss/getXXent_r.c: Likewise.
4385         * nss/nss_db/db-XXX.c: Likewise.
4386         * nss/nss_db/db-netgrp.c: Likewise.
4387         * nss/nss_db/nss_db.h: Likewise.
4388         * nss/nss_files/files-XXX.c: Likewise.
4389         * nss/nss_files/files-alias.c: Likewise.
4390         * nss/nsswitch.c: Likewise.
4391         * posix/regex_internal.h: Likewise.
4392         * posix/wordexp.c: Likewise.
4393         * pwd/fgetpwent.c: Likewise.
4394         * resolv/res_hconf.c: Likewise.
4395         * resolv/res_libc.c: Likewise.
4396         * shadow/fgetspent.c: Likewise.
4397         * shadow/lckpwdf.c: Likewise.
4398         * shadow/sgetspent.c: Likewise.
4399         * socket/opensock.c: Likewise.
4400         * stdio-common/reg-modifier.c: Likewise.
4401         * stdio-common/reg-printf.c: Likewise.
4402         * stdio-common/reg-type.c: Likewise.
4403         * stdio-common/vfprintf.c: Likewise.
4404         * stdio-common/vfscanf.c: Likewise.
4405         * stdlib/abort.c: Likewise.
4406         * stdlib/cxa_atexit.c: Likewise.
4407         * stdlib/fmtmsg.c: Likewise.
4408         * stdlib/random.c: Likewise.
4409         * stdlib/setenv.c: Likewise.
4410         * string/strsignal.c: Likewise.
4411         * sunrpc/auth_none.c: Likewise.
4412         * sunrpc/bindrsvprt.c: Likewise.
4413         * sunrpc/create_xid.c: Likewise.
4414         * sunrpc/key_call.c: Likewise.
4415         * sunrpc/rpc_thread.c: Likewise.
4416         * sysdeps/arm/backtrace.c: Likewise.
4417         * sysdeps/generic/ldsodefs.h: Likewise.
4418         * sysdeps/generic/stdio-lock.h: Likewise.
4419         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
4420         * sysdeps/i386/backtrace.c: Likewise.
4421         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4422         * sysdeps/m68k/backtrace.c: Likewise.
4423         * sysdeps/mach/hurd/cthreads.c: Likewise.
4424         * sysdeps/mach/hurd/dirstream.h: Likewise.
4425         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
4426         * sysdeps/nptl/malloc-machine.h: Likewise.
4427         * sysdeps/nptl/stdio-lock.h: Likewise.
4428         * sysdeps/posix/dirstream.h: Likewise.
4429         * sysdeps/posix/getaddrinfo.c: Likewise.
4430         * sysdeps/posix/system.c: Likewise.
4431         * sysdeps/pthread/aio_suspend.c: Likewise.
4432         * sysdeps/s390/s390-32/backtrace.c: Likewise.
4433         * sysdeps/s390/s390-64/backtrace.c: Likewise.
4434         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4435         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4436         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
4437         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
4438         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
4439         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4440         * sysdeps/unix/sysv/linux/system.c: Likewise.
4441         * sysdeps/x86_64/backtrace.c: Likewise.
4442         * time/alt_digit.c: Likewise.
4443         * time/era.c: Likewise.
4444         * time/tzset.c: Likewise.
4445         * wcsmbs/wcsmbsload.c: Likewise.
4446         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
4447         instead of <bits/libc-lock.h> in comment.
4449 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
4451         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
4452         Only use .set mips2 if the current ISA is below mips2.
4453         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
4454         Likewise.
4455         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
4456         mips32r2 if the current ISA is below mips32r2.
4457         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
4458         (TLS_IE): Updated to use the TLD_RDHWR macro.
4459         (TLS_LE): Likewise.
4460         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
4461         __ASSEMBLER__ condition.
4463 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4465         Fix parallel build of before-compile targets.
4467         * sysdeps/mach/Makefile ($(patsubst
4468         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
4469         mach-before-compile target.
4470         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4471         io fs process)): Move rule to dedicated hurd-before-compile target.
4473 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4475         Fix rules generating headers in hurd/ and mach/ when initial make call
4476         has subdir= explicitly set.
4478         * sysdeps/mach/Makefile ($(patsubst
4479         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
4480         calling $(MAKE).
4481         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4482         io fs process)): Force subdir to hurd when calling $(MAKE).
4483         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
4484         subdir to mach when calling $(MAKE).
4486 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
4488         Check sysheaders when looking for Mach and Hurd headers
4490         * sysdeps/mach/configure.ac: Add sysheaders check.
4491         * sysdeps/mach/configure: Regenerate.
4492         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
4493         * sysdeps/mach/hurd/configure: Regenerate.
4495 2015-09-04  Roland McGrath  <roland@hack.frob.com>
4497         [BZ #18921]
4498         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
4499         Fix inverted sense of test of 'o_directory_works' value.
4500         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
4501         Bernhard Voelker <mail@bernhard-voelker.de>.
4503 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4505         [BZ #14912]
4506         * bits/linkmap.h: Move to ...
4507         * sysdeps/generic/linkmap.h: ...here.
4508         * sysdeps/aarch64/bits/linkmap.h: Move to ...
4509         * sysdeps/aarch64/linkmap.h: ...here.
4510         * sysdeps/arm/bits/linkmap.h: Move to ...
4511         * sysdeps/arm/linkmap.h: ...here.
4512         * sysdeps/hppa/bits/linkmap.h: Move to ...
4513         * sysdeps/hppa/linkmap.h: ...here.
4514         * sysdeps/ia64/bits/linkmap.h: Move to ...
4515         * sysdeps/ia64/linkmap.h: ...here.
4516         * sysdeps/mips/bits/linkmap.h: Move to ...
4517         * sysdeps/mips/linkmap.h: ...here.
4518         * sysdeps/s390/bits/linkmap.h: Move to ...
4519         * sysdeps/s390/linkmap.h: ...here.
4520         * sysdeps/sh/bits/linkmap.h: Move to ...
4521         * sysdeps/sh/linkmap.h: ...here.
4522         * sysdeps/x86/bits/linkmap.h: Move to ...
4523         * sysdeps/x86/linkmap.h: ...here.
4524         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
4526 2015-09-04  Andreas Schwab  <schwab@suse.de>
4528         [BZ #18635]
4529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
4530         (__makecontext): Terminate FDE before return label.
4531         (__novec_makecontext): Likewise.
4533 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4535         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
4536         first member of struct sv in syscall macro.
4538 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4540         [BZ #14912]
4541         * bits/stdio-lock.h: Move to ...
4542         * sysdeps/generic/stdio-lock.h: ...here.
4543         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4544         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
4545         * sysdeps/nptl/stdio-lock.h: ...here.
4546         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4547         * include/libio.h: Include <stdio-lock.h> instead of
4548         <bits/stdio-lock.h>.
4549         * sysdeps/nptl/fork.c: Likewise.
4550         * sysdeps/pthread/flockfile.c: Likewise.
4551         * sysdeps/pthread/ftrylockfile.c: Likewise.
4552         * sysdeps/pthread/funlockfile.c: Likewise.
4554         [BZ #14912]
4555         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
4556         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
4557         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
4558         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
4559         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
4560         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4561         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
4563 2015-09-03  Roland McGrath  <roland@hack.frob.com>
4565         * elf/Makefile (test-xfail-tst-protected1a): New variable.
4566         (test-xfail-tst-protected1b): New variable.
4568 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
4570         [BZ #14912]
4571         * bits/libc-tsd.h: Move to ...
4572         * sysdeps/generic/libc-tsd.h: ...here.
4573         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
4574         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
4575         * sysdeps/mach/hurd/libc-tsd.h: ...here.
4576         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
4577         * include/ctype.h: Include <libc-tsd.h> instead of
4578         <bits/libc-tsd.h>.
4579         * include/rpc/rpc.h: Likewise.
4580         * locale/localeinfo.h: Likewise.
4581         * sunrpc/rpc_thread.c: Likewise.
4582         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
4583         * sysdeps/nptl/malloc-machine.h: Likewise.
4585         * Makefile (headers): Remove bits/libc-lock.h.
4586         * libio/Makefile (headers): Remove bits/stdio-lock.h.
4588         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
4589         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
4590         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
4591         <bits/stdio-lock.h>.
4592         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
4593         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
4595 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4597         [BZ #18757]
4598         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
4599         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
4600         BZ #18757.
4602 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4604         * malloc/mtrace.pl: Filter out NULL entries.
4606 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
4608         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
4609         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
4610         macro.
4612         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
4613         (TCP_CC_INFO): Likewise.
4614         (TCP_SAVE_SYN): Likewise.
4615         (TCP_SAVED_SYN): Likewise.
4617 2015-08-31  Brett Neumeier <brett@neumeier.us>
4619         [BZ #18870]
4620         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
4622 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
4624         [BZ #18873]
4625         Fix broken overflow check in posix_fallocate
4626         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
4627         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4628         Fix parenthesization typo.
4630 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
4632         [BZ #18887]
4633         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
4634         tst-mntent-blank-passno.
4635         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
4636         * misc/tst-mntent-blank-corrupt.c: New test.
4637         * misc/tst-mntent-blank-passno.c: New test ripped from ...
4638         * misc/tst-mntent.c (do_test): ... here.
4640 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
4642         [BZ #4404]
4643         * po/de.po: Fix SIGALRM typo.
4645 2015-08-28  James Perkins  <james@loowit.net>
4647         * time/tst-strptime2.c (tests): Replace short list of test
4648         strings for strptime %z specifier with code which exhaustively
4649         tests every combination of sign and 0 to 5 digits. Tests for
4650         rejection of invalid strings.
4652 2015-08-28  James Perkins  <james@loowit.net>
4654         [BZ #16141]
4655         * time/strptime_l.c (__strptime_internal): Fix %z minutes
4656         calculation, removing incorrect decimal time rounding, so that
4657         all minute values result in a valid seconds value.
4658         * time/strptime_l.c (__strptime_internal): Extend %z time zone
4659         offset range limits to UTC-99:59 through UTC+99:59 to parse
4660         current and historical use cases.
4661         * time/tst-strptime2.c (tests): Modify and add tests for the
4662         strptime %z input field descriptor, specifically conversion of
4663         minutes to seconds and validating an offset range of -9959 to
4664         +9959.
4666 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4667             Dmitry V. Levin  <ldv@altlinux.org>
4669         [BZ #18877]
4670         * posix/Makefile (tests): Add tst-mmap-offset.
4671         * posix/tst-mmap.c: New file.
4672         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
4673         offset calculation for negative values.
4675 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4677         * sysdeps/i386/init-arch.h: New file.
4678         * sysdeps/i386/i586/init-arch.h: Likewise.
4679         * sysdeps/i386/i686/init-arch.h: Likewise.
4680         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
4681         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
4682         * sysdeps/x86/cpu-features.h (bit_I586): New.
4683         (bit_I686): Likewise.
4684         (bit_CX8): Likewise.
4685         (bit_CMOV): Likewise.
4686         (index_CX8): Likewise.
4687         (index_CMOV): Likewise.
4688         (index_I586): Likewise.
4689         (index_I686): Likewise.
4690         (reg_CX8): Likewise.
4691         (reg_CMOV): Likewise.
4692         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
4693         available at compile-time.
4694         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
4695         available at compile-time.
4696         * sysdeps/x86/init-arch.h (USE_I586): New macro.
4697         (USE_I686): Likewise.
4699 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4701         * sysdeps/i386/bcopy.S: New file.
4702         * sysdeps/i386/bzero.S: Likewise.
4703         * sysdeps/i386/memcpy.S: Likewise.
4704         * sysdeps/i386/memmove.S: Likewise.
4705         * sysdeps/i386/mempcpy.S: Likewise.
4706         * sysdeps/i386/memset.S: Likewise.
4707         * sysdeps/i386/bzero.c: Removed.
4708         * sysdeps/i386/memset.c: Likewise.
4709         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
4710         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
4711         * sysdeps/i386/i586/memset_chk.S: Likewise.
4712         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
4713         * sysdeps/i386/memcpy_chk.S: Here.
4714         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
4715         * sysdeps/i386/memmove_chk.S: Here.
4716         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
4717         * sysdeps/i386/mempcpy_chk.S: Likewise.
4718         * sysdeps/i386/i686/memset_chk.S: Moved to ...
4719         * sysdeps/i386/memset_chk.S: Likewise.
4721 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
4723         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
4724         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
4725         file, move DIAG_POP_NEEDS_COMMENT to end of file.
4726         * soft-fp/fmadf4.c: Ditto.
4727         * soft-fp/fmatf4.c: Ditto.
4729 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4731         * sysdeps/i386/i586/Implies: Removed.
4732         * sysdeps/i386/i686/Implies: Likewise.
4734 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4736         * sysdeps/i386/i486/strlen.S: Moved to ...
4737         * sysdeps/i386/strlen.S: Here.
4739 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4741         * sysdeps/i386/i486/strcat.S: Moved to ...
4742         * sysdeps/i386/strcat.S: Here.
4744 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4746         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
4747         * sysdeps/i386/pthread_spin_trylock.S: Here.
4748         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
4749         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
4751 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4753         * sysdeps/i386/i486/string-inlines.c: Moved to ...
4754         * sysdeps/i386/string-inlines.c: Here.
4756 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4758         * sysdeps/i386/i486/htonl.S: Moved ...
4759         * sysdeps/i386/htonl.S: here.
4761 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4763         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
4764         * sysdeps/i386/bits/atomic.h: Here.
4766 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4768         * sysdeps/i386/i486/Versions: Removed.
4770 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4772         [BZ #2898]
4773         * misc/mktemp.c: Add mkdtemp to the link_warning message.
4774         Based on patch by Aurelien Jarno.
4776 2015-08-26  Stan Shebs  <stanshebs@google.com>
4778         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
4779         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4781 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4783         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
4784         * sysdeps/powerpc/dl-procinfo.c:
4785         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
4786         feature so it shows when LD_SHOW_AUXV=1.
4788 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4790         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4791         (__arch_compare_and_exchange_val_32_acq): Remove and use common
4792         definition.  ISA 2.07B no longer requires full sync.
4794 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
4796         [BZ #18863]
4797         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
4798         (si_call_addr): Define.
4799         (si_syscall): Define.
4800         (si_arch): Define.
4802 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4804         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
4805         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
4806         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
4807         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4808         (__memset_zero_constant_len_parameter): New.
4809         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
4810         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4811         (__memset_zero_constant_len_parameter): Don't define if
4812         __memset_chk or USE_AS_BZERO are defined.
4814         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
4815         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
4816         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
4818         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
4819         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
4820         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
4821         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
4822         comments.
4823         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
4824         -mno-mmx for $(all-rtld-routines).
4825         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
4826         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
4827         i386.
4829 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4831         * sysdeps/generic/unwind.h
4832         (_Unwind_Word): Use __mode__(__unwind_word__)
4833         instead of __mode__(__word__).
4834         (_Unwind_Sword): Likewise.
4836         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4837         (MAX_NEEDED_INPUT): New define.
4838         (MAX_NEEDED_OUTPUT): New define.
4840         * NEWS: New item for IBM z13 string optimizations.
4842         * sysdeps/s390/multiarch/memrchr-c.c: New File.
4843         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
4844         * sysdeps/s390/multiarch/memrchr.c: Likewise.
4845         * sysdeps/s390/multiarch/Makefile
4846         (sysdep_routines): Add memrchr functions.
4847         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4848         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
4850         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
4851         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
4852         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
4853         * sysdeps/s390/multiarch/Makefile
4854         (sysdep_routines): Add wmemcmp functions.
4855         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4856         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
4857         * benchtests/bench-wmemcmp.c: New File.
4858         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
4860         * sysdeps/s390/multiarch/wmemset-c.c: New File.
4861         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
4862         * sysdeps/s390/multiarch/wmemset.c: Likewise.
4863         * sysdeps/s390/multiarch/Makefile
4864         (sysdep_routines): Add wmemset functions.
4865         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4866         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
4867         * wcsmbs/wmemset.c: Use WMEMSET if defined.
4868         * string/test-memset.c: Add wmemset support.
4869         * wcsmbs/test-wmemset.c: New File.
4870         * wcsmbs/Makefile (strop-tests): Add wmemset.
4871         * benchtests/bench-memset.c: Add wmemset support.
4872         * benchtests/bench-wmemset.c: New File.
4873         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
4875         * sysdeps/s390/multiarch/memccpy-c.c: New File.
4876         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
4877         * sysdeps/s390/multiarch/memccpy.c: Likewise.
4878         * sysdeps/s390/multiarch/Makefile
4879         (sysdep_routines): Add memccpy functions.
4880         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4881         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
4882         * string/memccpy.c: Use MEMCCPY if defined.
4884         * sysdeps/s390/multiarch/memchr-vx.S: New File.
4885         * sysdeps/s390/multiarch/memchr.c: Likewise.
4886         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
4887         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
4888         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4889         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
4890         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
4891         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4892         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
4893         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4894         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
4895         and rawmemchr functions.
4896         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4897         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
4898         and wmemchr.
4899         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
4900         * string/test-memchr.c: Add wmemchr support.
4901         * wcsmbs/test-wmemchr.c: New File.
4902         * wcsmbs/Makefile (strop-tests): Add wmemchr.
4903         * benchtests/bench-memchr.c: Add wmemchr support.
4904         * benchtests/bench-wmemchr.c: New File.
4905         * benchtests/Makefile (wcsmbs-bench): wmemchr.
4907         * sysdeps/s390/multiarch/strcspn-c.c: New File.
4908         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
4909         * sysdeps/s390/multiarch/strcspn.c: Likewise.
4910         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
4911         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
4912         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
4913         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
4914         wcscspn functions.
4915         * sysdeps/s390/multiarch/ifunc-impl-list.c
4916         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
4917         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
4918         * string/test-strcspn.c: Add wcscspn support.
4919         * wcsmbs/test-wcscspn.c: New File.
4920         * wcsmbs/Makefile (strop-tests): Add wcscspn.
4921         * benchtests/bench-strcspn.c: Add wcscspn support.
4922         * benchtests/bench-wcscspn.c: New File.
4923         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
4925         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
4926         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
4927         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4928         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
4929         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
4930         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4931         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
4932         wcspbrk functions.
4933         * sysdeps/s390/multiarch/ifunc-impl-list.c
4934         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
4935         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
4936         * string/test-strpbrk.c: Add wcspbrk support.
4937         * wcsmbs/test-wcspbrk.c: New File.
4938         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
4939         * benchtests/bench-strpbrk.c: Add wcspbrk support.
4940         * benchtests/bench-wcspbrk.c: New File.
4941         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
4943         * sysdeps/s390/multiarch/strspn-c.c: New File.
4944         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
4945         * sysdeps/s390/multiarch/strspn.c: Likewise.
4946         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
4947         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
4948         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4949         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
4950         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
4951         wcsspn functions.
4952         * sysdeps/s390/multiarch/ifunc-impl-list.c
4953         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
4954         * string/test-strspn.c: Add wcsspn support.
4955         * wcsmbs/test-wcsspn.c: New File.
4956         * wcsmbs/Makefile (strop-tests): Add wcsspn.
4957         * benchtests/bench-strspn.c: Add wcsspn support.
4958         * benchtests/bench-wcsspn.c: New File.
4959         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
4961         * sysdeps/s390/multiarch/strrchr-c.c: New File.
4962         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
4963         * sysdeps/s390/multiarch/strrchr.c: Likewise.
4964         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
4965         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
4966         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
4967         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
4968         wcsrchr functions.
4969         * sysdeps/s390/multiarch/ifunc-impl-list.c
4970         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
4971         * benchtests/bench-wcsrchr.c: New File.
4972         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
4974         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
4975         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
4976         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
4977         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
4978         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
4979         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
4980         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
4981         wcschrnul functions.
4982         * sysdeps/s390/multiarch/ifunc-impl-list.c
4983         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
4984         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
4985         * string/test-strchr.c: Add wcschrnul support.
4986         * wcsmbs/test-wcschrnul.c: New File.
4987         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
4988         * benchtests/bench-strchr.c: Add wcschrnul support.
4989         * benchtests/bench-wcschrnul.c: New File.
4990         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
4992         * sysdeps/s390/multiarch/strchr-c.c: New File.
4993         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
4994         * sysdeps/s390/multiarch/strchr.c: Likewise.
4995         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
4996         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
4997         * sysdeps/s390/multiarch/wcschr.c: Likewise.
4998         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
4999         wcschr functions.
5000         * sysdeps/s390/multiarch/ifunc-impl-list.c
5001         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
5002         * string/strchr.c (STRCHR): Define and use macro.
5003         * benchtests/bench-wcschr.c: New File.
5004         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
5006         * sysdeps/s390/multiarch/strncmp-c.c: New File.
5007         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
5008         * sysdeps/s390/multiarch/strncmp.c: Likewise.
5009         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
5010         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
5011         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
5012         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
5013         wcsncmp functions.
5014         * sysdeps/s390/multiarch/ifunc-impl-list.c
5015         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
5016         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
5017         * benchtests/bench-strncmp.c: Add wcsncmp support.
5018         * benchtests/bench-wcsncmp.c: New File.
5019         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
5021         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
5022         * sysdeps/s390/multiarch/strcmp.c: Likewise.
5023         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
5024         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
5025         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5026         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
5027         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5028         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
5029         wcscmp functions.
5030         * sysdeps/s390/multiarch/ifunc-impl-list.c
5031         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
5032         * string/strcmp.c (STRCMP): Define and use macro.
5033         * benchtests/bench-wcscmp.c: New File.
5034         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
5035         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
5036         instead of _HAVE_STRING_ARCH_memchr.
5038         * sysdeps/s390/multiarch/strncat-c.c: New File.
5039         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
5040         * sysdeps/s390/multiarch/strncat.c: Likewise.
5041         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
5042         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
5043         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
5044         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
5045         wcsncat functions.
5046         * sysdeps/s390/multiarch/ifunc-impl-list.c
5047         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
5048         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
5049         * string/test-strncat.c: Add wcsncat support.
5050         * wcsmbs/test-wcsncat.c: New File.
5051         * wcsmbs/Makefile (strop-tests): Add wcsncat.
5052         * benchtests/bench-strncat.c: Add wcsncat support.
5053         * benchtests/bench-wcsncat.c: New File.
5054         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
5056         * sysdeps/s390/multiarch/strcat-c.c: New File.
5057         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
5058         * sysdeps/s390/multiarch/strcat.c: Likewise.
5059         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
5060         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
5061         * sysdeps/s390/multiarch/wcscat.c: Likewise.
5062         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
5063         wcscat functions.
5064         * sysdeps/s390/multiarch/ifunc-impl-list.c
5065         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
5066         * string/strcat.c (STRCAT): Define and use macro.
5067         * wcsmbs/wcscat.c: Use WCSCAT if defined.
5068         * string/test-strcat.c: Add wcscat support.
5069         * wcsmbs/test-wcscat.c: New File.
5070         * wcsmbs/Makefile (strop-tests): Add wcscat.
5071         * benchtests/bench-strcat.c: Add wcscat support.
5072         * benchtests/bench-wcscat.c: New File.
5073         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
5075         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
5076         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
5077         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5078         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
5079         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
5080         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
5081         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
5082         wcpncpy functions.
5083         * sysdeps/s390/multiarch/ifunc-impl-list.c
5084         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
5085         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
5086         * string/test-stpncpy.c: Add wcpncpy support.
5087         * wcsmbs/test-wcpncpy.c: New File.
5088         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
5089         * benchtests/bench-stpncpy.c: Add wcpncpy support.
5090         * benchtests/bench-wcpncpy.c: New File.
5091         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
5093         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
5094         * sysdeps/s390/multiarch/strncpy.c: Likewise.
5095         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
5096         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
5097         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
5098         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
5099         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5100         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
5101         wcsncpy functions.
5102         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
5103         * sysdeps/s390/multiarch/ifunc-impl-list.c
5104         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
5105         * string/test-strncpy.c: Add wcsncpy support.
5106         * wcsmbs/test-wcsncpy.c: New File.
5107         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
5108         * benchtests/bench-strncpy.c: Add wcsncpy support.
5109         * benchtests/bench-wcsncpy.c: New File.
5110         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
5112         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
5113         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
5114         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5115         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
5116         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
5117         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
5118         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
5119         wcpcpy functions.
5120         * string/stpcpy.c: Use STPCPY if defined.
5121         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
5122         * sysdeps/s390/multiarch/ifunc-impl-list.c
5123         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
5124         * string/test-stpcpy.c: Add wcpcpy support.
5125         * wcsmbs/test-wcpcpy.c: New File.
5126         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
5127         * benchtests/bench-stpcpy.c: Add wcpcpy support.
5128         * benchtests/bench-wcpcpy.c: New File.
5129         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
5131         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
5132         * sysdeps/s390/multiarch/strcpy.c: Likewise.
5133         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
5134         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
5135         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
5136         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
5137         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5138         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
5139         wcscpy functions.
5140         * sysdeps/s390/multiarch/ifunc-impl-list.c
5141         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
5142         * benchtests/bench-wcscpy.c: New File.
5143         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
5145         * sysdeps/s390/multiarch/strnlen-c.c: New File.
5146         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
5147         * sysdeps/s390/multiarch/strnlen.c: Likewise.
5148         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
5149         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
5150         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
5151         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
5152         wcsnlen functions.
5153         * sysdeps/s390/multiarch/ifunc-impl-list.c
5154         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
5155         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
5156         * string/test-strnlen.c: Add wcsnlen support.
5157         * wcsmbs/test-wcsnlen.c: New File.
5158         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
5159         * benchtests/bench-strnlen.c: Add wcsnlen support.
5160         * benchtests/bench-wcsnlen.c: New File.
5161         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
5163         * sysdeps/s390/multiarch/Makefile: New File.
5164         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
5165         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
5166         * sysdeps/s390/multiarch/strlen.c: Likewise.
5167         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
5168         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
5169         * sysdeps/s390/multiarch/wcslen.c: Likewise.
5170         * string/strlen.c (STRLEN): Define and use macro.
5171         * sysdeps/s390/multiarch/ifunc-impl-list.c
5172         (IFUNC_VX_IMPL): New macro function.
5173         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
5174         * benchtests/Makefile (wcsmbs-bench): New variable.
5175         (string-bench-all): Added wcsmbs-bench.
5176         * benchtests/bench-wcslen.c: New File.
5178         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
5179         s390_vx_libc_ifunc2): New macro function.
5181         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
5182         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
5183         assembler support.
5184         * sysdeps/s390/configure: Regenerated.
5186         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
5187         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
5189         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
5190         * sysdeps/s390/dl-procinfo.h: Add vector capability.
5191         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
5193         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5194         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
5195         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
5196         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
5197         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
5198         (memcmp, bcmp): Use __memcmp_default as alias source.
5199         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
5200         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
5201         Rename to __memcmp_default.
5202         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
5203         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
5204         (memcpy): Use __memcpy_default as alias source.
5205         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
5206         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
5207         Rename to __memcpy_default.
5208         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
5209         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
5210         (memset): Use __memset_default as alias source.
5211         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
5212         * sysdeps/s390/s390-32/memset.S (__memset_g5):
5213         Rename to __memset_default.
5214         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
5215         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
5216         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
5217         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
5218         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
5219         (memcmp, bcmp): Use __memcmp_default as alias source.
5220         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
5221         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
5222         Rename to __memcmp_default.
5223         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
5224         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
5225         (memcpy): Use __memcpy_default as alias source.
5226         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
5227         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
5228         Rename to __memcpy_default.
5229         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
5230         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
5231         (memset): Use __memset_default as alias source.
5232         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
5233         * sysdeps/s390/s390-64/memset.S (__memset_z900):
5234         Rename to __memset_default.
5235         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
5236         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
5238         [BZ #18610]
5239         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
5240         __ieee_instruction_pointer to __unused.
5241         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
5242         __ieee_instruction_pointer.
5243         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
5244         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
5245         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5246         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
5247         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
5248         Mark dxc-field as reserved.
5250 2015-08-25  Roland McGrath  <roland@hack.frob.com>
5252         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
5253         if the weak reference is not null.
5255 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5257         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
5259         [BZ #11214]
5260         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
5262 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5264         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
5265         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
5266         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
5267         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
5268         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
5269         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
5270         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
5271         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
5272         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
5273         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
5274         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
5275         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
5276         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
5277         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
5278         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
5279         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
5280         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
5281         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
5283 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5285         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
5286         register other than r0 for tabort, it has special meaning.
5287         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
5288         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
5289         transaction before starting syscall.
5291 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5293         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
5295 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5297         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
5299         * sysdeps/x86_64/rtld-memcmp.c: Removed.
5300         * sysdeps/x86_64/rtld-memset.S: Likewise.
5301         * sysdeps/x86_64/rtld-strchr.S: Likewise.
5302         * sysdeps/x86_64/rtld-strlen.S: Likewise.
5303         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
5304         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5306         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
5308 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
5310         * debug/strcpy_chk.c: Improve performance.
5311         * debug/stpcpy_chk.c: Likewise.
5312         * sysdeps/x86_64/strcpy_chk.S: Remove.
5313         * sysdeps/x86_64/stpcpy_chk.S: Remove.
5315         [BZ #18240]
5316         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
5318 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5320         [BZ #15128]
5321         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
5322         ifuncmain8.
5323         (modules-names): Add ifuncmod8.
5324         ($(objpfx)ifuncmain8): New rule.
5325         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
5326         <cpuid.h>.
5327         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
5328         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
5329         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
5330         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
5331         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
5332         * sysdeps/x86_64/dl-trampoline.h: Likewise.
5333         * sysdeps/x86_64/ifuncmain8.c: New file.
5334         * sysdeps/x86_64/ifuncmod8.c: Likewise.
5335         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
5336         Removed.
5337         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
5338         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
5339         Change rtld_savespace_sse to __glibc_unused2.
5340         (RTLD_CHECK_FOREIGN_CALL): Removed.
5341         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
5342         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
5343         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
5345 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
5347         * sysdeps/aarch64/bzero.S (__bzero): Remove.
5349 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
5351         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
5352         Unconditionally set __fpcr to avoid uninialized warning.
5353         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
5355 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5357         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
5358         is corrupt.
5360         * malloc/arena.c (arena_get2): Drop unused argument.
5361         (arena_lock): Adjust.
5362         (arena_get_retry): Likewise.
5364 2015-08-24  Andreas Schwab  <schwab@suse.de>
5366         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
5367         Don't define.
5368         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5369         (__ASSUME_IPC64): Don't undef.
5370         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
5371         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5372         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5373         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
5374         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
5375         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
5376         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
5377         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
5378         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
5379         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
5380         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
5381         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
5382         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
5383         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
5384         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
5385         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
5386         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
5387         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
5388         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
5389         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
5390         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
5392 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
5394         * manual/Makefile (install): Only build manual when perl is available.
5396 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5398         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
5399         '#undef memcpy' by '#undef memchr'.
5401 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5403         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
5404         memchr not point to the internal __GI_memchr implementation.
5406 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
5408         * timezone/Makefile (CFLAGS-zdump.c): Remove
5409         -Wno-strict-prototypes.
5410         (CFLAGS-zic.c): Likewise.
5411         (CFLAGS-ialloc.c): Likewise.
5412         (CFLAGS-scheck.c): Likewise.
5414         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
5415         -Wno-error=undef.
5417 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5419         * i386/i686/multiarch/strcasestr-c.c: Removed.
5420         * x86_64/multiarch/strcasestr.c: Likewise.
5421         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5422         Remove strcasestr.
5424 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
5426         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
5428         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
5429         variables for high and low parts before possibly modifying them.
5431 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5433         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
5434         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
5435         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
5436         of "multiarch/init-arch.h".
5437         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
5438         * sysdeps/x86/init-arch.h: This.
5440 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5442         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
5443         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
5445 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
5447         [BZ #17787]
5448         * manual/macros.texi: Add twoexp macro.
5449         * manual/filesys.texi: Fix exponents.
5450         * manual/llio.texi: Likewise.
5451         * manual/stdio.texi: Likewise.
5453 2015-08-20  Florian Weimer  <fweimer@redhat.com>
5455         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
5456         incorrect use.
5458 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
5460         [BZ #18370]
5461         * math/s_csqrt.c (__csqrt): Force underflow exception for results
5462         whose real or imaginary part has small absolute value.
5463         * math/s_csqrtf.c (__csqrtf): Likewise.
5464         * math/s_csqrtl.c (__csqrtl): Likewise.
5465         * math/auto-libm-test-in: Add more tests of csqrt.
5466         * math/auto-libm-test-out: Regenerated.
5467         * sysdeps/i386/fpu/libm-test-ulps: Update.
5469 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5471         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
5472         __ppc_set_ppr_very_low): New functions.
5473         * manual/platform.texi: Add documentation about
5474         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
5476 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
5478         * string/stpncpy.c (stpncpy): Improve performance using
5479         __strnlen/memcpy/memset.
5481 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5483         [BZ #18796]
5484         * scripts/test-installation.pl: Don't add -lmvec to build options if
5485         libmvec wasn't built.
5487 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
5489         [BZ #14341]
5490         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
5491         case when there is a gap between DT_REL and DT_JMPREL sections.
5492         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
5493         (LDFLAGS-tst-split-dynreloc): New.
5494         (tst-split-dynreloc-ENV): Likewise.
5495         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
5496         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
5498 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5500         [BZ #18822]
5501         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
5502         attribute_hidden.
5503         (__xstat64_conv): Likewise.
5504         (__xstat32_conv): Likewise.
5506 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5508         [BZ #18822]
5509         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
5510         Don't load %ebx when calling __setcontext.  Call __setcontext
5511         with HIDDEN_JUMPTARGET.
5512         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
5513         libc_hidden_def.
5515 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5517         * sysdeps/i386/i686/Makefile
5518         [$(subdir) == string] (sysdep_routines): Moved to ...
5519         * sysdeps/i386/Makefile: Here.
5520         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
5521         * sysdeps/i386/cacheinfo.c: Here.
5522         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
5523         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
5524         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
5525         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
5527 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5529         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
5530         __i586__ is defined.
5531         (HAS_I686): Defined to 1 if __i686__ is defined.
5533 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
5535         * elf/Makefile [$(have-z-execstack) = yes]
5536         (CPPFLAGS-tst-execstack.c): New variable.
5538         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
5539         conditional to [defined UTMPX || _HAVE_UT_TYPE].
5540         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
5541         UTMPX || _HAVE_UT_TV].
5542         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
5543         UTMPX || _HAVE_UT_TV - 0].
5545 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
5547         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
5548         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
5549         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
5551 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5553         * sysdeps/powerpc/dl-procinfo.c:
5554         (_dl_powerpc_cap_flags): Added missing strings for some
5555         hwcap features.
5556         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
5558 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
5560         Port the 0x7efe...feff pattern to GCC 6.
5561         See Steve Ellcey's bug report in:
5562         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
5563         * string/memrchr.c (MEMRCHR):
5564         * string/rawmemchr.c (RAWMEMCHR):
5565         * string/strchr.c (strchr):
5566         * string/strchrnul.c (STRCHRNUL):
5567         Rewrite code to avoid issues with signed shift overflow.
5569 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
5571         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
5572         whether cpuid is available only if HAS_CPUID is 0.
5573         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
5574         (HAS_I586): Likewise.
5575         (HAS_I686): Likewise.
5577 2015-08-18  Zack Weinberg  <zackw@panix.com>
5579         * misc/Versions (libc): Add GLIBC_2.23.
5581 2015-08-18  Alan Modra  <amodra@gmail.com>
5583         [BZ #18421]
5584         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
5585         .Lp__global.
5586         (_start): Load %dp via .Lp__global.
5587         [!SHARED]: Use .section .rodata.
5589 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5591         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
5592         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
5594 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5596         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
5597         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
5599 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5601         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
5602         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
5604 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5606         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
5607         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
5609 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5611         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
5612         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
5614 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5616         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
5617         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
5619 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5621         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
5623 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5625         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
5626         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
5627         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5628         (__ASSUME_LWS_CAS): Delete.
5630 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5632         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
5633         * sysdeps/hppa/configure: Regenerated.
5634         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
5635         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
5636         * sysdeps/hppa/nptl/tls.h: Likewise.
5638 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
5640         [BZ #18823]
5641         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
5642         for scaling up small arguments.
5643         * math/s_csqrtf.c (__csqrtf): Likewise.
5644         * math/s_csqrtl.c (__csqrtl): Likewise.
5645         * math/auto-libm-test-in: Add more tests of csqrt.
5646         * math/auto-libm-test-out: Regenerated.
5648 2015-08-17  Andreas Schwab  <schwab@suse.de>
5650         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
5651         version set GLIBC_2.19.
5653 2015-08-16  Zack Weinberg  <zackw@panix.com>
5655         [BZ #18681]
5656         * misc/regexp.h: This interface is no longer supported.
5657         Remove all contents, leaving only an #error directive.
5658         * misc/regexp.c (loc1, loc2, locs, step, advance):
5659         Demote to compatibility symbols.
5661 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
5663         [BZ #18084]
5664         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
5665         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
5666         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5667         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
5668         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
5669         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
5670         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
5671         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
5672         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5674 2015-08-15  Zack Weinberg  <zackw@panix.com>
5676         [BZ #18795]
5677         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
5678         buffer length is known to be too large, not if it's known to be
5679         small enough.
5680         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
5681         overflow at runtime, involving a length parameter, twice: once
5682         with a compile-time constant length parameter, once without.
5684 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
5686         [BZ #18824]
5687         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
5688         scaling x * y up instead of down.
5689         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5690         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5691         * math/auto-libm-test-in: Add more tests of fma.
5692         * math/auto-libm-test-out: Regenerated.
5694 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5696         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5698 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5700         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
5701         unnecessary movq.
5702         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
5703         Likewise.
5705 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
5707         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5708         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
5709         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
5710         and tgamma.
5711         * math/auto-libm-test-out: Regenerated.
5712         * sysdeps/i386/fpu/libm-test-ulps: Update.
5713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5715         [BZ #16520]
5716         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
5717         (__tanh): Force underflow exception for arguments with small
5718         absolute value.
5719         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
5720         (__tanhf): Force underflow exception for arguments with small
5721         absolute value.
5722         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
5723         (__tanhl): Force underflow exception for arguments with small
5724         absolute value.
5725         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
5726         (__tanhl): Force underflow exception for arguments with small
5727         absolute value.
5728         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
5729         (__tanhl): Force underflow exception for arguments with small
5730         absolute value.
5731         * math/auto-libm-test-in: Add more tests of tanh.
5732         * math/auto-libm-test-out: Regenerated.
5733         * sysdeps/i386/fpu/libm-test-ulps: Update.
5735 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5737         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
5738         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
5740 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5742         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
5743         <cpuid.h>.
5745 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5747         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
5748         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
5750 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5752         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
5753         Remove $(objpfx)init-arch.o.
5754         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
5755         init-arch.
5756         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
5757         (INIT_ARCH_EXT): Defined as empty.
5758         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
5759         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
5760         __init_cpu_features call.  Replace HAS_XXX with
5761         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5762         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
5763         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
5764         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
5765         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
5766         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
5767         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
5768         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
5769         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
5770         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
5771         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
5772         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
5773         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
5774         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
5775         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
5776         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
5777         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
5778         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
5779         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
5780         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
5781         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
5782         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
5783         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
5784         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
5785         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
5786         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
5787         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
5788         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
5789         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
5790         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
5791         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
5792         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
5793         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
5794         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
5795         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
5796         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
5798 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5800         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
5801         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5802         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5803         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5804         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
5805         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
5806         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
5807         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
5808         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
5809         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
5810         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
5811         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
5812         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5813         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5814         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5815         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5816         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5817         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5818         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5819         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5820         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5821         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5822         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5823         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5824         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5825         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5826         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5827         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5828         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5829         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5830         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5831         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5832         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5833         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5834         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5835         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5836         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5837         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5838         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5839         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5840         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5841         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5842         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5844 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5846         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
5847         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5848         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5849         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5850         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5851         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
5852         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5853         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
5854         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5855         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5856         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5857         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
5858         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
5859         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
5860         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
5861         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
5862         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
5863         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
5864         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
5865         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
5866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5867         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
5868         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
5869         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5870         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5871         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
5872         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
5873         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
5874         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5875         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5876         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5877         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5878         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5879         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5880         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5881         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5882         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5883         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5884         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5885         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5886         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5887         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5888         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5890 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5892         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
5893         (dl_platform_init): Call init_cpu_features.
5894         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
5895         * sysdeps/i386/i686/cacheinfo.c
5896         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
5897         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
5898         * sysdeps/i386/i686/multiarch/Versions: Removed.
5899         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
5900         Removed.
5901         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
5902         * sysdeps/unix/sysv/linux/x86/Makefile
5903         (libpthread-sysdep_routines): Remove init-arch.
5904         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
5905         <sysdeps/x86_64/dl-procinfo.c> instead of
5906         sysdeps/generic/dl-procinfo.c>.
5907         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
5908         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
5909         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
5910         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
5911         [$(subdir) == elf] (tests-static): Add
5912         tst-get-cpu-features-static.
5913         * sysdeps/x86/Versions: New file.
5914         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
5915         * sysdeps/x86/cpu-features.c: Likewise.
5916         * sysdeps/x86/cpu-features.h: Likewise.
5917         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
5918         * sysdeps/x86/libc-start.c: Likewise.
5919         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5920         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
5921         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
5922         * sysdeps/x86_64/dl-procinfo.c: Likewise.
5923         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
5924         Assume USE_MULTIARCH is defined and don't check it.
5925         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
5926         (is_amd): Likewise.
5927         (max_cpuid): Likewise.
5928         (intel_check_word): Likewise.
5929         (__cache_sysconf): Don't call __init_cpu_features.
5930         (__x86_preferred_memory_instruction): Removed.
5931         (init_cacheinfo): Don't call __init_cpu_features. Replace
5932         __cpu_features with GLRO(dl_x86_cpu_features).
5933         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
5934         (dl_platform_init): Call init_cpu_features.
5935         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
5936         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
5937         * sysdeps/x86_64/multiarch/Versions: Removed.
5938         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
5939         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
5940         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
5941         Removed.
5942         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
5944 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5946         [BZ #18820]
5947         * libio/Makefile (test-fmemopen-mem): New test.
5948         * libio/test-fmemopen.c (do_bz18820): New test.
5949         * libio/fmemopen.c (__fmemopen): Fix memory leak.
5950         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
5952 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5954         [BZ #16734]
5955         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
5956         (FREE_BUF): Delete.
5957         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
5958         * libio/genops.c (_IO_setb): Use malloc and free directly.
5959         (_IO_default_doallocate, _IO_default_finish): Likewise.
5960         ( _IO_unbuffer_all): Likewise.
5961         ( libc_freeres_fn): Likewise.
5962         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5963         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5964         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
5965         (_IO_wdefault_doallocate): Likewise.
5967 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5969         [BZ #18086]
5970         * sysdeps/posix/nice.c (nice): Restore old errno.
5971         * posix/tst-nice.c (do_test): Add test for BZ #18086.
5973 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
5975         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
5977 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5979         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
5980         __bcopy and add a weak_alias to bcopy.
5981         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
5982         for static build.
5984         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
5985         cleanup macro usage.
5986         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
5987         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
5988         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5989         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
5990         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5991         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
5992         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
5993         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
5994         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5995         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
5996         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5997         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
5998         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5999         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
6000         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6001         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
6002         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
6003         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
6004         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
6006         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
6007         libc_hidden_def.
6008         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
6010         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
6011         (sysdep_routines): Add strstr-ppc64.
6012         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
6014 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
6016         [BZ #18778]
6017         * elf/Makefile (tests): Add Add tst-nodelete2.
6018         (modules-names): Add tst-nodelete2mod.
6019         (tst-nodelete2mod.so-no-z-defs): New.
6020         ($(objpfx)tst-nodelete2): Likewise.
6021         ($(objpfx)tst-nodelete2.out): Likewise.
6022         (LDFLAGS-tst-nodelete2): Likewise.
6023         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
6024         out of loop through all loaded libraries.
6025         * elf/tst-nodelete2.c: New file.
6026         * elf/tst-nodelete2mod.c: Likewise.
6027         * elf/tst-znodelete-zlib.cc: Delete.
6029 2015-08-11  Andreas Schwab  <schwab@suse.de>
6031         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
6032         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
6033         (__openat64_nocancel): Likewise.
6035 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
6037         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
6038         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
6039         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
6040         * math/auto-libm-test-out: Regenerated.
6041         * sysdeps/i386/fpu/libm-test-ulps: Update.
6042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6044 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
6046         [BZ #18790]
6047         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
6048         threshold for returning +/- 1.
6049         * math/auto-libm-test-in: Add more tests of tanh.
6050         * math/auto-libm-test-out: Regenerated.
6051         * sysdeps/i386/fpu/libm-test-ulps: Update.
6053 2015-08-10  Andreas Schwab  <schwab@suse.de>
6055         [BZ #18781]
6056         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
6057         MORE_OFLAGS to oflag.
6058         * io/test-lfs.c (do_test): Test openat64.
6060 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
6062         [BZ #18789]
6063         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
6064         smaller threshold for returning the argument.
6065         * math/auto-libm-test-in: Add more tests of sinh.
6066         * math/auto-libm-test-out: Regenerated.
6067         * sysdeps/i386/fpu/libm-test-ulps: Update.
6069 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
6071         [BZ #18674]
6072         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
6073         break.
6075 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6077         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
6078         (generated): Don't add $(addprefix z.,$(tzfiles)).
6080 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6082         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
6083         * scripts/sysd-rules.awk: Likewise.
6085 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6087         * iconvdata/tst-tables.sh: Change echo -n to printf.
6088         * nss/db-Makefile: Likewise.
6089         * posix/tst-getconf.sh: Likewise.
6090         * stdio-common/tst-unbputc.sh: Likewise.
6092 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6094         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
6095         MADV_*_PAGES defines behind this feature check.
6097 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
6099         [BZ #18480]
6100         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
6101         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
6102         Define.
6103         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
6104         LOAD_REGS_5, LOAD_REGS_6): Update.
6105         (INTERNAL_SYSCALL): Update using new LOAD defines.
6106         (INTERNAL_SYSCALL_NCS): Likewise.
6107         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
6109 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6111         [BZ #16734]
6112         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
6114 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6116         [BZ #17905]
6117         * catgets/Makefile (tst-catgets-mem): New test.
6118         * catgets/catgets.c (catopen): Don't use unbounded alloca.
6119         * catgets/open_catalog.c (__open_catalog): Likewise.
6120         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
6122 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
6124         [BZ #18787]
6125         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
6126         clobber registers.
6127         (atomic_compare_and_exchange_val_acq): Use register asms to assign
6128         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
6129         Cast return to __typeof (oldval).
6131 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
6133         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
6134         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
6135         and delete sys/syscall.h include.
6137 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
6139         [BZ #16517]
6140         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
6141         (tan): Force underflow exception for arguments with small absolute
6142         value.
6143         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
6144         (__kernel_tanf): Force underflow exception for arguments with
6145         small absolute value.
6146         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
6147         (__kernel_tanl): Force underflow exception for arguments with
6148         small absolute value.
6149         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
6150         (__kernel_tanl): Force underflow exception for arguments with
6151         small absolute value.
6152         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
6153         (__kernel_tanl): Force underflow exception for arguments with
6154         small absolute value.
6155         * math/auto-libm-test-in: Add more tests of tan.
6156         * math/auto-libm-test-out: Regenerated.
6158 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6160         Fix sysdeps/i386/fpu/s_scalbn.S build
6162         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
6164 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
6166         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
6168 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6170         Fix gcrt0.o compilation
6172         When static-start-installed-name is different from
6173         start-installed-name, we must not use the shared objects.
6175         * csu/Makefile
6176         (extra-objs): Add gmon-start.o when building shared library and
6177         $(static-start-installed-name) is different from
6178         $(start-installed-name).
6179         $(objpfx)g$(static-start-installed-name): When building shared
6180         library and $(static-start-installed-name) is different from
6181         $(static-start-installed-name), revert to non-shared rule,
6182         i.e. using $(objpfx)% and gmon-start.o.
6184 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
6186         [BZ #16519]
6187         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
6188         (__ieee754_sinh): Force underflow exception for arguments with
6189         small absolute value.
6190         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
6191         (__ieee754_sinhf): Force underflow exception for arguments with
6192         small absolute value.
6193         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
6194         (__ieee754_sinhl): Force underflow exception for arguments with
6195         small absolute value.
6196         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
6197         (__ieee754_sinhl): Force underflow exception for arguments with
6198         small absolute value.
6199         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
6200         (__ieee754_sinhl): Force underflow exception for arguments with
6201         small absolute value.
6202         * math/auto-libm-test-in: Add more tests of sinh.
6203         * math/auto-libm-test-out: Regenerated.
6204         * sysdeps/i386/fpu/libm-test-ulps: Update.
6206 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6208         * libio/oldfileops.c: Include unistd.h.
6210 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
6212         * stdlib/isomac.c: Include ctype.h.
6214 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
6216         * dirent/tst-seekdir.c (main): Converted to ...
6217         (do_test): ... this.
6218         (TEST_FUNCTION): New macro.
6219         Include test-skeleton.c.
6220         * elf/tst-dlmodcount.c (main): Converted to ...
6221         (do_test): ... this.
6222         (TEST_FUNCTION): New macro.
6223         Include test-skeleton.c.
6224         * elf/tst-order-main.c (main): Converted to ...
6225         (do_test): ... this.
6226         (TEST_FUNCTION): New macro.
6227         Include test-skeleton.c.
6228         * elf/tst-pie2.c (main): Converted to ...
6229         (do_test): ... this.
6230         (TEST_FUNCTION): New macro.
6231         Include test-skeleton.c.
6232         * inet/tst-ether_aton.c (main): Converted to ...
6233         (do_test): ... this.
6234         (TEST_FUNCTION): New macro.
6235         Include test-skeleton.c.
6236         * misc/tst-mntent.c (main): Converted to ...
6237         (do_test): ... this.
6238         (TEST_FUNCTION): New macro.
6239         Include test-skeleton.c.
6240         * misc/tst-tsearch.c (main): Converted to ...
6241         (do_test): ... this.
6242         (TEST_FUNCTION): New macro.
6243         Include test-skeleton.c.
6244         * posix/tst-regexloc.c (main): Converted to ...
6245         (do_test): ... this.
6246         (TEST_FUNCTION): New macro.
6247         Include test-skeleton.c.
6248         * resolv/tst-aton.c (main): Converted to ...
6249         (do_test): ... this.
6250         (TEST_FUNCTION): New macro.
6251         Include test-skeleton.c.
6252         * stdio-common/test-fwrite.c (main): Converted to ...
6253         (do_test): ... this.
6254         (TEST_FUNCTION): New macro.
6255         Include test-skeleton.c.
6256         * stdio-common/tst-ferror.c (main): Converted to ...
6257         (do_test): ... this.
6258         (TEST_FUNCTION): New macro.
6259         Include test-skeleton.c.
6260         * stdio-common/tst-printf.c (main): Converted to ...
6261         (do_test): ... this.
6262         (TEST_FUNCTION): New macro.
6263         Include test-skeleton.c.
6264         * stdio-common/tst-printfsz.c (main): Converted to ...
6265         (do_test): ... this.
6266         (TEST_FUNCTION): New macro.
6267         Include test-skeleton.c.
6268         * stdlib/tst-strtod.c (main): Converted to ...
6269         (do_test): ... this.
6270         (TEST_FUNCTION): New macro.
6271         Include test-skeleton.c.
6272         * string/tst-strlen.c (main): Converted to ...
6273         (do_test): ... this.
6274         (TEST_FUNCTION): New macro.
6275         Include test-skeleton.c.
6276         * string/tst-svc.c (main): Converted to ...
6277         (do_test): ... this.
6278         (TEST_FUNCTION): New macro.
6279         Include test-skeleton.c.
6280         * time/tst-strptime.c (main): Converted to ...
6281         (do_test): ... this.
6282         (TEST_FUNCTION): New macro.
6283         Include test-skeleton.c.
6284         * timezone/tst-timezone.c (main): Converted to ...
6285         (do_test): ... this.
6286         (TEST_FUNCTION): New macro.
6287         Include test-skeleton.c.
6289 2015-08-05  Zack Weinberg  <zackw@panix.com>
6291         * misc/regexp.h: Update comments.
6293 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
6295         [BZ #18635]
6296         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
6297         before return label.
6299 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6301         [BZ #18661]
6302         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
6303         when calling __errno_location.
6304         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
6305         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
6307 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6309         [BZ #18661]
6310         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
6311         (__lll_timedwait_tid): Align stack to 16 bytes when calling
6312         __gettimeofday.
6314 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6316         [BZ #18661]
6317         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6318         (__start_context): Don't use pop to restore %rdi so that stack
6319         is aligned to 16 bytes when calling __setcontext.
6321 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6323         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
6324         only for libc.
6325         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6327 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6329         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
6330         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
6331         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
6333 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6335         * string/memccpy.c (memccpy):
6336         Improve performance by using memchr/memcpy/__mempcpy.
6338 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6340         * string/strncpy.c (strncpy):
6341         Improve performance by using __strnlen/memcpy.
6343 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6345         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6346         Optimize to avoid an unnecessary FPCR read.
6348 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6350         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6351         Optimize to reduce FPCR/FPSR accesses.
6353 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6355         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
6356         dead->data[category] != NULL.
6358 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
6360         [BZ #18647]
6361         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
6362         and |x| close to 1, use absolute value of x when computing log.
6363         * math/auto-libm-test-in: Add more tests of pow.
6364         * math/auto-libm-test-out: Regenerated.
6366 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6368         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
6369         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
6370         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
6372 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
6374         [BZ #18525]
6375         * locales/km_KH: Remove timezone definition.
6376         * locales/lo_LA: Likewise.
6377         * locales/my_MM: Likewise.
6378         * locales/nan_TW@latin: Likewise.
6379         * locales/th_TH: Likewise.
6380         * locales/uk_UA: Likewise.
6382 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
6384         [BZ #18265]
6385         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
6386         (wcsncat): Likewise.
6387         (wcscmp): Likewise.
6388         (wcsncmp): Likewise.
6390 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6392         * test-skeleton.c (usage): New function.
6393         (main): Call usage when opt is '?'.
6395 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6397         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
6398         before first use.
6400 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6402         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
6403         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
6404         in there too.
6406 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
6408         * version.h (RELEASE): Set to "development".
6409         (VERSION): Set to "2.22.90"
6411         * version.h (RELEASE): Set to "stable".
6412         (VERSION): Set to "2.22"
6413         * include/features.h (__GLIBC_MINOR__): Set to 22.
6415 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
6417         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
6418         Restructure macro to avoid "value computed is not used" warning.
6419         (atomic_compare_and_exchange_val_acq): Likewise.
6421 2015-08-04  Andreas Schwab  <schwab@suse.de>
6423         [BZ #18635]
6424         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
6425         ret.
6426         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
6428 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
6430         * po/pl.po: Updated translation.
6431         * po/uk.po: Likewise.
6432         * po/fi.po: Likewise.
6433         * po/ko.po: Likewise.
6434         * po/ru.po: Likewise.
6435         * po/vi.po: Likewise.
6437 2015-07-31  Zack Weinberg  <zackw@panix.com>
6439         [BZ #18681]
6440         * regexp.h: Add unconditional #warning stating that this header
6441         will be removed soon.  Revise banner comment to match.
6442         (compile): Consistently use ERROR instead of RETURN to report
6443         errors (partial fix for bz#18681).
6444         * regexp.c: Don't include regexp.h. Remove some unnecessary
6445         declarations.
6447 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
6449         * po/libc.pot: Regenerated.
6451 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6453         [BZ #18740]
6454         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
6455         float-vlen4-arch-ext-cflags): Removed.
6456         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
6457         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
6459 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6461         [BZ #14113]
6462         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
6463         aligned to __aligned__.
6464         (pthread_cond_t, pthread_rwlock_t): Likewise.
6466 2015-07-30  Torvald Riegel  <triegel@redhat.com>
6468         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
6470 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6472         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
6473         (struct sigaction): Change sa_flags from a long to an int, and add
6474         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
6476 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6478         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
6479         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
6480         sysdeps/generic/sysdep.h include.
6481         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
6482         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
6483         sysdeps/hppa/sysdep.h.
6484         (ENTRY, PSEUDO): Undefine before defining.
6486 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6488         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
6489         from scratch to use INTERNAL_SYSCALL.
6491 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
6493         [BZ #18078]
6494         * scripts/check-localplt.awk: Support alternate relocations.
6495         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
6496         sections.
6497         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
6498         malloc entries with + REL R_386_GLOB_DAT.
6499         * sysdeps/x86_64/localplt.data: New file.
6501 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
6503         [BZ #18731]
6504         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
6505         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6506         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6508 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6510         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
6512 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6514         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
6515         directly in terms of __sync_fetch_and_add and delete (int) cast.
6517 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6519         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
6520         the -D_ASM_IA64_CURRENT_H flag.
6522 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6524         [BZ #18641]
6525         * pwd/pwd.h (putpwent): Delete __nonnull markings.
6527 2015-07-27  Andreas Schwab  <schwab@suse.de>
6529         * conform/conformtest.pl (checknamespace): Filter out string
6530         literals while tokenizing.
6532 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6534         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6535         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
6536         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6538 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6540         * nptl/tst-join7mod.c: Add #include <string.h>.
6542 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6544         * sysdeps/nios2/libm-test-ulps: Update.
6546 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6548         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
6549         Fix order of arguments to the rt_sigprocmask syscall.
6550         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
6551         Likewise.
6553 2015-07-24  Roland McGrath  <roland@hack.frob.com>
6555         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
6557 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6559         [BZ #18457]
6560         * nptl/Makefile (tests): New test case tst-join7.
6561         (modules-names): New test case module tst-join7mod.
6562         * nptl/tst-join7.c: New file.
6563         * nptl/tst-join7mod.c: New file.
6564         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
6565         all translation units in libc.so, libpthread.so and rtld.
6567 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6571 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
6573         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
6574         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
6575         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
6576         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
6577         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
6578         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
6579         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
6580         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
6581         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
6582         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
6583         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
6584         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
6585         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
6586         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
6587         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
6588         implementation.
6590 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6592         [BZ #17711]
6593         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6594         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
6595         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6596         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6597         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
6598         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6600 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6602         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
6603         instead of just saying load lock in the comments.
6605 2015-07-23  Roland McGrath  <roland@hack.frob.com>
6607         * sysdeps/unix/Subdirs: Moved ...
6608         * sysdeps/posix/Subdirs: ... here.
6609         * login/pty.h (struct termios, struct winsize): Add forward decls.
6610         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
6611         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
6612         * sysdeps/arm/nacl/libc.abilist: Updated.
6613         * sysdeps/nacl/libutil.abilist: New file.
6615         * bits/signum.h: Update comments to mention 1003.1-2013 too.
6616         (SIGWINCH): New macro.
6618         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
6619         * sysdeps/arm/nacl/libc.abilist: Add it.
6621 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6623         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
6625 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6627         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6628         Swap __glibc_reserved0 and sa_flags order.
6630 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6632         [BZ #18657]
6633         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
6634         are pending TLS destructor calls.
6635         * include/link.h (struct link_map): Add concurrency note for
6636         L_TLS_DTOR_COUNT.
6637         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6638         Don't touch the link map flag.  Atomically increment
6639         l_tls_dtor_count.
6640         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
6641         Avoid taking the load lock and don't touch the link map flag.
6642         * stdlib/tst-tls-atexit-nodelete.c: New test case.
6643         * stdlib/Makefile (tests): Use it.
6644         * stdlib/tst-tls-atexit.c (do_test): dlopen
6645         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
6646         to allow tst-tls-atexit-nodelete test case to use it.
6648 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6650         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
6651         to bits/types.h.
6652         (msgqnum_t): New typedef.
6653         (msglen_t): Likewise.
6654         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
6655         and msg_qbytes type to msglen_t.
6657 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6659         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
6660         pad0 to __glibc_reserved0.
6661         (struct stat64): Likewise.
6663 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6665         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6666         Change sa_flags from a long to an int and add __glibc_reserved0 before
6667         it for padding.
6669 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6671         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
6672         anonymous by deleting "siginfo" name.
6674 2015-07-21  Roland McGrath  <roland@hack.frob.com>
6676         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
6677         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
6678         rather than __nacl_irt_filename.
6679         * sysdeps/nacl/xstat.c (__xstat): Likewise.
6681         * NEWS: New item for arm-nacl port.
6682         * sysdeps/arm/nacl/libc.abilist: New file.
6683         * sysdeps/nacl/ld.abilist: New file.
6684         * sysdeps/nacl/libBrokenLocale.abilist: New file.
6685         * sysdeps/nacl/libanl.abilist: New file.
6686         * sysdeps/nacl/libcrypt.abilist: New file.
6687         * sysdeps/nacl/libdl.abilist: New file.
6688         * sysdeps/nacl/libm.abilist: New file.
6689         * sysdeps/nacl/libpthread.abilist: New file.
6690         * sysdeps/nacl/libresolv.abilist: New file.
6691         * sysdeps/nacl/librt.abilist: New file.
6693 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
6695         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
6696         __startcontext to initialize the new context.
6697         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
6698         up CFI directive to forbid further backtracing.
6700 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
6702         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
6703         reference.
6704         * charmaps/ANSI_X3.4-1968: Likewise.
6705         * charmaps/BS_4730: Likewise.
6706         * charmaps/BS_VIEWDATA: Likewise.
6707         * charmaps/CP1250: Likewise.
6708         * charmaps/CP1251: Likewise.
6709         * charmaps/CP1252: Likewise.
6710         * charmaps/CP1253: Likewise.
6711         * charmaps/CP1254: Likewise.
6712         * charmaps/CP1255: Likewise.
6713         * charmaps/CP1256: Likewise.
6714         * charmaps/CSN_369103: Likewise.
6715         * charmaps/EBCDIC-DK-NO: Likewise.
6716         * charmaps/GB_1988-80: Likewise.
6717         * charmaps/GREEK-CCITT: Likewise.
6718         * charmaps/GREEK7: Likewise.
6719         * charmaps/INIS-8: Likewise.
6720         * charmaps/ISIRI-3342: Likewise.
6721         * charmaps/ISO_2033-1983: Likewise.
6722         * charmaps/ISO_5427-EXT: Likewise.
6723         * locales/POSIX: Likewise.
6724         * locales/ar_SA: Likewise.
6725         * locales/be_BY: Likewise.
6726         * locales/be_BY@latin: Likewise.
6727         * locales/ca_ES: Likewise.
6728         * locales/cs_CZ: Likewise.
6729         * locales/da_DK: Likewise.
6730         * locales/de_BE: Likewise.
6731         * locales/de_CH: Likewise.
6732         * locales/de_LU: Likewise.
6733         * locales/en_AU: Likewise.
6734         * locales/en_BW: Likewise.
6735         * locales/en_CA: Likewise.
6736         * locales/en_DK: Likewise.
6737         * locales/en_GB: Likewise.
6738         * locales/en_IE: Likewise.
6739         * locales/en_NZ: Likewise.
6740         * locales/en_ZA: Likewise.
6741         * locales/en_ZW: Likewise.
6742         * locales/es_AR: Likewise.
6743         * locales/es_BO: Likewise.
6744         * locales/es_CL: Likewise.
6745         * locales/es_CO: Likewise.
6746         * locales/es_DO: Likewise.
6747         * locales/es_EC: Likewise.
6748         * locales/es_ES: Likewise.
6749         * locales/es_HN: Likewise.
6750         * locales/es_MX: Likewise.
6751         * locales/es_PA: Likewise.
6752         * locales/es_PE: Likewise.
6753         * locales/es_PY: Likewise.
6754         * locales/es_SV: Likewise.
6755         * locales/es_US: Likewise.
6756         * locales/es_UY: Likewise.
6757         * locales/es_VE: Likewise.
6758         * locales/et_EE: Likewise.
6759         * locales/fa_IR: Likewise.
6760         * locales/fo_FO: Likewise.
6761         * locales/fr_CA: Likewise.
6762         * locales/fr_CH: Likewise.
6763         * locales/gv_GB: Likewise.
6764         * locales/he_IL: Likewise.
6765         * locales/hr_HR: Likewise.
6766         * locales/id_ID: Likewise.
6767         * locales/is_IS: Likewise.
6768         * locales/it_CH: Likewise.
6769         * locales/iw_IL: Likewise.
6770         * locales/kl_GL: Likewise.
6771         * locales/ko_KR: Likewise.
6772         * locales/kw_GB: Likewise.
6773         * locales/lg_UG: Likewise.
6774         * locales/lt_LT: Likewise.
6775         * locales/lv_LV: Likewise.
6776         * locales/mi_NZ: Likewise.
6777         * locales/nhn_MX: Likewise.
6778         * locales/nl_BE: Likewise.
6779         * locales/pl_PL: Likewise.
6780         * locales/sk_SK: Likewise.
6781         * locales/sl_SI: Likewise.
6782         * locales/sv_FI: Likewise.
6783         * locales/tl_PH: Likewise.
6784         * locales/tr_TR: Likewise.
6785         * locales/vi_VN: Likewise.
6787 2015-07-21  Khem Raj  <raj.khem@gmail.com>
6789         [BZ #17475]
6790         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
6791         of tu_IN and bh_IN.
6793 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
6795         [BZ #18694]
6796         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
6797         bits/wordsize.h.
6798         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
6800 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6802         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
6803         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
6804         (spawn_thread): New function.
6805         (load): Rename to reg_dtor_and_close.  Move dlopen to...
6806         (do_test): ... here.  Use IS_LOADED to test for its
6807         availability.
6809 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
6811         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6813 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
6815         [BZ #18696]
6816         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
6817         si_addr_bnd.
6818         (si_lower): New.
6819         (si_upper): Likewise.
6821 2015-07-16  David S. Miller  <davem@davemloft.net>
6823         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6825 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6827         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
6828         buffer.
6829         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
6830         fail output information.
6832 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6834         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
6835         and strstr-ppc64..
6836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6837         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
6838         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
6839         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
6840         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
6842 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6844         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6845         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6846         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6847         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6849 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6851         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
6852         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
6853         rtld_hidden_proto.
6854         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
6856 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6858         * tst-nodelete-opened.c (do_test): Add comment to clarify how
6859         the test can fail.
6861         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
6863         [BZ #18676]
6864         * elf/tst-nodelete-opened.c: New test case.
6865         * elf/tst-nodelete-opened-lib.c: New test case module.
6866         * elf/Makefile (tests, modules-names): Use them.
6867         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
6868         early.
6870 2015-07-15  David S. Miller  <davem@davemloft.net>
6872         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
6873         futex-intenal.h
6874         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
6875         * sysdeps/sparc/sparc64/Makefile: Likewise.
6876         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
6877         Remove space from macro define.
6878         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
6880 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
6882         [BZ #17475]
6883         * locale/iso-639.def: Update Bhili and Tulu language codes as
6884         per iso639-3.
6886 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
6888         * elf/tst-leaks1.c (main): Converted to ...
6889         (do_test): ... this.
6890         (TEST_FUNCTION): New macro.
6891         Include test-skeleton.c.
6892         * localedata/tst-langinfo.c (main): Converted to ...
6893         (do_test): ... this.
6894         (TEST_FUNCTION): New macro.
6895         Include test-skeleton.c.
6896         * math/test-fpucw.c (main): Converted to ...
6897         (do_test): ... this.
6898         (TEST_FUNCTION): New macro.
6899         Include test-skeleton.c.
6900         * math/test-tgmath.c (main): Converted to ...
6901         (do_test): ... this.
6902         (TEST_FUNCTION): New macro.
6903         Include test-skeleton.c.
6904         * math/test-tgmath2.c (main): Converted to ...
6905         (do_test): ... this.
6906         (TEST_FUNCTION): New macro.
6907         Include test-skeleton.c.
6908         * setjmp/tst-setjmp.c (main): Converted to ...
6909         (do_test): ... this.
6910         (TEST_FUNCTION): New macro.
6911         Include test-skeleton.c.
6912         * stdio-common/tst-sscanf.c (main): Converted to ...
6913         (do_test): ... this.
6914         (TEST_FUNCTION): New macro.
6915         Include test-skeleton.c.
6916         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
6917         (do_test): ... this.
6918         (TEST_FUNCTION): New macro.
6919         Include test-skeleton.c.
6921         * elf/tst-audit9.c (main): Converted to ...
6922         (do_test): ... this.
6923         (TEST_FUNCTION): New macro.
6924         Include test-skeleton.c.
6926 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
6928         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
6930 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6932         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
6933         New variable.
6935 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6937         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6939 2015-07-14  Roland McGrath  <roland@hack.frob.com>
6941         * sysdeps/generic/dl-fileid.h: New file.
6942         * sysdeps/posix/dl-fileid.h: New file.
6943         * sysdeps/nacl/dl-fileid.h: New file.
6944         * include/link.h: Include <dl-fileid.h>.
6945         (struct link_map): Replace l_dev and l_ino with l_file_id.
6946         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
6947         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
6948         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
6950 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6952         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
6954 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6956         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
6957         Add iff $CXX is set.
6958         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
6959         Likewise.
6960         (tst-nodelete-zmodiff): Likewise.
6961         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
6963 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6965         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
6967 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6969         * sysdeps/aarch64/fpu/math_private.h
6970         (define math_opt_barrier): Add AArch64 version.
6971         (math_force_eval): Likewise.
6973 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6975         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
6977 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6979         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
6980         %ld with %jd and cast to intmax_t.
6981         (do_test_length_zero): Likewise.
6983 2015-07-10  Roland McGrath  <roland@hack.frob.com>
6985         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
6987 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
6989         * sysdeps/tile/libm-test-ulps: Regenerated.
6991         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
6992         Comment out the whole function, not just its body.
6994 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6996         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
6997         locks.
6999         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
7001 2015-07-10  Torvald Riegel  <triegel@redhat.com>
7003         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
7004         (sem_assume_only_signals_cause_futex_EINTR): Remove.
7006 2015-07-10  Torvald Riegel  <triegel@redhat.com>
7008         * sysdeps/nptl/futex-internal.h: New file.
7009         * sysdeps/nacl/futex-internal.h: New file.
7010         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
7011         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
7012         error checking.
7013         (setxid_unmark_thread): Likewise.
7014         (__nptl_setxid): Likewise.
7015         (__wait_lookup_done): Likewise.
7016         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
7017         * nptl/nptl-init.c (sighandler_setxid): Likewise.
7018         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
7019         * nptl/pthread_once.c (clear_once_control): Likewise.
7020         (__pthread_once_slow): Likewise.
7021         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7022         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
7023         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
7024         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7025         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
7026         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
7027         Likewise.
7028         (__pthread_rwlock_rdlock): Likewise.
7029         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7030         Likewise.
7031         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7032         Likewise.
7033         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7034         Likewise.
7035         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
7036         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
7037         Likewise.
7038         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
7039         __ASSUME_PRIVATE_FUTEX check.
7040         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
7041         Check that shared futexes are supported.
7042         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
7043         wrappers with error checking.
7044         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
7045         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
7046         * nptl/pthread_barrierattr_setpshared.c
7047         (pthread_barrierattr_setpshared): Check that shared futexes are
7048         supported.
7049         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
7050         Likewise.
7051         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
7052         Likewise.
7053         * nptl/sem_init.c (futex_private_if_supported): Remove.
7054         (__new_sem_init): Adapt and check that shared futexes are supported.
7055         * nptl/sem_open.c (sem_open): Likewise.
7056         * nptl/sem_post.c (futex_wake): Remove.
7057         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
7058         (do_futex_wait): Use futex wrappers with error checking.
7059         * nptl/sem_wait.c: Include lowlevellock.h.
7060         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
7061         Use futex_supports_pshared.
7062         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
7063         Use futex wrappers with error checking.
7064         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
7065         Likewise.
7066         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
7067         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
7068         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
7069         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
7070         (futex_wake): Likewise.
7071         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
7072         (do_futex_wait): Use futex wrappers with error checking.
7073         (__new_sem_wait_slow): Update EINTR handling.
7074         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
7076 2015-07-09  Martin Sebor  <msebor@redhat.com>
7078         [BZ #18435]
7079         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
7080         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
7081         * nptl/Makefile (test-xfail-tst-once5): Define.
7083 2015-07-09  Roland McGrath  <roland@hack.frob.com>
7085         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
7086         * elf/dl-minimal.c: For readability, reorder some definitions and
7087         introduce more page breaks.  Include <stdio.h>.
7088         (__libc_fatal): New function.
7090         * include/unistd.h: Add rtld_hidden_proto for _exit.
7091         * posix/_exit.c: Add rtld_hidden_def.
7092         * sysdeps/mach/hurd/_exit.c: Likewise.
7093         * sysdeps/nacl/_exit.c: Likewise.
7094         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
7095         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
7097 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
7099         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
7100         bndmov encoding with zero displacement.
7102 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7103             H.J. Lu  <hongjiu.lu@intel.com>
7105         [BZ #18134]
7106         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
7107         * sysdeps/i386/configure: Regenerated.
7108         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7109         (_dl_runtime_profile): Save and restore Intel MPX return bound
7110         registers when calling _dl_call_pltexit.  Add
7111         PRESERVE_BND_REGS_PREFIX before return.
7112         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
7113         (LRV_BND1_OFFSET): Likewise.
7114         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
7115         lrv_bnd1.
7116         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
7117         typo in bndmov encoding.
7118         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
7119         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
7120         branch instructions to preserve bounds.
7122 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7125         [GLIBC_2.22]: Add fmemopen.
7127 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7129         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
7130         returns an error, also try to use host port from __mach_host_self for
7131         the __vm_wire call.
7132         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
7134 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7136         [BZ #18400]
7137         [BZ #18648]
7138         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
7139         Fix pr_uid and pr_gid members.
7140         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
7141         definition to elf_greg_t.
7143 2015-07-08  Roland McGrath  <roland@hack.frob.com>
7145         [BZ #18383]
7146         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
7147         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
7148         * sysdeps/arm/configure: Regenerated.
7149         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
7150         (test-xfail-tst-tlsalign-static): Variable removed.
7152         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
7153         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
7154         rather than explicit 'ln -s'.
7156         * resolv/rpc/netdb.h: New file.
7157         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
7159 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7161         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
7162         length buffers.
7163         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7164         test-skeleton.c.
7166         [BZ #6544]
7167         [BZ #11216]
7168         [BZ #12836]
7169         [BZ #13151]
7170         [BZ #13152]
7171         [BZ #14292]
7172         * include/stdio.h (fmemopen): Remove hidden prototype.
7173         (__fmemopen): Add new hidden prototype.
7174         * libio/Makefile: Add oldfmemopen object.
7175         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
7176         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
7177         compliance.
7178         * libio/oldfmemopen.c: New file: old fmemopen implementation for
7179         symbol compatibility.
7180         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
7181         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
7182         fmemopen.
7183         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
7184         on append and read mode.
7185         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
7186         fmemopen.
7187         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
7188         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
7189         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
7190         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
7191         Likewise.
7192         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7193         [GLIBC_2.22]: Likewise.
7194         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
7195         Likewise.
7196         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
7197         Likewise.
7198         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7199         [GLIBC_2.22]: Likewise.
7200         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7201         [GLIBC_2.22]: Likewise.
7202         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7203         [GLIBC_2.22]: Likewise.
7204         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7205         [GLIBC_2.22]: Likewise.
7206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7207         [GLIBC_2.22]: Likewise.
7208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7209         [GLIBC_2.22]: Likewise.
7210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7211         [GLIBC_2.22]: Likewise.
7212         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
7213         Likewise.
7214         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
7215         Likewise.
7216         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
7217         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7218         [GLIBC_2.22]: Likewise.
7219         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7220         [GLIBC_2.22]: Likewise.
7221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7222         [GLIBC_2.22]: Likewise.
7223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7224         [GLIBC_2.22]: Likewise.
7225         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
7226         Likewise.
7227         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
7228         Likewise.
7229         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
7230         Likewise.
7231         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
7232         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
7234 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
7236         [BZ #18643]
7237         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
7238         IPV6_PATHMTU, and IPV6_DONTFRAG.
7240 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
7242         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
7243         and _IO_UNBUFFERED.
7244         * libio/oldfileops.c: Likewise.
7245         * libio/wfileops.c: Likewise.
7247 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
7249         * nscd/selinux.c: Delete selinux/flask.h include.
7251 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
7253         [BZ #18641]
7254         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
7255         (putpwent): Likewise.
7256         (getpwnam): Likewise.
7257         (getpwent_r): Likewise.
7258         (getpwuid_r): Likewise.
7259         (getpwnam_r): Likewise.
7260         (fgetpwent_r): Likewise.
7262 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
7264         [BZ #18557]
7265         * inet/rcmd.c (__validuser2_sa): Check user first to
7266         short-circuit host check.
7268 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
7269             Mikhail Ilin  <m.ilin@samsung.com>
7271         [BZ #17833]
7272         * elf/Makefile (tests): Add tst-nodelete.
7273         (modules-names): Add tst-nodelete-uniquemod.
7274         (tst-nodelete-uniquemod.so-no-z-defs): New.
7275         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
7276         (tst-nodelete-zmod.so-no-z-defs): Likewise.
7277         ($(objpfx)tst-nodelete): Likewise.
7278         ($(objpfx)tst-nodelete.out): Likewise.
7279         (LDFLAGS-tst-nodelete): Likewise.
7280         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
7281         * elf/dl-close.c (_dl_close_worker): Add a parameter to
7282         implement forced object deletion.
7283         (_dl_close): Pass false to _dl_close_worker.
7284         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
7285         * elf/tst-nodelete.cc: New file.
7286         * elf/tst-nodeletelib.cc: Likewise.
7287         * elf/tst-znodeletelib.cc: Likewise.
7288         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
7290 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7292         [BZ #18508]
7293         * stdlib/Makefile ($(objpfx)tst-makecontext3):
7294         Depend on $(libdl).
7295         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
7296         is not called infinitely times.
7297         (backtrace_helper): New function.
7298         (trace_arg): New struct.
7299         (st1): Enlarge stack size.
7300         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7301         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
7302         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7303         Likewise.
7305 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7307         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7309 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7311         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
7312         Include sys/types.h instead of bits/types.h.
7313         Remove inclusion of bits/wordsize.h.
7315 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7317         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
7318         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
7319         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
7320         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
7321         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
7322         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
7324 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7326         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
7327         link-defines.sym.
7328         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
7329         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
7330         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
7331         and LR_SIZE.
7332         * sysdeps/i386/link-defines.sym: New file.
7334 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7336         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
7337         (modules-names): Add tst-auditmod3a tst-auditmod3b.
7338         ($(objpfx)tst-audit3): New rule.
7339         ($(objpfx)tst-audit3.out): Likewise.
7340         * sysdeps/i386/tst-audit3.c: New file.
7341         * sysdeps/i386/tst-audit3.h: Likewise.
7342         * sysdeps/i386/tst-auditmod3a.c: Likewise.
7343         * sysdeps/i386/tst-auditmod3b.c: Likewise.
7345 2015-07-07  Torvald Riegel  <triegel@redhat.com>
7347         [BZ #18633]
7348         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
7349         pointer in C code.
7350         (__strcat_c): Likewise.
7351         (__strcat_g): Likewise.
7353 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
7355         [BZ #18592]
7356         * misc/sbrk.c: Set errno to ENOMEM on overflow.
7358 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
7360         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
7361         New function.  (__ieee754_sqrtf): New function.
7362         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
7363         New function.
7364         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
7365         New function.
7367 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
7369         * sysdeps/ieee754/support.c: Remove unused file.
7371 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7373         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
7374         registers instead of d ones so the layout is kernel abi compatible.
7375         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
7376         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
7377         Likewise.
7379 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7381         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7383 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
7385         [BZ #18619]
7386         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
7387         and return argument in case of subnormal argument.
7389 2015-07-01  Martin Sebor  <msebor@redhat.com>
7391         [BZ #18435]
7392         * nptl/Makefile: Add tst-once5.cc.
7393         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
7394         Remove macro redefinitions.
7395         * nptl/tst-once5.cc: New test.
7397 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
7399         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7401         * sysdeps/arm/libm-test-ulps: Regenerated.
7403         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7404         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7406 2015-06-30  Torvald Riegel  <triegel@redhat.com>
7408         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
7409         lll_lock_wait_private and lll_futex_wake probes.
7411         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
7412         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
7413         Likewise.
7414         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
7415         atomic_spin_nop.
7416         * sysdeps/x86_64/bits/atomic.h: Likewise.
7417         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
7418         to atomic_spin_nop and move ...
7419         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
7420         ... here and ...
7421         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
7422         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7423         atomic_spin_nop instead of BUSY_WAIT_NOP.
7424         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
7425         Likewise.
7426         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
7427         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
7428         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
7429         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
7430         instead of atomic_delay.
7432 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
7434         [BZ #18613]
7435         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
7436         X_ADJ not X when adjusting exponent.
7437         (__ieee754_gamma_r): Do intermediate computations in
7438         round-to-nearest then adjust overflowing and underflowing results
7439         as needed.
7440         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
7441         of X_ADJ not X when adjusting exponent.
7442         (__ieee754_gammaf_r): Do intermediate computations in
7443         round-to-nearest then adjust overflowing and underflowing results
7444         as needed.
7445         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
7446         log of X_ADJ not X when adjusting exponent.
7447         (__ieee754_gammal_r): Do intermediate computations in
7448         round-to-nearest then adjust overflowing and underflowing results
7449         as needed.  Use 1.0L not 1.0f as numerator of division.
7450         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
7451         log of X_ADJ not X when adjusting exponent.
7452         (__ieee754_gammal_r): Do intermediate computations in
7453         round-to-nearest then adjust overflowing and underflowing results
7454         as needed.  Use 1.0L not 1.0f as numerator of division.
7455         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
7456         of X_ADJ not X when adjusting exponent.
7457         (__ieee754_gammal_r): Do intermediate computations in
7458         round-to-nearest then adjust overflowing and underflowing results
7459         as needed.  Use 1.0L not 1.0f as numerator of division.
7460         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
7461         to auto-libm-test-in.
7462         (tgamma_test): Use ALL_RM_TEST.
7463         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
7464         tests of tgamma with spurious-overflow.
7465         * math/auto-libm-test-out: Regenerated.
7466         * math/gen-libm-have-vector-test.sh: Do not check for START.
7467         * sysdeps/i386/fpu/libm-test-ulps: Update.
7468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7470         [BZ #18612]
7471         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
7472         arguments, just return 0.5 times the argument, with underflow
7473         forced as needed.
7474         * math/auto-libm-test-in: Add more tests of j1.
7475         * math/auto-libm-test-out: Regenerated.
7477         [BZ #16559]
7478         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
7479         (__ieee754_j1): Force underflow exception for small results.
7480         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7481         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
7482         (__ieee754_j1f): Force underflow exception for small results.
7483         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7484         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7485         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7486         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
7487         (__ieee754_j1l): Force underflow exception for small results.
7488         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7489         * math/auto-libm-test-in: Add more tests of j1 and jn.
7490         * math/auto-libm-test-out: Regenerated.
7492         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
7493         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
7494         (PF_MPLS): Likewise.
7495         (AF_IB): Likewise.
7496         (AF_MPLS): Likewise.
7497         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
7498         value and macro.
7499         (MS_RMT_MASK): Include MS_LAZYTIME.
7501 2015-06-26  Mel Gorman  <mgorman@suse.de>
7503         [BZ #18502]
7504         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
7505         already minimal.
7507 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
7509         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
7510         (DT_MIPS_NUM): Update.
7511         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
7512         DT_MIPS_RLD_MAP_REL.
7514 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
7516         [BZ #16559]
7517         [BZ #18602]
7518         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
7519         round-to-nearest internally then recompute results that
7520         underflowed to zero in the original rounding mode.
7521         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7522         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7523         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7524         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
7525         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
7526         * sysdeps/i386/fpu/libm-test-ulps: Update.
7527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7529 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
7531         * NEWS: Fixed description of link with vector math library.
7533 2015-06-25  Andreas Schwab  <schwab@suse.de>
7535         [BZ #18549]
7536         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
7537         * libio/test-fmemopen.c (do_test): Add test for it.
7539 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
7541         [BZ #17841]
7542         * Makeconfig (no-pie-ldflag): New.
7543         (+link): Set to $(+link-pie) if default to PIE.
7544         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
7545         * config.make.in (build-pie-default): New.
7546         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
7547         is default.  AC_SUBST.
7548         * configure: Regenerated.
7549         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
7551 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7553         * nptl/descr.h (struct pthread): Change type of field setxid_futex
7554         to 'unsigned int'.
7556         * resolv/gai_misc.h (struct waitlist): Change type of field
7557         counterp to 'volatile unsigned int *'.
7558         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
7559         FUTEXADDR and OLDVAL.
7560         * resolv/getaddrinfo_a.c (getaddrinfo_a):
7561         Give local variable TOTAL type 'volatile unsigned int'.
7562         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7563         * resolv/gai_suspend.c (gai_suspend):
7564         Give local variable CNTR type 'unsigned int'.
7566         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
7567         counterp to 'volatile unsigned int *'.
7568         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
7569         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
7570         (aio_suspend): Give local variable CNTR type 'unsigned int'.
7571         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
7572         Give local variable TOTAL type 'volatile unsigned int'.
7573         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7575 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7577         [BZ #18383]
7578         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
7579         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
7580         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
7581         comment for i386/x86-64.
7582         (test-xfail-tst-tlsalign-extern-static): Removed.
7584 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7586         * math/test-double.h: New file.
7587         * math/test-float.h: Likewise.
7588         * math/test-ldouble.h: Likewise.
7589         * math/test-math-inline.h: Likewise.
7590         * math/test-math-no-inline.h: Likewise.
7591         * math/test-math-scalar.h: Likewise.
7592         * math/test-math-vector.h: Likewise.
7593         * math/test-vec-loop.h: Remove file.  Contents moved into
7594         test-math-vector.h.
7595         * math/libm-test.inc (MATHCONST): Do not document macro.
7596         * math/test-double.c: Include test-double.h, test-math-no-inline.h
7597         and test-math-scalar.h.
7598         (FUNC): Remove macro.
7599         (FUNC_TEST): Likewise.
7600         (FLOAT): Likewise.
7601         (MATHCONST): Likewise.
7602         (PRINTF_EXPR): Likewise.
7603         (PRINTF_XEXPR): Likewise.
7604         (PRINTF_NEXPR): Likewise.
7605         (TEST_DOUBLE): Likewise.
7606         (TEST_MATHVEC): Likewise.
7607         (__NO_MATH_INLINES): Likewise.
7608         * math/test-float.c: Include test-float.h, test-math-no-inline.h
7609         and test-math-scalar.h.
7610         (FUNC): Remove macro.
7611         (FUNC_TEST): Likewise.
7612         (FLOAT): Likewise.
7613         (MATHCONST): Likewise.
7614         (PRINTF_EXPR): Likewise.
7615         (PRINTF_XEXPR): Likewise.
7616         (PRINTF_NEXPR): Likewise.
7617         (TEST_FLOAT): Likewise.
7618         (TEST_MATHVEC): Likewise.
7619         (__NO_MATH_INLINES): Likewise.
7620         * math/test-idouble.c: Include test-double.h, test-math-inline.h
7621         and test-math-scalar.h.
7622         (FUNC): Remove macro.
7623         (FUNC_TEST): Likewise.
7624         (FLOAT): Likewise.
7625         (MATHCONST): Likewise.
7626         (PRINTF_EXPR): Likewise.
7627         (PRINTF_XEXPR): Likewise.
7628         (PRINTF_NEXPR): Likewise.
7629         (TEST_DOUBLE): Likewise.
7630         (TEST_MATHVEC): Likewise.
7631         (TEST_INLINE): Likewise.
7632         (__NO_MATH_INLINES): Likewise.
7633         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
7634         test-math-scalar.h.
7635         (FUNC): Remove macro.
7636         (FUNC_TEST): Likewise.
7637         (FLOAT): Likewise.
7638         (MATHCONST): Likewise.
7639         (PRINTF_EXPR): Likewise.
7640         (PRINTF_XEXPR): Likewise.
7641         (PRINTF_NEXPR): Likewise.
7642         (TEST_FLOAT): Likewise.
7643         (TEST_MATHVEC): Likewise.
7644         (TEST_INLINE): Likewise.
7645         (__NO_MATH_INLINES): Likewise.
7646         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
7647         and test-math-scalar.h.
7648         (FUNC): Remove macro.
7649         (FUNC_TEST): Likewise.
7650         (FLOAT): Likewise.
7651         (MATHCONST): Likewise.
7652         (PRINTF_EXPR): Likewise.
7653         (PRINTF_XEXPR): Likewise.
7654         (PRINTF_NEXPR): Likewise.
7655         (TEST_LDOUBLE): Likewise.
7656         (TEST_MATHVEC): Likewise.
7657         (TEST_INLINE): Likewise.
7658         (__NO_MATH_INLINES): Likewise.
7659         * math/test-ldouble.c: Include test-ldouble.h,
7660         test-math-no-inline.h and test-math-scalar.h.
7661         (FUNC): Remove macro.
7662         (FUNC_TEST): Likewise.
7663         (FLOAT): Likewise.
7664         (MATHCONST): Likewise.
7665         (PRINTF_EXPR): Likewise.
7666         (PRINTF_XEXPR): Likewise.
7667         (PRINTF_NEXPR): Likewise.
7668         (TEST_LDOUBLE): Likewise.
7669         (TEST_MATHVEC): Likewise.
7670         (__NO_MATH_INLINES): Likewise.
7671         * math/test-double-vlen2.h: Include test-double.h,
7672         test-math-no-inline.h and test-math-vector.h.
7673         (FLOAT): Remove macro.
7674         (FUNC): Likewise.
7675         (MATHCONST): Likewise.
7676         (PRINTF_EXPR): Likewise.
7677         (PRINTF_XEXPR): Likewise.
7678         (PRINTF_NEXPR): Likewise.
7679         (TEST_DOUBLE): Likewise.
7680         (TEST_MATHVEC): Likewise.
7681         (__NO_MATH_INLINES): Likewise.
7682         (CNCT): Likewise.
7683         (CONCAT): Likewise.
7684         (WRAPPER_NAME): Likewise.
7685         (WRAPPER_DECL): Likewise.
7686         (WRAPPER_DECL_ff): Likewise.
7687         (WRAPPER_DECL_fFF): Likewise.
7688         (VECTOR_WRAPPER): Likewise.
7689         (VECTOR_WRAPPER_ff): Likewise.
7690         (VECTOR_WRAPPER_fFF): Likewise.
7691         (VEC_LEN): New macro.
7692         * math/test-double-vlen4.h: Include test-double.h,
7693         test-math-no-inline.h and test-math-vector.h.
7694         (FLOAT): Remove macro.
7695         (FUNC): Likewise.
7696         (MATHCONST): Likewise.
7697         (PRINTF_EXPR): Likewise.
7698         (PRINTF_XEXPR): Likewise.
7699         (PRINTF_NEXPR): Likewise.
7700         (TEST_DOUBLE): Likewise.
7701         (TEST_MATHVEC): Likewise.
7702         (__NO_MATH_INLINES): Likewise.
7703         (CNCT): Likewise.
7704         (CONCAT): Likewise.
7705         (WRAPPER_NAME): Likewise.
7706         (WRAPPER_DECL): Likewise.
7707         (WRAPPER_DECL_ff): Likewise.
7708         (WRAPPER_DECL_fFF): Likewise.
7709         (VECTOR_WRAPPER): Likewise.
7710         (VECTOR_WRAPPER_ff): Likewise.
7711         (VECTOR_WRAPPER_fFF): Likewise.
7712         (VEC_LEN): New macro.
7713         * math/test-double-vlen8.h: Include test-double.h,
7714         test-math-no-inline.h and test-math-vector.h.
7715         (FLOAT): Remove macro.
7716         (FUNC): Likewise.
7717         (MATHCONST): Likewise.
7718         (PRINTF_EXPR): Likewise.
7719         (PRINTF_XEXPR): Likewise.
7720         (PRINTF_NEXPR): Likewise.
7721         (TEST_DOUBLE): Likewise.
7722         (TEST_MATHVEC): Likewise.
7723         (__NO_MATH_INLINES): Likewise.
7724         (CNCT): Likewise.
7725         (CONCAT): Likewise.
7726         (WRAPPER_NAME): Likewise.
7727         (WRAPPER_DECL): Likewise.
7728         (WRAPPER_DECL_ff): Likewise.
7729         (WRAPPER_DECL_fFF): Likewise.
7730         (VECTOR_WRAPPER): Likewise.
7731         (VECTOR_WRAPPER_ff): Likewise.
7732         (VECTOR_WRAPPER_fFF): Likewise.
7733         (VEC_LEN): New macro.
7734         * math/test-float-vlen4.h: Include test-float.h,
7735         test-math-no-inline.h and test-math-vector.h.
7736         (FLOAT): Remove macro.
7737         (FUNC): Likewise.
7738         (MATHCONST): Likewise.
7739         (PRINTF_EXPR): Likewise.
7740         (PRINTF_XEXPR): Likewise.
7741         (PRINTF_NEXPR): Likewise.
7742         (TEST_FLOAT): Likewise.
7743         (TEST_MATHVEC): Likewise.
7744         (__NO_MATH_INLINES): Likewise.
7745         (CNCT): Likewise.
7746         (CONCAT): Likewise.
7747         (WRAPPER_NAME): Likewise.
7748         (WRAPPER_DECL): Likewise.
7749         (WRAPPER_DECL_ff): Likewise.
7750         (WRAPPER_DECL_fFF): Likewise.
7751         (VECTOR_WRAPPER): Likewise.
7752         (VECTOR_WRAPPER_ff): Likewise.
7753         (VECTOR_WRAPPER_fFF): Likewise.
7754         (VEC_LEN): New macro.
7755         * math/test-float-vlen8.h: Include test-float.h,
7756         test-math-no-inline.h and test-math-vector.h.
7757         (FLOAT): Remove macro.
7758         (FUNC): Likewise.
7759         (MATHCONST): Likewise.
7760         (PRINTF_EXPR): Likewise.
7761         (PRINTF_XEXPR): Likewise.
7762         (PRINTF_NEXPR): Likewise.
7763         (TEST_FLOAT): Likewise.
7764         (TEST_MATHVEC): Likewise.
7765         (__NO_MATH_INLINES): Likewise.
7766         (CNCT): Likewise.
7767         (CONCAT): Likewise.
7768         (WRAPPER_NAME): Likewise.
7769         (WRAPPER_DECL): Likewise.
7770         (WRAPPER_DECL_ff): Likewise.
7771         (WRAPPER_DECL_fFF): Likewise.
7772         (VECTOR_WRAPPER): Likewise.
7773         (VECTOR_WRAPPER_ff): Likewise.
7774         (VECTOR_WRAPPER_fFF): Likewise.
7775         (VEC_LEN): New macro.
7776         * math/test-float-vlen16.h: Include test-float.h,
7777         test-math-no-inline.h and test-math-vector.h.
7778         (FLOAT): Remove macro.
7779         (FUNC): Likewise.
7780         (MATHCONST): Likewise.
7781         (PRINTF_EXPR): Likewise.
7782         (PRINTF_XEXPR): Likewise.
7783         (PRINTF_NEXPR): Likewise.
7784         (TEST_FLOAT): Likewise.
7785         (TEST_MATHVEC): Likewise.
7786         (__NO_MATH_INLINES): Likewise.
7787         (CNCT): Likewise.
7788         (CONCAT): Likewise.
7789         (WRAPPER_NAME): Likewise.
7790         (WRAPPER_DECL): Likewise.
7791         (WRAPPER_DECL_ff): Likewise.
7792         (WRAPPER_DECL_fFF): Likewise.
7793         (VECTOR_WRAPPER): Likewise.
7794         (VECTOR_WRAPPER_ff): Likewise.
7795         (VECTOR_WRAPPER_fFF): Likewise.
7796         (VEC_LEN): New macro.
7797         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
7798         test-vec-loop.h.
7799         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7800         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7801         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7802         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7803         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7804         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7805         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7807 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7809         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
7810         (__getlogin_r): ... this.
7812 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7814         [BZ #18594]
7815         * math/s_ccosh.c (__ccosh): Compare with least normal value
7816         instead of comparing class with FP_SUBNORMAL.
7817         * math/s_ccoshf.c (__ccoshf): Likewise.
7818         * math/s_ccoshl.c (__ccoshl): Likewise.
7819         * math/s_cexp.c (__cexp): Likewise.
7820         * math/s_cexpf.c (__cexpf): Likewise.
7821         * math/s_cexpl.c (__cexpl): Likewise.
7822         * math/s_csin.c (__csin): Likewise.
7823         * math/s_csinf.c (__csinf): Likewise.
7824         * math/s_csinh.c (__csinh): Likewise.
7825         * math/s_csinhf.c (__csinhf): Likewise.
7826         * math/s_csinhl.c (__csinhl): Likewise.
7827         * math/s_csinl.c (__csinl): Likewise.
7828         * math/s_ctan.c (__ctan): Likewise.
7829         * math/s_ctanf.c (__ctanf): Likewise.
7830         * math/s_ctanh.c (__ctanh): Likewise.
7831         * math/s_ctanhf.c (__ctanhf): Likewise.
7832         * math/s_ctanhl.c (__ctanhl): Likewise.
7833         * math/s_ctanl.c (__ctanl): Likewise.
7834         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
7835         csin, csinh, ctan and ctanh.
7836         * math/auto-libm-test-out: Regenerated.
7837         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
7838         * sysdeps/i386/fpu/libm-test-ulps: Update.
7839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7841 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7843         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
7844         return value is wrong, print the expected value too.
7846 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7848         [BZ #18585]
7849         * elf/readlib.c (is_gdb_python_file): New.
7850         (process_file): Don't issue errors on filenames with -gdb.py
7851         suffix.
7853 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7855         * math/auto-libm-test-in: Add more tests of csin and csinh.
7856         * math/auto-libm-test-out: Regenerated.
7857         * math/libm-test.inc (csin_test_data): Remove tests moved to
7858         auto-libm-test-in.
7859         (csinh_test_data): Likewise.
7861         [BZ #18593]
7862         * math/s_csin.c (__csin): Negate before rather than after possibly
7863         overflowing multiplication.
7864         * math/s_csinf.c (__csinf): Likewise.
7865         * math/s_csinh.c (__csinh): Likewise.
7866         * math/s_csinhf.c (__csinhf): Likewise.
7867         * math/s_csinhl.c (__csinhl): Likewise.
7868         * math/s_csinl.c (__csinl): Likewise.
7869         * math/auto-libm-test-in: Add some tests of csin and csinh.
7870         * math/auto-libm-test-out: Regenerated.
7871         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
7872         (csinh_test_data): Likewise.
7873         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7875         [BZ #18586]
7876         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
7877         underflow exception for small results.
7879 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7881         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7882         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
7883         variable and included header.
7884         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
7885         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
7886         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
7887         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
7888         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
7889         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
7890         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
7891         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
7892         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
7893         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
7894         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
7895         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
7896         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
7897         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
7898         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
7899         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
7901 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7903         [BZ #16526]
7904         [BZ #16538]
7905         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
7906         (__sin): Force underflow exception for arguments with small
7907         absolute value.
7908         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
7909         (__kernel_sinf): Force underflow exception for arguments with
7910         small absolute value.
7911         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
7912         (__kernel_sincosl): Force underflow exception for arguments with
7913         small absolute value.
7914         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
7915         (__kernel_sinl): Force underflow exception for arguments with
7916         small absolute value.
7917         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
7918         (__kernel_sincosl): Force underflow exception for arguments with
7919         small absolute value.
7920         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
7921         (__kernel_sinl): Force underflow exception for arguments with
7922         small absolute value.
7923         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
7924         (__kernel_sinl): Force underflow exception for arguments with
7925         small absolute value.
7926         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
7927         (__kernel_sinf): Force underflow exception for arguments with
7928         small absolute value.
7929         * math/auto-libm-test-in: Add more tests of sin and sincos.
7930         * math/auto-libm-test-out: Regenerated.
7932         [BZ #18245]
7933         [BZ #18583]
7934         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
7935         (__kernel_standard_l): Use feholdexcept and fesetenv around
7936         conversion to double instead of special-casing overflow and
7937         underflow.
7938         * math/libm-test.inc (fmod_test_data): Add more tests.
7939         (remainder_test_data): Likewise.
7940         (sqrt_test_data): Likewise.
7942 2015-06-23  Torvald Riegel  <triegel@redhat.com>
7944         [BZ #17403]
7945         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
7946         atomic_read_barrier, atomic_write_barrier): Define.
7947         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
7948         atomic_read_barrier, atomic_write_barrier): Define.
7950 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7952         * math/Makefile [$(PERL) != no]
7953         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
7954         dependency on libm-test.stmp below the inclusion of Rules.
7956 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
7958         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7959         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
7960         and included header.
7961         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
7962         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
7963         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
7964         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
7965         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
7966         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
7967         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
7968         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
7969         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
7970         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
7971         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
7972         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
7973         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
7974         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
7975         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
7976         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
7977         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
7978         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
7979         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
7981 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7983         [BZ #18371]
7984         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
7985         intermediate but not final result might underflow.
7986         * math/s_csqrtf.c (__csqrtf): Likewise.
7987         * math/s_csqrtl.c (__csqrtl): Likewise.
7988         * math/auto-libm-test-in: Add more tests of csqrt.
7989         * math/auto-libm-test-out: Regenerated.
7990         * sysdeps/i386/fpu/libm-test-ulps: Update.
7992         [BZ #18219]
7993         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
7994         threshold on absolute value of exponent for which scaling is used.
7995         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7996         * math/auto-libm-test-in: Add more tests of exp2.
7997         * math/auto-libm-test-out: Regenerated.
7999 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
8001         [BZ #17977]
8002         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
8003         when initializing interface list, based on the bug analysis
8004         and the patch proposed by Eric Newton.
8005         * resolv/tst-res_hconf_reorder.c: New test.
8006         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
8007         tst-res_hconf_reorder.
8008         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
8009         and $(shared-thread-library).
8010         (tst-res_hconf_reorder-ENV): New variable.
8012         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
8013         in comment.
8015 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
8017         [BZ #16353]
8018         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
8019         (__expm1): Force underflow exception for arguments with small
8020         absolute value.
8021         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
8022         (__expm1f): Force underflow exception for arguments with small
8023         absolute value.
8024         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
8025         (__expm1): Force underflow exception for arguments with small
8026         absolute value.
8027         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
8028         (__expm1f): Force underflow exception for arguments with small
8029         absolute value.
8030         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8031         Check for small arguments before calling __expm1.
8032         * math/auto-libm-test-in: Do not mark underflow exceptions as
8033         possibly missing for bug 16353.
8034         * math/auto-libm-test-out: Regenerated.
8036 2015-06-22  Andreas Schwab  <schwab@suse.de>
8038         [BZ #18513]
8039         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
8040         PTR queries.
8042 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
8044         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
8046         * string/strcoll_l.c: Remove unused struct element idxnow.
8048 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
8050         [BZ #18569]
8051         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
8052         underflow and return argument in case of subnormal argument.
8053         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8054         Likewise.
8055         * math/auto-libm-test-in: Add more tests of expm1.
8056         * math/auto-libm-test-out: Regenerated.
8058         [BZ #16361]
8059         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
8060         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
8061         tiny results.
8062         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
8063         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
8064         tiny results.
8065         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
8066         mark underflow exceptions as possibly missing for bug 16361.
8067         * math/auto-libm-test-out: Regenerated.
8069 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
8071         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
8072         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
8073         Remove variable.
8074         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8075         (test-xfail-XOPEN2K8/utmpx.h/conform).
8077         * conform/conformtest.pl ($xerrors): New variable.
8078         (note_error): New function.
8079         (compiletest): New argument $xfail.  Use not_error.
8080         (runtest): Likewise.
8081         (top level): Handle xfail- lines.  Update calls to compiletest and
8082         runtest.  Handle xfail- and optional- in headers listed with
8083         allow-header.
8084         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
8085         (O_EXEC): Likewise.
8086         (O_SEARCH): Likewise.
8087         * conform/data/stropts.h-data (ioctl): Likewise.
8088         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
8089         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
8090         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
8091         (msghdr.msg_controllen): Likewise.
8092         (cmsghdr.cmsg_len): Likewise.
8093         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
8094         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
8095         variable.
8096         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8097         (test-xfail-XPG4/stropts.h/conform): Likewise.
8098         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8099         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8100         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8101         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8102         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8103         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8104         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8105         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8106         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8107         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8108         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8109         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8110         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8111         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8112         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8113         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8114         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8115         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8116         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8118 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8120         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
8121         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
8122         definitions for proper unfolding of __MATHDECL_VEC.
8124 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8126         * benchtests/bench-strcoll.c:
8127         Include string.h.
8128         (main): Remove unused variable res.
8130 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8132         * timezone/Makefile (%/UTC %/Universal):
8133         Generate test-result files for UTC and Universal.
8135 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8137         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8139 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
8141         [BZ #16350]
8142         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
8143         for arguments with small absolute value.
8144         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
8145         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
8146         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
8147         (__asinh): Force underflow exception for arguments with small
8148         absolute value.
8149         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
8150         (__asinhf): Force underflow exception for arguments with small
8151         absolute value.
8152         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
8153         (__asinhl): Force underflow exception for arguments with small
8154         absolute value.
8155         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
8156         (__asinhl): Force underflow exception for arguments with small
8157         absolute value.
8158         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
8159         (__asinhl): Force underflow exception for arguments with small
8160         absolute value.
8161         * math/auto-libm-test-in: Do not mark underflow exceptions as
8162         possibly missing for bug 16350.
8163         * math/auto-libm-test-out: Regenerated.
8165         * include/bits/ipc.h: Remove file.
8166         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
8167         variable.
8168         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8169         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8170         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8171         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8172         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8173         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8174         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8175         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8176         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8178         * math/auto-libm-test-in: Remove spurious underflow allowance for
8179         tests of cexp.
8180         * math/auto-libm-test-out: Regenerated.
8182         [BZ #18558]
8183         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
8184         unconditional definition.
8185         (MCAST_BLOCK_SOURCE): Likewise.
8186         (MCAST_UNBLOCK_SOURCE): Likewise.
8187         (MCAST_LEAVE_GROUP): Likewise.
8188         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8189         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8190         (MCAST_MSFILTER): Likewise.
8191         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
8192         Remove variable.
8193         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8194         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8195         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8196         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8197         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8199 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
8201         * NEWS: Mention addition of x86_64 vector sincosf.
8202         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
8203         * math/test-float-vlen4.h: Likewise.
8204         * math/test-float-vlen8.h: Likewise.
8205         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8206         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
8207         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8208         * sysdeps/x86_64/fpu/Versions: New versions added.
8209         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8210         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8211         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8212         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
8213         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8214         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
8215         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8216         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
8217         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8218         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
8219         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
8220         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
8221         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
8222         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
8223         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
8224         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
8225         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
8226         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8227         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8228         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8229         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8230         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8231         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8232         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8234         * NEWS: Mention addition of x86_64 vector sincos.
8235         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
8236         * math/math.h (__MATHDECL_VEC): New macro.
8237         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
8238         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
8239         declaration under condition.
8240         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
8241         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
8242         TEST_VEC_LOOP change.
8243         * math/test-double-vlen4.h: Likewise.
8244         * math/test-double-vlen8.h: Likewise.
8245         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
8246         * math/test-float-vlen4.h: Likewise.
8247         * math/test-float-vlen8.h: Likewise.
8248         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8249         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
8250         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8251         * sysdeps/x86_64/fpu/Versions: New versions added.
8252         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8253         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8254         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8255         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
8256         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
8257         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
8258         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
8259         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
8260         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
8261         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
8262         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
8263         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
8264         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
8265         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
8266         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
8267         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
8268         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
8269         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8270         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8271         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8272         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8273         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8274         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8275         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8277         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8278         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8279         redirections for powf.
8280         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8281         * sysdeps/x86_64/fpu/Versions: New versions added.
8282         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8283         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8284         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8285         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
8286         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
8287         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
8288         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
8289         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
8290         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
8291         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
8292         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
8293         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
8294         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
8295         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
8296         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
8297         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
8298         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
8299         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8300         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8301         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8302         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8303         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8304         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8305         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8306         * math/test-float-vlen16.h: Fixed 2 argument macro.
8307         * math/test-float-vlen4.h: Likewise.
8308         * math/test-float-vlen8.h: Likewise.
8309         * NEWS: Mention addition of x86_64 vector powf.
8311 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
8313         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8314         and redefine.
8315         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8316         and redefine.
8317         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
8318         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8319         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8321         [BZ #18553]
8322         * resource/getpriority.c (getpriority): Rename to __getpriority
8323         and define as weak alias of __getpriority.
8324         * resource/setpriority.c (setpriority): Rename to __setpriority
8325         and define as weak alias of __setpriority.
8326         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
8327         __getpriority and define as weak alias of __getpriority.
8328         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
8329         __setpriority and define as weak alias of __setpriority.
8330         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
8331         strong name.
8332         (setpriority): Use __setpriority as strong name.
8333         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
8334         __getpriority and define as weak alias of __getpriority.
8335         * include/sys/resource.h (__getpriority): Declare.  Use
8336         libc_hidden_proto.
8337         (__setpriority): Likewise.
8338         (getpriority): Don't use libc_hidden_proto.
8339         (setpriority): Likewise.
8340         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
8341         getpriority.  Call __setpriority instead of setpriority.
8342         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
8343         Remove variable.
8345         [BZ #18547]
8346         * misc/getttyent.c (getttynam): Rename to __getttynam and define
8347         as weak alias of __getttynam.  Use prototype function definition.
8348         Call __setttyent, __getttyent and __endttyent instead of
8349         setttyent, getttyent and endttyent.
8350         (getttyent): Rename to __getttyent and define as weak alias of
8351         __getttyent.  Call __setttyent instead of setttyent.  Call
8352         __fgets_unlocked instead of fgets_unlocked.
8353         (setttyent): Rename to __setttyent and define as weak alias of
8354         __setttyent.
8355         (endttyent): Rename to __endttyent and define as weak alias of
8356         __endttyent.
8357         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
8358         (__setttyent): Likewise.
8359         (__endttyent): Likewise.
8360         (getttyent): Don't use libc_hidden_proto.
8361         (setttyent): Likewise.
8362         (endttyent): Likewise.
8363         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
8364         __endttyent instead of setttyent, getttyent and endttyent.
8365         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
8366         Remove variable.
8368         [BZ #18546]
8369         * socket/recv.c (__recv): Use libc_hidden_def.
8370         * socket/socket.c (__socket): Likewise.
8371         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8372         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8373         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
8374         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
8375         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
8376         libc_hidden_def.
8377         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
8378         libc_hidden_weak.
8379         * include/sys/socket.h (__socket): Do not use attribute_hidden.
8380         Use libc_hidden_proto.
8381         (__recv): Likewise.
8382         * socket/Versions (libc): Export __recv and __socket at version
8383         GLIBC_PRIVATE.
8384         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
8385         instead of recv.
8386         (init_mq_netlink): Call __socket instead of socket.
8387         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
8388         Remove variable.
8390         [BZ #18545]
8391         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
8392         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
8393         hidden_weak.
8394         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
8395         define as alias of __mq_timedsend.  Use hidden_weak.
8396         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
8397         __mq_timedsend as strong name.
8398         (mq_timedreceive): Use __mq_timedreceive as strong name.
8399         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
8400         (__mq_timedreceive): Likewise.
8401         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
8402         __mq_timedreceive instead of mq_timedreceive.
8403         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
8404         instead of mq_timedsend.
8405         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
8406         Remove variable.
8408         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
8409         hidden_def and hidden_weak instead of libc_hidden_def and
8410         libc_hidden_weak.
8411         (top level): Refer to hidden_def in comment.
8412         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
8413         macro.  Use it instead of libc_hidden_def.
8414         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
8415         specify __GI_* name explicitly.
8416         (mq_timedreceive): Likewise.
8417         (mq_setattr): Likewise.
8419         [BZ #18544]
8420         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
8421         __pthread_barrier_init and define as weak alias of
8422         __pthread_barrier_init.
8423         * sysdeps/sparc/nptl/pthread_barrier_init.c
8424         (pthread_barrier_init): Likewise.
8425         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
8426         __pthread_barrier_wait and define as weak alias of
8427         __pthread_barrier_wait.
8428         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8429         (pthread_barrier_wait): Likewise.
8430         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8431         (pthread_barrier_wait): Likewise.
8432         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
8433         (pthread_barrier_wait): Likewise.
8434         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
8435         (pthread_barrier_wait): Likewise.
8436         * nptl/Versions (libpthread): Export __pthread_barrier_init and
8437         __pthread_barrier_wait at version GLIBC_PRIVATE.
8438         * include/pthread.h (__pthread_barrier_init): Declare.
8439         (__pthread_barrier_wait): Likewise.
8440         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
8441         Call __pthread_barrier_wait instead of pthread_barrier_wait.
8442         (helper_thread): Likewise.
8443         (init_mq_netlink): Call __pthread_barrier_init instead of
8444         pthread_barrier_init.
8446         [BZ #18542]
8447         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
8448         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
8449         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
8450         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
8451         vswscanf.
8452         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
8453         Remove variable.
8455         [BZ #18540]
8456         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
8457         strong alias of _IO_fflush.  Use libc_hidden_def.
8458         * libio/iofflush_u.c (fflush_unlocked): Rename to
8459         __fflush_unlocked and define as weak alias of __fflush_unlocked.
8460         Use libc_hidden_weak.
8461         * include/stdio.h (__fflush_unlocked): Declare.  Use
8462         libc_hidden_proto.
8463         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
8464         fflush_unlocked.
8465         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
8466         Remove variable.
8468         [BZ #18539]
8469         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
8470         define as weak alias of __addseverity.
8471         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
8472         Remove variable.
8473         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8474         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8475         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8477         [BZ #18536]
8478         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
8479         (__tfind): Likewise.
8480         (__tdelete): Likewise.
8481         (__twalk): Likewise.
8482         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
8483         __twalk to GLIBC_PRIVATE.
8484         * include/search.h (__tsearch): Use libc_hidden_proto.
8485         (__tfind): Likewise.
8486         (__tdelete): Likewise.
8487         (__twalk): Likewise.
8488         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
8489         Call __tdelete instead of tdelete.
8490         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
8491         tfind.  Call __tsearch instead of tsearch.
8492         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
8493         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
8494         Remove variable.
8495         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8497         [BZ #18534]
8498         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
8499         (dprintf): Define as a weak alias of __dprintf, not a strong
8500         alias.
8501         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
8502         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
8503         dprintf.
8504         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
8505         Remove variable.
8506         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8507         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8509         [BZ #18533]
8510         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
8511         not a strong alias.
8512         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
8513         Remove variable.
8515         [BZ #18532]
8516         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
8517         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
8518         (in6addr_loopback): Rename to __in6addr_loopback and define as
8519         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
8520         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
8521         libc_hidden_proto.
8522         (__in6addr_any): Likewise.
8523         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
8524         in6addr_any.
8525         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
8526         variable.
8527         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8529 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8531         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
8532         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
8533         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8534         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8535         redirections for pow.
8536         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8537         * sysdeps/x86_64/fpu/Versions: New versions added.
8538         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8539         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8540         build of SSE, AVX2 and AVX512 IFUNC versions.
8541         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
8542         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
8543         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
8544         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
8545         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
8546         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
8547         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
8548         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
8549         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
8550         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
8551         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
8552         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
8553         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
8554         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
8555         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8556         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8557         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8558         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8559         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8560         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8561         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8562         * NEWS: Mention addition of x86_64 vector pow.
8564         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8565         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8566         redirections for expf.
8567         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8568         * sysdeps/x86_64/fpu/Versions: New versions added.
8569         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8570         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8571         build of SSE, AVX2 and AVX512 IFUNC versions.
8572         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
8573         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
8574         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
8575         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
8576         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
8577         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
8578         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
8579         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
8580         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
8581         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
8582         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
8583         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
8584         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
8585         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8586         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8587         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8588         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8589         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8590         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8591         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8592         * NEWS: Mention addition of x86_64 vector expf.
8594         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
8595         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
8596         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8597         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8598         redirections for exp.
8599         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8600         * sysdeps/x86_64/fpu/Versions: New versions added.
8601         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8602         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8603         build of SSE, AVX2 and AVX512 IFUNC versions.
8604         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
8605         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
8606         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
8607         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
8608         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
8609         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
8610         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
8611         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
8612         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
8613         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
8614         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
8615         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
8616         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
8617         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8618         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8619         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8620         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8621         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8622         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8623         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8624         * NEWS: Mention addition of x86_64 vector exp.
8626         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8627         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8628         redirections for logf.
8629         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8630         * sysdeps/x86_64/fpu/Versions: New versions added.
8631         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8632         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8633         build of SSE, AVX2 and AVX512 IFUNC versions.
8634         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
8635         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
8636         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
8637         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
8638         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
8639         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
8640         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
8641         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
8642         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
8643         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
8644         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
8645         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
8646         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
8647         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8648         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8649         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8650         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8651         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8652         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8653         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8654         * NEWS: Mention addition of x86_64 vector logf.
8656         * bits/libm-simd-decl-stubs.h: Added stubs for log.
8657         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
8658         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8659         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8660         redirections for log.
8661         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8662         * sysdeps/x86_64/fpu/Versions: New versions added.
8663         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8664         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8665         build of SSE, AVX2 and AVX512 IFUNC versions.
8666         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
8667         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
8668         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
8669         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
8670         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
8671         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
8672         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
8673         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
8674         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
8675         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
8676         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
8677         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
8678         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
8679         test.
8680         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8681         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8682         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8683         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8684         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8685         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8686         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8687         * NEWS: Mention addition of x86_64 vector log.
8689 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8691         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
8692         cfi_adjust_cfa_offset argument.
8693         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
8694         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
8696         [BZ #18034]
8697         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
8698         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
8699         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
8700         ordering using ldar.
8701         (_dl_tlsdesc_dynamic): Likewise.
8702         (_dl_tlsdesc_return_lazy): Likewise.
8703         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
8704         relaxed atomics instead of volatile and synchronize with release store.
8705         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
8706         volatile.
8707         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8709 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
8711         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8712         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
8713         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8714         * sysdeps/x86_64/fpu/Versions: New versions added.
8715         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8716         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8717         build of SSE, AVX2 and AVX512 IFUNC versions.
8718         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
8719         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
8720         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
8721         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
8722         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
8723         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
8724         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
8725         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
8726         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
8727         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
8728         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
8729         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
8730         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
8731         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8732         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8733         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8734         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8735         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8736         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8737         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8738         * NEWS: Mention addition of x86_64 vector sinf.
8740 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
8742         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
8743         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
8744         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
8745         Remove variable.
8746         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8747         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8749 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8751         [BZ #18530]
8752         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
8753         strong alias of _IO_fputs.  Use libc_hidden_def.
8754         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
8755         and define as weak alias of __fputs_unlocked.  Use
8756         libc_hidden_weak.
8757         * include/stdio.h (__fputs_unlocked): Declare.  Use
8758         libc_hidden_proto.
8759         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
8760         fputs_unlocked.
8762         [BZ #18529]
8763         * resolv/netdb.h [__USE_POSIX]: Change condition to
8764         [__USE_XOPEN2K].
8765         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
8766         not expect.
8767         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
8768         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
8769         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
8770         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
8771         [XPG4 || UNIX98] (AI_ALL): Likewise.
8772         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
8773         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
8774         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
8775         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
8776         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
8777         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
8778         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
8779         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
8780         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
8781         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
8782         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
8783         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
8784         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
8785         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
8786         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
8787         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8788         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8789         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
8790         [XPG4 || UNIX98] (gai_strerror): Likewise.
8791         [XPG4 || UNIX98] (getaddrinfo): Likewise.
8792         [XPG4 || UNIX98] (getnameinfo): Likewise.
8794         [BZ #18528]
8795         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
8796         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
8797         __USE_XOPEN2K8].
8798         (getgrent): Likewise.
8799         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
8800         expect.
8801         [XPG3 || POSIX2008] (endgrent): Likewise.
8802         [XPG3] (setgrent): Likewise.
8803         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
8804         variable.
8805         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8807         [BZ #18527]
8808         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
8809         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
8810         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
8811         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
8812         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
8813         * include/unistd.h (__getlogin_r): Declare.  Use
8814         libc_hidden_proto.
8815         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
8816         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
8817         variable.
8818         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8819         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8820         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8822 2015-06-12  Martin Sebor  <msebor@redhat.com>
8824         [BZ #18512]
8825         * Makerules (check-install-supported): New target.
8826         (install): Add check-install-supported as a dependency.
8827         * manual/install.texi (Installing the C Library): Document
8828         that overriding prefix and exec_prefix is not supported.
8829         Mention DESTDIR.
8830         * INSTALL: Regenerate from the above.
8832 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8834         [BZ #18519]
8835         * posix/Versions (libc): Export __libc_pread at version
8836         GLIBC_PRIVATE.
8837         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
8838         instead of pread.
8839         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
8840         variable.
8842         [BZ #18522]
8843         * misc/efgcvt_r.c
8844         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
8845         (cvt_symbol): Use weak_alias instead of strong_alias.
8846         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
8847         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
8848         Remove variable.
8849         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8850         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8852         [BZ #18520]
8853         * inet/herrno.c (h_errno): Rename to __h_errno.
8854         (__libc_h_errno): Define as alias of __h_errno not h_errno.
8855         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
8856         to __h_errno instead of h_errno.
8857         * nptl/herrno.c (h_errno): Rename to __h_errno.
8858         (__h_errno_location): Refer to __h_errno not h_errno.
8859         * resolv/Versions (h_errno): Rename to __h_errno.
8860         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
8861         Remove variable.
8862         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8864 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
8866         * configure.ac: More strict check for AVX512 assembler support.
8867         * configure: Regenerated.
8869         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
8870         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
8871         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8872         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
8873         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8874         * sysdeps/x86_64/fpu/Versions: New versions added.
8875         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8876         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8877         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8878         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
8879         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
8880         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
8881         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
8882         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
8883         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
8884         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
8885         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
8886         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
8887         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
8888         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
8889         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
8890         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
8891         test.
8892         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8893         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8894         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8895         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8896         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8897         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8898         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8899         * NEWS: Mention addition of x86_64 vector sin.
8901 2015-06-11  Florian Weimer  <fweimer@redhat.com>
8903         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
8904         comment.
8906 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8908         [BZ #18479]
8909         * nptl/pt-interp.c: New file.
8910         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
8911         Add pt-interp.
8912         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
8913         $(common-objpfx)runtime-linker.h.
8915 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
8917         * Makeconfig (+interp): Remove unused variable.
8918         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
8919         only.  Depend on $(common-objpfx)runtime-linker.h instead of
8920         $(elf-objpfx)runtime-linker.h.
8921         ($(elf-objpfx)runtime-linker.h): Rename to
8922         $(common-objpfx)runtime-linker.h and move ...
8923         * Makerules [$(build-shared) = yes]: ... here.
8924         * elf/interp.c: Include <runtime-linker.h> instead of
8925         <elf/runtime-linker.h>.
8927 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8929         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
8930         (__gettimeofday_syscall): Remove vsyscall fallback.
8931         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
8932         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
8933         Add syscall fallback function.
8934         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
8935         if vDSO is not present.
8936         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
8937         fallback function.
8938         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
8939         present.
8940         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
8941         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8943 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
8945         [BZ #18497]
8946         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
8947         of wcscmp.
8948         (wcscmp): Define as weak alias of WCSCMP.
8949         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
8950         wcscoll.
8951         (USE_HIDDEN_DEF): Define.
8952         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
8953         __wcscoll.  Don't use libc_hidden_weak.
8954         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
8955         wcscmp.
8956         * sysdeps/i386/i686/multiarch/wcscmp-c.c
8957         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
8958         __GI_wcscmp.
8959         (weak_alias): Undefine and redefine.
8960         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
8961         __wcscmp and define as weak alias of __wcscmp.
8962         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
8963         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
8964         (__wcscoll): Likewise.
8965         (wcscmp): Don't use libc_hidden_proto.
8966         (wcscoll): Likewise.
8967         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
8968         wcscoll.
8969         * posix/regexec.c (check_node_accept_bytes): Likewise.
8970         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
8971         variable.
8972         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8973         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8975         [BZ #18507]
8976         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
8977         __fstatvfs and define as weak alias of __fstatvfs.  Use
8978         libc_hidden_weak.
8979         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
8980         and define as weak alias of __statvfs.  Use libc_hidden_weak.
8981         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
8982         Define as alias of __fstatvfs, not fstatvfs.
8983         (fstatvfs64): Likewise.
8984         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
8985         Define as alias of __statvfs, not statvfs.
8986         (statvfs64): Likewise.
8987         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
8988         Remove variable.
8990 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8993         (HAVE_GETCPU_VSYSCALL): Define.
8994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8995         (HAVE_GETCPU_VSYSCALL): Likewise.
8996         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
8997         * sysdeps/unix/sysv/linux/sched_getcpu.c
8998         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
8999         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
9000         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
9001         prototype.
9002         * sysdeps/unix/sysv/linux/x86_64/init-first.c
9003         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
9004         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
9005         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
9006         Define.
9007         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
9008         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9009         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
9010         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9012 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
9014         * sysdeps/x86_64/fpu/Makefile: New file.
9015         * sysdeps/x86_64/fpu/Versions: New file.
9016         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
9017         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
9018         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
9019         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
9020         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
9021         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
9022         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
9023         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
9024         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
9025         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
9026         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
9027         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
9028         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
9029         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9030         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9031         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
9032         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
9033         * sysdeps/x86_64/configure.ac: Options for libmvec build.
9034         * sysdeps/x86_64/configure: Regenerated.
9035         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
9036         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
9037         * manual/install.texi (Configuring and compiling): Document
9038         --disable-mathvec.
9039         * INSTALL: Regenerated.
9040         * NEWS: Mention addition of libmvec and x86_64 vector cos.
9042         * math/Makefile: Added rules for vector tests.
9043         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
9044         declaration under condition.
9045         * math/test-double-vlen2.h: New file.
9046         * math/test-double-vlen4.h: New file.
9047         * math/test-double-vlen8.h: New file.
9048         * math/test-vec-loop.h: Added initialization macro.
9049         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
9050         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
9051         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
9052         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
9053         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
9054         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
9055         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
9056         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
9057         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
9058         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
9059         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
9061         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9062         * sysdeps/x86_64/fpu/Versions: New versions added.
9063         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
9064         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
9065         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
9066         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
9067         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
9068         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
9069         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
9070         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
9071         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
9072         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
9073         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
9074         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
9075         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
9076         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9077         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9078         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9079         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
9080         * NEWS: Mention addition of x86_64 vector cosf.
9082         * math/Makefile: Added CFLAGS for new tests.
9083         * math/test-float-vlen16.h: New file.
9084         * math/test-float-vlen4.h: New file.
9085         * math/test-float-vlen8.h: New file.
9086         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
9087         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
9088         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9089         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
9090         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
9091         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
9092         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
9093         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
9094         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
9095         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
9096         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
9098 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
9100         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
9101         * locale/programs/ld-ctype.c: Likewise.
9103 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
9105         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
9106         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
9107         bit_ZMM16_31_state): New macro.
9108         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9109         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
9111 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
9113         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
9115 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
9117         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
9119 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
9121         [BZ #18498]
9122         * libio/memstream.c (open_memstream): Rename to __open_memstream
9123         and define as weak alias of __open_memstream.
9124         * include/stdio.h (__open_memstream): Declare.  Use
9125         libc_hidden_proto.
9126         (open_memstream): Don't use libc_hidden_proto.
9127         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
9128         open_memstream.
9129         * posix/getopt.c (_getopt_internal_r): Likewise.
9130         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
9131         variable.
9132         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9133         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9134         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9136         [BZ #18496]
9137         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
9138         instead of wcrtomb.
9140         [BZ #18483]
9141         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
9142         [__USE_XOPEN2K8].  Remove redundant #endif.
9143         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
9144         Remove redundant #if.
9145         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
9146         Remove variable.
9147         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9148         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9150         [BZ #18495]
9151         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
9152         (__iswlower): Likewise.
9153         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
9154         (__iswlower): Likewise.
9155         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
9156         instead of towlower.
9157         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
9158         instead of iswlower.  Call __towupper instead of towupper.
9159         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
9160         instead of iswalnum.
9162 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9164         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
9165         errors to stderr.
9167 2015-06-05  Florian Weimer  <fweimer@redhat.com>
9169         [BZ #15661]
9170         [BZ #17322]
9171         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
9172         Check for overflow properly.  Check for O_APPEND.  Ignore large
9173         file system block sizes.  Add comments about problems.
9174         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
9175         * manual/filesys.texi (Storage Allocation): New node.
9177 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9179         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
9180         cancellable syscalls.
9181         (SYS_ify): Add guard to no redefine it.
9182         (INLINE_SYSCALL): Likewise.
9183         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
9184         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
9185         SYSCALL_CANCEL instead.
9186         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
9187         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9188         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9189         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9190         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9191         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
9192         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
9193         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
9194         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9195         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9196         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
9197         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
9198         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
9199         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
9200         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
9201         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9202         Likewise.
9203         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9204         (__libc_pread64): Likewise.
9205         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
9206         (__libc_preadv): Likewise.
9207         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
9208         (__libc_readv64): Likewise.
9209         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9210         (__libc_pwrite): Likewise.
9211         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9212         (__libc_pwrite64): Likewise.
9213         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
9214         (__libc_pwritev): Likewise.
9215         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
9216         (__libc_pwritev64): Likewise.
9217         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
9218         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9219         (sync_file_range): Likewise.
9220         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
9221         Likewise.
9222         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
9223         Likewise.
9224         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9225         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9226         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9227         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9228         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9229         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9230         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9231         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
9232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9233         Likewise.
9234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9235         (__libc_read64): Likewise.
9236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
9237         Likewise.
9238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
9239         Likewise.
9240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
9241         Likewise.
9242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
9243         Likewise.
9244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9245         (__libc_pread64): Likewise.
9246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
9247         Likewise.
9248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9249         (__libc_pwrite64): Likewise.
9250         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
9251         (sync_file_range): Likewise.
9252         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
9253         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9254         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9255         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
9256         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
9257         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9258         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9259         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
9260         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
9261         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9262         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9263         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9264         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9265         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9266         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
9267         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9268         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9269         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9270         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9271         Likewise.
9272         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
9273         Likewise.
9274         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
9275         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
9276         Likewise.
9277         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
9278         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
9279         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
9280         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
9281         Likewise.
9282         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
9283         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
9284         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
9285         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
9286         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
9288 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
9290         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
9291         Include dl-vdso.
9292         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
9293         Use VDSO routines for gettimeofday, clock_gettime if
9294         available.
9295         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
9296         Declare VDSO symbols.
9297         * sysdeps/unix/sysv/linux/arm/sysdep.h:
9298         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
9299         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9300         * sysdeps/unix/sysv/linux/arm/Versions: Add
9301         __vdso_clock_gettime.
9303 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9305         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
9306         be an inline implementation regardless of library is built within.
9307         (open_not_cancel_2): Likewise.
9308         (__read_nocancel): Likewise.
9309         (__write_nocancel): Likewise.
9310         (openat_not_cancel): Likewise.
9311         (openat_not_cancel_3): Likewise.
9312         (openat64_not_cancel): Likewise.
9313         (openat64_not_cancel_3): Likewise.
9314         (__close_nocancel): Likewise.
9315         (pause_not_cancel): Likewise.
9316         (nanosleep_not_cancel): Likewise.
9317         (sigsuspend_not_cancel): Likewise.
9319 2015-06-04  Torvald Riegel  <triegel@redhat.com>
9321         [BZ #14958]
9322         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
9323         wake-up.
9324         (__pthread_rwlock_rdlock_slow): Likewise.
9325         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9326         Likewise.
9327         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9328         Likewise.
9329         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
9330         * nptl/tst-rwlock16.c: New file.
9331         * nptl/Makefile (tests): Add new test.
9333 2015-06-04  Torvald Riegel  <triegel@redhat.com>
9335         [BZ #18324]
9336         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
9337         missing wake-up of readers.
9338         * nptl/tst-rwlock15.c: New file.
9339         * nptl/Makefile (tests): Add new test.
9341 2015-06-03  Roland McGrath  <roland@hack.frob.com>
9343         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
9344         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
9345         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
9346         and __nacl_supply_interface_rtld.
9347         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
9348         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
9349         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
9350         Add __nacl_supply_interface_rtld.
9351         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
9353 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
9355         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
9356         isfinite.
9357         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9358         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
9360 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
9362         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
9363         __signbit* with standard C99 macros.
9364         * math/e_exp10l.c: Likewise.
9365         * math/e_exp2l.c: Likewise.
9366         * math/e_scalb.c: Likewise.
9367         * math/e_scalbf.c: Likewise.
9368         * math/e_scalbl.c: Likewise.
9369         * math/s_ldexp.c: Likewise.
9370         * math/s_ldexpf.c: Likewise.
9371         * math/s_ldexpl.c: Likewise.
9372         * math/w_atan2.c: Likewise.
9373         * math/w_atan2f.c: Likewise.
9374         * math/w_atan2l.c: Likewise.
9375         * math/w_cosh.c: Likewise.
9376         * math/w_coshf.c: Likewise.
9377         * math/w_coshl.c: Likewise.
9378         * math/w_exp10.c: Likewise.
9379         * math/w_exp10f.c: Likewise.
9380         * math/w_exp10l.c: Likewise.
9381         * math/w_exp2.c: Likewise.
9382         * math/w_exp2f.c: Likewise.
9383         * math/w_exp2l.c: Likewise.
9384         * math/w_fmod.c: Likewise.
9385         * math/w_fmodf.c: Likewise.
9386         * math/w_fmodl.c: Likewise.
9387         * math/w_hypot.c: Likewise.
9388         * math/w_hypotf.c: Likewise.
9389         * math/w_hypotl.c: Likewise.
9390         * math/w_jnl.c: Likewise.
9391         * math/w_lgamma.c: Likewise.
9392         * math/w_lgamma_r.c: Likewise.
9393         * math/w_lgammaf.c: Likewise.
9394         * math/w_lgammaf_r.c: Likewise.
9395         * math/w_lgammal.c: Likewise.
9396         * math/w_lgammal_r.c: Likewise.
9397         * math/w_pow.c: Likewise.
9398         * math/w_powf.c: Likewise.
9399         * math/w_powl.c: Likewise.
9400         * math/w_remainder.c: Likewise.
9401         * math/w_remainderf.c: Likewise.
9402         * math/w_remainderl.c: Likewise.
9403         * math/w_scalb.c: Likewise.
9404         * math/w_scalbf.c: Likewise.
9405         * math/w_scalbl.c: Likewise.
9406         * math/w_scalbln.c: Likewise.
9407         * math/w_scalblnf.c: Likewise.
9408         * math/w_scalblnl.c: Likewise.
9409         * math/w_sinh.c: Likewise.
9410         * math/w_sinhf.c: Likewise.
9411         * math/w_sinhl.c: Likewise.
9412         * math/w_tgamma.c: Likewise.
9413         * math/w_tgammaf.c: Likewise.
9414         * math/w_tgammal.c: Likewise.
9415         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9416         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
9417         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9418         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9419         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9420         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9421         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9422         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9423         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9424         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9425         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9426         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9427         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9428         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9429         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9430         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9431         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9432         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9433         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9434         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9435         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9436         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9437         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9438         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9439         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9440         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9441         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9442         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9443         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9444         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9445         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
9446         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
9447         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
9448         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
9449         * stdio-common/printf_fp.c: Likewise.
9450         * stdio-common/printf_fphex.c: Likewise.
9451         * stdio-common/printf_size.c: Likewise.
9453 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
9455         [BZ #18470]
9456         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
9457         strnlen.
9458         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
9459         Remove variable.
9460         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9461         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9462         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9463         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9464         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9465         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9466         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9467         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9468         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9469         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9471         [BZ #18468]
9472         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
9473         weak alias of __wmemchr.  Use libc_hidden_weak.
9474         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
9475         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
9476         instead of wmemchr.
9478 2015-06-02  Roland McGrath  <roland@hack.frob.com>
9480         [BZ #18383]
9481         * elf/tst-tlsalign-extern.c: New file.
9482         * elf/tst-tlsalign-extern-static.c: New file.
9483         * elf/tst-tlsalign-vars.c: New file.
9484         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
9485         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
9486         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
9487         ($(objpfx)tst-tlsalign-extern-static): Likewise.
9488         (test-xfail-tst-tlsalign-extern-static): New variable.
9490 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
9492         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
9493         Use variable name _sc_err instead of err.
9494         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
9495         instead of ret.
9496         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
9497         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
9498         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
9499         (INLINE_SYSCALL): Likewise.
9501         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
9502         * include/string.h (__strnlen): Use libc_hidden_proto.
9503         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
9504         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
9505         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
9506         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
9507         (libc_hidden_def): Undefine and redefine.
9508         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
9509         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
9510         __GI_strnlen.
9511         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
9512         libc_hidden_def.
9513         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
9515         [BZ #18469]
9516         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
9517         weak alias of __towlower.  Use libc_hidden_weak.
9518         (towupper): Rename to __towupper and define as weak alias of
9519         __towupper.  Use libc_hidden_weak.
9520         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
9521         (__towupper): Likewise.
9522         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
9523         __towlower instead of towlower.
9525 2015-06-02  Roland McGrath  <roland@hack.frob.com>
9527         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
9528         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
9530 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9532         * sysdeps/aarch64/libm-test-ulps: Update.
9534 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9536         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
9537         Define.
9538         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9539         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9540         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9541         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9542         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
9543         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
9544         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
9546 2015-06-01  Martin Sebor  <msebor@redhat.com>
9548         [BZ #18116]
9549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9550         (__setcontext): Use extended four-operand version of mtsf whenever
9551         possible.
9552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9553         (__novec_swapcontext): Likewise.
9555 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9557         * benchtests/scripts/compare_bench.py: New file.
9558         * benchtests/scripts/import_bench.py (mean): New function.
9559         (split_list): Likewise.
9560         (do_for_all_timings): Likewise.
9561         (compress_timings): Likewise.
9563         * benchtests/scripts/import_bench.py: New file.
9564         * benchtests/scripts/validate_benchout.py: Import import_bench
9565         instead of jsonschema.
9566         (validate_bench): Remove function.
9567         (main): Use import_bench.
9569 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
9571         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
9572         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
9574 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9578 2015-05-28  Roland McGrath  <roland@hack.frob.com>
9580         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
9581         set THREAD_SELF->tid to a magic value and futex-wake it.
9582         Pass its address to the thread_exit system call.
9583         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
9584         bit is clear.
9585         * sysdeps/nacl/lowlevellock.h: New file.
9586         * sysdeps/nacl/lll_timedwait_tid.c: New file.
9588         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
9589         Add TIMEOUT to current time, don't subtract it.
9591 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
9593         [BZ #2981]
9594         [BZ #18422]
9595         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
9596         ($(objpfx)tst-audit2.out): Also depend on
9597         $(objpfx)tst-auditmod9b.so.
9598         * elf/tst-audit2.c: Include <dlfcn.h>.
9599         (calloc_called): New.
9600         (calloc): Allow to be called more than once.
9601         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
9603 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
9605         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
9606         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
9608 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
9610         * stdlib/monetary.h: Fix comment.
9612 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
9614         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
9615         Avoid using variables in #defines that might cause shadowing.
9616         (INTERNAL_VSYSCALL_CALL): Likewise.
9618 2015-05-26  Roland McGrath  <roland@hack.frob.com>
9620         * sysdeps/nacl/lll_timedlock_wait.c: New file.
9622         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
9623         * nptl/lll_timedlock_wait.c: ... to this new file.
9624         * nptl/Makefile (libpthread-routines): Add it.
9625         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
9626         * nptl/lll_timedwait_tid.c: ... to this new file.
9627         * nptl/Makefile (libpthread-routines): Add it.
9628         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
9629         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
9630         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
9631         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
9632         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
9633         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
9634         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
9635         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
9636         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
9637         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
9639 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9641         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
9642         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9643         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
9644         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
9645         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9646         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9647         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9648         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9649         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9650         * sysdeps/unix/sysv/linux/tile/sysdep.h
9651         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9652         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
9653         using vDSO syscall macro.
9655 2015-05-26  Andriy Rysin  <arysin@gmail.com>
9657         [BZ #17293]
9658         * uk_UA: Fix sorting order for Ukrainian locale
9660 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
9662         * stdlib/monetary.h: Fix comment.
9664 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9666         [BZ #18234]
9667         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
9668         st_mtim and st_ctim members.
9669         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
9670         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
9671         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
9672         (struct stat64): Likewise.
9673         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
9674         (struct stat64): Likewise.
9675         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
9676         (struct stat64): Likewise.
9678 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9680         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
9681         Define and include sysdep-vdso.h.
9682         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
9683         Likewise.
9684         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
9685         Likewise.
9686         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
9687         Define with VDSO_SYMBOL and use PTR_MANGLE.
9688         (__vdso_clock_gettime): Likewise.
9689         (__vdso_clock_getres): Likewise.
9690         (_libc_vdso_platform_setup): Likewise.
9691         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9692         Likewise.
9693         (_libc_vdso_platform_setup): Likewise.
9694         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
9695         Likewise.
9696         (__vdso_clock_gettime): Likewise.
9697         (__vdso_clock_getres): Likewise.
9698         (__vdso_get_tbfreq): Likewise.
9699         (__vdso_getcpu): Likewise.
9700         (__vdso_time): Likewise.
9701         (__vdso_sigtramp_rt64): Likewise.
9702         (__vdso_signtramp32): Likewise.
9703         (__vdso_sigtramp_rt32): Likewise.
9704         (_libc_vdso_platform_setup): Likewise.
9705         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
9706         Likewise.
9707         (__vdso_clock_gettime): Likewise.
9708         (__vdso_clock_getres): Likewise.
9709         (_libc_vdso_platform_setup): Likewise.
9710         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
9711         Likewise.
9712         (__vdso_clock_gettime): Likewise.
9713         (_libc_vdso_platform_setup): Likewise.
9714         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9715         Likewise.
9716         (__vdso_getcpu): Likewise.
9717         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
9718         Use VDSO_SYMBOL macro to define.
9719         (__vdso_clock_gettime): Likewise.
9720         (__vdso_clock_getres): Likewise.
9721         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
9722         Likewise.
9723         (__vdso_clock_gettime): Likewise.
9724         (__vdso_clock_getres): Likewise.
9725         (__vdso_get_tbfreq): Likewise.
9726         (__vdso_getcpu): Likewise.
9727         (__vdso_time): Likewise.
9728         (__vdso_sigtramp_rt64): Likewise.
9729         (__vdso_signtramp32): Likewise.
9730         (__vdso_sigtramp_rt32): Likewise.
9731         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
9732         Likewise.
9733         (__vdso_clock_gettime): Likewise.
9734         (__vdso_clock_getres): Likewise.
9735         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
9736         Likewise.
9737         (__vdso_clock_gettime): Likewise.
9738         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9739         Likewise.
9740         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
9741         macro.
9742         (INTERNAL_VSYSCALL): Likewise.
9743         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
9744         Remove macro.
9745         (INTERNAL_VSYSCALL): Likewise.
9746         (INTERNAL_VSYSCALL_NCS): Likewise.
9747         (INTERNAL_VSYSCALL_CALL): New macro.
9748         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
9749         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
9750         Likewise.
9751         (INTERNAL_VSYSCALL): Likewise.
9752         (INTERNAL_VSYSCALL_NCS): Likewise.
9753         (INTERNAL_VSYSCALL_CALL): New macro.
9754         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
9755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9756         (INLINE_VSYSCALL): Remove macro.
9757         (INTERNAL_VSYSCALL): Remove macro.
9758         (INTERNAL_VSYSCALL_NCS): Remove macro.
9759         (INTERNAL_VSYSCALL_CALL): New macro.
9760         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
9761         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
9762         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9763         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
9764         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9766         (INLINE_VSYSCALL): Remove macro.
9767         (INTERNAL_VSYSCALL): Likewise.
9768         (INTERNAL_VSYSCALL_NCS): Likewise.
9769         (INTERNAL_VSYSCALL_CALL): New macro.
9770         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
9771         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
9772         PTR_DEMANGLE on vDSO pointer.
9773         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9774         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
9775         macro.
9776         (INTERNAL_SYSCALL): Likewise.
9777         (INTERNAL_VSYSCALL_NCS): Remove macro.
9778         (INTERNAL_VSYSCALL_CALL): New macro.
9779         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
9780         Remove macro.
9781         (INTERNAL_VSYSCALL): Likewise.
9782         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
9783         sysdep-vdso.h instead of libc-vdso.h.
9784         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
9785         definition.
9786         (INLINE_VSYSCALL): Likewise.
9787         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
9788         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
9789         definition.
9790         (INLINE_VSYSCALL): Likewise.
9791         (INTERNAL_VSYSCALL): Likewise.
9792         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9793         * sysdeps/unix/sysv/linux/timespec_get.c
9794         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9795         (timespec_get): Use ANSI prototype.
9796         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
9797         and definition for Linux.
9799 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9801         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
9802         * include/libc-symbols.h: libmvec_hidden_* macro series added.
9804 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9806         [BZ #2981]
9807         [BZ #18410]
9808         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
9809         for missing DT_PLTRELSZ.
9811 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
9813         Remove obsolete aliases that broke 'locale -a'
9814         [BZ #18412]
9815         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
9816         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
9817         breaking some applications that use 'locale -a' output.
9818         Change the encoding of this file from Latin-1 to ASCII to avoid
9819         other potential problems with people grepping this file.
9821 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9823         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
9824         -fasynchronous-unwind-tables.
9825         (CFLAGS-sendto.c): Likewise.
9826         (CFLAGS-sendmsg.c): Likewise.
9827         (CFLAGS-connect.c): Likewise.
9828         (CFLAGS-recvmsg.c): Likewise.
9829         (CFLAGS-recvfrom.c): Likewise.
9830         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
9831         (SOCKETCALL): New macro: non-cancellable socketcall.
9832         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
9833         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
9834         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
9835         * sysdeps/unix/sysv/linux/accept.c: New file.
9836         * sysdeps/unix/sysv/linux/bind.c: Likewise.
9837         * sysdeps/unix/sysv/linux/connect.c: Likewise.
9838         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
9839         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
9840         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
9841         * sysdeps/unix/sysv/linux/listen.c: Likewise.
9842         * sysdeps/unix/sysv/linux/recv.c: Likewise.
9843         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
9844         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9845         * sysdeps/unix/sysv/linux/send.c: Likewise.
9846         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9847         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
9848         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
9849         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
9850         * sysdeps/unix/sysv/linux/socket.c: Likewise.
9851         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
9852         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
9853         prototype.
9854         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
9855         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9856         instead of __internal_xxx function.
9857         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
9858         prototype.
9859         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
9860         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9861         instead of __internal_xxx function.
9862         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
9863         prototype.
9864         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
9865         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9866         instead of __internal_xxx function.
9867         * sysdeps/unix/sysv/linux/accept.S: Remove file.
9868         * sysdeps/unix/sysv/linux/bind.S: Likewise.
9869         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9870         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
9871         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
9872         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
9873         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
9874         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
9875         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
9876         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
9877         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
9878         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9879         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
9880         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
9881         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
9882         * sysdeps/unix/sysv/linux/listen.S: Likewise.
9883         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
9884         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
9885         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
9886         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
9887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
9888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
9889         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9890         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9891         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9892         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
9893         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9894         * sysdeps/unix/sysv/linux/send.S: Likewise.
9895         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9896         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9897         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
9898         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
9899         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
9900         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
9901         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9902         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
9903         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
9904         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
9905         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
9906         socketcall is implemented in GLIBC.
9908 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9910         * soft-fp/fmadf4.c: Include <libc-internal.h>.
9911         (__fma): Ignore uninitialized warnings around packing.
9912         * soft-fp/fmasf4.c: Include <libc-internal.h>.
9913         (__fmaf): Ignore uninitialized warnings around packing.
9914         * soft-fp/fmatf4.c: Include <libc-internal.h>.
9915         (__fmal): Ignore uninitialized warnings around packing.
9917         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
9918         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9919         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
9920         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9922         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
9923         switch statement into default case.
9924         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
9926         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
9927         a conditional in forcing "inexact".
9928         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9929         Likewise.
9931 2015-05-22  Roland McGrath  <roland@hack.frob.com>
9933         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9934         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
9935         for each INTERNAL_SYSCALL use.
9937 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9939         [BZ #438]
9940         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
9941         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
9942         variable.
9944         [BZ #18444]
9945         * string/basename.c (basename): Rename to __basename and define as
9946         weak alias of __basename.  Use libc_hidden_weak.
9947         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
9948         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
9949         __basename instead of basename.
9950         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
9951         Remove variable.
9952         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9954 2015-05-18  Florian Weimer  <fweimer@redhat.com>
9956         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
9957         (_IO_JUMPS_FILE_plus): New.
9958         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
9959         _IO_CAST_FIELD_ACCESS.
9960         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
9961         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
9962         * libio/freopen.c (freopen): Likewise.
9963         * libio/freopen64.c (freopen64): Likewise.
9964         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
9965         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
9966         * libio/iofwide.c (_IO_fwide): Likewise.
9967         * libio/memstream.c (open_memstream): Likewise.
9968         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9969         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9970         * libio/oldiopopen.c (_IO_old_popen): Likewise.
9972 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
9974         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
9975         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
9976         NADJ.
9977         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
9978         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
9979         NADJ.
9980         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
9981         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
9982         NADJ.
9984         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
9985         (p == 4) case.
9987         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
9988         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
9989         Remove variable.
9990         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9991         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9992         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9994 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9996         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
9997         Adjust jump table label generation macros.
9999 2015-05-21  Florian Weimer  <fweimer@redhat.com>
10001         * stdio-common/vfprintf.c (vfprintf): Move local variables
10002         args_malloced, specs, specs_malloced, and the code after
10003         do_positional to the printf_positional function.
10004         (printf_positional): New function.
10006 2015-05-21  Florian Weimer  <fweimer@redhat.com>
10008         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
10009         function.
10010         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
10011         STEP4_TABLE, process_arg): Move macro definitions
10012         out of the vfprintf function.  (Cosmetic change only.)
10014 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
10016         * benchtests/Makefile (stdio-common-bench): Define.
10017         (benchset): Add stdio-common-bench.
10018         * sprintf-inputs: New file.
10019         * sprintf-source.c: New file.
10021 2015-05-21  Andreas Schwab  <schwab@suse.de>
10023         [BZ #13028]
10024         [BZ #17053]
10025         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
10026         of struct __res_state.
10027         * resolv/res_send.c (__libc_res_nsend): Likewise.
10028         (get_nsaddr): New function.
10029         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
10030         statp directly.
10032 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
10034         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
10035         -D_POSIX_C_SOURCE=199506L.
10037         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
10039         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
10040         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
10041         Do not mention otherwise.
10042         [POSIX] (_XOPEN_VERSION): Do not expect.
10043         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
10044         [POSIX] (_POSIX2_C_BIND): Likewise.
10045         [POSIX] (_POSIX2_VERSION): Likewise.
10046         [POSIX] (_XOPEN_XPG2): Likewise.
10047         [POSIX] (_XOPEN_XPG3): Likewise.
10048         [POSIX] (_XOPEN_XPG4): Likewise.
10049         [POSIX] (_XOPEN_UNIX): Likewise.
10050         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
10051         [POSIX] (_POSIX_BARRIERS): Likewise.
10052         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
10053         [POSIX] (_POSIX_CPUTIME): Likewise.
10054         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
10055         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
10056         [POSIX] (_POSIX_SHELL): Likewise.
10057         [POSIX] (_POSIX_SPAWN): Likewise.
10058         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
10059         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
10060         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
10061         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
10062         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
10063         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
10064         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
10065         [POSIX] (_XBS5_LP64_OFF64): Likewise.
10066         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
10067         [POSIX] (_POSIX_TIMEOUTS): Likewise.
10068         [POSIX] (_POSIX2_PBS): Likewise.
10069         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
10070         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
10071         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
10072         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
10073         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
10074         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
10075         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
10076         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
10077         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
10078         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
10079         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
10080         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
10081         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
10082         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
10083         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
10084         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
10085         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
10086         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
10087         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
10088         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
10089         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
10090         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
10091         [POSIX] (_SC_2_C_BIND): Likewise.
10092         [POSIX] (_SC_2_C_VERSION): Likewise.
10093         [POSIX] (_SC_2_PBS): Likewise.
10094         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
10095         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
10096         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
10097         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
10098         [POSIX] (_SC_2_PBS_TRACK): Likewise.
10099         [POSIX] (_SC_ATEXIT_MAX): Likewise.
10100         [POSIX] (_SC_BARRIERS): Likewise.
10101         [POSIX] (_SC_BASE): Likewise.
10102         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
10103         [POSIX] (_SC_DEVICE_IO): Likewise.
10104         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
10105         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
10106         [POSIX] (_SC_FD_MGMT): Likewise.
10107         [POSIX] (_SC_FIFO): Likewise.
10108         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
10109         [POSIX] (_SC_FILE_LOCKING): Likewise.
10110         [POSIX] (_SC_FILE_SYSTEM): Likewise.
10111         [POSIX] (_SC_IOV_MAX): Likewise.
10112         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
10113         [POSIX] (_SC_NETWORKING): Likewise.
10114         [POSIX] (_SC_PAGE_SIZE): Likewise.
10115         [POSIX] (_SC_PASS_MAX): Likewise.
10116         [POSIX] (_SC_PIPE): Likewise.
10117         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
10118         [POSIX] (_SC_REGEXP): Likewise.
10119         [POSIX] (_SC_SHELL): Likewise.
10120         [POSIX] (_SC_SIGNALS): Likewise.
10121         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
10122         [POSIX] (_SC_SPIN_LOCKS): Likewise.
10123         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
10124         [POSIX] (_SC_USER_GROUPS): Likewise.
10125         [POSIX] (_SC_USER_GROUPS_R): Likewise.
10126         [POSIX] (_SC_STREAMS): Likewise.
10127         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
10128         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
10129         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
10130         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
10131         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
10132         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
10133         [POSIX] (_PC_FILESIZEBITS): Likewise.
10134         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
10135         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
10136         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
10137         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
10138         [POSIX] (uid_t): Likewise.
10139         [POSIX] (gid_t): Likewise.
10140         [POSIX] (off_t): Likewise.
10141         [POSIX] (pid_t): Likewise.
10142         [POSIX] (cuserid): Allow.
10143         (_SC_2_CHAR_TERM): Require constant.
10144         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
10145         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
10146         variable.
10148 2015-05-20  Roland McGrath  <roland@hack.frob.com>
10150         * sysdeps/nacl/pthread-pids.h: New file.
10151         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
10152         (create_thread): Use __nacl_get_tid to initialize PD->tid.
10154         * nptl/pthread-pids.h: New file.
10155         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
10156         * nptl/nptl-init.c: Include <pthread-pids.h>.
10157         (__pthread_initialize_minimal_internal):
10158         Call __pthread_initialize_pids instead of set_tid_address syscall.
10160         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
10161         * sysdeps/posix/usleep.c: ... here.
10163 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10165         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
10166         call_pselect6 object.
10167         [$(subdir) = io]: Remove call_sync_file_range object.
10168         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
10169         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
10170         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
10171         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
10173 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
10175         * math/s_cproj.c: Add include "math_private.h".
10176         * math/s_cprojf.c: Likewise.
10177         * math/s_cprojl.c: Likewise.
10179 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
10181         [BZ #18244]
10182         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
10183         high mantissa bit when testing whether P is a NaN.
10184         * math/libm-test.inc (remainder_test_data): Add more tests.
10185         (remquo_test_data): Likewise.
10187         [BZ #18049]
10188         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
10189         below -32, return the argument, with underflow if subnormal.
10190         * math/auto-libm-test-in: Add more tests of atanh.
10191         * math/auto-libm-test-out: Regenerated.
10193 2015-05-19  Roland McGrath  <roland@hack.frob.com>
10195         [BZ #18434]
10196         * nptl/tst-sem15.c: New file.
10197         * nptl/Makefile (tests): Add it.
10198         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
10199         s/<</>>/ to fix typo in EOVERFLOW check.
10200         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
10202 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10204         * manual/strings.texi (envz_remove): Fix typo in safety
10205         annotations.
10207 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
10208             Steve Ellcey  <sellcey@imgtec.com>
10210         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
10211         in order to avoid strict alias warnings.
10212         (iruserok_af): Ditto for ra.
10214 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
10216         [BZ #17581]
10217         * malloc/hooks.c
10218         (magicbyte): Convert to a function and avoid returning 0x01.
10219         (mem2mem_check): Avoid using a length byte equal to the magic byte.
10220         (mem2chunk_check): Fix unsigned comparisons to zero.
10221         Hoist defs of sz and magic.
10223 2015-05-19  Richard Henderson  <rth@redhat.com>
10225         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
10227         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10229 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10231         [BZ #16159]
10232         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
10233         * malloc/arena.c (arena_lock): Check if arena is corrupt.
10234         (reused_arena): Find a non-corrupt arena.
10235         (heap_trim): Pass arena to unlink.
10236         * malloc/hooks.c (malloc_check_get_size): Pass arena to
10237         malloc_printerr.
10238         (top_check): Likewise.
10239         (free_check): Likewise.
10240         (realloc_check): Likewise.
10241         * malloc/malloc.c (malloc_printerr): Add arena argument.
10242         (unlink): Likewise.
10243         (munmap_chunk): Adjust.
10244         (ARENA_CORRUPTION_BIT): New macro.
10245         (arena_is_corrupt): Likewise.
10246         (set_arena_corrupt): Likewise.
10247         (sysmalloc): Use mmap if there are no usable arenas.
10248         (_int_malloc): Likewise.
10249         (__libc_malloc): Don't fail if arena_get returns NULL.
10250         (_mid_memalign): Likewise.
10251         (__libc_calloc): Likewise.
10252         (__libc_realloc): Adjust for additional argument to
10253         malloc_printerr.
10254         (_int_free): Likewise.
10255         (malloc_consolidate): Likewise.
10256         (_int_realloc): Likewise.
10257         (_int_memalign): Don't touch corrupt arenas.
10258         * malloc/tst-malloc-backtrace.c: New test case.
10260         * Makefile (summarize-tests): Fix return value on success.
10262         * manual/string.texi (Envz Functions): Add envz_remove.
10264 2015-05-18  Roland McGrath  <roland@hack.frob.com>
10266         * sysdeps/posix/opendir.c: Include <stdbool.h>.
10267         (invalid_name): New function, broken out of ...
10268         (__opendirat): ... here.  Call it.
10269         (need_isdir_precheck): New function, broken out of ...
10270         (__opendirat): ... here.  Call it.
10271         Use __fxstatat64, not __xstatat64.
10272         (opendir_oflags): New function, broken out of ...
10273         (__opendirat): ... here.  Call it.
10274         (opendir_tail): New function, broken out of ...
10275         (__opendirat): ... here.  Call it.
10276         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
10277         opendir_tail, rather than punting to __opendirat.
10278         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
10280 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10282         * .gitignore: Ignore generated *.pyc.
10284 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
10286         * include/stdio.h: Define __need_wint_t.
10287         * test-skeleton.c: Avoid `for' loop initial declaration.
10288         * nptl/tst-initializers1.c: Use test-skeleton.c.
10290 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10292         [BZ #18418]
10293         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
10295 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
10297         [BZ #16352]
10298         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
10299         (__ieee754_atanh): Force underflow exception for results with
10300         small absolute value.
10301         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
10302         (__ieee754_atanhf): Force underflow exception for results with
10303         small absolute value.
10304         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
10305         (__ieee754_atanh): Force underflow exception for results with
10306         small absolute value.
10307         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
10308         (__ieee754_atanhf): Force underflow exception for results with
10309         small absolute value.
10310         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
10311         (__ieee754_atanhl): Force underflow exception for results with
10312         small absolute value.
10313         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
10314         (__ieee754_atanhl): Force underflow exception for results with
10315         small absolute value.
10316         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
10317         (__ieee754_atanhl): Force underflow exception for results with
10318         small absolute value.
10319         * math/auto-libm-test-in: Do not allow missing underflow
10320         exceptions from atanh.
10321         * math/auto-libm-test-out: Regenerated.
10323         [BZ #18221]
10324         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
10325         2**-28 as threshold for returning x or +/- 1/x.
10326         * math/auto-libm-test-in: Add more tests of tan.
10327         * math/auto-libm-test-out: Regenerated.
10329         [BZ #18220]
10330         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10331         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
10332         * math/auto-libm-test-in: Add another test of lgamma.
10333         * math/auto-libm-test-out: Regenerated.
10335 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
10337         * stdio-common/printf_fp.c (___printf_fp): Use abs.
10338         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
10339         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
10340         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
10341         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
10342         (ADD2A): Use fabs.  (SUB2A): Use fabs.
10343         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
10344         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
10345         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
10346         (log1): Use fabs.  (my_log2): Use fabs.
10347         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
10348         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
10349         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
10350         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
10351         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
10352         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
10353         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
10354         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
10355         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
10356         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
10357         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
10359 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
10361         [BZ #18217]
10362         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
10363         as threshold for returning 1 - x.
10364         * math/auto-libm-test-in: Add more tests of erfc.
10365         * math/auto-libm-test-out: Regenerated.
10367 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
10369         [BZ #18196]
10370         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
10371         threshold for large arguments.
10372         * math/auto-libm-test-in: Add another test of atan.
10373         * math/auto-libm-test-out: Regenerated.
10375         [BZ #16339]
10376         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
10377         (__log1p): Force underflow exception for results with small
10378         absolute value.
10379         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
10380         (__log1pf): Force underflow exception for results with small
10381         absolute value.
10382         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
10383         (__log1p): Force underflow exception for results with small
10384         absolute value.
10385         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
10386         (__log1pf): Force underflow exception for results with small
10387         absolute value.
10388         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
10389         (__log1pl): Force underflow exception for results with small
10390         absolute value.
10391         * math/auto-libm-test-in: Do not allow missing underflow
10392         exceptions from log1p.
10393         * math/auto-libm-test-out: Regenerated.
10395 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
10396             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10398         [BZ #16704]
10399         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
10401 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
10403         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
10404         (libmvec): New variable.
10405         * configure.ac: Added option for mathvec build.
10406         * configure: Regenerated.
10407         * mathvec/Depend: New file.
10408         * mathvec/Makefile: New file.
10409         * shlib-versions: Added libmvec.
10410         * math/Makefile: Added rule for libm.so installation.
10412         * bits/math-vector.h: New file.
10413         * bits/libm-simd-decl-stubs.h: New header.
10414         * math/Makefile (headers): Added new header
10415         libm-simd-decl-stubs.h.
10416         * math/math.h (__MATHCALL_VEC): New macro.
10418         * math/gen-libm-have-vector-test.sh: Script generates series of macros
10419         for conditions in testing functions.
10420         * math/Makefile: Added call of libm-have-vector-test.sh.
10421         * math/libm-test.inc (HAVE_VECTOR): New macros.
10423         * math/libm-test.inc: START refactored.
10424         * math/test-double.c (TEST_MATHVEC): Add define.
10425         * math/test-float.c: Likewise.
10426         * math/test-idouble.c: Likewise.
10427         * math/test-ifloat.c: Likewise.
10428         * math/test-ildoubl.c: Likewise.
10429         * math/test-ldouble.c: Likewise.
10430         * sysdeps/generic/math-tests-arch.h
10431         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
10432         architecture check.
10434         * math/test-double.c (FUNC_TEST): New macro.
10435         * math/test-float.c: Likewise.
10436         * math/test-idouble.c: Likewise.
10437         * math/test-ifloat.c: Likewise.
10438         * math/test-ildoubl.c: Likewise.
10439         * math/test-ldouble.c: Likewise.
10440         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
10442 2015-05-13  Roland McGrath  <roland@hack.frob.com>
10444         * sysdeps/nacl/fdopendir.c: New file.
10446         * dirent/scandir-tail.c: New file.
10447         * dirent/scandir64-tail.c: New file.
10448         * dirent/Makefile (routines): Add them.
10449         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
10450         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
10451         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
10452         [!SCANDIR] (SCANDIR_TAIL): New macro.
10453         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
10454         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
10455         (SCANDIRAT): Macro removed.
10456         (SCANDIR_TAIL): New macro.
10457         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
10458         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
10459         (SCANDIRAT): Just call __opendirat and __scandir_tail.
10460         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
10461         (READDIR): Macro removed.
10462         (SCANDIR_TAIL): New macro.
10463         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
10464         (SCANDIR_TAIL): New macro.
10466         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
10467         * dirent/scandir-cancel.c: ... to this new file.
10468         * dirent/Makefile (routines): Add it.
10469         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
10470         * sysdeps/unix/sysv/linux/i386/scandir64.c
10471         (SKIP_SCANDIR_CANCEL): Macro removed.
10472         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
10474         * dirent/tst-scandir.c: New file.
10475         * dirent/tst-scandir64.c: New file.
10476         * dirent/Makefile (tests): Add them.
10478 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
10480         [BZ #18409]
10481         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
10483 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10485         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
10486         list.
10488 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
10490         * benchtests/bench-strcoll.c: New benchmark.
10491         * benchtests/Makefile: Generate locales and run benchmark.
10492         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
10493         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10494         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
10495         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
10496         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
10497         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
10498         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
10499         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
10500         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
10501         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
10502         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
10503         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
10504         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
10505         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
10506         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
10507         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
10508         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
10509         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
10510         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
10511         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
10512         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
10513         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
10514         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
10515         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
10517 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
10519         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
10520         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10522 2015-05-12  Roland McGrath  <roland@hack.frob.com>
10524         * posix/uname-values.h: New file.
10525         * posix/uname.c: Include that instead of <config-name.h>.
10526         * sysdeps/nacl/uname-values.h: New file.
10527         * sysdeps/arm/nacl/uname-values.h: New file.
10529 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
10531         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
10532         splitting into fields.
10534 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
10536         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
10537         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
10538         * locale/localeinfo.h: Add enum collation_encoding_type.
10539         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
10540         * programs/ld-collate.c (collate_output): Add encoding type info.
10541         * string/strcoll_l.c (STRDIFF): New function.
10542         * (STRCOLL): Use STRDIFF to skip over equal prefix.
10543         * wcsmbs/wcscoll_l.c: Define STRDIFF.
10545 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
10547         [BZ #18397]
10548         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
10549         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
10550         <fpu_control.h> instead of <math/fpu_control.c>.
10551         * sysdeps/mips/mips32/fpu/Makefile: New file.
10553 2015-05-11  Andreas Schwab  <schwab@suse.de>
10555         [BZ #18007]
10556         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
10557         nss_endgrent.
10558         (_nss_compat_endgrent): Call nss_endgrent.
10559         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
10560         nss_endpwent.
10561         (_nss_compat_endpwent): Call nss_endpwent.
10562         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
10563         needent, call nss_setspent only if non-zero.
10564         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
10565         (internal_endspent): Don't call nss_endspent.
10566         (_nss_compat_endspent): Call nss_endspent.
10567         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
10568         Remove.  All uses removed.
10569         (internal_setent): Remove parameter stayopen, add parameter
10570         stream.  Use it instead of global variable.
10571         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
10572         (internal_endent, internal_getent): Add parameter stream.  Use it
10573         instead of global variable.
10574         (CONCAT(_nss_files_end,ENTNAME))
10575         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
10576         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
10577         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
10578         uses removed.
10579         (internal_setent, internal_endent): Add parameter stream.  Use it
10580         instead of global variable.
10581         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
10582         stream.
10583         (get_next_alias): Add parameter stream.
10584         (_nss_files_getaliasent_r): Pass global stream.
10585         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
10586         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
10587         (_nss_files_gethostbyname4_r): Pass local stream to
10588         internal_setent, internal_getent and internal_endent.  Remove
10589         locking.
10591 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10593         * tst-strfmon1.c (tests): Update expected currency symbol.
10595 2015-05-08  Roland McGrath  <roland@hack.frob.com>
10597         * sysdeps/nacl/gethostname.c: New file.
10599 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
10601         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
10602         and sinh.
10603         * math/auto-libm-test-out: Regenerated.
10604         * sysdeps/i386/fpu/libm-test-ulps: Update.
10605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10607 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
10609         [BZ #18125]
10610         * stdlib/tst-setcontext3.c: New file.
10611         * stdlib/tst-setcontext3.sh: New file.
10612         * stdlib/Makefile (tests): Add tst-setcontext3.
10613         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
10614         to verify test program created output file.
10615         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
10616         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
10617         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
10618         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
10620 2015-05-06  Roland McGrath  <roland@hack.frob.com>
10622         [BZ #18383]
10623         * elf/tst-tlsalign.c: New file.
10624         * elf/tst-tlsalign-static.c: New file.
10625         * elf/tst-tlsalign-lib.c: New file.
10626         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
10627         (tests-static): Add tst-tlsalign-static.
10628         (modules-names): Add tst-tlsalign-lib.
10629         (test-xfail-tst-tlsalign): New variable.
10630         (test-xfail-tst-tlsalign-static): New variable.
10632         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
10633         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
10635 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
10637         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
10638         csqrt, erfc, sin and sincos.
10639         * math/auto-libm-test-out: Regenerated.
10640         * sysdeps/i386/fpu/libm-test-ulps: Update.
10641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10643 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10645         * sysdeps/aarch64/libm-test-ulps: Update.
10647 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
10649         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
10650         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
10651         * math/auto-libm-test-out: Regenerated.
10652         * sysdeps/i386/fpu/libm-test-ulps: Update.
10653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10655 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10657         [BZ #18265]
10658         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
10659         (wcsncpy): Likewise.
10661 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10663         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10664         Assume __ASSUME_FALLOCATE is always true.
10665         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10666         (__posix_fallocate64_l64): Likweise.
10667         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
10668         (posix_fallocate): Likewise.
10669         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
10670         (__posix_fallocate64_l64): Likewise.
10671         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10672         [!__ASSUME_FALLOCATE]: Add comment.
10674 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10676         * sysdeps/unix/sysv/linux/i386/Makefile
10677         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
10678         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
10679         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
10680         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10681         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10682         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
10683         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
10685 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
10687         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
10688         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
10689         tgamma.
10690         * math/auto-libm-test-out: Regenerated.
10691         * sysdeps/i386/fpu/libm-test-ulps: Update.
10692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10694 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10696         * math/auto-libm-test-in: Add more tests of tgamma.
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 more tests of tanh.
10702         * math/auto-libm-test-out: Regenerated.
10703         * sysdeps/i386/fpu/libm-test-ulps: Update.
10704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10706         * math/auto-libm-test-in: Add more tests of tan.
10707         * math/auto-libm-test-out: Regenerated.
10708         * sysdeps/i386/fpu/libm-test-ulps: Update.
10709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10711         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
10712         * math/auto-libm-test-out: Regenerated.
10713         * sysdeps/i386/fpu/libm-test-ulps: Update.
10714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10716         * math/auto-libm-test-in: Add another test of pow.
10717         * math/auto-libm-test-out: Regenerated.
10718         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10720         * math/auto-libm-test-in: Add more tests of lgamma.
10721         * math/auto-libm-test-out: Regenerated.
10722         * sysdeps/i386/fpu/libm-test-ulps: Update.
10723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10725         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
10726         log1p.
10727         * math/auto-libm-test-out: Regenerated.
10728         * sysdeps/i386/fpu/libm-test-ulps: Update.
10729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10731 2015-05-01  Mark Wielaard  <mjw@redhat.com>
10733         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
10734         Elf64_Chdr structs and ELFCOMPRESS constants.
10736 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10738         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
10739         expm1.
10740         * math/auto-libm-test-out: Regenerated.
10741         * sysdeps/i386/fpu/libm-test-ulps: Update.
10742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10744         * math/auto-libm-test-in: Add more tests of erf and erfc.
10745         * math/auto-libm-test-out: Regenerated.
10746         * sysdeps/i386/fpu/libm-test-ulps: Update.
10747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10749 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10751         * config.h.in (HAVE_AARCH64_BE): Add.
10753 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
10755         * math/auto-libm-test-in: Add more tests of csqrt.
10756         * math/auto-libm-test-out: Regenerated.
10757         * sysdeps/i386/fpu/libm-test-ulps: Update.
10758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10760         * math/auto-libm-test-in: Add more tests of cosh and sinh.
10761         * math/auto-libm-test-out: Regenerated.
10762         * sysdeps/i386/fpu/libm-test-ulps: Update.
10763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10765         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
10767 2015-04-29  Roland McGrath  <roland@hack.frob.com>
10769         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
10770         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
10772         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
10773         (euidaccess, eaccess): Define as weak aliases.
10775         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
10776         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
10777         but __suseconds_t is often 'long int' so some sources assume that
10778         type is being used (e.g. they use %ld to print tv_usec).
10780 2015-04-29  Florian Weimer  <fweimer@redhat.com>
10782         [BZ #18007]
10783         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
10784         (CVE-2014-8121)
10785         * nss/tst-nss-getpwent.c: New file.
10786         * nss/Makefile (tests): Add new test.
10788 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
10790         [BZ #18346]
10791         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
10792         exponents less than 48 as cases where high part of mantissa needs
10793         examining to determine whether argument is integral.
10794         * math/libm-test.inc (round_test_data): Add more tests.
10796 2015-04-28  Mark Wielaard  <mjw@redhat.com>
10798         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
10800 2015-04-27  David S. Miller  <davem@davemloft.net>
10802         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
10803         __tls_get_addr.
10804         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10806 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
10808         [BZ#18333]
10809         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
10811 2015-04-27  Florian Weimer  <fweimer@redhat.com>
10813         [BZ#18333]
10814         * time/tzset.c (parse_tzname): Return error on memory allocation
10815         failure.
10816         * test-skeleton.c (struct temp_name_list): Change type of name
10817         member to non-const.
10818         (add_temp_file): Create a copy of the file name.
10819         (delete_temp_files): Deallocate memory.
10820         (create_temp_file): Add comment.
10822 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10824         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
10825         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
10827 2015-04-24  Roland McGrath  <roland@hack.frob.com>
10829         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
10830         * sysdeps/arm/configure: Regenerated.
10832 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10834         [BZ #17715]
10835         * time/tzfile.c (__tzfile_read): Check for large values of
10836         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
10837         * time/tzset.c (__tzstring_len): New function, based on the old
10838         __tzstring function.
10839         (__tzstring): Call __tzstring_len.
10840         (parse_tzname): New helper function extracted from
10841         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
10842         the input string.
10843         (parse_offset): New helper function extracted from
10844         __tzset_parse_tz.  Replace switch with fallthrough with
10845         initialization before sscanf.
10846         (parse_rule): Likewise.
10847         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
10848         new-style function definition.
10849         * timezone/Makefile (tests): Add tst-tzset.
10850         (tst-tzset.out): Dependencies on time zone files.
10851         (tst-tzset-ENV): Set TZDIR.
10852         (testdata/XT%): Copy crafted time zone files.
10853         * timezone/README: Mention crafted time zone files.
10854         * timezone/testdata/XT1, timezone/testdata/XT2,
10855         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
10856         files.
10857         * timezone/tst-tzset.c: New test.
10859 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10861         * Makeconfig (+gccwarn): Remove -Winline.
10863 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10865         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
10867 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10869         * NEWS: Mention sysconf() cache information support for s390.
10870         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
10872 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
10874         * math/k_casinh.c (__kernel_casinh): Use __copysign.
10875         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
10876         (__nearbyint): Likewise.
10877         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
10878         (copysignl): Likewise.
10880 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
10882         [BZ #18287]
10883         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
10884         based on padding.  (CVE-2015-1781)
10886 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10888         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
10889         libc-vdso.h.
10890         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
10891         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
10892         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
10893         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10894         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10895         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
10896         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
10897         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10898         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10899         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
10900         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10901         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10902         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
10903         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
10904         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10905         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
10906         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
10907         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
10908         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
10909         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
10910         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
10911         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
10912         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
10914 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
10916         * stdlib/setenv.c (__add_to_environ):
10917         Dump core quickly if setenv (..., NULL, ...) is called.
10918         This time, do it the right way, and pacify GCC with a pragma.
10920 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10922         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
10923         IMAP->l_prev cannot be null, and #if out the code for the contrary
10924         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
10925         believe that NS (&_dl_ns[NSID]) could point outside the array.
10927         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
10928         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
10929         before using NSID as an index.
10931 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
10933         [BZ #17825]
10934         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
10935         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
10936         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
10938 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10940         Add preliminary port to Google Native Client on ARM.
10941         * abi-tags (.*-.*-nacl.*): New entry.
10942         * sysdeps/arm/nacl: New directory.
10943         * sysdeps/nacl: New directory.
10945 2015-04-16  David S. Miller  <davem@davemloft.net>
10947         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
10948         lowlevellock-futex.h
10950 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
10952         * sysdeps/tile/configure.ac: New file.
10953         * sysdeps/tile/configure: Regenerated.
10955 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10957         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
10958         conditionals for weak_alias and libc_hidden_weak.
10959         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
10960         libc_hidden_weak and weak_alias.
10961         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
10962         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
10963         and weak_alias for static one.
10965 2015-04-15  David S. Miller  <davem@davemloft.net>
10967         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10969 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10971         [BZ #18206]
10972         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
10973           Use signed comparision instead of substraction to avoid
10974           overflow bug.
10975         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
10976           Take the sign of ret.
10977         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
10978           Do not expect precise return values. Only the sign matters.
10979         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
10980         * wcsmbs/test-wcsncmp.c: New File.
10981         * string/test-strncmp.c: Add wcsncmp support.
10983 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10985         [BZ #6792]
10986         * math/w_log1p.c: New file.
10987         * math/w_log1pf.c: Likewise.
10988         * math/w_log1pl.c: Likewise.
10989         * math/Makefile (libm-calls): Add w_log1p.
10990         * math/s_log1pl.c (log1pl): Remove weak_alias.
10991         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
10992         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
10993         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
10994         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
10995         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
10996         [NO_LONG_DOUBLE] (log1pl): Likewise.
10997         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
10998         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
10999         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
11000         (log1p): Remove long_double_symbol.
11001         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
11002         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
11003         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
11004         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
11005         remove weak_alias for corresponding log1p function.
11006         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
11007         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11008         * sysdeps/ia64/fpu/w_log1p.c: New file.
11009         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
11010         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
11011         * math/libm-test.inc (log1p_test_data): Add errno expectations.
11013 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
11015         [BZ #18247]
11016         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
11017         decimal exponent by 1.
11018         * stdlib/tst-strtod-round-data: Add more tests.
11019         * stdlib/tst-strtod-round.c (tests): Regenerated.
11021 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
11023         * math/auto-libm-test-in: Add more tests of clog and clog10.
11024         * math/auto-libm-test-out: Regenerated.
11025         * sysdeps/i386/fpu/libm-test-ulps: Update.
11026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11028 2015-04-09  Roland McGrath  <roland@hack.frob.com>
11030         * Makeconfig (module-cppflags): Exclude all .v.i files.
11031         (skip-module-cppflags): Variable removed.
11033         * configure.ac (libc_config_ok): Initialize before reading
11034         preconfigure scripts, not after.
11035         * configure: Regenerated.
11037         * test-skeleton.c (TIMEOUT): Move #define to top level.
11038         (main): Grok environment variable TEST_DIRECT.  If set, print
11039         test expectation details into that file and then behave as if
11040         given --direct.
11042 2015-04-09  Florian Weimer  <fweimer@redhat.com>
11044         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
11045         warning on 32-bit.
11047 2015-04-08  David S. Miller  <davem@davemloft.net>
11049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11051 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
11053         * math/auto-libm-test-in: Add more tests of atanh.
11054         * math/auto-libm-test-out: Regenerated.
11055         * sysdeps/i386/fpu/libm-test-ulps: Update.
11056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11058         * math/auto-libm-test-in: Add more tests of atan.
11059         * math/auto-libm-test-out: Regenerated.
11060         * sysdeps/i386/fpu/libm-test-ulps: Update.
11061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11063 2015-04-08  Florian Weimer  <fweimer@redhat.com>
11065         * elf/pldd.c (main): Rewrite to use struct
11066         scratch_buffer instead of extend_alloca.
11067         * elf/pldd-xx.c (find_maps): Likewise.
11068         * grp/initgroups.c: Include <scratch_buffer.h> instead of
11069         <alloca.h>.
11070         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
11071         scratch_buffer instead of extend_alloca.
11072         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
11073         grp/compat-initgroups.c.
11074         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
11075         Rewrite to use struct scratch_buffer instead of extend_alloca.
11076         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
11077         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11079 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
11081         * math/auto-libm-test-in: Add more tests of cbrt.
11082         * math/auto-libm-test-out: Regenerated.
11083         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11085         * math/auto-libm-test-in: Add more tests of cabs.
11086         * math/auto-libm-test-out: Regenerated.
11087         * sysdeps/i386/fpu/libm-test-ulps: Update.
11088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11090         [BZ #18210]
11091         [BZ #18211]
11092         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
11093         (__ieee754_atan2): Set FE_TONEAREST mode for internal
11094         computations.
11095         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
11096         clog10.
11097         * math/auto-libm-test-out: Regenerated.
11098         * sysdeps/i386/fpu/libm-test-ulps: Update.
11099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11101         [BZ #18197]
11102         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
11103         (atan): Set FE_TONEAREST mode for internal computations.
11104         * math/auto-libm-test-in: Add more tests of atan.
11105         * math/auto-libm-test-out: Regenerated.
11107 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
11109         [BZ #17930]
11110         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
11112 2015-04-07  Florian Weimer  <fweimer@redhat.com>
11114         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
11116 2015-04-07  Florian Weimer  <fweimer@redhat.com>
11118         * include/scratch_buffer.h: New file.
11119         * malloc/scratch_buffer_grow.c: Likewise.
11120         * malloc/scratch_buffer_grow_preserve.c: Likewise.
11121         * malloc/scratch_buffer_set_array_size.c: Likewise.
11122         * malloc/tst-scratch_buffer.c: Likewise.
11123         * malloc/Makefile (routines): Add scratch_buffer_grow.
11124         (tests): Add test case.
11125         * malloc/Versions (GLIBC_PRIVATE): Export
11126         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
11127         __libc_scratch_buffer_set_array_size.
11129 2015-04-06  Richard Henderson  <rth@redhat.com>
11131         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
11132         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11134         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
11135         unsigned int before printing.
11137 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11139         [BZ #17596]
11140         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
11141         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11143 2015-04-02  Florian Weimer  <fweimer@redhat.com>
11145         * include/libc-internal.h (libc_max_align_t): Define.
11147 2015-04-02  Andreas Schwab  <schwab@suse.de>
11149         [BZ #16850]
11150         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
11152 2015-04-02  Mel Gorman  <mgorman@suse.de>
11154         [BZ #17195]
11155         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
11156         as well as the main arena.
11158 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11160         [BZ #18185]
11161         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
11162         sharing L2 cache to 2 for Silvermont/Knights Landing.
11164 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11166         [BZ #17711]
11167         * config.make.in (have-protected-data): New.
11168         * configure.ac: Check linker support for protected data symbol.
11169         * configure: Regenerated.
11170         * elf/Makefile (modules-names): Add tst-protected1moda and
11171         tst-protected1modb if $(have-protected-data) is yes.
11172         (tests): Add tst-protected1a and tst-protected1b if
11173         $(have-protected-data) is yes.
11174         ($(objpfx)tst-protected1a): New.
11175         ($(objpfx)tst-protected1b): Likewise.
11176         (tst-protected1modb.so-no-z-defs): Likewise.
11177         * elf/tst-protected1a.c: New file.
11178         * elf/tst-protected1b.c: Likewise.
11179         * elf/tst-protected1mod.h: Likewise.
11180         * elf/tst-protected1moda.c: Likewise.
11181         * elf/tst-protected1modb.c: Likewise.
11183 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11185         [BZ #17711]
11186         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
11187         indicates it is called from do_lookup_x on relocation against
11188         protected data, skip the data definion in the executable from
11189         copy reloc.
11190         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
11191         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
11192         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
11193         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
11194         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
11195         otherwise to 0.
11196         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
11197         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
11198         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
11199         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
11200         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
11201         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
11203 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
11205         * sysdeps/nptl/pthread.h: Remove duplicate definition of
11206         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
11208 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
11210         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
11211         THREAD_SETMEM_NC.
11212         * sysdeps/x86_64/nptl/tls.h: Ditto.
11214 2015-03-27  Roland McGrath  <roland@hack.frob.com>
11216         * dlfcn/tststatic.c (main): Converted to ...
11217         (do_test): ... this.
11218         (TEST_FUNCTION): New macro.
11219         Include test-skeleton.c.
11221 2015-03-26  Alan Modra  <amodra@gmail.com>
11223         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
11224         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
11225         zero for undefined weak.
11226         (elf_machine_plt_conflict): Similarly.
11228 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
11230         * math/auto-libm-test-in: Add more tests of acosh, asinh and
11231         atanh.
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         * math/auto-libm-test-in: Add another test of asin.
11237         * math/auto-libm-test-out: Regenerated.
11238         * sysdeps/i386/fpu/libm-test-ulps: Update.
11239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11241         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
11242         Remove macro.
11243         (LLL_EBX_REG): Likewise.
11244         (LLL_ENTER_KERNEL): Likewise.
11246         * math/auto-libm-test-in: Add more tests of asin.
11247         * math/auto-libm-test-out: Regenerated.
11248         * sysdeps/i386/fpu/libm-test-ulps: Update.
11249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11251         [BZ #18138]
11252         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
11253         libc_do_syscall_args): New structure.
11254         (INTERNAL_SYSCALL_MAIN_0): New macro.
11255         (INTERNAL_SYSCALL_MAIN_1): Likewise.
11256         (INTERNAL_SYSCALL_MAIN_2): Likewise.
11257         (INTERNAL_SYSCALL_MAIN_3): Likewise.
11258         (INTERNAL_SYSCALL_MAIN_4): Likewise.
11259         (INTERNAL_SYSCALL_MAIN_5): Likewise.
11260         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
11261         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
11262         Replace conditional definitions by conditional definitions of ....
11263         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
11264         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
11265         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
11266         (libpthread-sysdep_routines): Add libc-do-syscall.
11267         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
11268         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
11269         to __NR_futex not 240.
11271 2015-03-25  Alan Modra  <amodra@gmail.com>
11273         * NEWS: Advertise TLS optimization.
11274         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
11275         (DT_PPC_NUM): Increment.
11276         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
11277         (CHECK_STATIC_TLS): Use here.
11278         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
11279         TLS descriptors.
11280         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11281         * sysdeps/powerpc/dl-tls.c: New file.
11282         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
11283         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
11284         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
11285         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
11286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
11287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11290 2015-03-25  Alan Modra  <amodra@gmail.com>
11292         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
11293         for overlapping .opd entries" to "support...".
11294         * sysdeps/powerpc/powerpc64/configure: Regenerate
11296 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
11298         * math/auto-libm-test-in: Add more tests of acos.
11299         * math/auto-libm-test-out: Regenerated.
11300         * sysdeps/i386/fpu/libm-test-ulps: Update.
11301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11303         * math/auto-libm-test-in: Add more tests of expm1.
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-24  Joseph Myers  <joseph@codesourcery.com>
11310         * math/auto-libm-test-in: Add more tests of cosh and sinh.
11311         * math/auto-libm-test-out: Regenerated.
11312         * sysdeps/i386/fpu/libm-test-ulps: Update.
11313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11315         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11318         * math/auto-libm-test-in: Add more tests of log2.
11319         * math/auto-libm-test-out: Regenerated.
11320         * sysdeps/i386/fpu/libm-test-ulps: Update.
11321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11323 2015-03-23  Roland McGrath  <roland@hack.frob.com>
11325         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
11326         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
11327         _IO_IS_APPENDING bit in READ_WRITE instead.
11329 2015-03-23  Florian Weimer  <fweimer@redhat.com>
11331         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
11332         (__determine_cpumask_size): Replace extend_alloca with a
11333         variable-length array.  Do not treat res == 0 as an error.
11335 2015-03-23  Florian Weimer  <fweimer@redhat.com>
11337         [BZ #18100]
11338         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
11339         and integer overflow.
11340         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
11341         (main): Add integer overflow tests.
11342         * manual/pattern.texi (Calling Wordexp): Document additional use
11343         for WRDE_SYNTAX.
11345 2015-03-23  Alan Modra  <amodra@gmail.com>
11347         * config.h.in: Remove HAVE_ASM_PPC_REL16.
11348         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
11349         and false branch of conditional.
11350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11351         Likewise.
11353 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
11355         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
11356         libc-modules.h
11357         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
11358         unused declaration of _hurd_intr_rpc_msg_in_trap.
11359         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
11360         defined instead of whether it is non-zero.
11361         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
11362         input constraint instead of both input and output constraint.  Use ecx
11363         clobber instead of %ecx.
11364         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
11365         mutex_unlock): Use a statement expression instead of an expression list.
11366         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
11367         type to vm_size_t instead of vm_address_t.
11368         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
11369         defined instead of whether it is non-zero.
11370         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
11371         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
11372         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
11373         comparisons with mapaddr.
11374         * nscd/nscd-client.h: Include <time.h>.
11375         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
11376         9th parameter to __vm_region instead of int.
11377         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
11378         * scripts/check-local-headers.sh (exclude): Add device/,
11379         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
11380         cthreads.h.
11382 2015-03-19  Roland McGrath  <roland@hack.frob.com>
11384         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
11385         to account for alignment padding.
11386         * sysdeps/arm/memmove.S: Likewise.
11388 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
11390         * sysdeps/unix/sysv/linux/generic/README: New file.
11392 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
11394         [BZ #18138]
11395         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
11396         (futex_abstimed_wait)
11397         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
11398         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
11399         of lll_futex_timed_wait.
11401 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
11403         [BZ #17542]
11404         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
11406 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
11408         [BZ #17090]
11409         [BZ #17620]
11410         [BZ #17621]
11411         [BZ #17628]
11412         * NEWS: Update.
11413         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
11414         entries with Static TLS too.  Skip entries past the end of the
11415         allocated DTV, from Alan Modra.
11416         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
11417         Static TLS DTV entry set up from...
11418         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
11419         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
11420         * nptl/allocatestack.c (init_one_static_tls): ... and here...
11421         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
11422         for Static TLS.
11423         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
11424         that the slot we find is associated with the given map before
11425         using its generation count.
11426         * nptl_db/db_info.c: Include ldsodefs.h.
11427         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
11428         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
11429         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
11430         (link_map::l_tls_offset): New struct field.
11431         (dtv_t::counter): Likewise.
11432         (rtld_global): New struct.
11433         (_rtld_global): New rtld variable.
11434         (dl_tls_dtv_slotinfo_list): New rtld global field.
11435         (dtv_slotinfo_list): New struct.
11436         (dtv_slotinfo): Likewise.
11437         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
11438         (td_lookup): Rename to...
11439         (td_mod_lookup): ... this.  Use new mod parameter instead of
11440         LIBPTHREAD_SO.
11441         * nptl_db/td_thr_tlsbase.c: Include link.h.
11442         (dtv_slotinfo_list, dtv_slotinfo): New functions.
11443         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
11444         addresses even if the DTV is out of date or missing them.
11445         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
11446         index zero-length arrays.
11447         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
11448         (td_lookup): Make it a macro implemented in terms of...
11449         (td_mod_lookup): ... this declaration.
11450         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
11451         (DB_MAIN_VARIABLE): Likewise.
11453 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
11455         [BZ #18134]
11456         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11458 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
11460         * stdlib/setenv.c (__add_to_environ): Revert previous change.
11462 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
11464         [BZ #18128]
11465         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
11466         (atomic_add, atomic_increment_and_test)
11467         (atomic_decrement_and_test): Fix 64-bit arithmetic.
11469 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
11471         * stdlib/setenv.c (__add_to_environ):
11472         Dump core quickly if setenv (..., NULL, ...) is called.
11474 2015-03-13  Roland McGrath  <roland@hack.frob.com>
11476         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
11477         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
11478         all the necessary asm magic in one place.
11479         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
11480         using those.
11482 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
11484         [BZ #14906]
11485         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
11486         traced file mtime. Use consistent log message.
11487         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
11488         (register_traced_file): Call install_watches. Always set mtime.
11489         (invalidate_cache): Iterate over all trace files. Call install_watches.
11490         (inotify_check_files): Don't inline. Handle watching parent
11491         directories and configuration file movement in and out.
11492         (handle_inotify_events): New function.
11493         (main_loop_poll): Call handle_inotify_events.
11494         (main_loop_epoll): Likewise.
11495         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
11496         (struct traced_file): Use array of inotify fds. Add parent directory,
11497         and basename.
11498         (struct database_dyn): Remove unused file_mtime.
11499         (init_traced_file): New inline function.
11500         (define_traced_file): New macro.
11501         * nss/nss_db/db-init.c: Use define_traced_file.
11502         (_nss_db_init): Use init_traced_file.
11503         * nss/nss_files/files-init.c: Use define_traced_file.
11504         (_nss_files_init): Use init_traced_file.
11506 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
11508         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
11509         [_LIBC]: Do not include <stdlib.h>.
11510         [!_LIBC] (abort): Remove declaration.
11511         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
11512         _FP_STATIC_ASSERT instead of conditionally calling abort.
11513         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
11514         (_FP_EXTEND_CNAN): Likewise.
11515         (FP_TRUNC): Likewise.
11516         (__FP_CLZ): Likewise.
11517         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
11519 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
11521         * manual/string.texi (XPG basename): Fix prototype.
11523 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11525         [BZ #18080]
11526         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
11527         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
11528         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
11529         (__setcontext): Likewise.
11530         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
11531         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
11532         Call rt_sigprocmask syscall one time to set new signal mask
11533         and retrieve the current signal mask instead of two calls.
11534         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
11535         (__swapcontext): Likewise.
11536         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
11537         * stdlib/tst-setcontext2.c: New file.
11539 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11541         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11543 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
11545         [BZ #18093]
11546         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
11547         the wrong size.
11549 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11551         [BZ #18043]
11552         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
11554 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11556         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
11557         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
11558         Remove define.
11559         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
11560         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
11561         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
11562         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
11563         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
11564         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
11565         define.
11566         * nptl_db/td_symbol_list.c (td_lookup): Remove
11567         HAVE_ASM_GLOBAL_DOT_NAME code.
11568         * sysdeps/powerpc/powerpc64/configure.ac: Remove
11569         HAVE_ASM_GLOBAL_DOT_NAME check.
11570         * sysdeps/powerpc/powerpc64/configure: Regenerate.
11571         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
11572         (DOT_LABEL): Remove define.
11573         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
11574         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
11575         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
11576         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
11577         (__TLS_GET_ADDR): Likewise.
11578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
11579         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
11581 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
11583         [BZ #18111]
11584         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
11585         (_FPU_SETCW): Initialize cw from fpsr before storing.
11586         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
11587         (fesetexceptflag): Rewrite using fpu_control.h.
11588         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
11590 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
11592         [BZ #18110]
11593         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
11594         asms.
11595         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11597 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
11599         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
11600         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
11601         abort.
11602         (_FP_FMA): Likewise.
11603         (_FP_DIV): Likewise.
11605 2015-03-10  Roland McGrath  <roland@hack.frob.com>
11607         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
11608         with 0 in that case.
11609         * Makefile (summarize-tests): New canned sequence, factored out of
11610         commands for targets tests and xtests.  Display summary lines that
11611         don't start with PASS: or XFAIL: rather than ones that do start with
11612         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
11613         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
11614         do start with ERROR: or FAIL:.
11615         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
11616         (except for [$(build-shared) = yes]).
11617         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
11618         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
11619         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
11620         * nptl/Makefile: Revert 2015-03-04 changes.
11621         [$(CXX) empty] (tests-unsupported): New variable.
11622         * debug/Makefile: Likewise.
11624         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
11625         gnulib file.  Replace __attribute with __attribute__ throughout.
11627 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
11629         * sysdeps/hppa/fpu/libm-test-ulps: Update.
11631 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11633         [BZ #18104]
11634         * math/auto-libm-test-in: Add another test of pow.
11635         * math/auto-libm-test-out: Regenerated.
11637 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11639         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
11640         $(config-cflags-nofma).
11642 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11644         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
11645         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
11646         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
11647         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
11648         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
11649         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
11650         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
11651         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
11652         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
11653         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
11654         Add comment on closing #endif.
11656 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11658         * posix/wordexp.c (CHAR_IN_SET): New macro.
11659         (parse_param): Use it.
11661 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11663         * sysdeps/powerpc/fpu/libm-test-ulps: update.
11665 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11667         [BZ #18043]
11668         * posix/wordexp.c (parse_param): Fix buffer overflow.
11669         * posix/wordexp-test.c (test_case): Add test case.
11671 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11673         [BZ #18042]
11674         * posix/wordexp.c (parse_backtick): Fix off-by-one.
11675         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
11677 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11679         [BZ #18043]
11680         * posix/wordexp-test.c (test_case): Add test for BZ #18043
11681         (do_bz18043): Delete.
11682         (at_page_end): New.
11683         (testit): Refactor to have words at the edge of unreadable page.
11685 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11687         [BZ #16734]
11688         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
11689         Cleanup read-only streams as well.
11690         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
11692 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11694         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
11695         <bits/libc-lockP.h>
11697 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
11699         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
11700         on [__KERNEL__].
11701         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
11702         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
11703         * soft-fp/op-common.h (_FP_DECL): Likewise.
11705 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11707         * elf/ifuncdep2.c (global): Replace
11708         __attribute__((visibility("protected"))) with
11709         asm (".protected global").
11710         * elf/ifuncmod1.c (global): Likewise.
11711         * elf/ifuncmod5.c (global): Likewise.
11713 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
11715         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
11716         <asm/sfp-machine.h> instead of <sfp-machine.h>.
11718 2015-03-06  Roland McGrath  <roland@hack.frob.com>
11720         * manual/install.texi (Configuring and compiling):
11721         Document test-wrapper-env-only.
11722         * INSTALL: Regenerated.
11724 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11726         [BZ #18043]
11727         * posix/wordexp.c (parse_param): Fix buffer overflow.
11728         * posix/wordexp-test.c (do_bz18043): Add test case.
11730 2015-03-06  Vincent Bernat  <vincent@bernat.im>
11732         * time/tst-strptime2.c (do_test): Ensure failing tests are
11733         reported correctly.
11734         * time/tst-strptime3.c (do_test): Likewise.
11736 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
11738         Fix aio_error thread-safety.
11739         * sysdeps/pthread/aio_error.c: New file
11740         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
11741         synchronization.
11743 2015-03-06  Florian Weimer  <fweimer@redhat.com>
11745         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
11746         (group_number, vfprintf): Use it.
11747         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
11748         (JUMP, REF): Use it.
11749         (WORK_BUFFER_SIZE): New enum constant.
11750         (process_arg, vfprintf): Use it.
11752 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
11754         * manual/errno.texi (Error Messages): Complete example function
11755         by adding missing #define.
11756         (program_invocation_name): Add statement indicating GNU
11757         extension and reference which header file declares the variable.
11758         (program_invocation_short_name): Likewise.
11760 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
11762         * manual/errno.texi (Error Messages): Delete strerror ISO C89
11763         compatibility note.
11765 2015-03-05  Roland McGrath  <roland@hack.frob.com>
11767         * Makeconfig (test-wrapper-env-only): New variable.
11768         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
11769         then use that with $(test-wrapper-env-only) rather than using
11770         $(test-wrapper-env) $(run-program-env) $($*-ENV).
11772 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
11774         [BZ #18082]
11775         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
11776         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
11777         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
11778         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
11779         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
11780         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
11781         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
11782         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
11783         Likewise.
11784         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
11785         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
11786         Likewise.
11787         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
11788         Likewise.
11789         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
11790         Likewise.
11791         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
11792         Likewise.
11793         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
11794         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
11795         Likewise.
11796         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
11797         Likewise.
11798         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
11799         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
11801 2015-03-04  Roland McGrath  <roland@hack.frob.com>
11803         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
11804         (ETH_ALEN): New macro.
11805         (struct ether_addr): Use it for length of ether_addr_octet.
11807         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
11808         (setdb): Don't call __nss_configure_lookup for "rpc".
11809         (do_test): Don't call test_rpc.
11810         (output_rpcent, test_rpc): Functions moved ...
11811         * sunrpc/test-rpcent.c: ... to this new file.
11812         * sunrpc/Makefile (tests): Add it.
11814         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
11815         __xpg_sigpause.
11816         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
11817         * nptl/tst-signal6.c: Likewise.
11818         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
11819         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
11821         * configure.ac (libc_cv_cxx_link_ok): New check.
11822         Reset CXX to empty if it fails to link.
11823         * configure: Regenerated.
11824         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
11825         bug-atexit3-lib only if $(CXX) is nonempty.
11826         * nptl/Makefile (tests): Likewise for tst-cancel24.
11827         (tests, tests-static): Likewise for tst-cancel24-static.
11828         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
11829         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
11830         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
11831         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
11833 2015-03-04  Andreas Schwab  <schwab@suse.de>
11835         [BZ #17631]
11836         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
11837         for non-GCC compilers.
11838         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11839         Likewise.
11841 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11843         [BZ #17776]
11844         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
11845         integer before bitwise and assembly operations.
11846         (feclearexcept): Likewise.
11847         * math/test-fenvinline.c: New file.
11848         * math/Makefile: Add test-fenvinline test.
11850 2015-03-03  Alan Modra  <amodra@gmail.com>
11852         [BZ #16512]
11853         * scripts/localplt.awk: Strip off symbol version.
11854         * NEWS: Mention bug fix.
11856 2015-03-02  Roland McGrath  <roland@hack.frob.com>
11858         * sysdeps/pthread/timer_routines.c
11859         (timer_free_list, thread_free_list, thread_active_list): Make static.
11861 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
11863         [BZ #17779]
11864         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11865         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11866         Undefine.
11867         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11868         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11869         Likewise.
11870         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11871         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11872         Likewise.
11874 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
11876         [BZ #18036]
11877         * posix/fnmatch_loop.c (END): Detect invalid pattern.
11878         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
11880 2015-03-02  Andreas Schwab  <schwab@suse.de>
11882         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
11883         variable name.
11885 2015-03-02  Florian Weimer  <fweimer@redhat.com>
11887         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
11888         Return error status.
11890 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
11892         [BZ #15969]
11893         * locale/findlocale.c (_nl_find_locale): Introduce const
11894         version of loc_name and drop unsafe type casts.
11896 2015-02-27  Roland McGrath  <roland@hack.frob.com>
11898         * dlfcn/tststatic2.c (main): Converted to ...
11899         (do_test): ... this.
11900         (TEST_FUNCTION): New macro.
11901         Include test-skeleton.c.
11903 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
11905         [BZ #17711]
11906         * elf/Makefile (tests): Add vismain only if PIE is enabled.
11907         (tests-pie): Add vismain.
11908         (CFLAGS-vismain.c): New.
11909         * elf/vismain.c: Add comments for PIE requirement.
11911 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11913         [BZ #18046]
11914         [BZ #18047]
11915         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
11916         0x1p-56L as threshold for just returning the argument.
11917         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
11918         0x1p-32L as threshold for just returning the argument.
11919         * math/auto-libm-test-in: Add more tests of atanh.
11920         * math/auto-libm-test-out: Regenerated.
11921         * sysdeps/i386/fpu/libm-test-ulps: Update.
11922         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
11924 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11926         * string/bcopy.c (bcopy): Call memmove for performance.
11928 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11930         * string/bzero.c (__bzero): Call memset for performance.
11932 2015-02-27  John David Anglin  <dave.anglin@bell.net>
11934         [BZ #18068]
11935         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
11936         to 00100000.
11938 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11940         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
11942 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
11944         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
11945         (__kernel_standard): Use CSTR macro when setting exc.name.
11946         * sysdeps/ieee754/Makefile [$(subdir) = math]
11947         (CFLAGS-k_standard.c): Remove variable.
11949         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
11950         setting p and q from "else if" to "else".
11951         (qzero): Likewise.
11952         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
11953         (qone): Likewise.
11954         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
11955         (qzerof): Likewise.
11956         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
11957         (qonef): Likewise.
11958         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
11959         (qzero): Likewise.
11960         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
11961         (qone): Likewise.
11963         [BZ #18038]
11964         [BZ #18039]
11965         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
11966         return pi/2 for arguments below 0x1p-113L.
11967         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
11968         return pi/2 for arguments below 0x1p-106L.
11969         * math/auto-libm-test-in: Add more tests of acos.
11970         * math/auto-libm-test-out: Regenerated.
11972         [BZ #16351]
11973         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
11974         (MO): New macro.
11975         (__ieee754_asin): Force underflow exception for results with small
11976         absolute value.
11977         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
11978         (MO): New macro.
11979         (__ieee754_asinf): Force underflow exception for results with
11980         small absolute value.
11981         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
11982         (__ieee754_asin): Force underflow exception for results with small
11983         absolute value.
11984         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
11985         (__ieee754_asinf): Force underflow exception for results with
11986         small absolute value.
11987         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
11988         (__ieee754_asinl): Force underflow exception for results with
11989         small absolute value.
11990         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
11991         (__ieee754_asinl): Force underflow exception for results with
11992         small absolute value.
11993         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
11994         (__ieee754_asinl): Force underflow exception for results with
11995         small absolute value.
11996         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11997         Include <math.h>.
11998         * math/auto-libm-test-in: Do not mark underflow exceptions as
11999         possibly missing for bug 16351.
12000         * math/auto-libm-test-out: Regenerated.
12002         [BZ #18030]
12003         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
12004         of power of 2 down when low part has opposite sign.
12005         * math/libm-test.inc (logb_test_data): Add more tests.
12007 2015-02-26  Andreas Schwab  <schwab@suse.de>
12009         [BZ #18032]
12010         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
12011         over collating symbol inside a bracket expression.  Minor cleanup.
12012         * posix/tst-fnmatch3.c (do_test): Add test case.
12014 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
12016         [BZ #18029]
12017         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
12018         Adjust exponent of power of 2 down when low part has opposite
12019         sign.
12020         * math/libm-test.inc (ilogb_test_data): Add more tests.
12022 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
12024         [BZ #15969]
12025         * locale/findlocale.c (_nl_find_locale): Fix constness error in
12026         the previous change.
12028         [BZ #15969]
12029         * locale/findlocale.c (_nl_find_locale): Retry archive search
12030         after alias expansion.
12032 2015-02-25  Roland McGrath  <roland@hack.frob.com>
12034         * iconv/tst-iconv3.c (main): Converted to ...
12035         (do_test): ... this.
12036         (TEST_FUNCTION): New macro.
12037         Include test-skeleton.c.
12039         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
12040         (convert): Make function static.
12041         (test_unalign): Likewise.  Add const to argument pointee types.
12042         (main): Replace with static function do_test.
12043         Print "Succeeded." only if RET is zero.
12044         (TEST_FUNCTION): New macro.
12045         Include test-skeleton.c.
12047         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
12048         returns a null pointer.
12050 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12052         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
12053         to __memcpy_ppc only for static builds.
12055 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
12057         [BZ #18020]
12058         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
12059         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
12060         * math/auto-libm-test-in: Add more tests of asinh.
12061         * math/auto-libm-test-out: Regenerated.
12062         * sysdeps/i386/fpu/libm-test-ulps: Update.
12063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12065 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
12067         [BZ #15850]
12068         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
12069         and ip6_mtuinfo definitions here.
12070         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
12071         in this define too.  Update comment.
12073 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
12075         * elf/sprof.c (load_shobj): Tweak error message to match others.
12077 2015-02-24  Kevin Easton  <kevin@guarana.org>
12079         [BZ #16145] (partial fix)
12080         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
12081         to reduce lock contention.
12083 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
12085         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
12086         (struct timex): Update time comment.
12087         (ADJ_SETOFFSET): Define.
12089 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
12091         [BZ #18019]
12092         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12093         2**56 not 2**28 as threshold for log (2x) formula.
12094         * math/auto-libm-test-in: Add more tests of acosh.
12095         * math/auto-libm-test-out: Regenerated.
12096         * sysdeps/i386/fpu/libm-test-ulps: Update.
12097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12099 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
12101         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
12102         parenthesis around the buf assignment.
12103         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
12105 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
12107         [BZ #16783]
12108         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
12109         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
12110         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
12111         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12112         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12113         * math/libm-test.inc (scalb_test_data): Add more tests.
12115 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12117         [BZ #17916]
12118         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
12119         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
12121 2015-02-24  Eric Rannaud  <e@nanocritical.com>
12123         [BZ #17523]
12124         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
12125         * io/bits/fcntl2.h (open): Use it.
12126         (openat): Likewise.
12127         * io/open.c (__libc_open): Likewise.
12128         * io/open64.c (__libc_open64): Likewise.
12129         * io/open64_2.c (__open64_2): Likewise.
12130         * io/open_2.c (__open_2): Likewise.
12131         * io/openat.c (__openat): Likewise.
12132         * io/openat64.c (__openat64): Likewise.
12133         * io/openat64_2.c (__openat64_2): Likewise.
12134         * io/openat_2.c (__openat_2): Likewise.
12135         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
12136         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12137         * sysdeps/posix/open64.c (__libc_open64): Likewise.
12138         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12139         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12140         (__open_nocancel): Likewise.
12141         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12142         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12143         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
12145 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12147         [BZ #14841]
12148         * resolv/gethnamaddr.c (getanswer): Skip logging if
12149         RES_USE_DNSSEC is set.
12150         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12152 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
12154         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
12156 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
12158         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12159         201304L, for Unicode 7.
12161 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
12163         [BZ #17836]
12164         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
12165         shared library.  Add gmon-start.os otherwise.
12166         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
12167         $(objpfx)gmon-start.os if builing shared library.
12168         ($(objpfx)g$(static-start-installed-name)): Likewise.
12170 2015-02-23  Andreas Schwab  <schwab@suse.de>
12172         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
12174 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12176         [BZ #17269]
12177         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
12178         (enlarge_userbuf): Likewise.
12180 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
12182         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
12183         * math/atest-exp.c (TIMEOUT): Adjust to 200.
12184         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
12185         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
12187 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
12189         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
12190         expression inside statement expression.
12192 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12194         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
12195         <sysdeps/nptl/lowlevellock.h> and remove macros and
12196         functions that are now defined there.
12197         (SYS_futex): Remove.
12198         (lll_compare_and_swap): Remove.
12199         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
12201 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
12203         [BZ #17999]
12204         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
12205         instead of scandirat.
12206         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
12207         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
12208         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
12209         __scandirat.
12210         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
12211         (__scandirat): Declare.  Use libc_hidden_proto.
12212         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
12213         Remove variable.
12214         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12216 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
12218         [BZ #15319]
12219         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
12220         (MO): New macro.
12221         (__ieee754_atan2): For results with small absolute value, force
12222         underflow exception and remove excess range and precision from
12223         return value.
12224         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
12225         (MO): New macro.
12226         (__ieee754_atan2f): For results with small absolute value, force
12227         underflow exception and remove excess range and precision from
12228         return value.
12229         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
12230         (MO): New macro.
12231         (__atan): For results with small absolute value, force underflow
12232         exception and remove excess range and precision from return value.
12233         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
12234         (MO): New macro.
12235         (__atanf): For results with small absolute value, force underflow
12236         exception and remove excess range and precision from return value.
12237         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
12238         <math.h>.
12239         (__ieee754_atan2): Force underflow exception for results with
12240         small absolute value.
12241         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
12242         <math_private.h>.
12243         (atan): Force underflow exception for results with small absolute
12244         value.
12245         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
12246         (__atanf): Force underflow exception for results with small
12247         absolute value.
12248         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
12249         <math.h>.
12250         (__atanl): Force underflow exception for results with small
12251         absolute value.
12252         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
12253         (__atanl): Force underflow exception for results with small
12254         absolute value.
12255         * sysdeps/x86/fpu/bits/mathinline.h
12256         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
12257         (__ieee754_atan2): Only define inline for long double.
12258         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12259         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
12260         * math/auto-libm-test-in: Do not mark underflow exceptions as
12261         possibly missing for bug 15319.  Add more tests of atan2.
12262         * math/auto-libm-test-out: Regenerated.
12263         * math/libm-test.inc (casin_test_data): Do not mark underflow
12264         exceptions as possibly missing for bug 15319.
12265         (casinh_test_data): Likewise.
12266         * sysdeps/i386/fpu/libm-test-ulps: Update.
12268 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
12270         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
12271         * sysdeps/mips/bits/endian.h: Fix comments.
12273 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
12275         [BZ #17996]
12276         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
12277         (hdestroy_r): Likewise.
12278         (hsearch_r): Likewise.
12279         (__hcreate_r): Declare and use libc_hidden_proto.
12280         (__hdestroy_r): Likewise.
12281         (__hsearch_r): Likewise.
12282         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
12283         (hcreate): Call __hcreate_r instead of hcreate_r.
12284         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
12285         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
12286         as weak alias of __hcreate_r.
12287         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
12288         __hdestroy_r.
12289         (hsearch_r): Rename to __hsearch_r and define as weak alias of
12290         __hsearch_r.
12291         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
12292         Remove variable.
12293         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12294         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12295         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12296         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12298 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12300         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
12301         arena_lock into a single arena_get.
12303 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
12305         * dl-reloc.c: Inlucde libc-internal.h.
12306         (_dl_try_allocate_static_tls): Call ALIGN_UP.
12307         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
12308         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
12309         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
12310         (grow_heap): Likewise.
12311         * malloc/malloc.c: Include libc-internal.h.
12312         (do_check_malloc): Call powerof2.
12313         (sysmalloc): Use pagesize. Call ALIGN_UP.
12314         (systrim): Use pagesize.
12315         (mremap_chunk): Use pagesize. Call ALIGN_UP.
12316         (__libc_valloc): Use pagesize.
12317         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
12319 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
12321         [BZ #17991]
12322         * include/sys/resource.h (__getrlimit64): Declare.  Use
12323         libc_hidden_proto.
12324         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
12325         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
12326         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
12327         getrlimit64.
12328         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
12329         __getrlimit64.
12330         [!getrlimit64] (getrlimit64): Define as weak alias of
12331         __getrlimit64.  Use libc_hidden_weak.
12332         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
12333         using __getrlimit64 not __new_getrlimit64.
12334         (__GI_getrlimit64): Likewise.
12335         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
12336         Likewise.
12337         (__GI_getrlimit64): Likewise.
12338         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
12339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
12340         (getrlimit): Add __getrlimit64 alias.
12341         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
12342         Likewise.
12343         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
12344         Remove variable.
12345         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12346         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12348 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
12350         * libio/fileops.c: Add missing sys/mman.h
12351         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
12353 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
12355         * manual/math.texi (Errors in Math Functions): Clarify goals
12356         regarding inexact and underflow exceptions.
12358 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
12360         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
12361         * sysdeps/mips/memset.S: Ditto.
12363 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
12365         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
12367 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12369         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
12370         (__v1longjmp): Remove versioned symbol.
12371         (__v1siglongjmp): Remove alias and versioned symbol.
12372         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
12373         (__v2siglongjmp): Likewise.
12375 2015-02-16  Torvald Riegel  <triegel@redhat.com>
12377         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
12379 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
12381         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
12383 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
12385         [BZ #17987]
12386         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
12387         zero result does not depend on the sign resulting from
12388         subtraction.
12389         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12390         Likewise.
12391         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
12392         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
12393         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12394         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
12395         * math/libm-test.inc (remquo_test_data): Add more tests.
12397 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
12399         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
12400         Problem reported by J William Piggott.
12402 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
12404         [BZ #17978]
12405         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
12406         products 4 * y and 2 * y where those would overflow.
12407         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12408         Likewise.
12409         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
12410         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
12411         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12412         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
12413         * math/libm-test.inc (remquo_test_data): Add more tests.
12415         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
12417         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
12418         [defined _COMPILING_NEWLIB].
12419         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
12420         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
12422         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
12423         [!defined __mips_isa_rev || __mips_isa_rev < 6].
12425 2015-02-16  Torvald Riegel  <triegel@redhat.com>
12427         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
12428         acquired.
12430 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
12432         [BZ #17792]
12433         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
12434         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
12435         HOST_STACK_END_ADDR): Likewise.
12437 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
12439         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
12440         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
12441         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
12443 2015-02-13  Roland McGrath  <roland@hack.frob.com>
12445         * sysdeps/generic/c++-types.data: New file.
12446         * sysdeps/generic/ld.abilist: New file.
12447         * sysdeps/generic/libBrokenLocale.abilist: New file.
12448         * sysdeps/generic/libanl.abilist: New file.
12449         * sysdeps/generic/libc.abilist: New file.
12450         * sysdeps/generic/libcrypt.abilist: New file.
12451         * sysdeps/generic/libdl.abilist: New file.
12452         * sysdeps/generic/libm.abilist: New file.
12453         * sysdeps/generic/libpthread.abilist: New file.
12454         * sysdeps/generic/libresolv.abilist: New file.
12455         * sysdeps/generic/librt.abilist: New file.
12457 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
12459         [BZ #17569]
12460         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12461         Compute absolute value of x as modified by fmod, not original
12462         value of x.
12463         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
12464         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
12465         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
12466         RUN_TEST_ffI_f1_mod8.
12467         (remquo_test_data): Add more tests.
12469 2015-02-13  Roland McGrath  <roland@hack.frob.com>
12471         * sysdeps/init_array/pt-crti.S: New file.
12473 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
12475         [BZ #17967]
12476         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
12477         __builtin_fmaf instead of relying on contraction of a * b + c.
12479 2015-02-12  J William Piggott  <elseifthen@gmx.com>
12481         [BZ #17969]
12482         * manual/time.texi: correct the zoneinfo path in the TZ Variable
12483         node.
12485 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
12487         [BZ #17964]
12488         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
12489         __builtin_fma instead of relying on contraction of a * b + c.
12491 2015-02-12  Roland McGrath  <roland@hack.frob.com>
12493         * Makeconfig (ASFLAGS): Add -Werror=undef.
12494         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
12495         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
12496         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
12498         * Makeconfig (after-link): New variable.
12499         (+link-pie, +link-pie-tests): Use it.
12500         (+link-static, +link-static-tests): Likewise.
12501         (+link, +link-tests): Likewise.
12502         * Makerules (build-module, build-module-asneeded): Likewise.
12503         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
12504         Likewise.
12505         * elf/Makefile ($(objpfx)ld.so): Likewise.
12507 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
12509         [BZ #17965]
12510         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
12511         both struct timeval and struct timespec.
12513 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
12515         [BZ #16560]
12516         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12517         and redefine.
12518         (__ieee754_exp2l): Do not multiply small fractional parts by
12519         M_LN2l.
12520         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
12521         small argument.
12522         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12523         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12524         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
12525         * math/auto-libm-test-in: Add more tests of exp2.
12526         * math/auto-libm-test-out: Regenerated.
12528 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12530         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
12531         unaligned path.
12533 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12535         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
12536         little endian.
12538 2015-02-12  Andreas Schwab  <schwab@suse.de>
12540         [BZ #15790]
12541         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12542         Filter out elision flags from value returned in kind.
12543         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
12544         * nptl/tst-pthread-mutexattr.c: New file.
12546 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12548         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
12549         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
12550         into gnu-gnu, and update comment to refer to abi-tags.
12552 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
12554         [BZ #15467]
12555         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
12556         (__sincos): Set errno to EDOM for infinite argument.
12557         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
12558         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
12559         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
12560         (__sincosl): Set errno to EDOM for infinite argument.
12561         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
12562         (__sincosl): Set errno to EDOM for infinite argument.
12563         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
12564         (__sincosl): Set errno to EDOM for infinite argument.
12565         * math/libm-test.inc (sincos_test_data): Test errno setting.
12567 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
12569         * string/strxfrm_l.c: Remove #define STRCMP.
12570         * string/strcoll_l.c: Remove #define STRLEN.
12571         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
12572         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
12574 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
12576         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
12577         * sysdeps/mips/mips32/sfp-machine.h: ... here.
12578         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
12579         * sysdeps/mips/mips64/Makefile: ... here.
12580         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
12581         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
12582         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
12583         * sysdeps/mips/mips64/sfp-machine.h: ... here.
12584         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
12585         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
12586         * sysdeps/mips/mips64/n64/Implies: Likewise.
12588 2015-02-10  Roland McGrath  <roland@hack.frob.com>
12590         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
12591         <sys/time.h>, <string.h>, and <errno.h>.
12592         (dest_offset, dest_address, value, zero): Remove unused variables.
12593         (ldouble): Remove typedef.
12594         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
12595         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
12596         1).  Fix code style.
12597         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
12598         (check): Function removed.
12599         (CHECK): New macro.
12600         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
12601         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
12602         Don't call set_sigaction_FP and remove_sigaction_FP here.
12603         (ldouble_test): Just use 'long double' as macro argument, no need for
12604         the 'ldouble' typedef.
12605         (do_test): Set up SIGFPE handler at start, using plain signal rather
12606         than sigaction.  Fix code style.
12608 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
12610         [BZ #17949]
12611         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
12612         jump label.
12614 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12616         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
12617         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12619         * sysdeps/powerpc/configure.ac: Remove file.
12620         * sysdeps/powerpc/configure: Likewise.
12622         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12623         [sysdep_routines]: Remove wordcopy-power6 object.
12624         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12625         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
12626         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
12627         (__memmove_ppc32): Likewise.
12628         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
12629         file.
12630         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
12631         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
12632         Remove preprocessor.
12634         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12635         [sysdep_routines]: Remove wide chars objects.
12636         [wcsmbs]: New rule for wide char objects.
12638         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12639         Remove wordcopy-power6 obejct.
12640         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
12641         Use local call for wordcopy and memcpy symbols.
12642         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
12643         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
12644         implementation for loader.
12645         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
12647         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12648         Remove wordcopy-power7 object.
12649         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
12650         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
12651         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
12652         (_wordcopy_fwd_dest_aligned): Likewise.
12653         (_wordcopy_bwd_aligned): Likewise.
12654         (_wordcopy_bwd_dest_aligned): Likewise.
12656         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
12657         Rewrite to call __memmove_ppc instead of include default
12658         implementation.
12660         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12661         Remove wide chars objects.
12662         [wcsmbs]: New rule for wide char objects.
12664 2015-02-09  Andreas Schwab  <schwab@suse.de>
12666         [BZ #17912]
12667         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12668         in terms of __O_DIRECTORY.
12670 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12672         * time/getdate.c: Include <stdbool.h>.
12673         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
12674         call PTR_MANGLE.
12675         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
12676         PTR_DEMANGLE.
12678 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
12680         Add ersatz _Static_assert on older C hosts
12681         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
12682         pre-C11 C platform that is not known to support _Static_assert.
12684 2015-02-07  Richard Braun  <rbraun@sceen.net>
12686         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
12687         sigstate.
12688         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
12690 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12692         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
12693         priority against unexistent AIO_PRIO_DELTA_MAX.
12694         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
12695         instead of int.
12696         * misc/fchflags.c (fchflags): Likewise.
12697         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
12698         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
12699         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
12700         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
12701         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
12702         Declare macros.
12703         [__USE_MISC] (chflags, fchflags): Declare functions.
12704         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
12705         EINVAL when nfds is greater than FD_SETSIZE.
12706         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
12707         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
12708         45.
12709         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
12710         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
12711         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
12712         MACH_RCV_TIMED_OUT.
12713         * hurd/hurd/signal.h (_hurd_self_sigstate,
12714         _hurd_critical_section_lock, _hurd_critical_section_unlock):
12715         Explicit casts from void *.
12716         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
12717         * abi-tags: Rename gnu-gnu os into gnu.
12719         [BZ #4719]
12720         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
12721         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
12722         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
12723         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
12724         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
12725         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
12727         [BZ #17944]
12728         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
12729         duplicates ADDR->sun_path with sockaddr LEN limitation.
12730         * sysdeps/mach/hurd/connect.c: Include <string.h>
12731         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
12732         * sysdeps/mach/hurd/sendmsg.c: Likewise.
12733         * sysdeps/mach/hurd/sendto.c: Likewise.
12734         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
12735         implementing it by hand.
12737 2015-02-06  Roland McGrath  <roland@hack.frob.com>
12739         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
12740         Use sfi_breg on ldr.
12741         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
12742         Likewise.
12744         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
12745         it's defined.
12746         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
12747         Test SIGSETXID only if it's defined.
12749         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
12751         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
12752         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
12754         * nptl/tst-align2.c: Moved ...
12755         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
12756         * nptl/Makefile (tests): Remove tst-align2.
12757         * sysdeps/unix/sysv/linux/Makefile
12758         [$(subdir) = nptl] (tests): Add tst-align-clone.
12759         * nptl/tst-getpid1.c: Moved ...
12760         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
12761         * nptl/tst-getpid2.c: Moved ...
12762         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
12763         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
12764         * sysdeps/unix/sysv/linux/Makefile
12765         [$(subdir) = nptl] (tests): ... here.
12766         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
12767         * sysdeps/unix/sysv/linux/Makefile
12768         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
12770         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
12771         Drop trailing \n from perror argument.  Use return rather than exit.
12773         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
12774         on [SA_SIGINFO].
12775         * nptl/tst-cancel21.c (do_test): Likewise.
12776         * debug/tst-backtrace6.c: Include <signal.h> first thing.
12777         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
12778         [!SA_SIGINFO]: Make it a stub test.
12780         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
12781         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
12783         * posix/tst-getlogin.c: Move to ...
12784         * login/tst-getlogin.c: ... here.
12785         * posix/Makefile (tests): Move tst-getlogin to ...
12786         * login/Makefile (tests): ... here.
12788         * libio/tst-atime.c (do_test): Move local variables SV and E
12789         inside [ST_NOATIME] conditional.
12791         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
12793         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
12795         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
12796         (wait_code): New function replaces macro.
12797         Call nanosleep rather than syscall.
12799         * nptl/pt-system.c: Rewritten.  Put everything under
12800         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12801         Use IFUNC to redirect when possible.
12803         * nptl/pt-longjmp.c: Rewritten.  Put everything under
12804         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12805         Use IFUNC to redirect when possible.
12807         * nptl/pt-fork.c: Rewritten.  Put everything under
12808         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12809         Use IFUNC to redirect when possible.
12810         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
12812         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
12813         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
12814         unconditionally nowadays.  This included the only reference to
12815         __vdso_clock_gettime that appears outside libc proper.
12816         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
12817         Remove version set (containing only __vdso_clock_gettime).
12818         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12819         Add attribute_hidden.
12820         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12821         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
12822         libc_hidden_data_def.
12823         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12824         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12826         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
12827         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
12828         setrpcent, and getrpcport to ...
12829         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
12830         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
12831         getrpcbynumber_r, and getrpcent_r to ...
12832         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
12833         * inet/getrpcbyname.c: Moved ...
12834         * sunrpc/getrpcbyname.c: ... here.
12835         * inet/getrpcbyname_r.c: Moved ...
12836         * sunrpc/getrpcbyname_r.c: ... here.
12837         * inet/getrpcbynumber.c: Moved ...
12838         * sunrpc/getrpcbynumber.c: ... here.
12839         * inet/getrpcbynumber_r.c: Moved ...
12840         * sunrpc/getrpcbynumber_r.c: ... here.
12841         * inet/getrpcent.c: Moved ...
12842         * sunrpc/getrpcent.c: ... here.
12843         * inet/getrpcent_r.c: Moved ...
12844         * sunrpc/getrpcent_r.c: ... here.
12845         * inet/Makefile (routines): Move those to ...
12846         * sunrpc/Makefile (routines): ... here.
12847         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
12848         the $(subdirs) list.
12849         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
12850         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
12851         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
12852         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
12854         * elf/Makefile (routines): Include $(all-dl-routines), not just
12855         $(dl-routines).
12856         (rtld-routines): Likewise.  Use = rather than :=.
12857         * sysdeps/aarch64/Makefile [$(subdir) = elf]
12858         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
12859         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
12860         * sysdeps/arm/Makefile: Likewise.
12861         * sysdeps/i386/Makefile: Likewise.
12862         * sysdeps/x86_64/Makefile: Likewise.
12863         * sysdeps/hppa/Makefile [$(subdir) = elf]
12864         (sysdep_routines, sysdep-rtld-routines): Don't add
12865         $(sysdep-dl-routines) to these.
12866         * sysdeps/ia64/Makefile: Likewise.
12867         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
12868         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
12869         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
12870         Don't add dl-static to these; sysdep-dl-routines alone is enough.
12871         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
12872         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
12873         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
12874         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
12875         * sysdeps/powerpc/Makefile [$(subdir) = elf]
12876         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
12877         these; sysdep-dl-routines alone is enough.
12879 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
12881         [BZ #17932]
12882         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
12883         where multiplication results in zero and third argument is finite
12884         and nonzero.
12885         * math/auto-libm-test-in: Add more tests of fma.
12886         * math/auto-libm-test-out: Regenerated.
12888         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
12889         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
12890         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
12891         (_FP_CMP_EQ): Likewise.
12892         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
12894         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
12895         extra argument CHECK_NAN.  Redefine as wrapper around
12896         _FP_EXTEND_CNAN.
12898 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
12900         * version.h (RELEASE): Set to "stable".
12901         (VERSION): Set to "2.21"
12902         * include/features.h (__GLIBC_MINOR__): Set to 21.
12904         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
12906 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12907             Paul Eggert  <eggert@cs.ucla.edu>
12909         [BZ #16618]
12910         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
12911         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
12912         size in bytes. Store needed elements in wpmax. Use needed size
12913         in bytes for extend_alloca.
12915 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
12917         * manual/install.texi: Latest tested versions are GCC 4.9.2,
12918         binutls 2.25, and texinfo 5.2.
12919         * INSTALL: Regenerate.
12920         * sysdeps/nios2/configure: Regenerate.
12921         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
12922         * manual/contrib.texi: Update.
12923         * po/be.po: Update.
12924         * po/bg.po: Update.
12925         * po/ca.po: Update.
12926         * po/cs.po: Update.
12927         * po/da.po: Update.
12928         * po/de.po: Update.
12929         * po/el.po: Update.
12930         * po/eo.po: Update.
12931         * po/es.po: Update.
12932         * po/fi.po: Update.
12933         * po/fr.po: Update.
12934         * po/gl.po: Update.
12935         * po/hr.po: Update.
12936         * po/hu.po: Update.
12937         * po/ia.po: Update.
12938         * po/id.po: Update.
12939         * po/it.po: Update.
12940         * po/ja.po: Update.
12941         * po/ko.po: Update.
12942         * po/lt.po: Update.
12943         * po/nb.po: Update.
12944         * po/nl.po: Update.
12945         * po/pl.po: Update.
12946         * po/pt_BR.po: Update.
12947         * po/ru.po: Update.
12948         * po/rw.po: Update.
12949         * po/sk.po: Update.
12950         * po/sl.po: Update.
12951         * po/sv.po: Update.
12952         * po/tr.po: Update.
12953         * po/uk.po: Update.
12954         * po/vi.po: Update.
12955         * po/zh_CN.po: Update.
12956         * po/zh_TW.po: Update.
12958         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
12959         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
12960         * sysdeps/hppa/dl-irel.h: Remove #warning.
12961         * sysdeps/hppa/entry.h: Provide prototype for
12962         __canonicalize_funcptr_for_compare and cast argument.
12963         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
12964         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
12965         * sysdeps/hppa/sotruss-lib.c: New file.
12966         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
12967         (atomic_compare_and_exchange_val_acq): Use __typeof__.
12968         (atomic_compare_and_exchange_bool_acq): Likewise.
12969         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
12970         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
12972         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
12973         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
12974         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
12976 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
12978         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
12979         called function in non-PIC case.
12981 2015-01-31  David S. Miller  <davem@davemloft.net>
12983         * sysdeps/sparc/sparc32/bits/atomic.h
12984         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
12985         unlock not after it.
12986         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
12987         volatile register usage warnings from the compiler.
12989         * sysdeps/sparc/nptl/sem_init.c: Delete.
12990         * sysdeps/sparc/nptl/sem_post.c: Delete.
12991         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
12992         * sysdeps/sparc/nptl/sem_wait.c: Delete.
12993         * sysdeps/sparc/sparc32/sem_init.c: New file.
12994         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
12995         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
12996         padding explicitly initialized.
12997         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
12998         padding for in-semaphore spinlock.
12999         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
13000         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
13001         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
13002         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
13003         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
13004         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
13005         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
13006         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
13007         version.
13008         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
13009         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
13011 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
13013         [BZ #17801]
13014         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13015         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
13016         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
13017         New.
13018         (index_AVX_Fast_Unaligned_Load): Likewise.
13019         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
13020         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
13021         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
13022         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
13023         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
13024         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
13025         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
13026         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
13027         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
13029 2015-01-29  Andreas Schwab  <schwab@suse.de>
13031         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
13033 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
13035         [BZ #17892]
13036         * nscd/nscd_stat.c (send_stats): Initialize DATA.
13038 2015-01-28  Martin Sebor  <msebor@redhat.com>
13040         * math/README.libm-test: Clarify. Add "How to read the test output."
13042 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
13044         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
13045         Define to 0.
13047 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
13049         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
13050         (__HAVE_64B_ATOMICS): Define to 0.
13052 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13054         [BZ #17885]
13055         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
13056         value to set as new flag.
13058         [BZ #16576]
13059         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
13060         and use _ARCH_PPCSQ instead.
13061         (__ieee754_sqrt): Likewise.
13062         (__ieee754_sqrtf): Likewise.
13063         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
13064         _ARCH_PPCSQ is defined.
13065         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
13066         fsqrt instruction.
13067         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
13068         _ARCH_PPCSQ is defined.
13069         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
13070         fsqrts instruction.
13071         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
13073 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13075         * iconv/loop.c: Suppress array out of bound warning caused by GCC
13076         bug (GCC BZ #64739).
13078 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
13080         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
13081         Mark _retval as used.
13082         (lll_futex_wake_unlock): Likewise.
13083         (lll_futex_timed_wait_requeue_pi): Likewise.
13085         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13086         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
13087         register variables.
13089         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
13090         libm_hidden_def.
13092         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
13093         (__bswap_64): Mark as __always_inline.
13095 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
13097         [BZ #15378]
13098         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
13099         when none of the search directories exist.
13101 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13103         [BZ #17869]
13104         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
13105         power8 in .machine directive.
13107         [BZ #17868]
13108         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
13109         set dependency from opd value.
13111 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
13113         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13114         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
13115         architecture.
13117 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
13119         [BZ #17870]
13120         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
13121         with uint64_t.
13122         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
13123         (uint64_t) 1.
13124         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
13125         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
13126         Replace 1UL with (uint64_t) 1.
13127         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
13128         int with uint64_t.
13130 2015-01-23  Roland McGrath  <roland@hack.frob.com>
13132         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
13133         (if_freenameindex): Likewise.
13135         * resource/getrlimit64.c: Add missing libc_hidden_def.
13137 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
13139         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
13140         __label__.
13141         (_FP_FMA): Likewise.
13142         (_FP_TO_INT_ROUND): Likewise.
13143         (_FP_FROM_INT): Likewise.
13145 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13147         [BZ #16418]
13148         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
13149         Make code racy and cancel safe.
13151 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
13153         * sysdeps/arm/unwind-resume.h: Fix copyright year.
13154         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
13155         attribution.
13157         * pwd/tst-getpw.c: Rewrite.
13159         [BZ #17702]
13160         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
13161         (modules-names): Add moddummy1 and moddummy2.
13162         ($(objpfx)tst-rec-dlopen): Define.
13163         * dlfcn/moddummy1.c: New file.
13164         * dlfcn/moddummy2.c: New file.
13165         * dlfcn/tst-rec-dlopen.c: New file.
13166         * elf/dl-cache.c (_dl_load_cache_lookup):
13167         Return char*. Copy result with alloca/strcpy/strdup.
13168         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
13169         returns char*. Free cached. If not saving realname
13170         free cached.
13171         * elf/dl-open.c (dl_open_worker): Do not assert that
13172         _r_debug->r_state is RT_CONSISTENT.
13173         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
13174         returns char*.
13176 2015-01-21  Torvald Riegel  <triegel@redhat.com>
13177             Carlos O'Donell  <carlos@redhat.com>
13179         [BZ #12674]
13180         * nptl/sem_waitcommon.c: New file.
13181         * nptl/sem_wait.c: Include sem_waitcommon.c.
13182         (__sem_wait_cleanup, do_futex_wait): Remove.
13183         (__new_sem_wait): Adapt.
13184         (__new_sem_trywait): New function.
13185         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
13186         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
13187         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
13188         (sem_timedwait): Adapt.
13189         * nptl/sem_post.c (__new_sem_post): Adapt.
13190         (futex_wake): New function.
13191         (__old_sem_post): Add release MO fence.
13192         * nptl/sem_open.c (sem_open): Adapt.
13193         * nptl/sem_init.c (__new_sem_init): Adapt.
13194         (futex_private_if_supported): New function.
13195         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
13196         (__old_sem_getvalue): Add using previous code.
13197         * sysdeps/nptl/internaltypes.h: Adapt.
13198         * nptl/tst-sem13.c (do_test): Adapt.
13199         * nptl/tst-sem11.c (main): Adapt.
13200         * nptl/sem_trywait.c: Remove.
13201         * nptl/DESIGN-sem.txt: Remove.
13202         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
13203         (gen-as-const-headers): Remove structsem.sym.
13204         * nptl/structsem.sym: Remove.
13205         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
13206         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
13207         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
13208         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
13209         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
13210         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
13211         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
13212         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
13213         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
13214         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
13215         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
13216         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
13217         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
13218         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
13219         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
13220         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
13221         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
13222         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
13223         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
13224         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
13225         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
13226         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
13228 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
13230         * INSTALL: Regenerated.
13232         * po/libc.pot: Regenerated.
13234 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
13235             Sandra Loosemore  <sandra@codesourcery.com>
13236             Andrew Jenner  <andrew@codesourcery.com>
13237             Joseph Myers  <joseph@codesourcery.com>
13238             Nathan Sidwell  <nathan@codesourcery.com>
13240         * NEWS: Mention new Nios II port.
13241         * sysdeps/nios2/Implies: New file.
13242         * sysdeps/nios2/Makefile: New file.
13243         * sysdeps/nios2/Subdirs: New file.
13244         * sysdeps/nios2/Versions: New file.
13245         * sysdeps/nios2/__longjmp.S: New file.
13246         * sysdeps/nios2/abort-instr.h: New file.
13247         * sysdeps/nios2/backtrace.c: New file.
13248         * sysdeps/nios2/bits/endian.h: New file.
13249         * sysdeps/nios2/bits/fenv.h: New file.
13250         * sysdeps/nios2/bits/link.h: New file.
13251         * sysdeps/nios2/bits/setjmp.h: New file.
13252         * sysdeps/nios2/bsd-_setjmp.S: New file.
13253         * sysdeps/nios2/bsd-setjmp.S: New file.
13254         * sysdeps/nios2/configure: New generated file.
13255         * sysdeps/nios2/configure.ac: New file.
13256         * sysdeps/nios2/crti.S: New file.
13257         * sysdeps/nios2/crtn.S: New file.
13258         * sysdeps/nios2/dl-init.c: New file.
13259         * sysdeps/nios2/dl-machine.h: New file.
13260         * sysdeps/nios2/dl-sysdep.h: New file.
13261         * sysdeps/nios2/dl-tls.h: New file.
13262         * sysdeps/nios2/dl-trampoline.S: New file.
13263         * sysdeps/nios2/gccframe.h: New file.
13264         * sysdeps/nios2/gmp-mparam.h: New file.
13265         * sysdeps/nios2/jmpbuf-offsets.h: New file.
13266         * sysdeps/nios2/jmpbuf-unwind.h: New file.
13267         * sysdeps/nios2/ldsodefs.h: New file.
13268         * sysdeps/nios2/libc-tls.c: New file.
13269         * sysdeps/nios2/libm-test-ulps: New file.
13270         * sysdeps/nios2/machine-gmon.h: New file.
13271         * sysdeps/nios2/math-tests.h: New file.
13272         * sysdeps/nios2/math_private.h: New file.
13273         * sysdeps/nios2/memusage.h: New file.
13274         * sysdeps/nios2/nptl/Makefile: New file.
13275         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
13276         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
13277         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
13278         * sysdeps/nios2/nptl/pthreaddef.h: New file.
13279         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
13280         * sysdeps/nios2/nptl/tls.h: New file.
13281         * sysdeps/nios2/preconfigure: New file.
13282         * sysdeps/nios2/s_fma.c: New file.
13283         * sysdeps/nios2/s_fmaf.c: New file.
13284         * sysdeps/nios2/setjmp.S: New file.
13285         * sysdeps/nios2/sfp-machine.h: New file.
13286         * sysdeps/nios2/sotruss-lib.c: New file.
13287         * sysdeps/nios2/stackguard-macros.h: New file.
13288         * sysdeps/nios2/stackinfo.h: New file.
13289         * sysdeps/nios2/start.S: New file.
13290         * sysdeps/nios2/sysdep.h: New file.
13291         * sysdeps/nios2/tls-macros.h: New file.
13292         * sysdeps/nios2/tst-audit.h: New file.
13293         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
13294         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
13295         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
13296         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
13297         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
13298         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
13299         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
13300         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
13301         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
13302         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
13303         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
13304         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
13305         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
13306         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
13307         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
13308         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
13309         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
13310         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
13311         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
13312         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
13313         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
13314         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
13315         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
13316         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
13317         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
13318         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
13319         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
13320         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
13321         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
13322         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
13323         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
13324         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
13325         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
13326         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
13327         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
13328         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
13329         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
13330         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
13331         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
13332         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
13333         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
13334         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
13335         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
13336         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
13338 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13340         [BZ #17844]
13341         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
13342         (getutent): Use weak_alias in non SHARED case
13343         and default_symbol_version in SHARED case.
13344         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
13345         (getutent_r, pututline): Likewise.
13346         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
13347         (getutid): Likewise.
13348         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
13349         (getutid_r): Likewise.
13350         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
13351         (getutline): Likewise.
13352         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
13353         (getutline_r): Likewise.
13354         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
13355         (updwtmp): Likewise.
13357 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13359         [BZ #17848]
13360         * sysdeps/s390/s390-32/memcmp.S
13361         (memcmp_g5): Rename to __memcmp_g5.
13362         * sysdeps/s390/s390-32/memcpy.S
13363         (memcpy_g5): Rename to __memcpy_g5.
13364         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13365         (memcpy_mvcle) Rename to __memcpy_mvcle.
13366         * sysdeps/s390/s390-32/memset.S
13367         (memset_g5): Rename to __memset_g5.
13368         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13369         (IFUNC_RESOLVE): Prefix ifunc-resolve function
13370         and use prefixed functions.
13371         * sysdeps/s390/s390-32/multiarch/memcmp.S
13372         (memcmp_z196): Rename to __memcmp_z196.
13373         (memcmp_z10): Rename to __memcmp_z10.
13374         (memcmp): Set alias to __memcmp_g5.
13375         (bcmp): Set alias to __memcmp_g5.
13376         * sysdeps/s390/s390-32/multiarch/memcpy.S
13377         (memcpy_z196): Rename to __memcpy_z196.
13378         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13379         (memcpy_z10): Rename to __memcpy_z10.
13380         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13381         (memcpy): Set alias to __memcpy_g5.
13382         * sysdeps/s390/s390-32/multiarch/memset.S
13383         (memset_z196): Rename to __memset_z196.
13384         Jump to __memset_mvcle instead of memset_mvcle.
13385         (memset_z10): Rename to __memset_z10.
13386         Jump to __memset_mvcle instead of memset_mvcle.
13387         (memset_mvcle) Rename to __memset_mvcle.
13388         (memset): Set alias to __memset_g5.
13389         * sysdeps/s390/s390-64/memcmp.S
13390         (memcmp_z900): Rename to __memcmp_z900.
13391         * sysdeps/s390/s390-64/memcpy.S
13392         (memcpy_z900): Rename to __memcpy_z900.
13393         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13394         (memcpy_mvcle) Rename to __memcpy_mvcle.
13395         * sysdeps/s390/s390-64/memset.S
13396         (memset_z900): Rename to __memset_z900.
13397         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
13398         (IFUNC_RESOLVE): Prefix ifunc-resolve function
13399         and use prefixed functions.
13400         * sysdeps/s390/s390-64/multiarch/memcmp.S
13401         (memcmp_z196): Rename to __memcmp_z196.
13402         (memcmp_z10): Rename to __memcmp_z10.
13403         (memcmp): Set alias to __memcmp_z900.
13404         (bcmp): Set alias to __memcmp_z900.
13405         * sysdeps/s390/s390-64/multiarch/memcpy.S
13406         (memcpy_z196): Rename to __memcpy_z196.
13407         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13408         (memcpy_z10): Rename to __memcpy_z10.
13409         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13410         (memcpy): Set alias to __memcpy_z900.
13411         * sysdeps/s390/s390-64/multiarch/memset.S
13412         (memset_z196): Rename to __memset_z196.
13413         Jump to __memset_mvcle instead of memset_mvcle.
13414         (memset_z10): Rename to __memset_z10.
13415         Jump to __memset_mvcle instead of memset_mvcle.
13416         (memset_mvcle) Rename to __memset_mvcle.
13417         (memset): Set alias to __memset_z900.
13419 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
13421         [BZ #17748]
13422         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
13423         __fesetenv instead of fesetenv.
13425 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13427         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
13428         macro.
13430 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13432         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
13433         regression on LE.
13435         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
13436         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
13437         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13438         strncmp-power8 object.
13439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13440         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
13441         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
13442         * NEWS: Update.
13444 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13445             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13447         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
13448         trailing byte check.
13450 2015-01-13  David S. Miller  <davem@davemloft.net>
13452         * include/signal.h (__sigreturn): Guard with __USE_MISC.
13454 2015-01-13  Roland McGrath  <roland@hack.frob.com>
13456         * login/logout.c (logout): Use memset rather than bzero.
13457         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
13458         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
13459         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
13460         (_gethtbyaddr): Likewise.
13461         * locale/programs/simple-hash.c (bcopy): Macro removed.
13463 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13465         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13466         Add strcmp-power8 object.
13467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13468         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
13469         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
13470         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
13471         __strcmp_power8 implementation.
13472         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
13473         * NEWS: Update.
13475         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13476         Add strncpy-power8 and stpncpy-power8 objects.
13477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13478         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
13479         implementations.
13480         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
13481         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
13482         __stpncpy_power8 implementation.
13483         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
13484         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
13485         __strncpy_power8 implementation.
13486         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
13487         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
13488         * NEWS: Update.
13490         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
13491         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
13492         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
13494         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13495         strncat-power8 object.
13496         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
13497         __strcat_power8 implementation.
13498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13499         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
13500         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
13501         optimized strcat for power8.
13503         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13504         strcpy-power8 and stpcpy-power8 objects.
13505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13506         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
13507         implementations.
13508         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
13509         multiarch stpcpy implementation for POWER8.
13510         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
13511         multiarch strcpy implementation for POWER8.
13512         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
13513         __strcpy_power8 function.
13514         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
13515         stpcpy for POWER8.
13516         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
13517         strcpy for POWER8.
13518         * NEWS: Update.
13520 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
13522         [BZ #16009]
13523         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
13524         weights and rules. Use do_xfrm_cached if data fits in cache,
13525         do_xfrm otherwise.  Moved former main loop to...
13526         * (do_xfrm_cached): New function.
13527         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
13528         find_idx, find_position and stack_push.
13529         * (find_idx): New function.
13530         * (find_position): Likewise.
13531         * localedata/sort-test.sh: Added test run for do_xfrm.
13532         * localedata/xfrm-test.c (main): Added command line option
13533         -nocache to run the test with strings that are too large for
13534         the STRXFRM cache.
13536 2015-01-13  Torvald Riegel  <triegel@redhat.com>
13538         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
13539         variable to lll_futex_wake call, not the value itself.
13541 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
13543         [BZ #17803]
13544         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
13545         twom64.  Adjust value to 0x1p-64L.
13546         (__scalblnl): Only return standard underflowing result for K <=
13547         -64 not K <= -63; adjust exponent for underflowing result by 64
13548         not 63.
13549         * math/libm-test.inc (scalbn_test_data): Add more tests.
13550         (scalbln_test_data): Likewise.
13552         [BZ #17834]
13553         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
13554         0x1p63L.
13555         (__scalblnl): Get new exponent of adjusted subnormal value from ES
13556         not HX.
13557         * math/libm-test.inc (scalbn_test_data): Add more tests.
13558         (scalbln_test_data): Likewise.
13560 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13561             Stefani Seibold  <stefani@seibold.net>
13563         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
13564         (sysdep_routines): Add dl-vdso here, ...
13565         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
13566         (sysdep_routines): ... not here.
13567         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
13568         fallback when vDSO is not presented.
13569         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13570         Define with libc_hidden_proto/libc_hidden_data_def definitions.
13571         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
13572         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
13573         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
13574         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
13575         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
13576         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
13577         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
13578         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
13579         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
13580         fallback configurable symbol when vDSO is not available.
13581         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
13582         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
13583         be able to redefine fallback symbol when vDSO is not available.
13584         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
13585         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
13587 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13589         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
13590         (TLS_INIT_TP): Add tm_capable initialization.
13591         (TLS_DEFINE_INIT_TP): Likewise.
13592         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
13593         TCB.
13594         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
13595         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
13596         calculation.
13597         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
13598         transactoion is lock elision is built and TCB tm_capable is set.
13599         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
13600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13601         (INTERNAL_SYSCALL_NCS): Likewise.
13602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13603         (INTERNAL_SYSCALL_NCS): Likewise.
13604         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
13606         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
13607         for powerpc.
13608         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13609         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
13610         and remove it for 32 bits case.
13611         [pthread_rwlock_t] (__rwelision): New field for lock elision.
13612         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
13613         initialization.
13614         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
13615         Disable lock elision with rdlocks if elision is not available.
13617         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
13618         (sysdep_routines): Add lock elision objects.
13619         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13620         [pthread_mutex_t] (__spins): Rework to add lock elision field.
13621         [pthread_mutex_t] (__elision): Add field.
13622         [__PTHREAD_SPINS]: Adjust to init lock elision field.
13623         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
13624         elision definitions for powerpc.
13625         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
13626         implementation of lock elision for powerpc.
13627         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
13628         implementation of timed lock elision for powerpc.
13629         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
13630         implementation of trylock with lock elision for powerpc.
13631         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
13632         implementaion of unlock for lock elision for powerpc.
13633         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
13634         automatic enable lock elision for mutexes.
13635         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
13636         transaction execution definitions for powerpc.
13637         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
13638         definitions.
13639         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
13640         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
13641         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
13642         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
13643         * NEWS: Update.
13645 2015-01-09  Roland McGrath  <roland@hack.frob.com>
13647         * sysdeps/posix/shm-directory.c: Use <> rather than ""
13648         for #include of <shm-directory.h>.
13650 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
13652         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
13653         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
13655 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
13657         [BZ #17791]
13658         * NEWS: Mention bug fix.
13659         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
13660         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
13661         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
13663 2015-01-09  Torvald Riegel <triegel@redhat.com>
13665         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
13667 2015-01-09  Torvald Riegel <triegel@redhat.com>
13669         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
13671 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13673         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
13674         pointer and cast to uintptr_t.
13676 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13678         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
13679         removed.
13680         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
13682 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13684         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
13685         of 0.
13687 2015-01-08  Roland McGrath  <roland@hack.frob.com>
13689         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
13690         <nptl/pthreadP.h> instead.
13691         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
13693         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
13694         already defined.
13695         [__SIGRTMIN] (init): Function removed.
13696         [__SIGRTMIN] (initialized): Variable removed.
13697         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
13698         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
13699         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
13700         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
13701         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
13702         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
13703         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
13704         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
13705         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
13706         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
13707         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
13708         * sysdeps/nptl/allocrtsig.c: New file.
13709         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
13710         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
13711         * sysdeps/generic/testrtsig.h: File removed.
13713         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
13714         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
13716         * nptl/nptl-init.c (pthread_functions): Conditionalize
13717         .ptr__nptl_setxid initialization on [SIGSETXID].
13719         * sysdeps/nptl/sys/procfs.h: New file.
13720         * nptl_db/Makefile (headers): Add it.
13721         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
13723         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
13724         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
13725         * nptl/pthread_attr_setaffinity.c: Include it.
13726         * nptl/pthread_setattr_default_np.c: Likewise.
13727         * nptl/check-cpuset.h: New file.
13729 2015-01-08  Richard Henderson  <rth@redhat.com>
13731         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
13732         (CFLAGS-tst-execstack-prog.c): Likewise.
13733         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
13735 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
13736             Sandra Loosemore  <sandra@codesourcery.com>
13737             Andrew Jenner  <andrew@codesourcery.com>
13738             Joseph Myers  <joseph@codesourcery.com>
13739             Nathan Sidwell  <nathan@codesourcery.com>
13741         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
13742         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
13743         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
13744         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
13745         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
13746         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
13747         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
13748         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
13749         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
13750         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
13751         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
13752         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
13753         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
13754         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
13755         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
13756         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
13757         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
13759 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13761         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
13762         timespec struct member in syscall macro.
13763         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13764         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
13765         first timeval struct member in syscall macro.
13766         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
13768 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
13770         [BZ #17748]
13771         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
13772         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
13773         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
13774         __feupdateenv and define as weak alias of __feupdateenv.  Use
13775         libm_hidden_weak.
13776         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
13777         libm_hidden_def.
13778         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
13779         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
13780         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13781         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
13782         libm_hidden_def.
13783         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
13784         __feupdateenv and define as weak alias of __feupdateenv.  Use
13785         libm_hidden_weak.
13786         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
13787         libm_hidden_def.
13788         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
13789         __feupdateenv and define as weak alias of __feupdateenv.  Use
13790         libm_hidden_weak.
13791         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
13792         libm_hidden_def.
13793         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13794         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13795         (__feupdateenv): Likewise.
13796         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
13797         __feupdateenv and define as weak alias of __feupdateenv.  Use
13798         libm_hidden_weak.
13799         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13800         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
13801         libm_hidden_def.
13802         * sysdeps/tile/math_private.h (__feupdateenv): New inline
13803         function.
13804         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
13805         libm_hidden_def.
13806         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
13807         __feupdateenv instead of feupdateenv.
13808         (default_libc_feupdateenv_test): Likewise.
13809         (libc_feresetround_ctx): Likewise.
13811 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13813         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
13814         prototype.
13816 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
13818         * posix/regcomp.c (parse_bracket_exp): Initialize type to
13819         COLL_SYM in a couple of places to avoid uninitialized variable
13820         wanings on tilegx gcc 4.8.2.
13822 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13824         * sysdeps/aarch64/strcpy.S: New file.
13825         * sysdeps/aarch64/stpcpy.S: New file.
13826         * NEWS: Updated.
13828 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13830         * sysdeps/aarch64/strrchr.S: New file.
13831         * NEWS: Updated.
13833 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
13835         [BZ #17658]
13836         * stdlib/setenv.c: Fix memory leak when setting large,
13837         duplicate string.
13839 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
13841         [BZ #17273]
13842         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
13843         and tabs from buffer before parsing fstab entry.
13844         * misc/tst-mntent.c (main): Add test for mount entry with
13845         trailing spaces and tabs.
13847 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
13849         [BZ #17748]
13850         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
13851         * math/fesetround.c (fesetround): Rename to __fesetround and
13852         define as weak alias of __fesetround.  Use libm_hidden_weak.
13853         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
13854         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
13855         * sysdeps/arm/fesetround.c (fesetround): Likewise.
13856         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
13857         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
13858         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
13859         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
13860         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
13861         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
13862         __fesetround_inline.
13863         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
13864         __fesetround_inline instead of __fesetround.
13865         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
13866         __fesetround and define as weak alias of __fesetround.  Use
13867         libm_hidden_weak.  Call __fesetround_inline instead of
13868         __fesetround.
13869         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
13870         __fesetround and define as weak alias of __fesetround.  Use
13871         libm_hidden_weak.
13872         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
13873         Likewise.
13874         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
13875         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13876         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
13877         * sysdeps/tile/math_private.h (__fesetround): New inline function.
13878         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
13879         __fesetround and define as weak alias of __fesetround.  Use
13880         libm_hidden_weak.
13881         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
13882         __fesetround instead of fesetround.
13883         (default_libc_feholdexcept_setround): Likewise.
13884         (libc_feholdsetround_ctx): Likewise.
13885         (libc_feholdsetround_noex_ctx): Likewise.
13887         [BZ #17748]
13888         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
13889         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
13890         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13891         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13892         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13893         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
13894         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13895         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13896         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13897         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13898         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13899         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13900         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13901         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13902         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
13903         libm_hidden_def.
13904         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
13905         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
13906         Likewise.
13907         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13908         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13909         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13910         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13911         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
13912         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13913         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13914         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
13915         __fesetenv instead of fesetenv.
13916         (libc_feresetround_noex_ctx): Likewise.
13917         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
13918         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13919         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
13920         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
13921         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
13922         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
13923         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13924         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13925         (__feupdateenv): Likewise.
13926         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13927         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13928         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13929         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
13931 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13933         [BZ #17806]
13934         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
13935         addresses have been freed.
13937 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13939         * resolv/res_init.c (__res_vinit): Improve comments about nserv
13940         and nservall.
13942 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
13944         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
13945         Clean up check_pf allocation pattern. addresses
13947 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13949         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
13950         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
13951         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
13952         * nptl/pthread_exit.c (__pthread_exit): Likewise.
13953         * nptl/pthread_join.c (pthread_join): Likewise.
13954         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
13955         * sysdeps/posix/waitid.c (__waitid): Likewise.
13956         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13957         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13958         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13959         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13960         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13961         Likewise.
13962         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13963         (__libc_pread64): Likewise.
13964         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13965         (__libc_pwrite): Likewise.
13966         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13967         (__libc_pwrite64): Likewsie.
13968         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13969         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13970         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13971         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13972         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13973         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13974         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13976         Likewise.
13977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13978         (__libc_pread64): Likewise.
13979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
13980         Likewise.
13981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13982         (__libc_pwrite64): Likewise.
13983         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13984         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13985         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
13986         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13987         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13988         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13989         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
13990         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13991         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13992         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13993         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
13994         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13995         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13996         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
13997         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13998         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13999         Likewise.
14001 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
14003         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
14004         (CFLAGS-test-double.c): Likewise.
14005         (CFLAGS-test-ldouble.c): Likewise.
14006         (CPPFLAGS-test-ifloat.c): Likewise.
14007         (CPPFLAGS-test-idouble.c): Likewise.
14008         (CPPFLAGS-test-ildoubl.c): Likewise.
14009         (CFLAGS-test-test-fenv.c): Remove variable.
14010         (CFLAGS-test-misc.c): Likewise.
14012 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
14014         [BZ #17797]
14015         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
14016         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
14017         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
14018         CLOCKS_PER_SEC == 1000000.
14019         * time/clocktest.c (main): Replace %ld with %jd and cast to
14020         intmax_t.
14022 2015-01-05  Roland McGrath  <roland@hack.frob.com>
14024         * sysdeps/generic/unwind-resume.h: New file.
14025         * sysdeps/gnu/unwind-resume.c: Include it.
14026         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
14027         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
14028         argument list.
14029         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
14030         global rather than static.
14031         (_Unwind_Resume): Update user.
14032         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
14033         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
14034         rather than static.  Add __attribute__ ((cold)).
14035         (_Unwind_Resume, __gcc_personality_v0): Update callers.
14036         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14037         * sysdeps/arm/arm-unwind-resume.S: New file.
14038         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
14039         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
14040         * sysdeps/arm/Makefile [$(subdir) = csu]
14041         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
14042         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14043         Add rt-arm-unwind-resume.
14044         [$(subdir) = nptl]
14045         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14046         Add pt-arm-unwind-resume.
14047         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
14048         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
14050 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14052         [BZ #17748]
14053         * include/fenv.h (__feholdexcept): Declare.  Use
14054         libm_hidden_proto.
14055         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
14056         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
14057         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14058         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
14059         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
14060         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
14061         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
14062         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14063         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
14064         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
14065         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14066         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
14067         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
14068         (feholdexcept): Likewise.
14069         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14070         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14071         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14072         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14073         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
14074         __feholdexcept instead of feholdexcept.
14075         (default_libc_feholdexcept_setround): Likewise.
14077 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14079         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
14080         to avoid using stl/str to align destination.
14082 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14084         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
14086 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14088         [BZ #17796]
14089         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
14090         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
14091         Define as weak alias not strong alias.
14093 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14095         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
14096         bltzal with addiupc.
14097         (RTLD_START): Ditto.
14099 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
14101         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
14102         for __vdso_* functions in declarations.
14103         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
14104         definitions.
14105         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
14106         INTERNAL_VSYSCALL): Use struct return types to check for error.
14108         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
14109         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
14110         function with cast from llround().
14111         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
14112         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14113         Define.
14115 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14117         [BZ #17793]
14118         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
14119         Define as weak alias not strong alias.
14121         [BZ #17635]
14122         * ctype/ctype-c99.c: New file.  isblank implementation moved from
14123         ...
14124         * ctype/ctype-extn.c: ... here.
14125         (__isblank_l): Move to ...
14126         * ctype/ctype-c99_l.c: ... here.  New file.
14127         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
14128         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
14129         Remove variable.
14130         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14131         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14132         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14133         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14134         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14136         [BZ #17777]
14137         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
14138         (posix_fadvise64): Define as weak alias not strong alias.
14139         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14140         (posix_fallocate64): Likewise.
14141         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
14142         Remove variable.
14143         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14144         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14145         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14146         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14147         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14149 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
14151         [BZ #16191]
14152         * NEWS: Mention bug fix.
14153         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
14154         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
14155         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
14156         (HOST_STACK_END_ADDR): Likewise.
14158 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
14160         [BZ #17748]
14161         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
14162         * math/fegetround.c (fegetround): Rename to __fegetround and
14163         define as weak alias of __fegetround.  Use libm_hidden_weak.
14164         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
14165         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
14166         * sysdeps/arm/fegetround.c (fegetround): Likewise.
14167         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
14168         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14169         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
14170         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
14171         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
14172         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14173         Undefine after rather than before function definition; use
14174         parentheses around function name in definition.
14175         (__fegetround): Also undefine macro after function definition.
14176         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
14177         __fegetround and define as weak alias of __fegetround.  Use
14178         libm_hidden_weak.  Do not undefine as macro.
14179         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14180         Likewise.
14181         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
14182         __fegetround and define as weak alias of __fegetround.  Use
14183         libm_hidden_weak.
14184         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14185         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14186         * sysdeps/tile/math_private.h (__fegetround): New inline function.
14187         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
14188         __fegetround and define as weak alias of __fegetround.  Use
14189         libm_hidden_weak.
14190         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
14191         __fegetround instead of fegetround.
14193         [BZ #17782]
14194         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
14195         Condition macro definition on [__USE_MISC].
14197         [BZ #17781]
14198         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
14199         (struct sigaction): Change type of sa_flags field to int.
14201         [BZ #17780]
14202         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
14203         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
14204         __glibc_reserved0.
14206         * nptl/version.c (banner): Use single year in copyright notice.
14208         * NEWS: Update copyright dates.
14209         * catgets/gencat.c (print_version): Likewise.
14210         * csu/version.c (banner): Likewise.
14211         * debug/catchsegv.sh: Likewise.
14212         * debug/pcprofiledump.c (print_version): Likewise.
14213         * debug/xtrace.sh (do_version): Likewise.
14214         * elf/ldconfig.c (print_version): Likewise.
14215         * elf/ldd.bash.in: Likewise.
14216         * elf/pldd.c (print_version): Likewise.
14217         * elf/sotruss.sh: Likewise.
14218         * elf/sprof.c (print_version): Likewise.
14219         * iconv/iconv_prog.c (print_version): Likewise.
14220         * iconv/iconvconfig.c (print_version): Likewise.
14221         * locale/programs/locale.c (print_version): Likewise.
14222         * locale/programs/localedef.c (print_version): Likewise.
14223         * login/programs/pt_chown.c (print_version): Likewise.
14224         * malloc/memusage.sh (do_version): Likewise.
14225         * malloc/memusagestat.c (print_version): Likewise.
14226         * malloc/mtrace.pl: Likewise.
14227         * manual/libc.texinfo: Likewise.
14228         * nptl/version.c (banner): Likewise.
14229         * nscd/nscd.c (print_version): Likewise.
14230         * nss/getent.c (print_version): Likewise.
14231         * nss/makedb.c (print_version): Likewise.
14232         * posix/getconf.c (main): Likewise.
14233         * scripts/test-installation.pl: Likewise.
14234         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14236 2015-01-02  Will Newton  <will.newton@linaro.org>
14238         * sysdeps/arm/armv7/configure: Removed.
14239         * sysdeps/arm/armv7/configure.ac: Likewise.
14241 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
14243         * All files with FSF copyright notices: Update copyright dates
14244         using scripts/update-copyrights.
14245         * intl/plural.c: Regenerated.
14246         * locale/programs/charmap-kw.h: Likewise.
14247         * locale/programs/locfile-kw.h: Likewise.
14249 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14251         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
14253 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
14255         [BZ #17748]
14256         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
14257         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
14258         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
14259         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
14260         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14261         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
14262         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14263         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
14264         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14265         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14266         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14267         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14268         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14269         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14270         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
14271         libm_hidden_def.
14272         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
14273         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
14274         Likewise.
14275         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14276         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14277         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14278         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14279         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
14280         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
14281         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
14282         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
14283         __fegetenv instead of fegetenv.
14284         (libc_feholdsetround_noex_ctx): Likewise.
14286 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
14288         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
14289         (Elf_MIPS_ABIFlags_v0): New structure.
14290         (EF_MIPS_FP64): Define.
14291         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
14292         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
14293         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
14294         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
14295         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
14296         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
14297         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
14298         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
14299         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
14300         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
14301         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
14302         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
14303         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
14304         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
14305         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
14306         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
14307         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
14308         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
14309         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
14310         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
14311         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
14312         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
14313         field.
14314         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
14315         EF_MIPS_FP64.
14316         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
14317         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
14318         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
14319         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
14320         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
14321         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
14322         * sysdeps/mips/tst-abi-interlink.c: Likewise.
14323         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
14324         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
14325         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
14326         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
14327         record the current FP ABI extension.
14328         (mips-mode-switch): Define to show if kernel headers support mode
14329         switching.
14330         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14331         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
14332         supported SYSV ABI version to 3.
14333         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
14334         feature.
14336 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14337             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14339         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
14340         path.
14341         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
14343 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
14345         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
14346         __fegetround and redefine to call __fegetround.  Remove condition
14347         on [!__NO_MATH_INLINES].
14348         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
14349         function.
14350         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
14351         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14352         Remove macro.
14353         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
14354         instead of <fenv_libc.h>.
14355         (__llrintl): Call fegetround instead of __fegetround.
14356         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
14357         instead of <fenv_libc.h>.
14358         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14359         (__lrintl): Call fegetround instead of __fegetround.
14360         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
14361         instead of <fenv_libc.h>.
14362         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14363         (__rintl): Call fegetround instead of __fegetround.
14365 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14367         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
14368         arrays.
14370 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
14372         [BZ #17775]
14373         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
14374         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
14375         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
14377 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14379         * sysdeps/i386/tls-macros.h: Include <features.h>.
14380         (TLS_LE): Use non-PIC version for GCC >= 5.0.
14381         (TLS_IE): Likewise.
14382         (TLS_LD): Likewise.
14383         (TLS_GD): Likewise.
14384         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
14385         define for GCC >= 5.0.
14387 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
14389         * math/test-fenv.c (test_single_exception, set_single_exc,
14390         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
14391         feexcp_mask_test, feenable_test, fe_single_test): Add
14392         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
14393         case where they are not used.
14394         * math/libm-test.inc: Likewise.
14395         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
14396         unused in the absence of FP rounding/exception support.
14397         * stdio-common/tst-printf-round.c: Likewise.
14398         * stdlib/tst-strtod-round.c: Likewise.
14399         * stdlib/tst-strtod-underflow.c: Likewise.
14401 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
14403         [BZ #17723]
14404         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
14405         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
14406         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14407         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14408         libm_hidden_weak.
14409         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
14410         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
14411         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
14412         libm_hidden_def.
14413         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14414         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14415         libm_hidden_weak.
14416         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
14417         Likewise.
14418         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
14419         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14420         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14421         libm_hidden_weak.
14422         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
14423         libm_hidden_def.
14424         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14425         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
14426         (__feraiseexcept): Likewise.
14427         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14428         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14429         libm_hidden_weak.
14430         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
14431         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
14432         libm_hidden_def.
14433         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
14434         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
14435         Use libm_hidden_def.
14436         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
14437         libm_hidden_def.
14438         (feraiseexcept): Define as weak not strong alias.  Use
14439         libm_hidden_weak.
14440         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
14441         New inline function.  Factored out of ...
14442         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
14443         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
14444         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
14445         feraiseexcept.
14446         * math/w_acos.c (__acos): Likewise.
14447         * math/w_asin.c (__asin): Likewise.
14448         * math/w_ilogb.c (__ilogb): Likewise.
14449         * math/w_j0.c (y0): Likewise.
14450         * math/w_j1.c (y1): Likewise.
14451         * math/w_jn.c (yn): Likewise.
14452         * math/w_log.c (__log): Likewise.
14453         * math/w_log10.c (__log10): Likewise.
14454         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
14455         * sysdeps/aarch64/fpu/math_private.h
14456         (libc_feupdateenv_test_aarch64): Likewise.
14457         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
14458         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
14459         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
14460         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
14461         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
14462         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
14463         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
14464         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14465         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14466         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14468 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
14470         [BZ #17732]
14471         * io/test-utime.c (main): Replace %ld with %jd and cast to
14472         intmax_t.
14473         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
14474         * nptl/tst-mutex5.c: Include <stdint.h>.
14475         (do_test): Replace %ld with %jd and cast to intmax_t.
14476         * posix/tst-regex.c (run_test): Likewise.
14477         (run_test_backwards): Likewise.
14478         * rt/tst-clock.c: Include <stdint.h>.
14479         (clock_test): Replace %ld with %jd and cast to intmax_t.
14480         * rt/tst-cpuclock1.c: Include <stdint.h>.
14481         (do_test): Replace %lu with %ju and cast to uintmax_t.
14482         * rt/tst-cpuclock2.c: Include <stdint.h>.
14483         (do_test): Replace %lu with %ju and cast to uintmax_t.
14484         * rt/tst-mqueue1.c: Include <stdint.h>.
14485         (check_attrs): Replace %ld with %jd and cast to intmax_t.
14486         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
14487         intmax_t.
14488         * rt/tst-mqueue4.c (do_test): Likewise.
14489         * rt/tst-timer4.c: Include <stdint.h>.
14490         (check_ts): Replace %ld with %jd and cast to intmax_t.
14491         (do_test): Likewise.
14492         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
14493         and cast to intmax_t.
14494         * sysdeps/pthread/tst-timer.c (main): Likewise.
14495         * time/clocktest.c (main): Likewise.
14496         * time/tst-posixtz.c (do_test): Likewise.
14497         * timezone/tst-timezone.c (main): Likewise.
14499 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14500             H.J. Lu  <hongjiu.lu@intel.com>
14502         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
14503         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
14504         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
14505         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
14506         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
14507         version if bit_Fast_Unaligned_Load is set.
14508         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14509         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14510         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14511         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14512         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14513         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14514         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14515         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
14516         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
14517         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
14518         to 4.
14519         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
14520         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
14521         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
14522         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
14524 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
14526         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
14527         instead of #if to avoid a Wundef warning.
14528         * stdlib/tst-limits.c (do_test): Likewise.
14530         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
14531         parallel other exception macros.
14532         (fegetenv): Convert from macro to extern inline so that it applies
14533         retroactively to inline functions already seen by the compiler.
14534         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
14536         * posix/Makefile (before-compile): Use $(objpfx) for
14537         posix-conf-vars-def.h.
14539 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14541         * posix/getconf.c (main): Use size_t for type of I.
14542         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
14543         NSPEC.
14545         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
14546         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
14547         * posix/posix-envs.def: Likewise.
14548         * sysdeps/posix/sysconf.c: Likewise.
14549         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
14550         (specs): Remove array.
14551         * scripts/gen-posix-conf-vars.awk: Support generation of specs
14552         array.
14554         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
14555         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
14556         (__sysconf): Use CONF_IS_* macros.
14558         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
14559         ($(objpfx)posix-conf-vars-def.h): New target.
14560         * posix/posix-conf-vars.list: New file.
14561         * posix/posix-conf-vars.h: New file.
14562         * posix/confstr.c: Include posix-conf-vars.h.
14563         (confstr): Use CONF_IS_* macros.
14564         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
14565         CONF_IS_* macros.
14566         * scripts/gen-posix-conf-vars.awk: New file.
14568 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
14570         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
14571         fegetround): Add no-op macros to avoid linknamespace issues.
14573         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
14574         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
14576         * sysdeps/unix/sysv/linux/tile/sysdep.h
14577         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
14578         assembly-specific section to avoid a redefinition warning.
14580         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
14581         long before casting to pointer to avoid a cast warning.
14583 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
14585         * sysdeps/tile/tilegx/Implies: New file.
14587 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
14589         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
14591 2014-12-23  Florian Weimer  <fweimer@redhat.com>
14593         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
14595 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14597         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
14598         not define.
14599         * sysdeps/unix/sysv/linux/utimes.c: Do not include
14600         <kernel-features.h>.
14601         (__utimes) [__NR_utimes]: Make code unconditional.
14602         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
14603         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14604         (__ASSUME_UTIMES): Do not undefine.
14605         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14606         (__ASSUME_UTIMES): Likewise.
14607         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14608         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
14609         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
14610         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
14612 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14614         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
14616 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
14618         [BZ #17747]
14619         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
14620         alias to weak alias for j0l, y0l.
14621         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
14622         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
14624         [BZ #17746]
14625         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
14626         conversion.
14628 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14630         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
14631         to zero if not already defined.
14633 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14635         [BZ #17724]
14636         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
14637         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
14638         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
14639         (char *) casts added.
14640         * sysdeps/ieee754/k_standardf.c: New file.
14641         * sysdeps/ieee754/k_standardl.c: Likewise.
14642         * math/Makefile (libm-support): Remove k_standard.
14643         (libm-calls): Add k_standard.
14645 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14647         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14648         Optimize to avoid an unnecessary FPCR read.
14650 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14652         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14653         Optimize to reduce FPCR/FPSR accesses.
14655 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14657         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
14658         Call libc_fetestexcept_aarch64.
14660 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14662         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
14663         Call libc_fesetround_aarch64.
14665 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14667         [BZ #17733]
14668         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
14669         (__bind): Do not define as weak alias.
14670         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
14671         define.
14672         (__getsockname): Do not define as weak alias.
14674 2014-12-22  Will Newton  <will.newton@linaro.org>
14676         * manual/install.texi: Document that we require bison 2.7
14677         or above.
14678         * INSTALL: Regenerate.
14679         * configure.ac: Use AC_CHECK_PROG_VER instead of
14680         AC_PATH_PROG when checking for bison and check for
14681         version 2.7 or above.
14682         * configure: Regenerate.
14684 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
14686         [BZ #17745]
14687         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
14688         * sysdeps/tile/ffsll.c (ffsll): To here.
14690         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
14692 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14694         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
14695         if not defined.
14696         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
14697         definition.
14698         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14699         hidden ___tls_get_addr.
14700         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14701         hidden __tls_get_addr.
14702         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
14703         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
14704         Likewise.
14706 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
14708         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
14709         _dl_init call.
14711 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14713         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
14714         from "call _dl_init@PLT".
14715         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
14717 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
14719         * manual/search.texi: (Array Sort Function): Clarify stable sorting
14720         guarantees.
14722 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
14724         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
14726 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14728         [BZ #17744]
14729         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
14730         strnlen.
14732 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14734         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
14735         of multu on MIPSr6.
14736         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
14737         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
14738         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
14739         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
14740         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
14742 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14744         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
14745         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
14746         (PTR_SUBU): Use subu for mips32r6/mips64r6.
14747         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
14748         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
14749         mips32r6/mips64r6.
14750         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
14752 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
14754         * string/strncat.c (STRNCAT): Simplify implementation.
14756 2014-12-19  David S. Miller  <davem@davemloft.net>
14758         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
14759         access the quad as both a long double and as a series of 4 words.
14761         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
14762         link_map->l_info array access.
14764 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14766         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
14768         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
14769         * math/atest-exp2.c (TIMEOUT): Likewise.
14770         * math/atest-sincos.c (TIMEOUT): Likewise.
14772 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14774         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
14775         -Wno-error with -fno-builtin-lround.
14777 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14779         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
14780         Contains futex constants and functions moved over from ...
14781         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
14782         <lowlevellock-futex.h>.
14783         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14784         (lll_timedwait_tid): Add comments and parentheses around macro
14785         arguments.
14787 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14789         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
14790         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
14791         (__lll_private_flag): Remove.
14792         (lll_futex_wait): Likewise.
14793         (lll_futex_timed_wait): Likewise.
14794         (lll_futex_wake): Likewise.
14795         (lll_futex_requeue): Likewise.
14796         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14797         (__lll_timedwait_tid): Spell out argument names.
14798         (lll_timedwait_tid): Add comments and parentheses around macro
14799         arguments.
14800         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
14801         LLL_SHARED and LLL_PRIVATE usable from assembly code.
14803 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14805         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
14806         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
14807         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14808         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
14809         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
14810         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
14811         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
14812         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
14813         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
14814         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
14815         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
14816         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
14817         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
14818         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
14819         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
14820         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
14821         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
14822         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
14823         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
14825 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14827         * sysdeps/x86_64/x32/Makefile: New file.
14829 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14831         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
14832         1L with (mp_limb_t) 1.
14834 2014-12-17  Roland McGrath  <roland@hack.frob.com>
14836         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
14837         * nptl/libc_pthread_init.c: ... here.
14838         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
14839         * nptl/register-atfork.c: ... here.
14841         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
14842         Use pthread_sigmask rather than INTERNAL_SYSCALL.
14843         Use assert_perror to check its return value.
14844         (__gai_create_helper_thread): Likewise.
14846         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
14848         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
14850 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
14852         [BZ #17725]
14853         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
14854         __profil_counter.
14855         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
14856         Likewise.
14857         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
14858         Likewise.
14859         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
14860         Likewise.
14861         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
14862         (profil_counter): Likewise.
14863         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
14864         (profil_counter): Likewise.
14865         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
14866         Likewise.
14867         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
14868         Likewise.
14869         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
14870         (profil_counter): Likewise.
14871         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
14872         Likewise.
14873         [!__profil_counter] (profil_counter): Define as weak alias of
14874         __profil_counter.
14875         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
14876         (profil_counter): Rename to __profil_counter.
14877         [!__profil_counter] (profil_counter): Define as weak alias of
14878         __profil_counter.
14879         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
14880         (profil_counter): Rename to __profil_counter.
14881         [!__profil_counter] (profil_counter): Define as weak alias of
14882         __profil_counter.
14883         * sysdeps/posix/profil.c: Update comment referring to
14884         profil_counter.
14885         (__profil): Use __profil_counter instead of profil_counter.
14886         * sysdeps/posix/sprofil.c (profil_counter): Rename to
14887         __profil_counter.  Use __profil_counter_ushort and
14888         __profil_counter_uint in definitions.
14889         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
14890         instead of profil_counter_uint and profil_counter_ushort.
14892         [BZ #17722]
14893         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
14894         define as weak alias of __inet_makeaddr.
14895         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
14896         as weak alias of __inet_addr.
14897         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
14898         as weak alias of __inet_pton.  Use libc_hidden_weak.
14899         * include/arpa/inet.h (__inet_pton): Declare.  Use
14900         libc_hidden_proto.
14901         (inet_makeaddr): Don't use libc_hidden_proto.
14902         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
14903         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
14904         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
14905         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
14906         Remove variable.
14907         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14908         (test-xfail-POSIX/time.h/linknamespace): Likewise.
14910 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
14912         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
14914 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14916         * stdio-common/bug-vfprintf-nargs.c (do_test):
14917         Cast value to intptr_t to avoid format warning
14918         for usage with PRIdPTR printing macro.
14920 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14922         * libio/tst-widetext.c (do_test):
14923         Use format type %td instead of %Zd for ptrdiff_t
14924         in order to avoid format warning.
14926 2014-12-17  Andreas Schwab  <schwab@suse.de>
14928         * nscd/mem.c (gc): Add size_t cast to match printf format.
14930 2014-12-16  Roland McGrath  <roland@hack.frob.com>
14932         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
14933         (init): Apply PTR_MANGLE to pointers before storing them.
14934         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
14935         before using them.
14937 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
14939         [BZ #17719]
14940         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
14941         define as weak alias of __memrchr.
14942         (__memrchr): Do not define as strong alias of memrchr.
14943         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
14944         Remove variable.
14945         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14946         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14947         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14949         [BZ #17717]
14950         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
14951         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
14952         (if_indextoname): Rename to __if_indextoname and define as weak
14953         alias of __if_indextoname.  Use libc_hidden_weak.
14954         (if_freenameindex): Rename to __if_freenameindex and define as
14955         weak alias of __if_freenameindex.
14956         (if_nameindex): Rename to __if_nameindex and define as weak alias
14957         of __if_nameindex.
14958         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
14959         __if_nametoindex and define as weak alias of __if_nametoindex.
14960         Use libc_hidden_weak.
14961         (if_freenameindex): Rename to __if_freenameindex and define as
14962         weak alias of __if_freenameindex.
14963         (if_nameindex): Rename to __if_nameindex and define as weak alias
14964         of __if_nameindex.
14965         (if_indextoname): Rename to __if_indextoname and define as weak
14966         alias of __if_indextoname.  Use libc_hidden_weak.
14967         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
14968         __if_nametoindex and define as weak alias of __if_nametoindex.
14969         Use libc_hidden_weak.
14970         (if_freenameindex): Rename to __if_freenameindex and define as
14971         weak alias of __if_freenameindex.  Use libc_hidden_weak.
14972         (if_nameindex_netlink): Use __if_freenameindex instead of
14973         if_freenameindex.
14974         (if_nameindex): Rename to __if_nameindex and define as weak alias
14975         of __if_nameindex.  Use libc_hidden_weak.
14976         (if_indextoname): Rename to __if_indextoname and define as weak
14977         alias of __if_indextoname.  Use libc_hidden_weak.
14978         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
14979         libc_hidden_proto.
14980         [!_ISOMAC] (__if_freenameindex): Likewise.
14981         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
14982         if_nametoindex.
14983         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
14984         variable.
14985         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14986         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14987         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14988         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14989         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14990         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14991         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14993         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
14994         Remove variable.
14995         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14996         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14998 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15000         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
15001         subscript above bounds'
15003         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
15004         bounds.
15006 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
15008         * libio/tst-fopenloc.c: Use test-skeleton.c.
15010         * stdlib/tst-bsearch.c: Use test-skeleton.c.
15011         (entry): Rename to ITEM.
15012         (do_test, comp): Adjust.
15014         * stdio-common/tst-fseek.c: Use test-skeleton.c.
15016 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15018         * string/tester.c: Include <libc-internal.h>.
15019         (test_memset): Ignore -Wmemset-transposed-args.
15021 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15023         * misc/tst-mntent2.c (do_test): Fix warning.
15025 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15027         * elf/tst-unique4lib.cc(a): Mark as used.
15029 2014-12-16  Florian Weimer  <fweimer@redhat.com>
15031         [BZ #17630]
15032         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
15033         names.
15035 2014-12-16  Allan McRae  <allan@archlinux.org>
15037         * stdio-common/Makefile (tests): Re-add bug26.
15039 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
15041         [BZ #17657]
15042         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
15043         static array.
15045 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
15047         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
15048         (__lll_lock_wait): Likewise.
15049         (__lll_timedlock_wait): Likewise.
15050         (__lll_timedwait_tid): Likewise.
15051         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
15052         (__lll_robust_timedlock_wait): Likewise.
15053         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
15054         (lll_cond_trylock): Likewise.
15055         (__lll_lock): Likewise.
15056         (__lll_robust_lock): Likewise.
15057         (__lll_cond_lock): Likewise.
15058         (lll_robust_cond_lock): Likewise.
15059         (__lll_timedlock): Likewise.
15060         (__lll_robust_timedlock): Likewise.
15061         (__lll_unlock): Likewise.
15062         (__lll_robust_unlock): Likewise.
15063         (lll_wait_tid): Likewise.
15064         (lll_timedwait_tid): Likewise.
15066 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15068         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
15070 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15072         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
15074 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
15076         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
15077         * stdio-common/tst-sprintf.c: Likewise.
15079 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15081         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
15083 2014-12-15  Jeff Law  <law@redhat.com>
15085         [BZ #16617]
15086         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
15087         on the heap.  (CVE-2012-3406)
15088         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
15089         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
15090         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
15092 2014-12-15  Will Newton  <will.newton@linaro.org>
15094         * manual/install.texi: Bump required version of texinfo
15095         to 4.7 from 4.5.
15096         * INSTALL: Regenerated.
15097         * configure.ac: Check for makeinfo version 4.7 and above.
15098         * configure: Regenerated.
15100 2014-12-12  Roland McGrath  <roland@hack.frob.com>
15102         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
15103         PREFIX, string constant to insert between directory and name.
15104         * sysdeps/posix/shm_open.c: Update caller.
15105         * sysdeps/posix/shm_unlink.c: Likewise.
15106         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
15107         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
15108         (SEM_SHM_PREFIX): New macro.
15109         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
15110         [$(have-thread-library) = no].
15111         * nptl/Makefile (libpthread-routines): Add shm-directory.
15112         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
15113         * sysdeps/nptl/shm-directory.h: New file.
15114         * sysdeps/posix/shm-directory.c
15115         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
15116         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15117         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
15118         INTERNAL_SYSCALL.
15119         (__where_is_shmfs): Function removed.
15120         (mountpoint, defaultmount, defaultdir, __namedsem_once):
15121         Variables removed.
15122         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
15123         Use SHM_GET_NAME.
15124         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
15126         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
15127         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
15128         unconditional for use inside libpthread.
15129         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
15131 2014-12-12  Roland McGrath  <roland@hack.frob.com>
15133         * nptl/pthread_getaffinity.c: New file.
15134         * nptl/pthread_setaffinity.c: New file.
15135         * nptl/pthread_getname.c: New file.
15136         * nptl/pthread_setname.c: New file.
15138         * nptl/pthread_create.c (START_THREAD_DEFN)
15139         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
15141 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15142             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15144         * resolv/res_send.c (send_vc): Disable warning resplen may
15145         be used uninitialized.
15147 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15149         * nptl/tst-mutex6.c
15150         (ATTR_NULL): New define checks ATTR against NULL.
15151         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
15152         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
15154 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
15156         [BZ #17581]
15157         * malloc/hooks.c
15158         (mem2mem_check): Revert my previous change.
15159         (malloc_check_get_size): Revert my previous change.
15160         (mem2chunk_check): Revert my previous change.
15162 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15164         * sysdeps/posix/shm-directory.c: New file.
15165         * sysdeps/posix/shm-directory.h: New file.
15166         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
15167         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
15168         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
15169         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
15170         Transmute EPERM to EACCES.
15171         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
15172         from ...
15173         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
15174         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
15176 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15178         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
15179         pointer and cast to uintptr_t.
15180         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
15181         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
15182         Add cast to avoid warning.
15183         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
15185 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
15187         * nptl/semaphore.h: Move to ...
15188         * sysdeps/pthread/semaphore.h: ... here.
15189         * Makefile (installed-headers): Change nptl/semaphore.h to
15190         sysdeps/pthread/semaphore.h.
15192 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15194         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
15195         generated error format strings.
15197         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
15198         -Wformat-extra-args warnings for scanf formats.
15199         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
15200         test of zero-length format (duh).
15201         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
15202         corner-case scanf format test.
15203         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
15204         generated fprintf format string.
15205         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
15206         corner-case sprintf format tests.
15207         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
15208         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
15209         -Wformat-extra-args warnings throughout.
15210         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
15211         (CFLAGS-scanf4.c): Likewise.
15212         (CFLAGS-scanf7.c): Likewise.
15213         (CFLAGS-tst-sprintf.c): Likewise.
15214         (CFLAGS-tst-printf.c): Likewise.
15215         (CFLAGS-tst-printfsz.c): Likewise.
15217 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
15219         * include/cpio.h: New file.
15220         * include/fmtmsg.h: Likewise.
15222         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
15223         corresponding format argument to size_t.
15224         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
15225         arguments.
15226         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
15227         corresponding format argument to size_t.
15228         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
15229         arguments.
15230         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
15231         corresponding format argument to size_t.
15232         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
15233         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
15234         (CFLAGS-tst-mbswcs2.c): Likewise.
15235         (CFLAGS-tst-mbswcs3.c): Likewise.
15236         (CFLAGS-tst-mbswcs4.c): Likewise.
15237         (CFLAGS-tst-mbswcs5.c): Likewise.
15238         (CFLAGS-tst-trans.c): Likewise
15240 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15242         * posix/regexbug1.c (main): Use "%s" format with regerror results,
15243         rather than assuming they won't contain any '%'s.
15245 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
15247         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
15248         inhibit_loop_to_libcall to avoid recursive calls.
15249         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
15250         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
15252 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
15254         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
15255         prototype.
15257 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
15259         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
15260         integer value instead of boolean.
15262 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
15264         * malloc/malloc.c: Fix powerof2 check.
15266 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15268         * locale/programs/locfile.h (maybe_swap_uint32):
15269         Remove inline and add unused attribute.
15271 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15273         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
15274         Truncating assembler expression to a .long expression.
15276 2014-12-11  Andreas Schwab  <schwab@suse.de>
15278         * elf/rtld.c (struct map_args): Constify str member.
15279         (do_preload): Constify fname argument.
15281 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15283         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
15284         constants definition.
15286 2014-12-11  Andreas Schwab  <schwab@suse.de>
15288         [BZ #16657]
15289         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
15290         FORCE_ELISION instead of DO_ELISION.
15291         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
15292         Remove.
15293         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
15294         Likewise.
15296         * iconvdata/gconv-modules: Remove duplicate entry.
15298 2014-12-11  Will Newton  <will.newton@linaro.org>
15300         Merge gettext 0.19.3 into intl/.
15302         This involves a number of cosmetic changes to comments
15303         and ANSI function definitions and prototypes throughout
15304         all the files. The gettext copyright header is used but
15305         with the date ranges taken from the glibc copy.
15307         * NEWS: Add gettext merge to 2.21.
15308         * intl/bindtextdom.c: Switch to gettext copyright.
15309         Use ANSI definitions and prototypes.
15310         Use gl_* locking primitives rather than __libc_* ones.
15311         Use __builtin_expect rather than __glibc_likely/unlikely.
15312         * intl/dcgettext.c: Switch to gettext copyright.
15313         Use ANSI definitions and prototypes.
15314         * intl/dcigettext.c: Switch to gettext copyright.
15315         Use ANSI definitions and prototypes.
15316         (INTDIV0_RAISES_SIGFPE): New define.
15317         Use gl_* locking primitives rather than __libc_* ones.
15318         Include eval-plural.h instead of plural-eval.c.
15319         Use __builtin_expect rather than __glibc_likely/unlikely.
15320         * intl/dcngettext.c: Switch to gettext copyright.
15321         Use ANSI definitions and prototypes.
15322         * intl/dgettext.c: Likewise.
15323         * intl/dngettext.c: Likewise.
15324         * intl/plural-eval.c: Renamed to...
15325         * intl/eval-plural.h: ...this.
15326         * intl/explodename.c: Switch to gettext copyright.
15327         Use ANSI definitions and prototypes.
15328         (_nl_explode_name): Use strchr instead of __rawmemchr.
15329         * intl/finddomain.c: Switch to gettext copyright.
15330         Use ANSI definitions and prototypes.
15331         Use gl_* locking primitives rather than __libc_* ones.
15332         (_nl_find_domain): Use malloc rather than alloca for
15333         allocation of temporary locale name.
15334         * intl/gettext.c: Switch to gettext copyright.
15335         Use ANSI definitions and prototypes.
15336         * intl/gettextP.h: Switch to gettext copyright.
15337         Use ANSI definitions and prototypes.
15338         Use gl_* locking primitives rather than __libc_* ones.
15339         * intl/gmo.h: Switch to gettext copyright.
15340         (struct sysdep_string): Move struct segment_pair outside of
15341         struct definition.
15342         * intl/hash-string.c: Use ANSI definitions and prototypes.
15343         * intl/hash-string.h: Switch to gettext copyright.
15344         Use ANSI definitions and prototypes.
15345         * intl/l10nflist.c: Switch to gettext copyright.
15346         Use ANSI definitions and prototypes.
15347         (_nl_normalize_codeset): Avoid integer overflow.
15348         * intl/loadinfo.h: Switch to gettext copyright.
15349         Use ANSI definitions and prototypes.
15350         (LIBINTL_DLL_EXPORTED): New define.
15351         (PATH_SEPARATOR): New define.
15352         * intl/loadmsgcat.c: Switch to gettext copyright.
15353         * intl/localealias.c: Switch to gettext copyright.
15354         Use ANSI definitions and prototypes.
15355         (_nl_expand_alias): Use PATH_SEPARATOR.
15356         * intl/ngettext.c: Switch to gettext copyright.
15357         Use ANSI definitions and prototypes.
15358         * intl/plural-exp.c: Likewise.
15359         * intl/plural-exp.h: Switch to gettext copyright.
15360         Use ANSI definitions and prototypes.
15361         (struct expression): Move definition of enum operator outside
15362         of struct definition.
15363         * intl/plural.c: Regenerate.
15364         * intl/plural.y: Switch to gettext copyright.
15365         Use ANSI definitions and prototypes.
15366         Port to bison 3.0.
15367         * intl/textdomain.c: Switch to gettext copyright.
15368         Use ANSI definitions and prototypes.
15369         Use gl_* locking primitives rather than __libc_* ones.
15371 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
15373         * debug/warning-nop.c: Add used atrribute.
15375 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15377         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
15379         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
15380         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
15381         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
15383 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15384             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15386         [BZ #17634]
15387         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
15388         Undefine after defining function.  Define as weak alias of
15389         __wcschr.  Use libc_hidden_weak.
15390         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
15391         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
15392         (libc_hidden_def): Also define __GI___wcschr alias.
15393         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
15394         __wcschr and define as weak alias of __wcschr.
15395         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
15396         __wcschr.
15397         [!WCSCHR] (DEFAULT_WCSCHR): Define.
15398         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
15399         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
15400         libc_hidden_weak.  Do not use libc_hidden_def.
15401         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
15402         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
15403         __GI___wcschr alias.
15404         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
15405         [IS_IN (libc)] (wcschr): Define as macro expanding to
15406         __redirect_wcschr.
15407         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
15408         [IS_IN (libc)] (__wcschr_power6): Likewise.
15409         [IS_IN (libc)] (__wcschr_power7): Likewise.
15410         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
15411         instead of wcschr.
15412         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
15413         __libc_wcschr.
15414         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
15415         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
15416         __wcschr and define as weak alias of __wcschr.  Use
15417         libc_hidden_builtin_def.
15418         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
15419         as weak alias of __wcschr.  Use libc_hidden_weak.
15420         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
15421         wcschr.
15422         * time/era.c (_nl_init_era_entries): Likewise.
15423         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
15424         variable.
15425         (test-xfail-XPG3/time.h/linknamespace): Likewise.
15426         (test-xfail-XPG4/time.h/linknamespace): Likewise.
15428 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15430         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
15431         format for long int variable.
15433 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
15435         [BZ #10672]
15436         * manual/search.texi: (Array Sort Function): Remove claim how to make
15437         qsort stable.
15439 2014-12-10  Andreas Schwab  <schwab@suse.de>
15441         [BZ #12847]
15442         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
15443         user-controlled locks.
15445 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
15447         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
15448         register.
15450 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15452         * configure.ac (--disable-werror): New configure option.
15453         (enable_werror): New AC_SUBST.
15454         * configure: Regenerated.
15455         * config.make.in (enable-werror): New variable.
15456         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
15457         -Wno-error=undef.
15458         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
15459         * manual/install.texi (Configuring and compiling): Document
15460         --disable-werror.
15461         * INSTALL: Regenerated.
15462         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
15463         (CFLAGS-tst-chk2.c): Likewise.
15464         (CFLAGS-tst-chk3.c): Likewise.
15465         (CFLAGS-tst-chk4.cc): Likewise.
15466         (CFLAGS-tst-chk5.cc): Likewise.
15467         (CFLAGS-tst-chk6.cc): Likewise.
15468         (CFLAGS-tst-lfschk1.c): Likewise.
15469         (CFLAGS-tst-lfschk2.c): Likewise.
15470         (CFLAGS-tst-lfschk3.c): Likewise.
15471         (CFLAGS-tst-lfschk4.cc): Likewise.
15472         (CFLAGS-tst-lfschk5.cc): Likewise.
15473         (CFLAGS-tst-lfschk6.cc): Likewise.
15475         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
15476         (main): Disable -Wdeprecated-declarations around calls to
15477         register_printf_function.
15479         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
15480         (do_test): Disable -Wdiv-by-zero around some calls to
15481         fwrite_unlocked and fread_unlocked.
15483         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
15484         (DIAG_POP_NEEDS_COMMENT): Likewise.
15485         (_DIAG_STR1): Likewise.
15486         (_DIAG_STR): Likewise.
15487         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
15488         * stdio-common/bug21.c: Include <libc-internal.h>.
15489         (do_test): Disable -Wformat around call to sscanf.
15490         * stdio-common/scanf14.c: Include <libc-internal.h>.
15491         (main): Disable -Wformat around some calls to scanf functions.
15493 2014-12-09  Torvald Riegel  <triegel@redhat.com>
15495         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
15497 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15499         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
15500         stack variable alignment.
15502 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
15504         [BZ #17682]
15505         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
15506         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
15507         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
15508         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
15509         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
15510         __getrlimit instead of getrlimit.
15511         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
15512         __gettimeofday instead of gettimeofday.
15513         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15514         Likewise.
15515         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15516         Likewise.
15517         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15518         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
15519         Remove variable.
15520         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
15521         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
15523 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15525         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
15526         for wide-character tests.
15528 2014-12-04  Roland McGrath  <roland@hack.frob.com>
15530         * io/openat64.c: #include <libc-internal.h>
15531         (__openat64): Prototypify.  Use ignore_value on MODE.
15532         * io/openat.c: Likewise.
15533         * misc/reboot.c: #include <libc-internal.h>
15534         (reboot): Prototypify.  Use ignore_value on HOWTO.
15535         * misc/ptrace.c: #include <libc-internal.h>
15536         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
15538 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
15540         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
15541         XPG4, UNIX98 and XOPEN2K.
15542         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
15543         Remove variable.
15544         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
15546 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15548         * libio/fileops.c: Use ISO C style for function definitions.
15549         * libio/iofopen.c: Likewise.
15550         * libio/wfileops.c: Likewise.
15552         [BZ #17653]
15553         * libio/fileops.c (_IO_new_file_underflow): Unset cached
15554         offset on EOF.
15555         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15556         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
15557         (fgets_func): Function pointer to fgets and fgetws.
15558         (do_ftell_test): Add test to verify ftell value after read
15559         EOF.
15560         (do_test): Set fgets_func.
15562         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
15563         O_TRUNC flag for w and w+ modes.
15564         (do_rewind_test): Likewise.
15565         (do_ftell_test): Likewise.
15566         (do_write_test): Likewise.
15568         [BZ #17647]
15569         * libio/fileops.c (do_ftell): Seek only when there are
15570         unflushed writes.
15571         * libio/wfileops.c (do_ftell_wide): Likewise.
15572         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
15573         test case.
15574         (do_one_test): Call it.
15576 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
15578         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
15579         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
15580         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
15581         Remove variable.
15582         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
15583         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
15584         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
15586 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15588         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
15589         Remove variable.
15590         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
15592         [BZ #17668]
15593         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
15594         as weak alias of __getifaddrs.  Use libc_hidden_weak.
15595         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15596         __freeifaddrs.  Use libc_hidden_weak.
15597         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
15598         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
15599         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15600         __freeifaddrs.  Use libc_hidden_weak.
15601         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
15602         __getifaddrs and define as weak alias of __getifaddrs.  Use
15603         libc_hidden_weak.
15604         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15605         __freeifaddrs.  Use libc_hidden_weak.
15606         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
15607         Remove variable.
15608         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
15609         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
15611 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15613         [BZ #17601]
15614         * sysdeps/mips/start.S (__start): Use indirect jump to call
15615         __libc_start_main.
15617 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15619         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
15621         * nptl/tst-mutex1.c: Include <stdbool.h>.
15622         [!ATTR] (ATTR_NULL): New macro.
15623         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
15624         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
15625         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
15627         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
15628         to char *.
15630         [BZ #17665]
15631         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
15632         Change conditional to [__USE_MISC].
15634         [BZ #17664]
15635         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
15636         fgets_unlocked.
15637         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
15638         __fgets_unlocked.
15639         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
15640         fgets_unlocked.
15641         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
15642         Remove variable.
15643         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
15644         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
15645         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
15646         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
15647         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
15648         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
15649         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
15650         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
15651         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
15653         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
15655 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15657         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15658         Remove strpbrk objects.
15659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15660         (__libc_ifunc_impl_list): Remove strpbrk implementation.
15661         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
15662         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
15663         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
15664         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
15666         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15667         Remove strcspn objects.
15668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15669         (__libc_ifunc_impl_list): Remove strcspn implementation.
15670         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
15671         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
15672         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
15673         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
15675         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15676         Remove strspn objetcs.
15677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15678         (__libc_ifunc_impl_list): Remove strspn implementation.
15679         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
15680         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
15681         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
15682         * sysdeps/powerpc/powerpc64/strspn.S: New file.
15684 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
15686         [BZ #17581]
15687         * malloc/hooks.c
15688         (mem2mem_check): Add a terminator to the chain of checking blocks.
15689         (malloc_check_get_size): Use it here.
15690         (mem2chunk_check): Ditto.
15692 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15694         * sysdeps/powerpc/powerpc64/strtok.S: New file.
15695         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
15697 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
15699         * bits/ioctl-types.h: Indent preprocessor directives correctly.
15701         * nptl/nptl-init.c: Include libc-internal.h.
15702         (__pthread_initialize_minimal_internal): Use ROUND_UP.
15704         * elf/ldconfig.c (search_dir): Expand comment.
15706 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
15708         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
15709         variable.
15710         (linknamespace-symlist-stdlibs-tests): Likewise.
15711         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
15712         instead of $(objpfx)symlist-stdlibs.
15713         (linknamespace-libs-isoc): New variable.
15714         (linknamespace-libs): Use $(linknamespace-libs-isoc).
15715         (linknamespace-libs-ISO): New variable.
15716         (linknamespace-libs-ISO99): Likewise.
15717         (linknamespace-libs-ISO11): Likewise.
15718         (linknamespace-libs-XPG3): Likewise.
15719         (linknamespace-libs-XPG4): Likewise.
15720         (linknamespace-libs-POSIX): Likewise.
15721         (linknamespace-libs-UNIX98): Likewise.
15722         (linknamespace-libs-XOPEN2K): Likewise.
15723         (linknamespace-libs-POSIX2008): Likewise.
15724         (linknamespace-libs-XOPEN2K8): Likewise.
15725         ($(objpfx)symlist-stdlibs): Replace by
15726         $(linknamespace-symlist-stdlibs-tests).  Use
15727         $(linknamespace-libs-$*) as set of libraries.
15728         ($(linknamespace-header-tests)): Update dependencies.  Use
15729         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
15730         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
15731         * conform/linknamespace.pl: Remove comment about considering
15732         definitions of symbols from irrelevant libraries.
15734 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
15736         [BZ #13862]
15737         * elf/dl-tls.c: Include <atomic.h>.
15738         (oom): Remove #ifdef SHARED/#endif.
15739         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
15740         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
15741         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
15742         big enough.
15743         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
15744         * nptl/Makefile (tests): Add tst-stack4.
15745         (modules-names): Add tst-stack4mod.
15746         ($(objpfx)tst-stack4): New.
15747         (tst-stack4mod.sos): Likewise.
15748         ($(objpfx)tst-stack4.out): Likewise.
15749         ($(tst-stack4mod.sos)): Likewise.
15750         (clean): Likewise.
15751         * nptl/tst-stack4.c: New file.
15752         * nptl/tst-stack4mod.c: Likewise.
15754 2014-11-27  J. Brown  <jb999@gmx.de>
15756         * sysdeps/x86/bits/string.h: Add recent CPUs.
15758 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15760         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
15761         sigblock.
15763         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
15764         feof.
15766         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
15767         variable.
15769 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15771         * nscd/connections.c: Include libc-internal.h because of macro
15772         usage ignore_value.
15774 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15776         * string/bits/string3.h (__warn_memset_zero_len): Don't
15777         declare for gcc newer than 5.0.
15778         (memset): Don't test for zero-length __LEN for gcc newer than
15779         5.0.
15781 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15783         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
15784         size_t for %zu format.
15786         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
15787         difference, not %ju.
15789 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15791         * include/libc-internal.h (ignore_value): New macro.
15792         * nscd/connections.c (restart): Wrap calls to setuid and setgid
15793         with ignore_value.
15795         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
15796         definition.
15798         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
15799         pthread_cleanup_push to void *.
15801         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
15802         Undefine.
15804         [BZ #16619]
15805         [BZ #16740]
15806         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
15807         instead of 1L << 52.
15809         * libio/bug-rewind.c (do_test): Check fwscanf return values.
15810         * libio/bug-rewind2.c (do_test): Likewise.
15812         * debug/test-stpcpy_chk-ifunc.c: Remove file.
15813         * debug/test-strcpy_chk-ifunc.c: Likewise.
15814         * wcsmbs/test-wcschr-ifunc.c: Likewise.
15815         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15816         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15817         * wcsmbs/test-wcslen-ifunc.c: Likewise.
15818         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15819         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15820         * Rules [$(multi-arch) = no] (tests): Do not filter out
15821         $(tests-ifunc).
15822         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
15823         * debug/Makefile (tests-ifunc): Remove variable.
15824         (tests): Do not add $(tests-ifunc).
15825         * wcsmbs/Makefile (tests-ifunc): Remove variable.
15826         (tests): Do not add $(tests-ifunc).
15827         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
15828         [TEST_IFUNC]: Remove conditionals.
15829         * string/test-string.h (TEST_IFUNC): Remove macro.
15830         [TEST_IFUNC]: Remove conditionals.
15832         * string/test-strchr.c [!WIDE] (L): New macro.
15833         [WIDE] (L): Likewise.
15834         (check1): Use CHAR instead of char.  Use L on string and character
15835         constants.
15837 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
15839         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
15840         tests.
15841         * sysdeps/powerpc/bits/atomic.h
15842         (__arch_atomic_exchange_and_add_32_acq): Add definition.
15843         (__arch_atomic_exchange_and_add_32_rel): Likewise.
15844         (atomic_exchange_and_add_acq): Likewise.
15845         (atomic_exchange_and_add_rel): Likewise.
15846         * sysdeps/powerpc/powerpc32/bits/atomic.h
15847         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15848         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15849         * sysdeps/powerpc/powerpc64/bits/atomic.h
15850         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15851         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15853 2014-11-26  Torvald Riegel  <triegel@redhat.com>
15855         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
15856         Change synchronization of __sched_fifo_min_prio and
15857         __sched_fifo_max_prio.
15858         * nptl/pthread_mutexattr_getprioceiling.c
15859         (pthread_mutexattr_getprioceiling): Likewise.
15860         * nptl/pthread_mutexattr_setprioceiling.c
15861         (pthread_mutexattr_setprioceiling): Likewise.
15862         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
15863         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
15864         Likewise.
15866 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15868         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
15869         void.
15871 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15873         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
15874         third argument const.
15876 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
15878         fnmatch: work around GCC compiler warning bug with uninit var
15879         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
15880         This works around a bug with x86-64 GCC 4.9.2 and earlier
15881         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
15882         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
15883         used uninitialized in this function [-Wmaybe-uninitialized]".
15885 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15887         * posix/bug-regex31.c (main): Return RES not 0.
15889 2014-11-25  Anton Blanchard <anton@samba.org>
15891         * sysdeps/powerpc/bits/atomic.h
15892         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
15894 2014-11-24  Sterling Augustine  <saugustine@google.com>
15896         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
15898 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
15900         [BZ #17608]
15901         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
15903 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
15905         [BZ #17633]
15906         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
15907         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
15908         variable.
15909         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
15910         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
15912 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15914         * string/strncpy.c (strncpy): Improve performance by using memset.
15916 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15918         * string/strcpy.c (strcpy):
15919         Improve performance by using strlen and memcpy.
15921 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
15923         * string/strcoll_l.c (get_next_seq): __always_inline.
15924         * string/strcoll_l.c (do_compare): __always_inline.
15926 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15928         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
15929         defined.
15930         * include/mqueue.h: Likewise.
15931         * include/stdlib.h: Likewise.
15933         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
15934         (get_null_defines): Adjust.
15935         * sunrpc/Makefile: Adjust comment.
15936         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
15937         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
15938         (CFLAGS-interp.c): Likewise.
15939         (CFLAGS-ldconfig.c): Likewise.
15940         (CPPFLAGS-.os): Likewise.
15941         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15942         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
15943         * extra-modules.mk (extra-modules.mk): Likewise.
15944         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
15945         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
15946         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
15947         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
15948         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
15949         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
15950         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
15951         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
15952         * iconvdata/Makefile (CPPFLAGS): Likewise.
15953         (cpp-srcs-left): Add libof for all iconvdata routines.
15954         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
15955         * include/assert.h: Likewise.
15956         * include/ctype.h: Likewise.
15957         * include/errno.h: Likewise.
15958         * include/libc-symbols.h: Likewise.
15959         * include/math.h: Likewise.
15960         * include/netdb.h: Likewise.
15961         * include/resolv.h: Likewise.
15962         * include/stdio.h: Likewise.
15963         * include/stdlib.h: Likewise.
15964         * include/string.h: Likewise.
15965         * include/sys/stat.h: Likewise.
15966         * include/wctype.h: Likewise.
15967         * intl/l10nflist.c: Likewise.
15968         * libidn/idn-stub.c: Likewise.
15969         * libio/libioP.h: Likewise.
15970         * nptl/libc_multiple_threads.c: Likewise.
15971         * nptl/pthreadP.h: Likewise.
15972         * posix/regex_internal.h: Likewise.
15973         * resolv/res_hconf.c: Likewise.
15974         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
15975         * sysdeps/arm/memmove.S: Likewise.
15976         * sysdeps/arm/sysdep.h: Likewise.
15977         * sysdeps/generic/_itoa.h: Likewise.
15978         * sysdeps/generic/symbol-hacks.h: Likewise.
15979         * sysdeps/gnu/errlist.awk: Likewise.
15980         * sysdeps/gnu/errlist.c: Likewise.
15981         * sysdeps/i386/i586/memcpy.S: Likewise.
15982         * sysdeps/i386/i586/memset.S: Likewise.
15983         * sysdeps/i386/i686/memcpy.S: Likewise.
15984         * sysdeps/i386/i686/memmove.S: Likewise.
15985         * sysdeps/i386/i686/mempcpy.S: Likewise.
15986         * sysdeps/i386/i686/memset.S: Likewise.
15987         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15988         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15989         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
15990         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
15991         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15992         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15993         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
15994         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15995         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15996         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15997         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15998         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15999         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16000         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16001         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16002         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16003         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
16004         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
16005         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
16006         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16007         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16008         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16009         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16010         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16011         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16012         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16013         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
16014         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16015         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
16016         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16017         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16018         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16019         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16020         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16021         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16022         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16023         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16024         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16025         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16026         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16027         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16028         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16029         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16030         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16031         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16032         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16033         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
16034         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
16035         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16036         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16037         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16038         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
16039         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
16040         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16041         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16042         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
16043         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16044         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
16045         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
16046         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16047         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16048         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16049         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
16050         * sysdeps/nptl/bits/libc-lock.h: Likewise.
16051         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
16052         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
16053         * sysdeps/posix/closedir.c: Likewise.
16054         * sysdeps/posix/opendir.c: Likewise.
16055         * sysdeps/posix/readdir.c: Likewise.
16056         * sysdeps/posix/rewinddir.c: Likewise.
16057         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
16058         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
16059         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16060         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16061         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16062         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
16063         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
16064         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
16065         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16066         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
16067         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16068         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16069         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16070         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
16071         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
16072         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
16073         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16074         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16075         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
16076         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
16077         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16078         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
16079         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
16080         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16081         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
16082         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
16083         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
16084         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16085         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16086         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
16087         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
16088         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
16089         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
16090         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
16091         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
16092         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
16093         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16094         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16095         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
16096         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
16097         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
16098         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
16099         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16100         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
16101         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
16102         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
16103         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
16104         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16105         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
16106         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
16107         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
16108         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16109         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16110         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16111         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16112         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
16113         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
16114         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16115         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16116         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
16117         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
16118         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16119         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16120         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16121         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
16122         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
16123         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
16124         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
16125         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
16126         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
16127         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
16128         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16129         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
16130         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16131         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16132         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
16133         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
16134         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16135         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
16136         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
16137         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16138         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16139         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
16140         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
16141         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16142         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
16143         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
16144         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16145         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16146         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16147         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
16148         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
16149         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
16150         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16151         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16152         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
16153         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16154         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16155         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
16156         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
16157         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16158         * sysdeps/unix/alpha/sysdep.S: Likewise.
16159         * sysdeps/unix/alpha/sysdep.h: Likewise.
16160         * sysdeps/unix/make-syscalls.sh: Likewise.
16161         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16162         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16163         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16164         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
16165         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16166         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16167         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
16168         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16169         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16170         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
16171         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16172         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16173         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16174         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
16175         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16176         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16177         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16178         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16179         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
16180         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16181         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16182         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16183         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16184         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16185         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16186         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16187         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
16189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16190         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
16191         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16192         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16193         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16194         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16195         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16196         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16197         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16198         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16199         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16200         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16201         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16202         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16203         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16204         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16205         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16206         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16207         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16208         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16209         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16210         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16211         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16212         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16213         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16214         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16215         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16216         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16217         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16218         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16219         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
16220         * sysdeps/x86_64/memcpy.S: Likewise.
16221         * sysdeps/x86_64/memmove.c: Likewise.
16222         * sysdeps/x86_64/memset.S: Likewise.
16223         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
16224         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16225         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16226         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
16227         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
16228         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16229         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16230         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16231         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16232         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16233         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16234         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16235         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
16236         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16237         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16238         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
16239         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16240         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16241         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16242         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16243         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
16244         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16245         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16246         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16247         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16248         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16249         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16250         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
16251         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16252         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16253         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
16254         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16255         * sysdeps/x86_64/strcmp.S: Likewise.
16257         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
16259         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
16260         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
16261         * elf/rtld-Rules: Likewise.
16262         * elf/setup-vdso.h: Likewise.
16263         * include/assert.h: Likewise.
16264         * include/bits/stdlib-float.h: Likewise.
16265         * include/errno.h: Likewise.
16266         * include/sys/stat.h: Likewise.
16267         * include/unistd.h: Likewise.
16268         * sysdeps/aarch64/setjmp.S: Likewise.
16269         * sysdeps/alpha/setjmp.S: Likewise.
16270         * sysdeps/arm/__longjmp.S: Likewise.
16271         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
16272         * sysdeps/arm/setjmp.S: Likewise.
16273         * sysdeps/arm/sysdep.h: Likewise.
16274         * sysdeps/generic/_itoa.h: Likewise.
16275         * sysdeps/generic/dl-sysdep.h: Likewise.
16276         * sysdeps/generic/ldsodefs.h: Likewise.
16277         * sysdeps/i386/dl-tls.h: Likewise.
16278         * sysdeps/i386/setjmp.S: Likewise.
16279         * sysdeps/m68k/setjmp.c: Likewise.
16280         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
16281         * sysdeps/mach/hurd/opendir.c: Likewise.
16282         * sysdeps/posix/getcwd.c: Likewise.
16283         * sysdeps/posix/opendir.c: Likewise.
16284         * sysdeps/posix/profil.c: Likewise.
16285         * sysdeps/powerpc/dl-procinfo.h: Likewise.
16286         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16287         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16288         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16289         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16290         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
16291         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16292         * sysdeps/s390/dl-tls.h: Likewise.
16293         * sysdeps/s390/s390-32/setjmp.S: Likewise.
16294         * sysdeps/s390/s390-64/setjmp.S: Likewise.
16295         * sysdeps/sh/sh3/setjmp.S: Likewise.
16296         * sysdeps/sh/sh4/setjmp.S: Likewise.
16297         * sysdeps/unix/alpha/sysdep.h: Likewise.
16298         * sysdeps/unix/arm/sysdep.S: Likewise.
16299         * sysdeps/unix/i386/sysdep.S: Likewise.
16300         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16301         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16302         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16303         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16304         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16305         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
16306         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16307         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16308         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16309         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
16310         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16311         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16312         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16315         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16316         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16317         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16318         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16319         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16320         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16321         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16322         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16323         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16324         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16325         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16326         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16327         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16328         * sysdeps/x86_64/setjmp.S: Likewise.
16330         * include/math.h: Use IS_IN instead of IS_IN_libm.
16331         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
16332         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16333         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16334         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16335         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16336         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16337         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16338         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16339         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16340         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16341         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
16342         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
16343         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
16344         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
16345         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
16346         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
16347         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
16348         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
16349         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
16350         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
16351         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
16352         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
16353         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
16354         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
16355         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
16356         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16357         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
16358         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
16359         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
16360         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
16361         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
16362         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16363         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
16365         Likewise.
16366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16367         Likewise.
16368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
16369         Likewise.
16370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
16371         Likewise.
16372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
16373         Likewise.
16374         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16375         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
16376         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16377         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16378         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16379         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
16381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
16385         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
16386         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
16387         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16388         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16389         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16390         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16391         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16392         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16393         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16394         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
16395         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
16396         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
16397         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
16398         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
16399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16400         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
16402         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
16403         * nptl/pthreadP.h: Likewise.
16404         * nptl_db/structs.def: Likewise.
16405         * sysdeps/arm/sysdep.h: Likewise.
16406         * sysdeps/nptl/bits/libc-lock.h: Likewise.
16407         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
16408         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
16409         * sysdeps/unix/alpha/sysdep.h: Likewise.
16410         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16411         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16412         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16413         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16414         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16415         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16416         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16417         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16418         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16419         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16420         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16421         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16422         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16423         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
16425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16426         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16427         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16428         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16429         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16430         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16431         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16432         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16433         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16434         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16435         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16437         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
16438         * nptl/pthreadP.h: Likewise.
16439         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16440         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16441         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16442         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16443         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16444         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16445         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16446         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16447         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16448         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16449         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16450         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16452         Likewise.
16453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16454         Likewise.
16455         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16456         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16457         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16458         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16459         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16460         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16461         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16462         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16464         * dlfcn/dladdr.c: Use IS_IN.
16465         * dlfcn/dladdr1.c: Likewise.
16466         * dlfcn/dlclose.c: Likewise.
16467         * dlfcn/dlerror.c: Likewise.
16468         * dlfcn/dlinfo.c: Likewise.
16469         * dlfcn/dlmopen.c: Likewise.
16470         * dlfcn/dlopen.c: Likewise.
16471         * dlfcn/dlsym.c: Likewise.
16472         * dlfcn/dlvsym.c: Likewise.
16474         * include/ifaddrs.h: Use IS_IN.
16475         * inet/check_pf.c: Likewise.
16476         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16477         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
16479         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
16480         IS_IN_ldconfig.
16481         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
16482         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
16484         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
16485         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
16486         IS_IN (libc).
16488         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
16490         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
16491         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16492         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
16493         * include/libc-symbols.h (IS_IN_LIB): New macro.
16494         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
16495         * include/netdb.h: Likewise.
16496         * include/stap-probe.h: Remove all uses of IN_LIB.
16498         * Makeconfig (module-cppflags-real): Define MODULE_NAME
16499         instead of IN_MODULE.
16500         * include/libc-symbols.h (IN_MODULE): Define using
16501         MODULE_NAME.
16502         (PASTE_NAME, PASTE_NAME1): New macros.
16503         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
16504         of IN_LIB.
16505         (STAP_PROBE_ASM): Likewise.
16507 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16509         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
16510         __mach_init in dlopened libc.
16512 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
16514         * sysdeps/arm/preconfigure.ac: Delete EABI check.
16515         * sysdeps/arm/preconfigure: Regenerate.
16517 2014-11-21  Roland McGrath  <roland@hack.frob.com>
16519         * nptl/pthread_create.c (__pthread_create_2_1): Set
16520         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
16521         when copying values from IATTR into PD.
16523 2014-11-21  Will Newton  <will.newton@linaro.org>
16524             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
16526         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
16527         Refactor inline-asm.  Also add comment.
16529         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
16530         ElfW macro instead of hardcoded Elf64 types.
16531         (la_aarch64_gnu_pltenter): Likewise.
16532         * sysdeps/aarch64/dl-machine.h
16533         (elf_machine_runtime_setup): Use ElfW(Addr).
16535         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
16536         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
16537         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
16538         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
16539         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
16540         (R_AARCH64_TLS_DTPMOD64): Rename to ..
16541         (R_AARCH64_TLS_DTPMOD): This.
16542         (R_AARCH64_TLS_DTPREL64): Rename to ...
16543         (R_AARCH64_TLS_DTPREL): This.
16544         (R_AARCH64_TLS_TPREL64): Rename to ...
16545         (R_AARCH64_TLS_TPREL): This.
16546         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
16547         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
16548         R_AARCH64_TLS_TPREL64.
16549         (elf_machine_rela): Likewise.
16551 2014-11-21  Torvald Riegel  <triegel@redhat.com>
16553         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
16554         by setting it to 0.  64b atomics are not supported currently.
16556 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16558         [BZ #16469]
16559         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
16560         search domain names.
16562 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16564         [BZ #16469]
16565         * NEWS: Update.
16566         * resolv/res_query.c (__libc_res_nquerydomain): Retain
16567         trailing dot.
16568         * posix/tst-getaddrinfo5.c: New.
16569         * posix/Makefile (tests): Add it.
16571 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16573         [BZ #14498]
16574         * NEWS: Fixed.
16575         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
16576         after parsing line but before break_if_match.
16577         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
16578         if there is a protocol mismatch.
16580 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
16582         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
16583         because the potential race is on the user-supplied stream.
16585 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16587         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
16588         string literal if not passed a buffer.
16589         * manual/job.texi (ctermid): Update reasoning, note deviation
16590         from posix, suggest mtasurace when not passed a buffer, for
16591         future non-preliminary safety notes.
16593 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16595         * manual/users.texi (cuserid): Fix MT-Safety note for the case
16596         of not passing it a buffer.
16597         Reported by Peng Haitao.
16599 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16601         * manual/Makefile ($(objpfx)stamp-summary): Require
16602         check-safety.sh to pass.
16603         * manual/check-safety.sh: Wish for verification that every
16604         @deftypefn and @deftypefun is followed by a @safety remark.
16606 2014-11-20  Roland McGrath  <roland@hack.frob.com>
16608         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
16610         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
16611         PTHREAD_CANCEL_ASYNCHRONOUS.
16612         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
16613         send SIGCANCEL.
16615         * nptl/default-sched.h: New file.
16616         * sysdeps/unix/sysv/linux/default-sched.h: New file.
16617         * nptl/pthread_create.c: Include it.
16618         (__pthread_create_2_1): Use collect_default_sched instead of making
16619         Linux syscalls here directly.
16621 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16623         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
16624         __pthread_once): Use C11 atomics.
16626 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16628         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
16630 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16632         * include/atomic.h (__atomic_link_error, __atomic_check_size,
16633         atomic_thread_fence_acquire, atomic_thread_fence_release,
16634         atomic_thread_fence_seq_cst, atomic_load_relaxed,
16635         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
16636         atomic_compare_exchange_weak_relaxed,
16637         atomic_compare_exchange_weak_acquire,
16638         atomic_compare_exchange_weak_release,
16639         atomic_exchange_acquire, atomic_exchange_release,
16640         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
16641         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
16642         atomic_fetch_and_acquire,
16643         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
16645 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16647         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
16648         USE_ATOMIC_COMPILER_BUILTINS): Define.
16649         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
16650         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16651         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
16652         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16653         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
16654         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16655         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
16656         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16657         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
16658         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16659         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
16660         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16661         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
16662         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16663         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
16664         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16665         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16666         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16667         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16668         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16669         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
16670         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16671         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16672         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16673         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
16674         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16675         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16676         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16677         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
16678         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16679         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
16680         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16681         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
16682         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16683         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16684         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16685         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
16686         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16687         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
16688         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16690 2014-11-19  Roland McGrath  <roland@hack.frob.com>
16692         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
16693         the sched_priority value here.  It was already checked when the user
16694         called pthread_attr_setschedparam.
16696         * nptl/tst-bad-schedattr.c: New file.
16697         * nptl/Makefile (tests): Add it.
16699 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
16700             Florian Weimer  <fweimer@redhat.com>
16701             Joseph Myers  <joseph@codesourcery.com>
16702             Adam Conrad  <adconrad@0c3.net>
16703             Andreas Schwab  <schwab@suse.de>
16704             Brooks  <bmoses@google.com>
16706         [BZ #17625]
16707         * wordexp-test.c (__dso_handle): Add prototype.
16708         (__register_atfork): Likewise.
16709         (__app_register_atfork): New function.
16710         (registered_forks): New global.
16711         (register_fork): New function.
16712         (test_case): Add 3 new tests for WRDE_CMDSUB.
16713         (main): Call __app_register_atfork.
16714         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
16715         fork count is non-zero fail the test.
16716         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
16717         is set.
16718         (parse_dollars): Remove check for WRDE_NOCMD.
16719         (parse_dquote): Likewise.
16721 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16723         * Makeconfig (built-modules): List non-library modules to be
16724         built.
16725         (module-cppflags): Include libc-modules.h for
16726         everything except shlib-versions.v.i.
16727         (CPPFLAGS): Use it.
16728         (before-compile): Add libc-modules.h.
16729         ($(common-objpfx)libc-modules.h,
16730         $(common-objpfx)libc-modules.stmp): New targets.
16731         (common-generated): Add libc-modules.h and libc-modules.stmp.
16732         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
16733         * include/libc-symbols.h: Don't include libc-modules.h.
16734         * include/libc-modules.h: Remove file.
16735         * scripts/gen-libc-modules.awk: New script to generate
16736         libc-modules.h.
16737         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
16738         Depend on libc-modules.stmp.
16740         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
16742         * Makeconfig (in-module): Get value of libof set for the
16743         translation unit.
16744         (CPPFLAGS): Use $(in-module).
16745         * Makerules: Don't suffix routine names for nonlib.
16746         * include/libc-modules.h: New file.
16747         * include/libc-symbols.h: Include libc-modules.h
16748         (IS_IN): New macro to replace IS_IN_* macros.
16749         * elf/Makefile: Set libof-* for each routine.
16750         * elf/rtld-Rules: Likewise.
16751         * extra-modules.mk: Likewise.
16752         * iconv/Makefile: Likewise.
16753         * iconvdata/Makefile: Likewise.
16754         * locale/Makefile: Likewise.
16755         * malloc/Makefile: Likewise.
16756         * nss/Makefile: Likewise.
16757         * sysdeps/gnu/Makefile: Likewise.
16758         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
16759         * sysdeps/unix/sysv/linux/Makefile: Likewise.
16760         * sysdeps/s390/s390-64/Makefile: Likewise.
16761         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
16762         CPPFLAGS for nscd instead of nonlib.
16764 2014-11-18  Roland McGrath  <roland@hack.frob.com>
16766         * nptl/createthread.c: New file.
16768         * nptl/createthread.c: Moved ...
16769         * sysdeps/unix/sysv/linux/createthread.c: ... here.
16771         * nptl/createthread.c: Add proper top-line comment.
16772         (do_clone): Folded into ...
16773         (create_thread): ... here.  Take new arguments STOPPED_START and
16774         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
16775         increment __nptl_threads, do event-reporting logic, do
16776         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
16777         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
16778         resource cleanup if sched_setaffinity or sched_setscheduler fails,
16779         just send SIGCANCEL.
16780         * nptl/pthread_create.c: Forward-declare create_thread before
16781         including createthread.c.
16782         (start_thread): Use new macro START_THREAD_DEFN to replace defining
16783         declaration, and new macro START_THREAD_SELF to replace argument.
16784         Remove return statement.
16785         (report_thread_creation): New function.
16786         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
16787         synchronization logic, and __nptl_nthreads increment here, around
16788         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
16789         PD->parent_cancelhandling here, before create_thread.  When
16790         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
16791         __deallocate_stack, and ENOMEM translation here.
16793 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
16795         [BZ #17616]
16796         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
16797         (mptwo): Rename to __mptwo.
16798         (__inv): Use __mptwo instead of mptwo.
16799         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
16800         (mptwo): Rename to __mptwo.
16801         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
16802         of mpone and __mptwo instead of mptwo.
16803         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
16804         instead of mpone.
16805         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16806         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
16807         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
16808         of mpone and __mptwo instead of mptwo.
16809         (__mpranred): Use __mpone instead of mpone.
16810         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
16811         variable.
16812         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
16813         (test-xfail-ISO99/math.h/linknamespace): Likewise.
16814         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
16815         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
16816         (test-xfail-ISO11/math.h/linknamespace): Likewise.
16817         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
16818         (test-xfail-XPG3/math.h/linknamespace): Likewise.
16819         (test-xfail-XPG4/math.h/linknamespace): Likewise.
16820         (test-xfail-POSIX/math.h/linknamespace): Likewise.
16821         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
16822         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
16823         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
16824         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
16825         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
16826         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
16827         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
16828         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
16829         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
16830         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
16832 2014-11-18  Tom de Vries  <tom@codesoucery.com>
16834         * manual/signal.texi (Primitives Interrupted by Signals): In section,
16835         replace BSD Handler xref with BSD Signal Handling.
16837 2014-11-17  Richard Henderson  <rth@redhat.com>
16839         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
16840         (_FP_PACK_RAW_2): Remove.
16841         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
16842         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
16843         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
16844         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
16845         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
16846         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
16847         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
16848         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
16849         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
16850         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
16851         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
16852         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
16853         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
16854         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
16855         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
16856         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
16858 2014-11-14  Roland McGrath  <roland@hack.frob.com>
16860         * signal/signal.h [__USE_MISC]
16861         (struct sigvec): Remove type.
16862         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
16863         (sigvec): Remove declaration.
16864         * sysdeps/posix/sigvec.c: Moved ...
16865         * signal/sigvec.c: ... here, replacing old file.
16866         (struct sigvec): New type, copied from old signal.h definition.
16867         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
16868         (__sigvec): Convert definition to prototype.
16869         (sigvec): Replace weak_alias with compat_symbol.
16870         * signal/Versions (libc: GLIBC_2.21): New version set.
16871         * include/signal.h: Remove __sigvec declaration.
16872         * sysdeps/unix/bsd/sigvec.c: Remove file.
16873         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
16874         * manual/signal.texi (BSD Handler): Remove subsection.
16875         Move siginterrupt up to ...
16876         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
16877         (Blocking in BSD): Fold subsection into its parent.
16878         * NEWS: Mention sigvec removal.
16880 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16882         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
16883         (DLA_FMS): Make definition conditional only on [__FMA4__].
16884         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
16885         definition.
16887         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
16888         Make definition conditional only on [PROF].
16889         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
16890         definition.
16891         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
16892         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
16894         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
16895         !__GNUC__].
16896         * include/signal.h (__sigpause): Move declaration above call to
16897         libc_hidden_proto.
16898         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
16899         variable.
16900         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
16901         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
16903 2014-11-14  David S. Miller  <davem@davemloft.net>
16905         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
16906         Define before including <string/memcpy.c> and <string/mempcpy.c>.
16908 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16910         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
16911         * configure: Regenerated.
16912         * manual/install.texi (Tools for Compilation): Document a
16913         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
16914         compiler verified to work.
16915         * INSTALL: Regenerated.
16917         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
16918         redeclare with asm name.
16919         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
16920         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
16921         including <string.h>.
16922         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16923         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
16924         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16925         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
16926         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16927         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16928         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16930 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
16932         * stdlib/strtol.c (__strtol): Use prototype definition.
16934         [BZ #17594]
16935         * stdlib/strtol.c (SYM__): New macro.
16936         (SYM__1): Likewise.
16937         (__strtol): Likewise.
16938         (strtol): Rename to __strtol and define as weak alias of
16939         __strtol.  Use libc_hidden_weak.
16941 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16943         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
16944         Use numbered labels in inline assembly.
16946 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16948         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
16949         Add setjmp LIBC_PROBE.
16950         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
16951         Likewise.
16952         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
16953         Add longjmp, longjmp_target LIBC_PROBE.
16954         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
16955         Likewise.
16957 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16959         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16960         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
16961         to get rid of unused variable warning.
16963 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16965         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
16966         Check for unwind_backtrace ==  NULL only in SHARED case.
16967         (__backchain_backtrace): Compile only in SHARED case.
16968         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
16969         Likewise.
16970         (__backchain_backtrace): Declare as static.
16972 2014-11-12  Roland McGrath  <roland@hack.frob.com>
16974         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
16975         (__libc_multiple_threads_ptr): Variable moved ...
16976         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
16978 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
16980         * conform/GlibcConform.pm: New file.
16981         * conform/conformtest.pl: Use GlibcConform module.
16982         * conform/linknamespace.pl: New file.
16983         * conform/list-header-symbols.pl: Likewise.
16984         * conform/Makefile (linknamespace-symlists-base): New variable.
16985         (linknamespace-symlists-tests): Likewise.
16986         (linknamespace-header-base): Likewise.
16987         (linknamespace-header-tests): Likewise.
16988         (tests-special): Add new tests.
16989         ($(linknamespace-symlists-tests)): New rule.
16990         (linknamespace-libs): New variable.
16991         ($(objpfx)symlist-stdlibs): New rule.
16992         ($(linknamespace-header-tests)): Likewise.
16993         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
16994         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
16995         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
16996         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
16997         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
16998         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
16999         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
17000         (test-xfail-ISO/math.h/linknamespace): Likewise.
17001         (test-xfail-ISO/signal.h/linknamespace): Likewise.
17002         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
17003         (test-xfail-ISO/time.h/linknamespace): Likewise.
17004         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
17005         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
17006         (test-xfail-ISO99/math.h/linknamespace): Likewise.
17007         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
17008         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17009         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
17010         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
17011         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17012         (test-xfail-ISO11/math.h/linknamespace): Likewise.
17013         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
17014         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17015         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
17016         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17017         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
17018         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
17019         (test-xfail-XPG3/math.h/linknamespace): Likewise.
17020         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
17021         (test-xfail-XPG3/search.h/linknamespace): Likewise.
17022         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
17023         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17024         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
17025         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17026         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17027         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
17028         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17029         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17030         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
17031         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
17032         (test-xfail-XPG4/math.h/linknamespace): Likewise.
17033         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
17034         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17035         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17036         (test-xfail-XPG4/search.h/linknamespace): Likewise.
17037         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17038         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
17039         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
17040         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
17041         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
17042         (test-xfail-XPG4/time.h/linknamespace): Likewise.
17043         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
17044         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17045         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
17046         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17047         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17048         (test-xfail-POSIX/math.h/linknamespace): Likewise.
17049         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
17050         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
17051         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17052         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17053         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
17054         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17055         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17056         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
17057         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17058         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17059         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17060         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17061         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17062         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17063         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17064         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17065         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
17066         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
17067         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17068         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17069         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17070         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
17071         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17072         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
17073         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
17074         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17075         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17076         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17077         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17078         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17079         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17080         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
17081         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
17082         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17083         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
17084         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
17085         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
17086         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17087         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17088         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17089         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
17090         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17091         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
17092         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17093         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
17094         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
17095         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
17096         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17097         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17098         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
17099         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17100         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
17101         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
17102         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17103         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17104         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17105         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17106         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17107         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
17108         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17109         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17110         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17111         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17112         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
17113         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
17114         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17115         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
17116         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17117         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17118         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
17119         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17120         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17121         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17122         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17123         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17124         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17125         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
17126         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17127         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17128         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
17129         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17130         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
17131         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
17132         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
17133         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
17134         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17135         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17136         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
17137         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17138         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
17139         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17140         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
17141         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17142         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
17143         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17144         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17145         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
17146         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17147         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
17148         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17149         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17150         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
17151         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
17152         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
17153         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17155         [BZ #17589]
17156         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
17157         of fgets_unlocked.
17159         [BZ #17585]
17160         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
17161         (memmem): Rename to __memmem and define as weak alias of
17162         __memmem.  Use libc_hidden_weak.
17163         (__memmem): Use libc_hidden_def.
17164         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
17165         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
17166         memmem.
17168         [BZ #17582]
17169         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
17170         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
17171         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
17172         and define as weak alias of __fgets_unlocked.  Use
17173         libc_hidden_weak.
17174         (__fgets_unlocked): Use libc_hidden_def.
17175         * include/stdio.h (__fgets_unlocked): Declare.  Use
17176         libc_hidden_proto.
17177         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
17178         __fgets_unlocked instead of fgets_unlocked.
17179         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
17180         (GET_NPROCS_CONF_PARSER): Likewise.
17181         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
17182         (GET_NPROCS_CONF_PARSER): Likewise.
17184         [BZ #17574]
17185         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
17186         weak alias of __wmemset.  Use libc_hidden_weak.
17187         (__wmemset): Use libc_hidden_def.
17188         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
17189         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
17190         of wmemset.
17192         [BZ #17573]
17193         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
17194         with asm name __mempcpy.
17195         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
17197         [BZ #17572]
17198         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
17199         and define as weak alias of __rawmemchr.
17200         (__rawmemchr): Do not define as strong alias of rawmemchr.
17202         [BZ #17571]
17203         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
17204         alias of __qsort_r.
17205         (qsort): Call __qsort_r instead of qsort_r.
17206         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
17207         (__qsort_r): Declare.  Call libc_hidden_proto.
17208         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
17209         instead of qsort_r.
17210         * nscd/gai.c (__qsort_r): Define to qsort_r.
17211         * posix/tst-rfc3484.c (__qsort_r): Likewise.
17212         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
17213         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
17215         [BZ #17570]
17216         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
17217         define as weak alias of __malloc_info.
17219         [BZ #17584]
17220         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
17221         as weak alias of __rewinddir.  Don't use libc_hidden_def.
17222         (__rewinddir): Use libc_hidden_def.
17223         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
17224         as weak alias of __rewinddir.  Don't use libc_hidden_def.
17225         (__rewinddir): Use libc_hidden_def.
17226         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
17227         weak alias of __rewinddir.  Don't use libc_hidden_def.
17228         (__rewinddir): Use libc_hidden_def.
17229         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
17230         (__rewinddir): Use libc_hidden_proto.
17231         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
17232         rewinddir.
17233         (__getcwd): Use __rewinddir instead of rewinddir.
17235         [BZ #17583]
17236         * libio/fileno.c (fileno): Rename to __fileno and define as weak
17237         alias of __fileno.  Use libc_hidden_weak.
17238         (__fileno): Use libc_hidden_def.
17239         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
17240         * libio/ftello.c (ftello): Rename to __ftello and define as weak
17241         alias of __ftello.
17242         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
17243         __ftello.
17244         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
17245         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
17246         libc_hidden_def.
17247         (fread_unlocked): Don't use libc_hidden_ver.
17248         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
17249         and define as weak alias of __fread_unlocked.  Don't use
17250         libc_hidden_def.
17251         (__fread_unlocked): Use libc_hidden_def.
17252         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
17253         (ftello): Don't use libc_hidden_proto.
17254         (__ftello): Declare.  Use libc_hidden_proto.
17255         (fread_unlocked): Don't use libc_hidden_proto.
17256         (__fread_unlocked): Declare.  Use libc_hidden_proto.
17257         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
17258         and __ftello instead of fileno, fread_unlocked and ftello.
17260 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17262         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
17263         GOT12.
17264         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17265         Likewise.
17266         (_dl_start_user): Likewise.
17267         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
17269 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
17270             Siddhesh Poyarekar  <siddhesh@redhat.com>
17272         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
17273         Move argv and envp down instead of moving argc up.
17274         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
17276 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
17278         [BZ #17506]
17279         * test-skeleton.c (main): Return successful if one of
17280         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
17281         * string/tst-strcoll-overflow.c: Define expected status.
17283 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
17285         [BZ #17475]
17286         * locale/iso-639.def: Define Bhili and Tulu language codes.
17288 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
17290         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
17292 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
17294         [BZ #17555]
17295         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
17297 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17299         * configure.ac: Updated check of minimal required version to
17300         2.22.
17301         * manual/install.texi (Tools for Compilation): Updated version
17302         number.
17303         * configure: Regenerated.
17304         * INSTALL: Likewise.
17306 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
17308         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
17309         __tls_get_addr.
17311 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
17313         * include/sys/wait.h (__libc_waitpid): Remove declaration.
17314         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
17315         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17316         libc_hidden_weak.
17317         (waitpid): Define as alias of __waitpid.
17318         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
17319         __waitpid.
17320         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17321         libc_hidden_weak.
17322         (waitpid): Define as alias of __waitpid.
17323         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
17324         __libc_waitpid alias.
17325         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
17326         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
17327         Likewise.
17328         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
17329         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
17330         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
17331         alias.
17332         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
17333         __waitpid.
17334         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17335         libc_hidden_weak.
17336         (waitpid): Define as alias of __waitpid.
17338 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
17340         * manual/llio.texi: Add comment that write safety has been
17341         fixed in Linux.
17343         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
17344         (localplt-build-dso): Add elf/ld.so.
17345         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
17346         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
17347         and free for ld.so.
17348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
17349         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
17350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
17351         Likewise.
17352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17353         Likewise.
17354         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
17355         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
17356         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
17357         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
17358         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17359         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
17360         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
17361         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
17362         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17363         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
17364         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17366 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
17368         [BZ #14132]
17369         * include/libc-symbols.h (INTUSE): Remove macro.
17370         (INTDEF): Likewise.
17371         (INTVARDEF): Likewise.
17372         (_INTVARDEF): Likewise.
17373         (INTDEF2): Likewise.
17374         (INTVARDEF2): Likewise.
17375         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
17376         rtld_hidden_def instead of INTVARDEF.
17377         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
17378         (_dl_starting_up_internal): Remove declaration.
17379         (_dl_starting_up): Use rtld_hidden_proto.
17380         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
17381         declaration.
17382         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
17383         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
17384         _dl_starting_up.
17385         * elf/dl-writev.h (_dl_writev): Likewise.
17386         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
17387         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
17388         _dl_starting_up_internal.
17390 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17392         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17393         test-skeleton.c.
17395 2014-11-05  Will Newton  <will.newton@linaro.org>
17397         * benchtests/Makefile: (bench-malloc): Add malloc thread
17398         scalability benchmark.
17399         * benchtests/bench-malloc-threads.c: New file.
17401 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
17403         * sysdeps/aarch64/strchrnul.S: New file.
17405 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17407         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
17408         definition.
17409         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17410         Likwise.
17411         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17412         Likewise.
17413         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17414         Likewise.
17415         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17416         Likewise.
17417         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17418         Likewise.
17420 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
17422         * catgets/test-gencat.c: Use test-skeleton.c.
17423         * catgets/tst-catgets.c: Likewise.
17424         * csu/tst-empty.c: Likewise.
17425         * elf/tst-audit2.c: Likewise.
17426         * elf/tst-global1.c: Likewise.
17427         * elf/tst-pathopt.c: Likewise.
17428         * elf/tst-piemod1.c: Likewise.
17429         * elf/tst-tls10.c: Likewise.
17430         * elf/tst-tls11.c: Likewise.
17431         * elf/tst-tls12.c: Likewise.
17432         * gnulib/tst-gcc.c: Likewise.
17433         * iconvdata/tst-e2big.c: Likewise.
17434         * iconvdata/tst-loading.c: Likewise.
17435         * iconv/tst-iconv1.c: Likewise.
17436         * iconv/tst-iconv2.c: Likewise.
17437         * inet/test-inet6_opt.c: Likewise.
17438         * inet/tst-gethnm.c: Likewise.
17439         * inet/tst-network.c: Likewise.
17440         * inet/tst-ntoa.c: Likewise.
17441         * intl/tst-codeset.c: Likewise.
17442         * intl/tst-gettext2.c: Likewise.
17443         * intl/tst-gettext3.c: Likewise.
17444         * intl/tst-ngettext.c: Likewise.
17445         * intl/tst-translit.c: Likewise.
17446         * io/test-stat.c: Likewise.
17447         * libio/test-fmemopen.c: Likewise.
17448         * libio/tst-freopen.c: Likewise.
17449         * libio/tst-sscanf.c: Likewise.
17450         * libio/tst-ungetwc1.c: Likewise.
17451         * libio/tst-ungetwc2.c: Likewise.
17452         * libio/tst-widetext.c: Likewise.
17453         * localedata/tst-ctype.c: Likewise.
17454         * localedata/tst-digits.c: Likewise.
17455         * localedata/tst-leaks.c: Likewise.
17456         * localedata/tst-mbswcs1.c: Likewise.
17457         * localedata/tst-mbswcs2.c: Likewise.
17458         * localedata/tst-mbswcs3.c: Likewise.
17459         * localedata/tst-mbswcs4.c: Likewise.
17460         * localedata/tst-mbswcs5.c: Likewise.
17461         * localedata/tst-setlocale.c: Likewise.
17462         * localedata/tst-trans.c: Likewise.
17463         * localedata/tst-wctype.c: Likewise.
17464         * localedata/tst-xlocale1.c: Likewise.
17465         * login/tst-grantpt.c: Likewise.
17466         * malloc/tst-calloc.c: Likewise.
17467         * malloc/tst-malloc.c: Likewise.
17468         * malloc/tst-mallocstate.c: Likewise.
17469         * malloc/tst-mcheck.c: Likewise.
17470         * malloc/tst-mtrace.c: Likewise.
17471         * malloc/tst-obstack.c: Likewise.
17472         * math/atest-exp2.c: Likewise.
17473         * math/atest-exp.c: Likewise.
17474         * math/atest-sincos.c: Likewise.
17475         * math/test-matherr.c: Likewise.
17476         * math/test-misc.c: Likewise.
17477         * math/test-powl.c: Likewise.
17478         * math/tst-definitions.c: Likewise.
17479         * misc/tst-dirname.c: Likewise.
17480         * misc/tst-efgcvt.c: Likewise.
17481         * misc/tst-fdset.c: Likewise.
17482         * misc/tst-hsearch.c: Likewise.
17483         * misc/tst-mntent2.c: Likewise.
17484         * nptl/tst-sem7.c: Likewise.
17485         * nptl/tst-sem8.c: Likewise.
17486         * nptl/tst-sem9.c: Likewise.
17487         * nss/test-netdb.c: Likewise.
17488         * posix/tst-fnmatch.c: Likewise.
17489         * posix/tst-getlogin.c: Likewise.
17490         * posix/tst-gnuglob.c: Likewise.
17491         * posix/tst-mmap.c: Likewise.
17492         * pwd/tst-getpw.c: Likewise.
17493         * resolv/tst-inet_ntop.c: Likewise.
17494         * rt/tst-timer.c: Likewise.
17495         * stdio-common/test-fseek.c: Likewise.
17496         * stdio-common/test-popen.c: Likewise.
17497         * stdio-common/test-vfprintf.c: Likewise.
17498         * stdio-common/tst-cookie.c: Likewise.
17499         * stdio-common/tst-fileno.c: Likewise.
17500         * stdio-common/tst-gets.c: Likewise.
17501         * stdio-common/tst-obprintf.c: Likewise.
17502         * stdio-common/tst-perror.c: Likewise.
17503         * stdio-common/tst-sprintf2.c: Likewise.
17504         * stdio-common/tst-sprintf3.c: Likewise.
17505         * stdio-common/tst-sprintf.c: Likewise.
17506         * stdio-common/tst-swprintf.c: Likewise.
17507         * stdio-common/tst-tmpnam.c: Likewise.
17508         * stdio-common/tst-unbputc.c: Likewise.
17509         * stdio-common/tst-wc-printf.c: Likewise.
17510         * stdlib/tst-environ.c: Likewise.
17511         * stdlib/tst-fmtmsg.c: Likewise.
17512         * stdlib/tst-limits.c: Likewise.
17513         * stdlib/tst-rand48-2.c: Likewise.
17514         * stdlib/tst-rand48.c: Likewise.
17515         * stdlib/tst-random2.c: Likewise.
17516         * stdlib/tst-random.c: Likewise.
17517         * stdlib/tst-strtol.c: Likewise.
17518         * stdlib/tst-strtoll.c: Likewise.
17519         * stdlib/tst-tls-atexit.c: Likewise.
17520         * stdlib/tst-xpg-basename.c: Likewise.
17521         * string/test-ffs.c: Likewise.
17522         * string/tst-bswap.c: Likewise.
17523         * string/tst-inlcall.c: Likewise.
17524         * string/tst-strtok.c: Likewise.
17525         * string/tst-strxfrm.c: Likewise.
17526         * sysdeps/x86_64/tst-audit10.c: Likewise.
17527         * sysdeps/x86_64/tst-audit3.c: Likewise.
17528         * sysdeps/x86_64/tst-audit4.c: Likewise.
17529         * sysdeps/x86_64/tst-audit5.c: Likewise.
17530         * time/tst-ftime_l.c: Likewise.
17531         * time/tst-getdate.c: Likewise.
17532         * time/tst-mktime3.c: Likewise.
17533         * time/tst-mktime.c: Likewise.
17534         * time/tst-posixtz.c: Likewise.
17535         * time/tst-strptime2.c: Likewise.
17536         * time/tst-strptime3.c: Likewise.
17537         * wcsmbs/tst-btowc.c: Likewise.
17538         * wcsmbs/tst-mbrtowc.c: Likewise.
17539         * wcsmbs/tst-mbsrtowcs.c: Likewise.
17540         * wcsmbs/tst-wchar-h.c: Likewise.
17541         * wcsmbs/tst-wcpncpy.c: Likewise.
17542         * wcsmbs/tst-wcrtomb.c: Likewise.
17543         * wcsmbs/tst-wcsnlen.c: Likewise.
17544         * wcsmbs/tst-wcstof.c: Likewise.
17546 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
17548         [BZ #14132]
17549         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
17550         INTDEF.
17551         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
17552         declaration.
17553         (_dl_mcount): Use rtld_hidden_proto.
17554         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
17555         _dl_mcount.
17556         * elf/rtld.c (_rtld_global_ro): Likewise.
17558         [BZ #14132]
17559         * elf/dl-init.c (_dl_init): Don't use INTDEF.
17560         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
17561         of _dl_init_internal.
17562         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
17563         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
17564         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
17565         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
17566         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
17567         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
17568         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
17569         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
17570         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
17571         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
17572         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
17573         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
17574         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17575         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17576         * sysdeps/tile/dl-start.S (_start): Likewise.
17577         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
17578         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
17580         [BZ #14132]
17581         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
17582         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
17583         (rtld_progname): Make macro definition unconditional.
17584         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
17585         INTDEF.
17586         (dlmopen_doit): Do not use INTUSE with _dl_argv.
17587         (dl_main): Likewise.
17588         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17589         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
17590         instead of _dl_argv_internal.
17591         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17592         __GI__dl_argv instead of INTUSE(_dl_argv).
17593         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
17594         __GI__dl_argv instead of _dl_argv_internal.
17596         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
17597         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
17598         macro.
17599         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
17600         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
17601         New macro.
17602         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
17603         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
17604         macro.
17605         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
17606         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
17608 2014-11-04  Andreas Schwab  <schwab@suse.de>
17610         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
17612 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17614         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
17615         mtvsrd instruction in binary form.
17617 2014-11-03  Andreas Schwab  <schwab@suse.de>
17619         [BZ #17522]
17620         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
17621         for less than MB_LEN_MAX use a local buffer of that size.
17622         * libio/tst-fputws.c: New file.
17623         * libio/Makefile (tests): Add tst-fputws.
17625 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
17627         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
17628         the size of the fpu_fr.fpu_dregs[] array.
17630 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
17632         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
17633         (__nanosleep): Do not define as alias.
17634         (nanosleep): Define as alias of __nanosleep.
17635         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
17636         __libc_nanosleep name.
17638 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17640         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
17641         install.texi in comment.
17643 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17645         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
17646         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
17647         ... add here and use lwsync or sync ...
17648         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
17649         ... and add here using lwsync.
17651 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17653         * elf/dl-machine-reject-phdr.h: New file.
17654         * elf/dl-load.c: #include that.
17655         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
17656         if that returned true.
17658 2014-10-31  Roland McGrath  <roland@hack.frob.com>
17660         [BZ #17496]
17661         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
17662         gen-as-const-headers chunk.  Add a big scare comment after the last
17663         safe place to touch before-compile.
17665 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17667         * manual/install.texi (Tools for Compilation): Update autoconf
17668         version requirements.
17669         * INSTALL: Regenerated.
17671         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
17672         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
17673         (__libc_pselect): Likewise.
17675         [BZ #14138]
17676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
17677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17681 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17683         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
17684         correct barrier instruction.
17685         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
17686         Likewise.
17687         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
17688         Likewise.
17690 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17692         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
17693         after defining inlines.  Instead, just use parens to defeat macro
17694         expansion of __isctype in its declaration.
17696 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17698         * include/sys/uio.h (__libc_readv): Remove declaration.
17699         (__libc_writev): Likewise.
17700         * misc/readv.c (__libc_readv): Rename to __readv.
17701         (__readv): Do not define as alias.
17702         (readv): Define as alias of __readv.
17703         * misc/writev.c (__libc_writev): Rename to __writev.
17704         (__writev): Do not define as alias.
17705         (writev): Define as alias of __writev.
17706         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
17707         (__readv): Do not define as alias.
17708         (readv): Define unconditionally as alias of __readv.
17709         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
17710         (__writev): Do not define as alias.
17711         (writev): Define unconditionally as alias of __writev.
17712         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
17713         name.
17714         (writev): Do not define __libc_writev name.
17716 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17718         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
17719         (convert_charseq): New function, broken out of ...
17720         (use_from_charmap): ... here.  Call it.
17721         (use_to_charmap): Use convert_charseq and free instead of duplicating
17722         its code with a variable-length stack struct.
17724 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17726         * include/fcntl.h (__libc_creat): Remove declaration.
17727         * io/creat.c (__libc_creat): Rename to creat.
17728         (creat): Do not define as alias.
17729         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
17730         of creat instead of __libc_creat.
17731         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
17732         to creat.
17733         (creat): Do not define as alias.
17734         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
17735         __libc_creat.
17736         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
17737         __libc_creat name.
17738         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
17739         Likewise.
17741 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
17743         * manual/llio.texi: Add comments discussing why write() may be
17744         considered MT-unsafe on Linux.
17746 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
17748         * dl-load.c (local_strdup): Remove.
17749         (expand_dynamic_string_token): Use __strdup.
17750         (decompose_rpath): Likewise.
17751         (_dl_map_object): Likewise.
17753 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
17755         [BZ #14132]
17756         * sysdeps/generic/unwind-dw2-fde.c
17757         (__register_frame_info_bases_internal): Do not declare.
17758         (__register_frame_info_table_bases_internal): Likewise.
17759         (__deregister_frame_info_bases_internal): Likewise.
17760         (__register_frame_info_bases): Declare and use hidden_proto before
17761         definition.  Use hidden_def instead of INTDEF.
17762         (__register_frame_info_table_bases): Likewise.
17763         (__deregister_frame_info_bases): Likewise.
17764         (__register_frame_info): Do not use INTUSE.
17765         (__register_frame): Likewise.
17766         (__register_frame_info_table): Likewise.
17767         (__register_frame_table): Likewise.
17768         (__deregister_frame_info): Likewise.
17769         (__deregister_frame): Likewise.
17771 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
17773         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17774         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
17775         not undefine.
17776         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
17777         Likewise.
17778         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
17779         Likewise.
17781 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
17783         [BZ #14138]
17784         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
17785         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
17786         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
17787         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
17788         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
17789         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
17790         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
17791         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
17792         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
17793         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
17794         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
17795         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
17796         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
17797         syscall.
17798         (setfsuid): Likewise.
17799         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
17800         (setfsuid): Likewise.
17801         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
17802         (setfsuid): Likewise.
17803         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
17804         Likewise.
17805         (setfsuid): Likewise.
17806         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
17807         (setfsuid): Likewise.
17808         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
17809         Likewise.
17810         (setfsuid): Likewise.
17812 2014-10-27  Andreas Schwab  <schwab@suse.de>
17814         [BZ #17501]
17815         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
17816         check for Slow_SSE4_2 feature bit.
17817         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
17818         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17819         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
17820         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
17822 2014-10-24  Roland McGrath  <roland@hack.frob.com>
17824         * configure.ac: Validate compiler version with a empirical test of
17825         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
17826         $CC -v output.
17827         * configure: Regenerated.
17829         * inet/htons.c (htons): Prototypify.
17830         * inet/htonl.c (htonl): Likewise.
17832 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17834         * string/strncat.c (strncat): Improve performance by using strlen.
17836 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17838         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
17840 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17842         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
17843         Call libc_fetestexcept_aarch64.
17845 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17847         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
17848         Call libc_feholdexcept_aarch64.
17850 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17852         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
17853         Call get_rounding_mode.
17855 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17857         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17858         Simplify logic.
17860 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17862         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
17863         Simplify logic.
17865 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
17867         [BZ #14138]
17868         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
17869         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
17870         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
17871         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
17872         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
17873         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
17874         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
17875         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
17876         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
17877         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
17878         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17879         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
17880         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
17881         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
17882         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
17883         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
17884         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
17885         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
17886         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
17887         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
17888         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
17889         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
17890         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
17891         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
17892         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
17893         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
17894         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
17895         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
17896         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
17897         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
17898         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
17899         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
17900         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
17901         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
17902         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
17903         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
17904         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
17905         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
17906         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
17907         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
17908         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
17909         syscall.
17910         (geteuid): Likewise.
17911         (getgid): Likewise.
17912         (getuid): Likewise.
17913         (getresgid): Likewise.
17914         (getresuid): Likewise.
17915         (getgroups): Likewise.
17916         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
17917         (geteuid): Likewise.
17918         (getgid): Likewise.
17919         (getuid): Likewise.
17920         (getresgid): Likewise.
17921         (getresuid): Likewise.
17922         (getgroups): Likewise.
17923         * sysdeps/unix/sysv/linux/m68k/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/s390/s390-32/syscalls.list (getegid):
17931         Likewise.
17932         (geteuid): Likewise.
17933         (getgid): Likewise.
17934         (getuid): Likewise.
17935         (getresgid): Likewise.
17936         (getresuid): Likewise.
17937         (getgroups): Likewise.
17938         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
17939         (geteuid): Likewise.
17940         (getgid): Likewise.
17941         (getuid): Likewise.
17942         (getresgid): Likewise.
17943         (getresuid): Likewise.
17944         (getgroups): Likewise.
17945         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
17946         Likewise.
17947         (geteuid): Likewise.
17948         (getgid): Likewise.
17949         (getuid): Likewise.
17950         (getgroups): Likewise.
17952         [BZ #14138]
17953         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
17954         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
17955         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
17956         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17957         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
17958         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
17959         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
17960         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
17961         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
17962         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
17963         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
17964         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
17965         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
17966         __chown.
17967         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
17968         (lchown): Likewise.
17969         (fchown): Likewise.
17970         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
17971         Likewise.
17972         (lchown): Likewise.
17973         (fchown): Likewise.
17974         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
17975         (lchown): Likewise.
17976         (fchown): Likewise.
17977         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
17978         Likewise.
17979         (lchown): Likewise.
17980         (fchown): Likewise.
17982 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17984         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
17985         Simplify logic.
17987 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17989         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
17990         Cleanup logic.
17992 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17994         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
17995         Remove unused include.
17997 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17999         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
18000         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
18001         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
18002         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
18004 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
18005             Helge Deller <deller@gmx.de>
18007         [BZ #17508]
18008         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
18009         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
18010         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
18012 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
18014         [BZ #14132]
18015         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
18016         Remove macro definition.
18017         (__ashrdi3_v_glibc20): Likewise.
18018         (__lshrdi3_v_glibc20): Likewise.
18019         (__cmpdi2_v_glibc20): Likewise.
18020         (__ucmpdi2_v_glibc20): Likewise.
18021         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
18022         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18023         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18024         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18025         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18026         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
18028 2014-10-22  Roland McGrath  <roland@hack.frob.com>
18030         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
18031         old GNU extension [0] syntax.
18032         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
18033         alloca rather than an array member with variable length.
18034         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
18035         * nscd/nscd.c (invalidate_db): New function, broken out of ...
18036         (parse_opt): ... here.  Likewise use alloca there.
18037         Validate the -i argument before checking for rootness.
18038         (send_shutdown): New function, broken out of ...
18039         (parse_opt): ... here.
18041 2014-10-22  Roland McGrath  <roland@hack.frob.com>
18043         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
18044         macro to get at the _rt_local_ro field.
18045         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
18046         ([PIC] case) or _dl_hwcap ([!PIC] case).
18047         * sysdeps/arm/setjmp.S: Likewise.
18049         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
18050         * sysdeps/arm/configure.ac: New check to define it.
18051         * sysdeps/arm/configure: Regenerated.
18052         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
18053         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
18054         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
18055         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
18056         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
18057         Use move/movt pair instead of a load.
18058         (LDST_GLOBAL): Macro removed.
18059         (LDR_GLOBAL): New macro replaces it.
18060         (LDR_HIDDEN): New macro.
18061         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
18062         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
18064         * setjmp/tst-setjmp-static.c: New file.
18065         * setjmp/Makefile (tests): Add it.
18066         (tests-static): New variable.
18068 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
18070         [BZ #17485]
18071         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
18073 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
18075         [BZ #14132]
18076         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
18078 2014-10-21  Roland McGrath  <roland@hack.frob.com>
18080         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
18082 2014-10-20  Roland McGrath  <roland@hack.frob.com>
18084         * io/fts.c (dirent_not_directory): New function.
18085         (fts_build): Call it.
18087 2014-10-20  Roland McGrath  <roland@hack.frob.com>
18089         * nptl/version.c (__nptl_main): Use normal __write rather than
18090         INTERNAL_SYSCALL.
18091         (banner): Update copyright years.
18093         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
18094         gettimeofday.
18095         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18096         * nptl/pthread_cond_timedwait.c: Likewise.
18097         * nptl/pthread_mutex_timedlock.c: Likewise.
18098         * nptl/sem_timedwait.c: Likewise.
18100         * sysdeps/nptl/bits/libc-lock.h
18101         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18102         (__libc_lock_init_recursive): Return void, not 0.
18103         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
18104         (__libc_rwlock_init): Likewise.
18105         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
18107 2014-10-20  Torvald Riegel  <triegel@redhat.com>
18109         [BZ #15215]
18110         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
18111         (__pthread_once_slow): ... here.
18112         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
18113         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
18115 2014-10-20  Torvald Riegel  <triegel@redhat.com>
18117         [BZ #15215]
18118         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
18119         __PTHREAD_ONCE_FORK_GEN_INCR): New.
18120         * sysdeps/nptl/fork.c (__libc_fork): Use them.
18121         * nptl/pthread_once.c (__pthread_once): Likewise.
18122         Update comments.
18124 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
18126         [BZ #14138]
18127         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
18128         name.
18129         (writev): Use __libc_writev as strong name.
18130         * sysdeps/unix/sysv/linux/readv.c: Remove file.
18131         * sysdeps/unix/sysv/linux/writev.c: Likewise.
18133 2014-10-17  Roland McGrath  <roland@hack.frob.com>
18135         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
18137         * sysdeps/i386/nptl/tls.h
18138         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
18139         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
18140         New macros.
18141         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
18142         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
18143         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
18144         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
18145         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
18146         Call CHECK_THREAD_SYSINFO instead of doing an assert.
18148         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18149         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
18150         on [__NR_futex].
18151         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
18152         broken out of ...
18153         (__pthread_mutex_init): ... here.  Call it.
18154         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
18155         Conditionalize PI cases on [__NR_futex].
18156         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
18157         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
18158         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18160         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
18161         conditional on [SIGSETXID].
18162         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
18163         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
18164         is defined.  Likewise for SIGSETXID.
18165         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
18166         Conditionalize definitions on [SIGSETXID].
18167         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
18168         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
18169         unblocking on [SIGCANCEL].
18171         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
18172         [__NR_set_robust_list].
18174 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18176         * string/strcoll_l.c (get_next_seq): Fix up formatting.
18177         (do_compare): Likewise.
18179 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
18181         [BZ #15884]
18182         * string/strcoll_l.c: Don't include stdio.h.
18183         (coll_seq): Remove members idxarr and rulearr.
18184         (get_next_seq_cached): Remove function.
18185         (get_next_seq): Likewise.
18186         (get_next_seq_nocache): Rename to get_next_seq.
18187         (do_compare): Remove function.
18188         (do_compare_nocache): Rename to do_compare.
18189         (STRCOLL): Remove weight and rules cache.
18191 2014-10-16  Roland McGrath  <roland@hack.frob.com>
18193         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
18194         * sysdeps/arm/sfp-machine.h: ... to here.
18195         * sysdeps/arm/Implies: Remove arm/soft-fp.
18197 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
18199         * conform/data/sys/utsname.h-data (*_t): Allow.
18200         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
18201         [POSIX] (WEXITED): Do not expect constant.
18202         [POSIX] (WSTOPPED): Likewise.
18203         [POSIX] (WNOHANG): Likewise.
18204         [POSIX] (WNOWAIT): Likewise.
18205         [POSIX] (siginfo_t): Do not expect type or elements.
18206         [POSIX] (pid_t): Do not expect type.
18207         [POSIX] (signal.h): Do not allow header.
18208         [POSIX] (sys/resource.h): Likewise.
18209         [POSIX] (si_*): Do not allow pattern.
18210         [POSIX] (W*): Likewise.
18211         [POSIX] (P_*): Likewise.
18212         [POSIX] (BUS_*): Likewise.
18213         [POSIX] (CLD_*): Likewise.
18214         [POSIX] (FPE_*): Likewise.
18215         [POSIX] (ILL_*): Likewise.
18216         [POSIX] (POLL_*): Likewise.
18217         [POSIX] (SEGV_*): Likewise.
18218         [POSIX] (SI_*): Likewise.
18219         [POSIX] (TRAP_*): Likewise.
18220         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
18221         variable.
18223 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
18225         [BZ #12926]
18226         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
18227         infinite loop when __recvmsg returns 0.
18229 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
18231         * CANCEL-FCT-WAIVE: Remove file.
18232         * CANCEL-FILE-WAIVE: Likewise.
18234         [BZ #14132]
18235         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
18236         instead of INTVARDEF.
18237         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
18238         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
18239         rtld_hidden_data_def instead of INTVARDEF.
18240         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
18241         * elf/dl-deps.c (expand_dst): Likewise.
18242         * elf/dl-load.c (_dl_dst_count): Likewise.
18243         (_dl_dst_substitute): Likewise.
18244         (decompose_rpath): Likewise.
18245         (_dl_init_paths): Likewise.
18246         (open_path): Likewise.
18247         (_dl_map_object): Likewise.
18248         * elf/rtld.c (dl_main): Likewise.
18249         (process_dl_audit): Likewise.
18250         (process_envvars): Likewise.
18251         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
18252         Remove declaration.
18253         (__libc_enable_secure): Use rtld_hidden_proto.
18255 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18257         * elf/dl-load.c
18258         (add_path): New function broken out of _dl_rtld_di_serinfo.
18259         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
18261 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
18263         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
18264         parentheses around macro arguments.
18265         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
18266         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
18267         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
18268         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
18269         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
18270         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
18271         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
18272         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
18273         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
18274         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
18275         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
18276         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
18277         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
18278         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
18279         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
18280         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
18281         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
18282         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
18283         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
18284         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
18285         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
18286         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
18287         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
18288         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
18289         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
18290         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
18291         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
18292         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
18293         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
18294         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
18295         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
18296         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
18297         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
18298         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
18299         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
18300         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
18301         Likewise.
18302         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
18303         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
18304         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
18305         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
18306         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
18307         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
18308         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
18309         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
18310         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
18311         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
18312         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
18313         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
18314         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
18315         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
18316         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
18317         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
18318         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
18319         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
18320         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
18321         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
18322         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
18323         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
18324         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
18325         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
18326         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
18327         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
18328         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
18329         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
18330         (_FP_FRAC_SRS_1): Likewise.
18331         (_FP_FRAC_CLZ_1): Likewise.
18332         (_FP_MUL_MEAT_1_imm): Likewise.
18333         (_FP_MUL_MEAT_1_wide): Likewise.
18334         (_FP_MUL_MEAT_1_hard): Likewise.
18335         (_FP_SQRT_MEAT_1): Likewise.
18336         (_FP_FRAC_ASSEMBLE_1): Likewise.
18337         (_FP_FRAC_DISASSEMBLE_1): Likewise.
18338         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
18339         (__FP_CLZ_2): Likewise.
18340         (_FP_MUL_MEAT_2_wide): Likewise.
18341         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18342         (_FP_MUL_MEAT_2_gmp): Likewise.
18343         (_FP_MUL_MEAT_2_120_240_double): Likewise.
18344         (_FP_SQRT_MEAT_2): Likewise.
18345         (_FP_FRAC_ASSEMBLE_2): Likewise.
18346         (_FP_FRAC_DISASSEMBLE_2): Likewise.
18347         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
18348         (_FP_FRAC_CLZ_4): Likewise.
18349         (_FP_MUL_MEAT_4_wide): Likewise.
18350         (_FP_MUL_MEAT_4_gmp): Likewise.
18351         (_FP_SQRT_MEAT_4): Likewise.
18352         (_FP_FRAC_ASSEMBLE_4): Likewise.
18353         (_FP_FRAC_DISASSEMBLE_4): Likewise.
18354         * soft-fp/op-common.h (_FP_CMP): Likewise.
18355         (_FP_CMP_EQ): Likewise.
18356         (_FP_CMP_UNORD): Likewise.
18357         (_FP_TO_INT): Likewise.
18358         (_FP_FROM_INT): Likewise.
18359         [!__FP_CLZ] (__FP_CLZ): Likewise.
18360         (_FP_DIV_HELP_imm): Likewise.
18361         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
18362         Likewise.
18363         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
18364         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
18365         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
18366         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
18367         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
18368         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
18369         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
18370         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
18371         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
18372         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
18373         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
18374         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
18375         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
18376         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
18377         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
18378         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
18379         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
18380         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
18381         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
18382         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
18383         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
18384         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
18385         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
18386         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
18387         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
18388         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
18389         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
18390         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
18391         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
18392         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
18393         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
18394         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
18395         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
18396         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
18397         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
18398         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
18399         (FP_UNPACK_RAW_SP): Likewise.
18400         (FP_PACK_RAW_S): Likewise.
18401         (FP_PACK_RAW_SP): Likewise.
18402         (FP_UNPACK_S): Likewise.
18403         (FP_UNPACK_SP): Likewise.
18404         (FP_UNPACK_SEMIRAW_S): Likewise.
18405         (FP_UNPACK_SEMIRAW_SP): Likewise.
18406         (FP_PACK_S): Likewise.
18407         (FP_PACK_SP): Likewise.
18408         (FP_PACK_SEMIRAW_S): Likewise.
18409         (FP_PACK_SEMIRAW_SP): Likewise.
18410         (_FP_SQRT_MEAT_S): Likewise.
18411         (FP_CMP_S): Likewise.
18412         (FP_CMP_EQ_S): Likewise.
18413         (FP_CMP_UNORD_S): Likewise.
18414         (FP_TO_INT_S): Likewise.
18415         (FP_FROM_INT_S): Likewise.
18417         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
18419         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
18420         (FP_EX_INVALID_IMZ): Likewise.
18421         (FP_EX_INVALID_IMZ_FMA): Likewise.
18422         (FP_EX_INVALID_ISI): Likewise.
18423         (FP_EX_INVALID_ZDZ): Likewise.
18424         (FP_EX_INVALID_IDI): Likewise.
18425         (FP_EX_INVALID_SQRT): Likewise.
18426         (FP_EX_INVALID_CVI): Likewise.
18427         (FP_EX_INVALID_VC): Likewise.
18428         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
18429         "invalid" exceptions.
18430         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
18431         (_FP_ADD_INTERNAL): Likewise.
18432         (_FP_MUL): Likewise.
18433         (_FP_FMA): Likewise.
18434         (_FP_DIV): Likewise.
18435         (_FP_CMP_CHECK_NAN): Likewise.
18436         (_FP_SQRT): Likewise.
18437         (_FP_TO_INT): Likewise.
18438         (FP_EXTEND): Likewise.
18440 2014-10-09  Allan McRae  <allan@archlinux.org>
18442         * po/fr.po: Update French translation from translation project.
18444 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
18446         [BZ #14132]
18447         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
18448         of INTDEF.
18449         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
18450         (__cxa_atexit): Use libc_hidden_proto.
18451         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
18453         [BZ #14132]
18454         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
18455         declaration.
18456         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
18457         [!_ISOMAC] (__iswspace_l_internal): Likewise.
18458         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
18459         [!_ISOMAC] (__iswctype_internal): Likewise.
18460         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
18461         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
18462         alias.
18463         (fcntl): Remove __fcntl_internal alias.
18464         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
18465         __connect_internal alias.
18466         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
18467         Likewise.
18469         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
18470         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
18471         FP_DENORM_ZERO.
18472         (_FP_CHECK_FLUSH_ZERO): New macro.
18473         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
18474         (_FP_CMP): Likewise.
18475         (_FP_CMP_EQ): Likewise.
18476         (_FP_TO_INT): Do not set inexact for subnormal arguments if
18477         FP_DENORM_ZERO.
18478         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
18479         (FP_TRUNC): Likewise.
18481         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
18482         treated as invalid conversion, not as normal exponent.
18484         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
18485         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
18486         (_FP_CMP_EQ): Likewise.
18487         (_FP_CMP_UNORD): Likewise.
18488         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
18489         (FP_CMP_EQ_D): Likewise.
18490         (FP_CMP_UNORD_D): Likewise.
18491         * soft-fp/extended.h (FP_CMP_E): Likewise.
18492         (FP_CMP_EQ_E): Likewise.
18493         (FP_CMP_UNORD_E): Likewise.
18494         * soft-fp/quad.h (FP_CMP_Q): Likewise.
18495         (FP_CMP_EQ_Q): Likewise.
18496         (FP_CMP_UNORD_Q): Likewise.
18497         * soft-fp/single.h (FP_CMP_S): Likewise.
18498         (FP_CMP_EQ_S): Likewise.
18499         (FP_CMP_UNORD_S): Likewise.
18500         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
18501         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
18502         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
18503         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
18504         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
18505         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
18506         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
18507         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
18508         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
18509         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
18510         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
18511         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
18512         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
18513         to FP_CMP_Q.
18514         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
18515         FP_CMP_Q.
18516         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
18517         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
18518         FP_CMP_EQ_Q.
18519         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
18520         FP_CMP_Q.
18521         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
18522         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
18523         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
18524         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
18525         FP_CMP_EQ_Q.
18526         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
18527         FP_CMP_Q.
18528         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
18529         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
18530         FP_CMP_EQ_Q.
18531         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
18532         FP_CMP_Q.
18533         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
18534         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
18535         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
18536         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
18537         FP_CMP_EQ_Q.
18539         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
18540         a subnormal result, set the underflow exception if trapping on
18541         underflow is enabled.
18542         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
18543         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
18544         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
18545         redefine to 0.
18546         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
18547         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18548         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18549         * soft-fp/extendxftf2.c (__extendxftf2): Use
18550         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
18552         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
18553         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
18554         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18555         FP_HANDLE_EXCEPTIONS.
18556         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
18557         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18558         FP_HANDLE_EXCEPTIONS.
18559         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
18560         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18561         FP_HANDLE_EXCEPTIONS.
18562         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
18563         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18564         FP_HANDLE_EXCEPTIONS.
18566 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
18568         [BZ #14132]
18569         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
18570         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
18571         use INTUSE.
18572         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
18573         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
18574         Remove alias.
18575         (__adjtimex): Define using libc_hidden_ver.
18576         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
18577         Remove declaration.
18578         (ntp_gettime): Call __adjtimex directly.
18579         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
18580         Remove declaration.
18581         (ntp_gettimex): Call __adjtimex directly.
18582         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
18583         __adjtimex_internal alias.
18585 2014-10-08  Roland McGrath  <roland@hack.frob.com>
18587         [BZ #17460]
18588         * nscd/nscd.c (more_help): Rewrite list of tables collection
18589         using xstrdup and asprintf.
18591         * nscd/nscd_conf.c: Remove local xstrdup declaration.
18593 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18594             Roland McGrath  <roland@hack.frob.com>
18596         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
18597         (do_lookup_unique): ... local function 'enter' here; update callers.
18599 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
18601         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
18602         compat_symbol calls on [SHARED].
18603         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
18604         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
18605         Remove.
18606         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18607         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
18608         (oldsetrlimit): Remove.
18609         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18611         (lchown): New syscall entry.
18612         (oldsetrlimit): Remove.
18613         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18614         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
18615         (oldsetrlimit): Remove.
18616         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18618         [BZ #14138]
18619         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
18620         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
18621         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
18622         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
18623         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18624         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
18625         (fchown): Likewise.
18626         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
18627         (fchown): Likewise.
18628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
18629         Likewise.
18631 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18633         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
18634         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
18635         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
18636         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
18637         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
18638         Likewise.
18639         (__old_sem_post): Likewise.
18641 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
18643         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
18644         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
18645         HAVE_CLOCK_GETTIME_VSYSCALL macros.
18646         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
18647         Use INLINE_VSYSCALL macro.
18648         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
18649         __vdso_clock_gettime.
18650         * sysdeps/unix/sysv/linux/tile/init-first.c
18651         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
18652         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
18653         __vdso_clock_gettime.
18655         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
18656         to set up frame more cleanly.
18658         * sysdeps/tile/memcmp.c: New file.
18660         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
18662         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
18663         * sysdeps/tile/tilegx/strcasestr.c: New file.
18664         * sysdeps/tile/tilegx/strnlen.c: New file.
18665         * sysdeps/tile/tilegx/strstr.c: New file.
18667         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
18669 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
18671         * nptl/tst-setuid3.c: Write errors to stdout.
18673 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18675         * elf/dl-deps.c
18676         (preload): New functions broken out of _dl_map_object_deps.
18677         (_dl_map_object_deps):  Remove a nested function. Update call sites.
18679 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
18681         [BZ #14138]
18682         * sysdeps/unix/sysv/linux/execve.c: Remove file.
18683         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
18685 2014-10-01  Steve Ellcey  <sellcey@mips.com>
18687         * sysdeps/mips/strcmp.S: New.
18689 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
18691         [BZ #14138]
18692         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
18693         (linkat): Likewise.
18694         (mkdirat): Likewise.
18695         (readlinkat): Likewise.
18696         (renameat): Likewise.
18697         (symlinkat): Likewise.
18698         (unlinkat): Likewise.
18699         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
18700         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
18701         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
18702         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
18703         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
18704         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
18705         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
18707 2014-09-30  Will Newton  <will.newton@linaro.org>
18709         * math/math.h: Define long double math functions if
18710         _LIBC_TEST is defined.
18711         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
18713         * localedata/Makefile: Move assignment to tests-special
18714         into an ifdef testing run-built-tests.
18715         * timezone/Makefile: Likewise.
18717 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
18719         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
18720         with $(BASH) not $(SHELL).
18722 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
18723             Matthew LeGendre  <legendre1@llnl.gov>
18725         [BZ #17411]
18726         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
18727         l_reloc_result.
18729 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18731         * stdio-common/printf_fp.c
18732         (hack_digit): New function, broken out of ...
18733         (__printf_fp): ... local function here.  Update call sites.
18734         hack_digit now takes an additional parameter that is a pointer
18735         to a struct of the referenced locals.  Those locals moved inside
18736         the struct and references updated.
18738 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
18740         * aclocal.m4: Require autoconf 2.69.
18741         * configure: Regenerated.
18742         * sysdeps/aarch64/configure: Likewise.
18743         * sysdeps/alpha/configure: Likewise.
18744         * sysdeps/arm/armv7/configure: Likewise.
18745         * sysdeps/arm/configure: Likewise.
18746         * sysdeps/ia64/configure: Likewise.
18747         * sysdeps/mach/configure: Likewise.
18748         * sysdeps/mips/configure: Likewise.
18749         * sysdeps/s390/configure: Likewise.
18750         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
18751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
18753         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
18754         file.
18755         * sysdeps/ia64/configure.ac: Likewise.
18757 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
18759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
18760         specify symbol version for ld.so.  Do not include entry for
18761         libpthread.
18762         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18763         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
18764         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18766         [BZ #14171]
18767         * Makeconfig [$(build-shared) = yes]
18768         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
18769         makefiles.
18770         [$(build-shared) = yes && $(soversions.mk-done) = t]
18771         ($(common-objpfx)gnu/lib-names.h): Remove rule.
18772         [$(build-shared) = yes && $(soversions.mk-done) = t]
18773         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
18774         to Makerules.
18775         [$(build-shared) = yes && $(soversions.mk-done) = t]
18776         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
18777         here.
18778         [$(build-shared) = yes && $(soversions.mk-done) = t]
18779         (common-generated): Don't append gnu/lib-names.h and
18780         gnu/lib-names.stmp here.
18781         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
18782         (lib-names-h-abi): New variable.
18783         [$(build-shared) = yes && $(soversions.mk-done) = t]
18784         (lib-names-stmp-abi): Likewise.
18785         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18786         abi-variants] (before-compile): Append
18787         $(common-objpfx)$(lib-names-h-abi).
18788         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18789         abi-variants] (common-generated): Append gnu/lib-names.h.
18790         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18791         abi-variants] (install-others-nosubdir): Depend on
18792         $(inst_includedir)/$(lib-names-h-abi).
18793         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18794         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
18795         [$(build-shared) = yes && $(soversions.mk-done) = t]
18796         ($(common-objpfx)$(lib-names-h-abi)): New rule.
18797         [$(build-shared) = yes && $(soversions.mk-done) = t]
18798         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
18799         [$(build-shared) = yes && $(soversions.mk-done) = t]
18800         (common-generated): Append $(lib-names-h-abi) and
18801         $(lib-names-stmp-abi).
18802         * scripts/lib-names.awk: Do not handle multi being set.
18803         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
18804         Remove variable.
18805         (abi-lp64_be-ld-soname): Likewise.
18806         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
18807         Likewise.
18808         (abi-hard-ld-soname): Likewise.
18809         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
18810         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
18811         Remove variable.
18812         (abi-o32_hard-ld-soname): Likewise.
18813         (abi-o32_soft_2008-ld-soname): Likewise.
18814         (abi-o32_hard_2008-ld-soname): Likewise.
18815         (abi-n32_soft-ld-soname): Likewise.
18816         (abi-n32_hard-ld-soname): Likewise.
18817         (abi-n32_soft_2008-ld-soname): Likewise.
18818         (abi-n32_hard_2008-ld-soname): Likewise.
18819         (abi-n64_soft-ld-soname): Likewise.
18820         (abi-n64_hard-ld-soname): Likewise.
18821         (abi-n64_soft_2008-ld-soname): Likewise.
18822         (abi-n64_hard_2008-ld-soname): Likewise.
18823         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
18824         Likewise.
18825         (abi-64-v2-ld-soname): Likewise.
18826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
18827         ld.so entries.
18828         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
18829         variable.
18830         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
18831         entry.
18832         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
18833         variable.
18834         (abi-64-ld-soname): Likewise.
18835         (abi-x32-ld-soname): Likewise.
18836         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
18837         entry.
18838         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18840 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
18842         [BZ #14138]
18843         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
18844         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
18845         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
18846         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
18847         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
18848         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
18849         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
18850         syscall entry for GLIBC_2.2 symbol version.
18851         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
18852         Likewise.
18853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18854         (setrlimit): Likewise.
18855         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
18856         Likewise.
18858 2014-09-23  Will Newton  <will.newton@linaro.org>
18860         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
18861         _LINUX_ARM_SYSDEP_H include guard too.
18862         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
18863         define.
18865 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18867         * sysdeps/unix/sysv/linux/eventfd.c:
18868         Make first argument unsigned.
18869         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
18870         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
18872 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
18874         * socket/recvmmsg.c (recvmmsg): Drop const argument.
18875         * socket/sys/socket.h: Likewise
18876         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
18878 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18880         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
18882 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
18884         * time/tst-ftime.c: New test.
18885         * time/Makefile (tests): Add tst-ftime.
18887 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
18889         * soft-fp/extended.h: Fix comment formatting.
18890         * soft-fp/op-1.h: Likewise.
18891         * soft-fp/op-2.h: Likewise.
18892         * soft-fp/op-4.h: Likewise.
18893         * soft-fp/op-8.h: Likewise.
18894         * soft-fp/op-common.h: Likewise.
18895         * soft-fp/soft-fp.h: Likewise.
18897         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
18899 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
18901         [BZ #6652]
18902         * Makeconfig (soversions-default-setname): Remove variable.
18903         ($(common-objpfx)soversions.i): Don't pass default_setname to
18904         soversions.awk.
18905         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
18906         oldest_abi to abi-versions.awk.
18907         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
18908         * config.make.in (oldest-abi): Remove variable.
18909         * configure.ac (--enable-oldest-abi): Remove configure option.
18910         * configure: Regenerated.
18911         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
18912         text.
18913         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
18914         * scripts/soversions.awk: Do not handle default_setname variable.
18915         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
18916         variable.
18917         * sysdeps/mach/hurd/configure: Regenerated.
18918         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
18919         variable.
18920         * sysdeps/unix/sysv/linux/configure: Regenerated.
18922 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18924         * elf/Makefile (CFLAGS-interp.c): Remove.
18925         ($(elf-objpfx)runtime-linker.h): Generate header with linker
18926         path string.
18927         * elf/interp.c: Include generated runtime-linker.h
18929         * Makerules (lib%.so): Don't include $(+interp) in
18930         prerequisites.
18931         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
18932         * dlfcn/eval.c: Remove file.
18934         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
18935         macros.
18937         [BZ #17266]
18938         * misc/sys/cdefs.h: Define __extern_always_inline for clang
18939         4.2 and newer.
18941         [BZ #17370]
18942         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
18944 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18945             Jakub Jelinek  <jakub@redhat.com>
18947         [BZ #17266]
18948         * libio/stdio.h: Check definition of __fortify_function
18949         instead of __extern_always_inline to include bits/stdio2.h.
18950         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
18951         check if __extern_always_inline is defined.
18952         [__USE_MISC || __USE_XOPEN]: Likewise.
18953         [__USE_ISOC99] Likewise.
18954         * misc/sys/cdefs.h (__fortify_function): Define only if
18955         __extern_always_inline is defined.
18956         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
18957         __extern_always_inline and __extern_inline only for g++-4.3
18958         and newer or a compatible gcc.
18960 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
18962         [BZ #17371]
18963         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18964         last change to handle zero prefix length.
18966 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18968         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
18969         _SC_REGEX_VERSION.
18971         * posix/getconf.c (vars): Add _POSIX_IPV6 and
18972         _POSIX_RAW_SOCKETS.
18974 2014-09-13  Allan McRae  <allan@archlinux.org>
18976         * po/ru.po: Update Russian translation from translation project.
18978 2014-09-12  Roland McGrath  <roland@hack.frob.com>
18980         * locale/programs/locale.c (show_locale_vars): Inline local function
18981         into its sole call site.  Clean up some style nits.
18982         (print_item): New function, broken out of ...
18983         (show_info): ... local function here.  Clean up style nits.
18985         * locale/programs/ld-ctype.c (set_one_default): New function, broken
18986         out of ...
18987         (set_class_defaults): ... local function set_default here.
18988         Define set_default as a macro locally to pass constant parameters.
18989         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
18990         rather than a shared local.
18992         * stdlib/rpmatch.c (try): New function, broken out of ...
18993         (rpmatch): ... local function here.  Also, prototypify definition.
18995 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
18997         * scripts/soversions.awk: Do not handle configuration names.
18998         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
18999         vendor and os variables to soversions.awk.
19000         * configure.ac: Do not modify gnu-* host_os.
19001         * configure: Regenerated
19002         * shlib-versions: Remove first column with configuration names.
19003         * nptl/shlib-versions: Likewise.
19004         * nptl_db/shlib-versions: Likewise.
19005         * sysdeps/hppa/shlib-versions: Likewise.
19006         * sysdeps/m68k/shlib-versions: Likewise.
19007         * sysdeps/mach/hurd/shlib-versions: Likewise.
19008         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
19009         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
19010         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
19011         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
19012         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
19013         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
19014         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
19015         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
19016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
19017         Likewise.
19018         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19019         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
19020         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
19021         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
19022         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
19023         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
19024         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
19025         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19028         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
19029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
19030         Regenerated.
19031         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
19032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
19033         Condition symbol version definitions on [HAVE_ELFV2_ABI].
19035         * shlib-versions: Remove OS-specific entries.  Moved to files in
19036         sysdeps.
19037         * sysdeps/mach/hurd/shlib-versions: New file.
19038         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
19040         * nptl/shlib-versions: Remove architecture-specific entries.
19041         Moved to files in sysdeps.
19042         * shlib-versions: Likewise.
19043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
19044         file.
19045         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19046         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
19047         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
19048         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
19050         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
19051         (UDP_NO_CHECK6_RX): Likewise.
19053 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19055         * sysdeps/posix/sysconf.c (__sysconf): Spell
19056         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
19058 2014-08-12  Florian Weimer  <fweimer@redhat.com>
19060         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
19061         loading.
19062         * iconv/Versions (__gconv_transliterate): Export for use from
19063         gconv modules.
19064         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
19065         (struct __gconv_trans_data, __gconv_trans_fct,
19066         __gconv_trans_context_fct, __gconv_trans_query_fct,
19067         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
19068         definitions.
19069         (struct __gconv_step_data): Remove __trans member.
19070         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
19071         longer hidden.  Remove unused trans_data argument.
19072         * iconv/gconv_int.h (struct trans_struct): Remove definition.
19073         (__gconv_translit_find): Remove declaration.
19074         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
19075         prototype.
19076         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
19077         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
19078         trans_data argument.  Add hidden definition.
19079         (__gconv_translit_find): Remove.
19080         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
19081         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
19082         * iconv/skeleton.c: Remove transliteration initialization.
19083         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
19084         __gconv_step_data initialization.
19085         * libio/iofwide.c (__libio_translit_): Remove.
19086         (_IO_fwide): Adjust struct __gconv_step_data initialization.
19087         * wcsmbs/btowc.c (__btowc): Likewise.
19088         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19089         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19090         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
19091         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
19092         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
19093         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
19094         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
19095         * wcsmbs/wctob.c (wctob): Likewise.
19097 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19099         [BZ #16194]
19100         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
19101         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
19102         register usage.
19103         * sysdeps/x86/Makefile: Adjust.
19105 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19106             Roland McGrath  <roland@hack.frob.com>
19108         * locale/weight.h: Add include guard.
19109         (findidx): Make static rather than auto; take new parameters
19110         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
19111         * locale/weightwc.h: Likewise.
19112         * posix/fnmatch_loop.c
19113         (FCT): Change type of EXTRA from int32_t to wint_t.
19114         Don't include either header inside the function.
19115         Call FINDIDX rather than findidx, and pass new arguments.
19116         #undef FINDIDX at the end of the file.
19117         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
19118         FINDIDX before including fnmatch_loop.c for the non-wide version.
19119         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
19120         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
19121         for the wide version.
19122         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
19123         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
19124         Pass new arguments to findidx.
19125         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
19126         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
19127         Don't #include it inside the function.  Pass new arguments to findidx.
19128         * posix/regex_internal.h
19129         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
19130         (re_string_elem_size_at): Don't #include it inside the function.
19131         Pass new arguments to findidx.
19132         * string/strcoll_l.c: #include WEIGHT_H at top level.
19133         (get_next_seq): Don't #include it inside the function.
19134         Pass new arguments to findidx.
19135         (get_next_seq_nocache): Likewise.
19136         * string/strxfrm_l.c: #include WEIGHT_H at top level.
19137         (STRXFRM): Don't #include it inside the function.
19138         Pass new arguments to findidx.
19140 2014-09-11  Florian Weimer  <fweimer@redhat.com>
19142         [BZ #17344]
19143         * malloc/malloc.c (unlink): Turn asserts into a call to
19144         malloc_printerr.
19146 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
19148         [BZ #17370]
19149         * libio/wfileops (do_ftell_wide): Free OUT.
19151 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
19153         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
19155 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19157         [BZ #17363]
19158         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
19159         group if the current group is empty.
19161 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19163         * benchtests/bench-memset.c (test_main): Add more test from size
19164         from 32 to 512 bytes.
19165         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19166         Add POWER8 memset object.
19167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19168         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
19169         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
19170         implementation.
19171         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
19172         Likewise.
19173         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
19174         multiarch POWER8 memset optimization.
19175         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
19176         POWER8 memset optimization.
19178         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19179         Remove bzero multiarch objects.
19180         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
19181         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
19182         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
19183         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
19184         Remove define.
19185         [__bzero]: Redefine to specific name.
19186         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
19187         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
19188         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
19189         define.
19190         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19191         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19193 2014-09-10  Florian Weimer  <fweimer@redhat.com>
19195         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
19196         warnings into errors.
19198         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
19199         __cxa_thread_atexit_impl prototype.
19201 2014-09-09  Steve Ellcey  <sellcey@mips.com>
19203         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
19204         Fix capitalization of error message.
19206 2014-09-09  Steve Ellcey  <sellcey@mips.com>
19208         * sysdeps/mips/preconfigure: Modify ABI tests.
19210 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
19212         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
19214 2014-09-07  Roland McGrath  <roland@hack.frob.com>
19215             Carlos O'Donell  <carlos@systemhalted.org>
19217         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
19218         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
19219         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
19220         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
19221         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
19222         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
19223         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
19224         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
19225         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
19226         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
19227         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
19228         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
19229         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
19230         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
19231         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
19232         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
19233         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
19234         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
19235         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
19236         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
19237         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
19238         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
19239         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
19240         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
19241         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
19242         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
19243         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
19244         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
19245         Deconditionalize the code that was previously under [RESET_PID].
19246         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
19247         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
19248         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
19249         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
19250         include sysdep.h.
19252 2014-09-08  Allan McRae  <allan@archlinux.org>
19254         * version.h (RELEASE): Set to "development".
19255         (VERSION): Set to "2.20.90"
19257 2014-09-07  Allan McRae  <allan@archlinux.org
19259         * version.h (RELEASE): Set to "stable".
19260         (VERSION): Set to "2.20"
19261         * include/features.h (__GLIBC_MINOR__): Set to 20.
19263         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
19264         Liebler.
19266         * po/ko.po: Update Korean translation from translation project.
19268 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
19270         [BZ #17354]
19271         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
19272         macro for handling signed relocations.
19274 2014-09-03  Florian Weimer  <fweimer@redhat.com>
19276         [BZ #17325]
19277         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
19278         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
19279         assert.
19280         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
19281         * iconvdata/ibm935.c (BODY): Likewise.
19282         * iconvdata/ibm937.c (BODY): Likewise.
19283         * iconvdata/ibm939.c (BODY): Likewise.
19284         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
19285         assert.
19286         * iconvdata/Makefile (iconv-test.out): Pass module list to test
19287         script.
19288         * iconvdata/run-iconv-test.sh: New test loop for checking for
19289         decoder crashers.
19291 2014-09-02  Khem Raj  <raj.khem@gmail.com>
19293         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
19294         libm_hidden_ver.
19296 2014-09-01  Allan McRae  <allan@archlinux.org>
19298         * po/eo.po: Update Esperanto translation from translation project.
19300         * po/ca.po: Update Catalan translation from translation project.
19302 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19304         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
19305         __proc_dostop call.
19307 2014-08-27  Mark Wielaard  <mjw@redhat.com>
19309         [BZ #17319]
19310         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
19311         to call set_thread_area instead of hand written asm.
19312         (__NR_set_thread_area): Removed define.
19313         (TLS_FLAG_WRITABLE): Likewise.
19314         (__ASSUME_SET_THREAD_AREA): Remove check.
19315         (TLS_EBX_ARG): Remove define.
19316         (TLS_LOAD_EBX): Likewise.
19318 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19320         Simplify atomicity of socket creation in bind.
19322         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
19323         looking up the name after linking the file.
19325 2014-08-27  Allan McRae  <allan@archlinux.org>
19327         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19329 2014-08-26  Florian Weimer  <fweimer@redhat.com>
19331         [BZ #17187]
19332         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
19333         trans_compare, open_translit, __gconv_translit_find):
19334         Remove module loading code.
19336 2014-08-26  Allan McRae  <allan@archlinux.org>
19338         * po/vi.po: Update Vietnamese translation from translation project.
19340         * po/uk.po: Update Ukrainian translation from translation project.
19342         * po/fr.po: Update French translation from translation project.
19344         * po/ru.po: Update Russian translation from translation project.
19346         * po/pl.po: Update Polish translation from translation project.
19348         * po/cs.po: Update Czech translation from translation project.
19350         * po/de.po: Update German translation from translation project.
19352         * po/bg.po: Update Bulgarian translation from translation project.
19354         * po/sv.po: Update Sweedish translation from translation project.
19356         * po/nl.po: Update Dutch translation from translation project.
19358         * po/es.po: Update Spanish translation from translation project.
19360 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19362         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
19364         * catgets/Makefile (CPPFLAGS-gencat): Remove.
19365         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
19366         (CPPFLAGS-iconvconfig): Likewise.
19367         * timezone/Makefile (CPPFLAGS-zic): Likewise.
19369         * include/libc-symbols.h: Remove unnecessary check for
19370         NOT_IN_libc.
19371         * nptl/pthreadP.h: Likewise.
19372         * sysdeps/aarch64/setjmp.S: Likewise.
19373         * sysdeps/alpha/setjmp.S: Likewise.
19374         * sysdeps/arm/sysdep.h: Likewise.
19375         * sysdeps/i386/setjmp.S: Likewise.
19376         * sysdeps/m68k/setjmp.c: Likewise.
19377         * sysdeps/posix/getcwd.c: Likewise.
19378         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19379         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19380         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19381         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19382         * sysdeps/sh/sh3/setjmp.S: Likewise.
19383         * sysdeps/sh/sh4/setjmp.S: Likewise.
19384         * sysdeps/unix/alpha/sysdep.h: Likewise.
19385         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19386         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19387         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19388         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19391         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19392         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19393         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19394         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19395         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19396         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19397         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19398         * sysdeps/x86_64/setjmp.S: Likewise.
19400 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
19402         [BZ #17263]
19403         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
19404         <stdint.h>.
19405         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
19406         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
19408 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19410         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
19412         [BZ #17262]
19413         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
19414         and __x86_64__ when disabling x87 inline functions.
19416 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
19418         [BZ #17259]
19419         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
19420         asm statement with __cpuid_count.
19422 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
19424         * configure.ac: Change __ehdr_start code to dereference the struct.
19425         Run readelf on the output to look for relocations.
19426         * configure: Regenerated.
19428 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
19430         [BZ #17261]
19431         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
19432         value to 0.
19433         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
19435 2014-08-12  Roland McGrath  <roland@hack.frob.com>
19437         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
19439 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
19441         [BZ #16892]
19442         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
19443         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
19445 2014-08-12  Sean Anderson  <seanga2@gmail.com>
19447         * malloc/malloc.c: Fix typo in comment.
19449 2014-08-09  Allan McRae  <allan@archlinux.org>
19451         * Regenerate libc.po.
19453 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
19455         * intl/tst-gettext2.sh: Check every lang file for creation.
19457 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
19459         * sysdeps/aarch64/fpu/math_private.h
19460         (libc_feholdsetround_noex_aarch64_ctx): New function.
19462 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
19464         * sysdeps/arm/armv6/strcpy.S (strcpy):
19465         Fix performance issue in misaligned cases.
19467 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19469         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
19470         Move definition from termios.h.
19471         (struct termio): Likewise.
19472         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19473         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
19474         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
19475         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
19476         Likewise.
19477         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
19478         Move definition to ioctl-types.h
19479         (struct termio): Likewise.
19480         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19481         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
19482         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
19483         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
19484         Likewise.
19486 2014-08-05  Richard Henderson  <rth@redhat.com>
19488         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
19489         exceptions.
19490         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
19491         Add fraiseexcpt.
19492         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
19493         Use __feraiseexcept.
19494         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
19495         Protect libm symbols with IS_IN_libm.
19497         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
19499 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
19501         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
19503 2014-08-04  Will Newton  <will.newton@linaro.org>
19505         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
19506         file.
19508 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
19510         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
19511         variants for each function.
19513 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19515         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
19516         appended ...
19517         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
19518         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
19519         appended ...
19520         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
19521         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
19522         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
19523         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
19524         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
19525         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
19526         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
19527         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
19528         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
19529         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
19530         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
19531         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
19532         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
19533         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
19534         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
19535         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
19536         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
19537         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
19538         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
19539         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
19540         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
19541         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
19542         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
19543         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
19544         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
19545         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
19546         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
19547         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
19548         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
19549         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
19550         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
19551         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
19552         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
19553         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
19554         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
19555         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
19556         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
19557         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
19558         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
19559         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
19560         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
19561         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
19562         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
19563         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
19564         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
19565         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
19566         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
19567         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
19568         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
19569         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
19570         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
19571         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
19572         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
19573         Update #include.
19574         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
19575         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
19577 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19579         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
19580         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
19581         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
19582         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
19583         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
19584         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
19586 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19588         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
19589         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
19590         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19591         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
19593 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19595         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
19596         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
19597         (__libc_vfork): Define function under this name.
19598         (__vfork): Define as an alias.
19599         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
19600         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
19602 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19604         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
19605         that was previously under [RESET_PID].
19606         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
19608 2014-08-04  Andreas Schwab  <schwab@suse.de>
19610         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
19612 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
19614         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
19615         (main): Likewise.
19617 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19619         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
19621 2014-08-01  Richard Henderon  <rth@redhat.com>
19623         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
19624         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
19625         typo in exact zero test.
19626         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19627         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19628         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19630 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19632         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
19633         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
19634         * sysdeps/arm/sysdep.h: ... here.
19635         [!__ASSEMBLER__]: Include <stdint.h>.
19637 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19639         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
19640         (HAVE_WCTYPE_H): Likewise.
19641         (HAVE_ISWCTYPE): Likewise.
19642         (ENABLE_NLS): Likewise.
19643         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
19644         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
19646         * posix/regex_internal.c: Check if DEBUG is defined and is
19647         set.
19649         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
19650         (HAVE_MBSRTOWCS): Likewise.
19651         * posix/fnmatch.c: Include string.h unconditionally.
19653 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19655         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
19656         reversal.
19658 2014-07-31  Roland McGrath  <roland@hack.frob.com>
19660         * sysdeps/generic/safe-fatal.h: New file.
19661         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
19662         * nptl/forward.c: Include it.
19663         (__pthread_unwind): Use __safe_fatal as default action, rather
19664         than a bogus use of INTERNAL_SYSCALL that could never work.
19666         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
19667         * configure.ac (libc_cv_builtin_trap): New test.
19668         * configure: Regenerated.
19669         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
19670         (ABORT_INSTRUCTION): Define using __builtin_trap.
19672         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
19673         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
19674         * sysdeps/nptl/nptl-signals.h: New file.
19675         * nptl/pthreadP.h: Include <nptl-signals.h>.
19677 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19679         * sysdeps/s390/s390-64/utf16-utf32-z9.c
19680         (ONE_DIRECTION): Define.
19681         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19682         (ONE_DIRECTION): Define.
19683         * sysdeps/s390/s390-64/utf8-utf32-z9.c
19684         (ONE_DIRECTION): Define.
19686 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19688         * sysdeps/s390/Makefile: Delete file.
19689         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
19690         * sysdeps/s390/__longjmp.c: Delete file.
19691         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
19692         Remove fields __flags and __reserved.
19693         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
19694         and add versioning.
19695         * sysdeps/s390/rtld-__longjmp.c: Delete file.
19696         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
19697         * sysdeps/s390/rtld-setjmp.S: Likewise.
19698         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
19699         * sysdeps/s390/s390-32/__longjmp.c: ... here.
19700         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
19701         * sysdeps/s390/s390-32/setjmp.S: ... here.
19702         Add versioning.
19703         (__sigsetjmp): Remove setting __flags field.
19704         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
19705         * sysdeps/s390/s390-64/__longjmp.c: ... here.
19706         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
19707         * sysdeps/s390/s390-64/setjmp.S: ... here.
19708         Add versioning.
19709         (__sigsetjmp): Remove setting __flags field.
19710         * sysdeps/s390/setjmp.S: Delete file.
19711         * sysdeps/s390/sigjmp.c: Likewise.
19712         * sysdeps/s390/v1-longjmp.c: Likewise.
19713         * sysdeps/s390/v1-setjmp.h: Likewise.
19714         * sysdeps/s390/v1-sigjmp.c: Likewise.
19715         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
19716         Remove v1-longjmp_chk.
19717         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
19718         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
19719         Include debug/longjmp_chk.c and add versioning.
19720         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
19721         Include nptl/pt-longjmp.c and add versioning.
19722         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
19723         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
19724         Include __longjmp.c.
19725         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19726         Move to ...
19727         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
19728         (__getcontext): Remove setting __flags field.
19729         Add versioning.
19730         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19731         Don't restore upper high grps.
19732         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
19733         Likewise.
19734         (__swapcontext): Remove setting uc_flags field.
19735         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
19736         Delete file.
19737         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19738         Include __longjmp.c.
19739         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19740         Move to ...
19741         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
19742         (__getcontext): Remove setting __flags field.
19743         Add versioning.
19744         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
19745         (__swapcontext): Remove setting uc_flags field.
19746         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
19747         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
19748         Remove fields uc_high_gprs and __reserved.
19749         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
19750         New file with reverted content.
19751         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
19752         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
19753         Regenerated.
19754         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
19755         Regenerated.
19757 2014-07-31  Andreas Schwab  <schwab@suse.de>
19759         * config.h.in (HAVE_IFUNC): Define to 0.
19760         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
19761         definedness.
19763 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
19765         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19766         memmove-avx-unaligned, memcpy-avx-unaligned and
19767         mempcpy-avx-unaligned.
19768         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19769         Add tests for AVX memcpy functions.
19770         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
19771         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
19772         memcpy_chk.
19773         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
19774         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
19775         memmove_chk.
19776         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
19777         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
19778         mempcpy_chk.
19779         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
19780         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
19781         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
19783 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19785         [BZ #17213]
19786         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
19787         powerpc64le.
19789 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
19791         [BZ #16839]
19792         * manual/llio.texi: Add section about open file description locks.
19793         * manual/examples/ofdlocks.c: Example of open file description
19794         lock usage.
19795         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
19796         F_OFD_SETLK, and F_OFD_SETLKW.
19798 2014-07-23  Allan McRae  <allan@archlinux.org>
19800         * po/es.po: Update Spanish translation from translation project.
19802 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
19804         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
19806 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
19808         [BZ #17078]
19809         * sysdeps/arm/dl-machine.h (elf_machine_rela)
19810         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
19811         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
19813 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
19815         [BZ #17088]
19816         * math/fesetenv.c (__fesetenv)
19817         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
19818         * math/feupdateenv.c (__feupdateenv)
19819         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
19821         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
19822         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19823         (__ASSUME_SOCKETCALL): Do not define.
19825         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
19826         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
19827         (__ASSUME_SOCKETCALL): Do not define.
19828         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
19829         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19830         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19831         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19832         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19833         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
19834         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19835         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19837         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
19838         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
19839         (__ASSUME_SOCKETCALL): Do not define.
19840         (__ASSUME_IPC64): Define unconditionally.
19841         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19842         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19843         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19844         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19845         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
19846         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19847         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
19848         Likewise.
19850         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
19851         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
19852         (__ASSUME_SOCKETCALL): Do not define.
19853         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
19854         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19855         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19856         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19857         (__ASSUME_REQUEUE_PI): Define unconditionally.
19858         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
19859         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19860         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19861         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
19862         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19863         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19865         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
19866         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
19867         (__ASSUME_SOCKETCALL): Do not define.
19868         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
19869         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19870         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19871         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
19872         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19873         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19875         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
19876         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
19877         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19878         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
19879         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19880         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
19881         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19882         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
19883         (__ASSUME_GETCPU_SYSCALL): Likewise.
19885         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
19886         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
19887         cases for individual architectures.
19888         * sysdeps/gnu/configure: Regenerated.
19889         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
19890         LIBC_SLIBDIR_RTLDDIR.
19891         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
19892         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
19893         LIBC_SLIBDIR_RTLDDIR.
19894         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
19895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
19896         LIBC_SLIBDIR_RTLDDIR.
19897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
19898         Regenerated.
19899         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
19900         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
19901         file.
19902         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
19903         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
19904         file.
19905         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
19906         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
19907         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
19908         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
19910         * sysdeps/aarch64/shlib-versions: Move to ...
19911         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
19912         * sysdeps/alpha/shlib-versions: Move to ...
19913         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
19914         * sysdeps/arm/shlib-versions: Move to ...
19915         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
19916         * sysdeps/hppa/shlib-versions: Move all contents except for
19917         libgcc_s entry to ...
19918         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
19919         entry from ...
19920         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
19921         * sysdeps/ia64/shlib-versions: Move to ...
19922         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
19923         entry from ...
19924         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
19925         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
19926         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
19927         * sysdeps/microblaze/shlib-versions: Move to ...
19928         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
19929         * sysdeps/mips/shlib-versions: Move to ...
19930         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
19931         entry from ...
19932         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
19933         * sysdeps/tile/shlib-versions: Move to ...
19934         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
19935         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
19936         from ...
19937         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
19938         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
19939         entry from ...
19940         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
19942 2014-07-17  Will Newton  <will.newton@linaro.org>
19944         * sysdeps/arm/bits/atomic.h
19945         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
19946         (__arch_compare_and_exchange_bool_16_int): Likewise.
19947         (__arch_compare_and_exchange_bool_64_int): Likewise.
19949         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
19950         into an #else block.
19952 2014-07-16  Roland McGrath  <roland@hack.frob.com>
19954         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
19955         just Linux configurations.  Test empirically that the compiler sets
19956         __ARM_EABI__, rather than using the tuple to decide.
19957         * sysdeps/arm/preconfigure: Regenerated.
19958         * sysdeps/unix/sysv/linux/arm/configure: File removed.
19959         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
19960         contents appended ...
19961         * sysdeps/arm/configure.ac: ... here.
19962         * sysdeps/arm/configure: Regenerated.
19964 2014-07-15  Roland McGrath  <roland@hack.frob.com>
19966         * nptl/pthread_kill.c: New file.
19967         * nptl/pthread_sigmask.c: New file.
19968         * nptl/pthread_sigqueue.c: New file.
19970         * sysdeps/nptl/lowlevellock.h: New file.
19971         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
19972         * sysdeps/nptl/lowlevellock-futex.h: New file.
19974         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
19975         Remove dead declarations.
19977 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
19979         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
19980         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
19981         config-cflags-avx2.
19982         * sysdeps/x86_64/configure.ac: Likewise.
19983         * sysdeps/i386/configure: Regenerated.
19984         * sysdeps/x86_64/configure: Likewise.
19985         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19986         memset-avx2 only if config-cflags-avx2 is yes.
19987         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19988         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
19989         defined.
19990         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
19991         only if HAVE_AVX2_SUPPORT is defined.
19992         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19994 2014-07-14  Alan Modra  <amodra@gmail.com>
19996         [BZ #17153]
19997         * elf/elf.h (DT_PPC64_NUM): Correct value.
19998         * NEWS: Add to fixed bug list.
20000 2014-07-13  Jim Meyering  <meyering@fb.com>
20002         [BZ 17150]
20003         regex: don't deref NULL upon heap allocation failure
20004         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
20005         failure in one more place.
20006         To trigger the segfault, configure grep -with-included-regex,
20007         build it, and run these commands:
20008         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
20010 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
20012         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20014 2014-07-11  Richard Henderson  <rth@redhat.com>
20016         * sysdeps/aarch64/libm-test-ulps: Update.
20018 2014-07-10  Florian Weimer  <fweimer@redhat.com>
20020         [BZ #17135]
20021         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
20022         * nptl/allocatestack.c (__nptl_setxid_error): New function.
20023         (__nptl_setxid): Initialize error member.  Call
20024         __nptl_setxid_error.
20025         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
20026         * nptl/descr.h (struct xid_command): Add error member.
20027         * nptl/tst-setuid3.c: New file.
20028         * nptl/Makefile (tests): Add it.
20030 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20032         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
20033         New define.
20034         (__lll_trylock): Use __lll_base_trylock.
20035         (__lll_cond_trylock): Likewise.
20037 2014-07-10  Roland McGrath  <roland@hack.frob.com>
20039         * nptl/pthread_create.c (start_thread): Use atomic_or and
20040         lll_futex_wake directly rather than lll_robust_dead.
20041         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
20042         (lll_robust_dead): Macro removed.
20043         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
20044         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
20045         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
20046         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20047         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20048         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
20049         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
20050         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20051         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
20052         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20053         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20054         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20055         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20056         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20057         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20059         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20060         Use atomic_compare_and_exchange_val_acq directly rather than
20061         lll_robust_trylock.
20062         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
20063         (__lll_robust_trylock, lll_robust_trylock): Removed.
20064         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
20065         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
20066         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20067         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20068         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
20069         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
20070         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20071         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
20072         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20073         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20074         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20075         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20076         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20077         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20079 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20081         * manual/locale.texi (Locale Names): New section documenting
20082         locale name syntax.  Adjust menu and node chaining accordingly.
20083         (Choosing Locale): Reference Locale Names, Locale Categories.
20084         Mention setting LC_ALL=C.  Reflect that name syntax is now
20085         documented.
20086         (Locale Categories): New section title.  Reference Locale Names.
20087         LC_ALL is an environment variable, but not a category.
20088         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
20089         description, now in Locale Name.  Reference that section.  Locale
20090         name syntax is now documented.
20092 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20094         [BZ #17137]
20095         * locale/findlocale.c (name_present, valid_locale_name): New
20096         functions.
20097         (_nl_find_locale): Use the loc_name variable to store name
20098         candidates.  Call name_present and valid_locale_name to check and
20099         validate locale names.  Return an error if the locale is invalid.
20101 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20103         * locale/setlocale.c (setlocale): Use strdup for allocating
20104         composite name copy.
20106 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20108         Sync up with gnulib.
20109         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
20110         [!_LIBC && ENABLE_NLS]: Include gettext.h.
20111         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
20112         and _GL_ARG_NONNULL.
20113         [USE_UNLOCKED_IO]: Include unlocked-io.h.
20114         [!_LIBC]: Include code for Windows and Cygwin.
20115         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
20116         Include prototype for int strerror_r.
20117         [!_LIBC] (is_open): New function.
20118         (flush_stdout): New function.
20119         (print_errno_message): Use it.
20120         (error): Likewise.
20121         (error_at_line): Likewise.
20122         (error_tail) Add function attribute macros.  Use
20123         __builtin_expect.
20125         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
20127         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
20129         * io/ftw.c: Include sys/param.h unconditionally.
20131         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
20133         [BZ #17125]
20134         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
20135         libc_freeres_ptr.
20136         (freecache): New function to free CACHE on exit.
20138         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
20139         initialization.
20141 2014-07-09  David S. Miller  <davem@davemloft.net>
20143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20145         * sysdeps/sparc/nptl/internaltypes.h: Delete.
20146         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
20147         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
20148         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
20149         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
20150         * sysdeps/sparc/nptl/sem_init.c: Likewise.
20151         * sysdeps/sparc/nptl/sem_post.c: Likewise.
20152         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
20153         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
20154         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
20155         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
20156         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
20157         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
20159 2014-07-09  Andreas Schwab  <schwab@suse.de>
20161         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
20162         output.
20163         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
20164         (do_test): Likewise.
20166         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20168 2014-07-09  Will Newton  <will.newton@linaro.org>
20170         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
20171         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
20172         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
20173         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
20174         * sysdeps/hppa/start.S (_start): Likewise.
20176 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
20178         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
20180         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
20181         defined.
20183 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20185         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
20186         after checking that it is non-NULL.
20188         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
20190 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20192         * sysdeps/powerpc/memmove.c: Remove file.
20193         * sysdeps/powerpc/powerpc32/power4/memcopy.h
20194         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
20195         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20196         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
20197         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
20198         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
20199         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
20200         string memmove instead of removed powerpc one.
20202         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20203         [weak_alias]: Fix compiler warning due trailing data.
20204         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
20205         [weak_alias]: Likewise.
20206         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
20207         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
20209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20210         (__libc_ifunc_impl_list): Add memmove functions.
20212 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20214         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
20215         Remove code.
20216         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
20217         Likewise
20218         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
20219         Likewise
20220         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
20221         Likewise
20222         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
20223         Likewise
20224         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
20225         Likewise
20226         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
20227         Likewise
20228         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
20229         Likewise
20230         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
20231         Likewise
20232         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
20233         Likewise
20234         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
20235         Likewise
20236         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
20237         Likewise
20238         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
20239         Likewise
20240         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
20241         Likewise
20242         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
20243         Likewise
20244         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
20245         Likewise
20246         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
20247         Likewise
20249 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20251         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
20252         to avoid alignment traps in non-cacheable memory.
20253         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20255         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
20256         multiarch objects.
20257         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
20258         file: multiarch power7 memmove.
20259         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
20260         multiarch default memmove.
20261         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
20262         multiarch memove for powerpc32/power4.
20264         * string/bcopy.c: Use full path to include memmove.c.
20265         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
20266         multiarch objects.
20267         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
20268         bcopy for powerpc64.
20269         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
20270         bcopy for powerpc64.
20271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
20272         and memmove implementations.
20273         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
20274         optimized multiarch memmove for POWER7/powerpc64.
20275         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
20276         default multiarch memmove for powerpc64.
20277         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
20278         multiarch for powerpc64.
20279         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
20280         for POWER7/powerpc64.
20281         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
20282         memmove for POWER7/powerpc64.
20284         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
20285         glibc default one.
20287         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
20288         __ELF_NATIVE_CLASS equal to 64.
20290 2014-07-07  Roland McGrath  <roland@hack.frob.com>
20292         * sysdeps/nptl/lowlevellock.h: File removed.
20294         * NEWS: NPTL is no longer an add-on!
20295         * nptl/internaltypes.h: Moved ...
20296         * sysdeps/nptl/internaltypes.h: ... here.
20297         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
20298         * sysdeps/nptl/fork.c: Likewise.
20299         * sysdeps/nptl/gai_misc.h: Likewise.
20300         * sysdeps/nptl/librt-cancellation.c: Likewise.
20301         * sysdeps/nptl/jmp-unwind.c: Likewise.
20302         * sysdeps/nptl/setxid.h: Likewise.
20303         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
20304         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
20305         * sysdeps/unix/sysv/linux/arm/Implies: New file.
20306         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
20307         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
20308         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
20309         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
20310         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
20311         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
20312         * sysdeps/unix/sysv/linux/mips/Implies: New file.
20313         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
20314         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
20315         * sysdeps/unix/sysv/linux/sh/Implies: New file.
20316         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
20317         * sysdeps/unix/sysv/linux/tile/Implies: New file.
20318         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
20319         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
20320         * nptl/Makeconfig: Moved ...
20321         * sysdeps/nptl/Makeconfig: ... here.
20322         * nptl/configure: File removed.
20323         * nptl/ANNOUNCE: File removed.
20324         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
20325         * sysdeps/unix/sysv/linux/configure: Regenerated.
20327         * nptl/Makefile (routines): Add libc_pthread_init,
20328         libc_multiple_threads, register-atfork and unregister-atfork.
20329         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
20330         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
20331         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
20332         pthread-pi-defines.sym, structsem.sym.
20333         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
20334         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
20335         [$(subdir) = nptl] (tests): Add tst-setgetname.
20336         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
20337         * sysdeps/unix/sysv/linux/sigaction.c: Just include
20338         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
20339         [!LIBC_SIGACTION]: Remove aliases.
20340         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
20341         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
20342         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
20343         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
20344         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
20345         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
20346         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20347         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20348         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
20349         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
20350         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
20351         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
20352         __libc_allocate_rtsig_private.
20353         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
20354         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
20355         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
20356         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
20357         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
20358         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
20359         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
20360         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
20361         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
20362         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
20363         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
20364         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
20365         * nptl/internaltypes.h: ... here.
20366         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
20367         * sysdeps/nptl/jmp-unwind.c: ... here.
20368         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
20369         * nptl/libc-lowlevellock.c: ... here.
20370         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
20371         * nptl/libc_multiple_threads.c: ... here.
20372         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
20373         * nptl/libc_pthread_init.c: ... here.
20374         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
20375         * nptl/lowlevelbarrier.sym: ... here.
20376         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
20377         * nptl/lowlevelcond.sym: ... here.
20378         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
20379         * nptl/lowlevellock.c: ... here.
20380         * nptl/lowlevellock.h: Moved ...
20381         * sysdeps/nptl/lowlevellock.h: ... here.
20382         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
20383         * nptl/lowlevelrobustlock.c: ... here.
20384         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
20385         * nptl/lowlevelrobustlock.sym: ... here.
20386         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
20387         * nptl/lowlevelrwlock.sym: ... here.
20388         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
20389         * nptl/pt-fork.c: ... here.
20390         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
20391         * nptl/pthread-pi-defines.sym: ... here.
20392         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
20393         * nptl/pthread_attr_getaffinity.c: ... here.
20394         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
20395         * nptl/pthread_attr_setaffinity.c: ... here.
20396         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
20397         * nptl/pthread_mutex_cond_lock.c: ... here.
20398         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20399         Update #include.
20400         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
20401         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
20402         * nptl/pthread_once.c: ... here, replacing old file.
20403         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
20404         * nptl/pthread_yield.c: ... here.
20405         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
20406         * nptl/register-atfork.c: ... here.
20407         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
20408         * nptl/sem_post.c: ... here.
20409         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
20410         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
20411         * nptl/sem_timedwait.c: ... here.
20412         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
20413         * nptl/sem_trywait.c: ... here.
20414         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
20415         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
20416         * nptl/sem_wait.c: ... here.
20417         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
20418         * nptl/structsem.sym: ... here.
20419         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
20420         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
20421         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
20422         * nptl/unregister-atfork.c: ... here.
20423         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
20424         * nptl/unwindbuf.sym: ... here.
20425         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
20426         * sysdeps/nptl/fork.c: ... here.
20427         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
20428         * sysdeps/nptl/fork.h: ... here.
20429         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
20430         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
20431         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
20432         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
20433         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
20434         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
20435         * sysdeps/unix/sysv/linux/getpid.c: ... here.
20436         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
20437         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
20438         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
20439         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
20440         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
20441         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
20442         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
20443         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
20444         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
20445         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
20446         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
20447         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
20448         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
20449         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
20450         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
20451         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
20452         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
20453         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
20454         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
20455         * sysdeps/unix/sysv/linux/raise.c: ... here.
20456         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
20457         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
20458         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
20459         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
20460         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
20461         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
20462         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
20463         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
20464         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
20465         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
20466         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
20467         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
20468         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
20469         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
20470         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
20472 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20474         * sysdeps/generic/memcopy.h: Add comment for
20475         MEMCPY_OK_FOR_FWD_MEMMOVE.
20477 2014-07-04  Will Newton  <will.newton@linaro.org>
20479         * string/memchr.c: Merge from gnulib.
20480         [_LIBC]: Remove conditionals.
20481         (__ptr_t): Remove define.
20482         (LONG_MAX_32_BITS): Likewise.
20483         (LONG_MAX): Likewise.
20484         (MEMCHR): Use ANSI prototype and optimize algorithm.
20486         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
20488 2014-07-03  Roland McGrath  <roland@hack.frob.com>
20490         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
20491         (lll_futex_timed_wait_bitset): Fix syscall argument count.
20493         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
20494         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
20495         in a bare environment with no <stdlib.h> installed.
20496         * sysdeps/nptl/configure: Regenerated.
20498         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
20500         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
20501         AC_EGREP_CPP for kernel header checks, so they only succeed if
20502         including <linux/version.h> actually works right.
20503         * sysdeps/unix/sysv/linux/configure: Regenerated.
20505         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
20506         value so it's not diagnosed as unused.
20508         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
20509         thing) with "ifeq ($(subdir),rt)".
20511 2014-07-03  Richard Henderson  <rth@redhat.com>
20513         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
20514         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
20515         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
20517         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
20518         (math_force_eval): New.
20520         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
20521         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
20523         * sysdeps/alpha/fpu/s_round.c: Remove file.
20524         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
20526         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
20527         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
20528         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
20529         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
20530         (_dl_start, print_statistics): Likewise.
20531         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
20532         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
20534         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20535         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20536         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20537         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20538         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20539         (HP_SMALL_TIMING_AVAIL): Define.
20540         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20541         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20542         (HP_SMALL_TIMING_AVAIL): Define.
20543         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20544         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20546         * sysdeps/aarch64/hp-timing.h: New file.
20548         * sysdeps/generic/hp-timing.h: Remove dead comment.
20549         * sysdeps/generic/hp-timing-common.h: New file.
20550         * sysdeps/alpha/hp-timing.h: Include it.
20551         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
20552         * sysdeps/i386/i686/hp-timing.h: Likewise.
20553         * sysdeps/ia64/hp-timing.h: Likewise.
20554         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20555         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20556         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20557         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20558         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
20559         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
20560         (hp_timing_t): New.
20562         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
20563         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
20564         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
20565         * elf/rtld.c (_dl_start_final): Likewise.
20566         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
20567         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20568         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20569         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20570         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20571         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20572         (HP_TIMING_DIFF_INIT): Remove.
20573         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20574         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20575         (HP_TIMING_DIFF_INIT): Remove.
20576         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20577         * sysdeps/i386/i686/hp-timing.c: Remove file.
20578         * sysdeps/x86_64/hp-timing.c: Remove file.
20579         * sysdeps/ia64/hp-timing.c: Remove file.
20580         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
20581         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
20582         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
20583         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
20585         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
20586         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
20587         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
20588         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20589         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20590         (HP_TIMING_ACCUM): Remove.
20591         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20592         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
20593         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20595         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
20596         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
20597         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
20598         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
20599         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
20600         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20601         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
20602         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20604         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
20606 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
20608         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
20610 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20612         Sync up with gettext.
20613         * intl/loadmsgcat.c: Define O_BINARY if not defined.
20614         [_MSC_VER]: Include malloc.h
20615         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
20616         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
20617         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
20618         TEMP_FAILURE_RETRY.  Cast return of alloca.
20619         [!_LIBC] Call gl_rwlock_init.
20620         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
20622 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20624         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
20625         before checking its value.
20627 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20629         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
20631         * debug/memcpy_chk.c: Don't include pagecopy.h.
20632         * debug/mempcpy_chk.c: Likewise.
20633         * string/memcpy.c: Likewise.
20634         * string/memmove.c: Likewise.
20635         * sysdeps/powerpc/memmove.c: Likewise.
20636         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
20637         definition of PAGE_COPY_FWD_MAYBE here...
20638         * sysdeps/generic/pagecopy.h: ... from here.
20639         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
20641 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20642             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20644         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
20645         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
20646         optimizations.
20647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20648         (__libc_ifunc_impl_list): Likewise.
20649         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
20650         multiarch strcat for PPC64.
20651         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
20652         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
20654 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20656         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
20658 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20660         * intl/loadmsgcat.c: Remove declaration of
20661         get_sysdep_segment_value.
20662         (get_sysdep_segment_value): Use ISO C style.
20663         (_nl_load_domain): Use ISO C style.  Get rid of redundant
20664         semicolon.  Fix typo and formatting in comment.
20665         (_nl_unload_domain): Use ISO C style.
20667         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
20669 2014-07-02  Will Newton  <will.newton@linaro.org>
20671         * malloc/obstack.c: Merge from gnulib master.
20672         [HAVE_CONFIG_H]: Remove conditional code.
20673         [!_LIBC]: Include config.h.
20674         [!ELIDE_CODE]: Don't include inttypes.h, include
20675         stdint.h unconditionally.
20676         (print_and_abort): Mark as _Noreturn.
20677         (_obstack_allocated_p): Mark as __attribute_pure__.
20678         (obstack_free): Rename to __obstack_free.
20679         [!__attribute__]: Remove conditional code.
20680         * malloc/obstack.h: Merge from gnulib master.
20681         [__cplusplus]: Move conditional down.
20682         [!__attribute_pure__]: Define __attribute_pure__ here
20683         if it is not already defined.
20684         (_obstack_memory_used): Mark as __attribute_pure__.
20685         [!__obstack_free]: Define as obstack_free.
20686         [__GNUC__]: Remove check for ancient NeXT gcc.
20688 2014-07-02  Will Newton  <will.newton@linaro.org>
20689             Paul Eggert  <eggert@cs.ucla.edu>
20691         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
20693 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20695         * resolv/gethnamaddr.c: Add comment warning that the file is
20696         not maintained.
20698 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
20700         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
20701         entries.
20703         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
20704         entry for aio_cancel and aio_cancel64.
20705         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
20706         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
20707         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
20708         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
20709         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
20710         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
20711         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
20712         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
20713         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
20714         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
20715         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
20716         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
20717         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
20719 2014-07-01  Roland McGrath  <roland@hack.frob.com>
20721         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
20722         * nptl/pthread_mutex_lock.c: Likewise.
20723         * nptl/pthread_mutex_timedlock.c: Likewise.
20724         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
20726 2014-07-01  Richard henderson  <rth@redhat.com>
20728         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
20729         (__isnan, __isnanl): Remove.
20730         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
20732         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20734 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20736         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20738 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20740         * resolv/nss_dns/dns-host.c (getanswer_r)
20741         [MULTI_PTRS_ARE_ALIASES]: Remove code.
20743 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
20745         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20746         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
20747         undefine.
20748         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
20749         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
20751 2014-07-01  Roland McGrath <roland@hack.frob.com>
20753         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
20754         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
20756         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
20757         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
20759         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
20760         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
20761         ... here.
20762         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
20763         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
20765         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
20766         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
20767         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
20768         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
20770         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
20771         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
20772         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
20773         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
20774         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
20775         Moved ...
20776         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
20777         ... here.
20778         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
20779         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
20780         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
20781         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
20782         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
20783         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
20784         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
20785         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
20786         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
20787         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
20788         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
20789         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
20790         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
20791         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
20792         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
20793         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
20794         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
20795         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
20796         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
20797         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
20798         ... here.
20799         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
20800         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
20801         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
20802         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
20803         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
20804         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
20805         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
20806         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
20808 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
20810         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
20811         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
20812         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
20813         Add sysdep.
20815 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20819 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20821         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20822         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20824         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20826         * sysdeps/arm/libm-test-ulps: Regenerated.
20828 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20829             Roland McGrath <roland@hack.frob.com>
20831         * test-skeleton.c (signal_handler): Kill the whole process group
20832         before killing the child individually.
20833         (main): Report any failure on `setpgid'.
20835 2014-06-30  Roland McGrath  <roland@hack.frob.com>
20837         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
20838         from _TLS_H to _ARM_NPTL_TLS_H.
20839         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
20840         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
20842 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20844         [BZ #16539]
20845         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
20846         (__expm1l): Return argument unchanged when small but not
20847         subnormal.
20849         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
20850         include macro name.
20851         (_FP_UNPACK_RAW_1_P): Likewise.
20852         (_FP_PACK_RAW_1): Likewise.
20853         (_FP_PACK_RAW_1_P): Likewise.
20854         (_FP_MUL_MEAT_1_wide): Likewise.
20855         (_FP_MUL_MEAT_DW_1_hard): Likewise.
20856         (_FP_MUL_MEAT_1_hard): Likewise.
20857         (_FP_DIV_MEAT_1_imm): Likewise.
20858         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
20859         (_FP_DIV_MEAT_1_udiv): Likewise.
20860         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
20861         (_FP_UNPACK_RAW_2): Likewise.
20862         (_FP_UNPACK_RAW_2_P): Likewise.
20863         (_FP_PACK_RAW_2): Likewise.
20864         (_FP_PACK_RAW_2_P): Likewise.
20865         (_FP_MUL_MEAT_DW_2_wide): Likewise.
20866         (_FP_MUL_MEAT_2_wide): Likewise.
20867         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
20868         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20869         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
20870         (_FP_MUL_MEAT_2_gmp): Likewise.
20871         (_FP_DIV_MEAT_2_udiv): Likewise.
20872         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
20873         (_FP_FRAC_SRL_4): Likewise.
20874         (_FP_FRAC_SRST_4): Likewise.
20875         (_FP_FRAC_SRS_4): Likewise.
20876         (_FP_UNPACK_RAW_4): Likewise.
20877         (_FP_UNPACK_RAW_4_P): Likewise.
20878         (_FP_PACK_RAW_4): Likewise.
20879         (_FP_PACK_RAW_4_P): Likewise.
20880         (_FP_MUL_MEAT_DW_4_wide): Likewise.
20881         (_FP_MUL_MEAT_4_wide): Likewise.
20882         (_FP_MUL_MEAT_4_gmp): Likewise.
20883         (umul_ppppmnnn): Likewise.
20884         (_FP_DIV_MEAT_4_udiv): Likewise.
20885         (__FP_FRAC_ADD_4): Likewise.
20886         (__FP_FRAC_SUB_3): Likewise.
20887         (__FP_FRAC_SUB_4): Likewise.
20888         (__FP_FRAC_DEC_3): Likewise.
20889         (__FP_FRAC_DEC_4): Likewise.
20890         (__FP_FRAC_ADDI_4): Likewise.
20891         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
20892         (_FP_FRAC_SRL_8): Likewise.
20893         (_FP_FRAC_SRS_8): Likewise.
20895         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
20896         include macro name.
20897         (FP_UNPACK_RAW_EP): Likewise.
20898         (FP_PACK_RAW_E): Likewise.
20899         (FP_PACK_RAW_EP): Likewise.
20900         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
20901         (_FP_ISSIGNAN): Likewise.
20902         (_FP_ADD_INTERNAL): Likewise.
20903         (_FP_FMA): Likewise.
20904         (_FP_CMP): Likewise.
20905         (_FP_SQRT): Likewise.
20906         (_FP_TO_INT): Likewise.
20907         (_FP_FROM_INT): Likewise.
20908         (FP_EXTEND): Likewise.
20909         (_FP_DIV_MEAT_N_loop): Likewise.
20911 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20913         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
20914         throughout.
20916 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
20918         [BZ #17097]
20919         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
20920         result with correct sign in case of exponents that produce
20921         overflow except for X very close to 1.
20923 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
20925         mktime: merge #if/#ifdef usage from glibc
20926         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
20927         as that works with both Glibc's and Gnulib's style.
20928         See thread starting at Siddhesh Poyarekar's bug report at:
20929         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
20931 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20933         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
20934         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
20935         * sysdeps/tile/tilegx/memmove.c: Remove file.
20937 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
20939         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
20940         abi-name definition.
20941         * scripts/soversions.awk: Do not handle or generate ABI lines.
20942         * shlib-versions: Remove ABI entries.
20943         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
20944         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
20946 2014-06-27  Roland McGrath  <roland@hack.frob.com>
20948         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
20949         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
20950         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
20951         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
20952         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
20953         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
20954         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
20955         Moved ...
20956         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
20957         ... here.
20958         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
20959         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
20960         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
20961         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
20962         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
20963         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
20964         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
20965         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
20966         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
20967         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
20968         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
20969         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
20970         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
20971         Moved ...
20972         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
20973         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
20974         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
20975         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
20976         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
20977         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
20978         Moved ...
20979         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
20980         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
20981         Moved ...
20982         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
20983         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
20984         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
20985         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
20986         Moved ...
20987         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
20988         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
20989         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
20990         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
20991         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
20992         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
20993         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
20994         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
20995         Moved ...
20996         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
20997         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
20998         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
20999         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
21000         Moved ...
21001         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
21002         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
21003         Moved ...
21004         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
21005         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
21006         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
21007         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
21008         Moved ...
21009         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
21010         ... here.
21011         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
21012         Identical file removed.
21013         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
21014         Moved ...
21015         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
21016         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
21017         Identical file removed.
21018         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
21019         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
21020         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
21021         Moved ...
21022         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
21023         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
21024         Identical file removed.
21025         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
21026         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
21027         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
21028         Identical file removed.
21029         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
21030         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
21031         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
21032         Identical file removed.
21033         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
21034         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
21035         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
21036         Identical file removed.
21037         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
21038         Moved ...
21039         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
21040         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
21041         Identical file removed.
21042         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
21043         Moved ...
21044         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
21045         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
21046         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
21047         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
21048         Identical file removed.
21049         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
21050         Moved ...
21051         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
21052         ... here.
21053         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
21054         Identical file removed.
21055         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
21056         Moved ...
21057         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
21058         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
21059         Identical file removed.
21060         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
21061         Moved ...
21062         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
21063         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
21064         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
21065         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
21066         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
21067         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
21068         Moved ...
21069         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
21070         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
21071         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
21073         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
21074         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
21075         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
21076         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
21077         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
21079 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
21081         [BZ #17092]
21082         * nscd/nscd.c (monitor_child): Return exit status of child
21083         instead of return value from wait syscall.
21085 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
21087         * configure.ac (libc_commonpagesize): Remove variable.
21088         (libc_relro_required): Likewise.
21089         (libc_cv_z_relro): Remove configure test.
21090         * configure: Regenerated.
21091         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
21092         variable.
21093         (libc_relro_required): Likewise.
21094         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
21095         (libc_relro_required): Likewise.
21096         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
21097         (libc_relro_required): Likewise.
21098         * sysdeps/arm/preconfigure: Regenerated.
21099         * sysdeps/ia64/preconfigure: Remove file.
21100         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
21101         variable.
21102         (libc_relro_required): Likewise.
21104         [BZ #16561]
21105         [BZ #16562]
21106         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
21107         (__ieee754_yn): Set FE_TONEAREST mode internally and then
21108         recompute overflowing results in original rounding mode.
21109         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
21110         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
21111         recompute overflowing results in original rounding mode.
21112         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
21113         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21114         recompute overflowing results in original rounding mode.
21115         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
21116         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21117         recompute overflowing results in original rounding mode.
21118         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
21119         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21120         recompute overflowing results in original rounding mode.
21121         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
21122         (libc_feholdsetround_ctx): New macro.
21123         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
21124         * sysdeps/i386/fpu/libm-test-ulps: Update.
21125         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
21127 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21129         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
21130         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
21131         corresponding .cpsetup call.
21133 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21135         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
21136         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
21137         * sysdeps/arm/Makefile [$(subdir) = csu]
21138         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
21139         (static-only-routines): Add aeabi_read_tp here.
21140         (shared-only-routines): Add libc-aeabi_read_tp here.
21141         (CFLAGS-libc-start.c): Add -fexceptions here.
21142         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
21143         (sysdep_routines, static-only-routines, shared-only-routines):
21144         Don't add to these here.
21145         (CFLAGS-libc-start.c): Likewise.
21147         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
21148         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21149         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
21150         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21151         * sysdeps/arm/Makefile [$(subdir) = rt]
21152         (librt-sysdep_routines, librt-shared-only-routines):
21153         Append rt-aeabi_unwind_cpp_pr1 here.
21154         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
21155         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
21156         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
21157         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21158         Append nptl-aeabi_unwind_cpp_pr1 here.
21159         (tests): Filter out tst-cleanupx4 here.
21160         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
21161         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
21162         Don't do those here.
21164 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21166         * scripts/list-sources.sh: Do not handle ports specially.
21168 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21170         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
21171         * sysdeps/arm/feupdateenv.c: Likewise.
21173         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
21175 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21177         * manual/texinfo.tex: Update to version 2014-05-05.10 with
21178         trailing whitespace removed.
21179         * scripts/config.guess: Update to version 2014-03-23.
21180         * scripts/config.sub: Update to version 2014-05-01
21181         * scripts/install-sh: Update to version 2013-12-25.23.
21182         * scripts/move-if-change: Update from gnulib.
21184 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21186         * debug/memmove_chk.c: Remove pagecopy.h include.
21188 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
21190         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
21191         identical to gnulib mktime.
21193 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21195         * configure.ac: Do not test for machine being rs6000.  Do not test
21196         for powerpc*-*soft.
21197         * configure: Regenerated.
21199         [BZ #11505]
21200         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
21201         test.
21202         * configure: Regenerated.
21203         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
21204         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
21205         Remove configure test.
21206         * sysdeps/arm/configure: Regenerated.
21207         * sysdeps/nptl/configure.ac: Do not check
21208         libc_cv_asm_cfi_directives.
21209         * sysdeps/nptl/configure: Regenerated.
21210         * sysdeps/x86_64/nptl/configure.ac: Remove file.
21211         * sysdeps/x86_64/nptl/configure: Remove generated file.
21212         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
21213         unconditional.
21214         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
21216 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21218         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
21219         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
21220         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
21221         it is defined.
21223         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
21224         instead of whether it is defined.
21225         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
21226         * sysdeps/hppa/dl-machine.h: Likewise.
21227         * sysdeps/ia64/dl-machine.h: Likewise.
21228         * sysdeps/m68k/dl-machine.h: Likewise.
21229         * sysdeps/microblaze/dl-machine.h: Likewise.
21230         * sysdeps/mips/dl-machine.: Likewise.
21231         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21232         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21233         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21234         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21235         * sysdeps/sh/dl-machine.h: Likewise.
21236         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21237         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21238         * sysdeps/tile/dl-machine.h: Likewise.
21239         * sysdeps/x86_64/dl-machine.h: Likewise.
21241         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
21242         code.
21243         (verify_persistent_db): Likewise.
21245 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
21248         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
21249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
21250         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
21251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21252         Moved ...
21253         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
21254         ... here.
21255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
21256         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
21257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
21258         Identical file removed.
21259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
21260         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
21261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
21262         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
21263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
21264         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
21265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
21266         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
21267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
21268         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
21269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21270         Moved ...
21271         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
21272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
21273         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
21274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
21275         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
21276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21277         Moved ...
21278         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
21279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
21280         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
21281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
21282         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
21283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21284         Identical file removed.
21285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
21286         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
21287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
21288         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
21289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21290         Moved ...
21291         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
21292         ... here.
21293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
21294         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
21295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
21296         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
21297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
21298         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
21299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
21300         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
21301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
21302         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
21303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21304         Moved ...
21305         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
21306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
21307         Moved ...
21308         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
21309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
21310         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
21311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21312         Moved ...
21313         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
21314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
21315         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
21317         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
21318         folded into ...
21319         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
21320         * sysdeps/unix/sysv/linux/s390/Versions
21321         (libpthread: GLIBC_2.19): New version set.
21322         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
21323         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
21324         (librt: GLIBC_2.3.3): New version set.
21325         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
21326         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
21327         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
21328         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
21329         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
21330         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
21331         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
21332         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
21333         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
21334         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
21335         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
21336         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
21337         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
21338         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
21339         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
21340         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
21341         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
21342         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
21343         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
21344         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
21345         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
21346         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
21347         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
21348         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
21349         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
21350         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
21351         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
21352         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
21353         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
21354         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
21355         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
21356         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
21357         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
21358         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
21359         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
21360         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
21361         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
21362         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
21363         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
21364         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
21365         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
21366         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
21367         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
21368         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
21369         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
21371         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
21372         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
21373         (__libc_vfork): Define the function under this name.
21374         [!NOT_IN_libc] (__vfork): Make this an alias.
21375         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
21376         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
21377         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
21378         (__libc_vfork): Define the function under this name.
21379         [!NOT_IN_libc] (__vfork): Make this an alias.
21380         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
21381         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
21382         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
21383         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
21384         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
21385         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21387         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
21388         code that was previously under [RESET_PID].
21389         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
21390         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
21391         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
21393         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
21394         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
21395         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
21396         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
21397         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
21398         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
21399         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
21400         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
21401         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
21402         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
21403         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
21404         Moved ...
21405         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
21406         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
21407         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
21408         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
21409         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
21410         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
21411         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
21412         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
21413         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
21414         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
21415         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
21416         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
21417         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
21418         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
21419         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
21420         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
21421         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
21422         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
21423         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
21424         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
21425         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
21426         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
21427         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
21428         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
21429         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
21430         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
21431         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
21432         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
21433         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
21435 2014-06-25  Roland McGrath  <roland@hack.frob.com>
21437         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
21438         that was previously under [RESET_PID].
21439         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
21441 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21443         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
21444         not undefine and redefine.
21445         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
21446         [O_CLOEXEC]: Make code unconditional.
21447         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
21448         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
21449         <kernel-features.h>.
21450         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
21451         conditional variable definition.
21452         (shm_open) [O_CLOEXEC]: Make code unconditional.
21453         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
21454         code.
21456         * configure.ac (USE_REGPARMS): Don't define here.
21457         * configure: Regenerated.
21458         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
21459         * sysdeps/i386/configure: Regenerated.
21461         * nptl/createthread.c: Don't include kernel-features.h.
21462         * nptl/pthread_cancel.c: Likewise.
21463         * nptl/pthread_condattr_setclock.c: Likewise.
21464         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
21465         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
21466         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
21467         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
21468         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
21469         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
21470         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
21471         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
21472         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
21473         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
21474         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
21475         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
21476         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
21477         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
21478         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
21479         * nscd/gai.c: Likewise.
21480         * nss/nss_db/db-open.c: Likewise.
21481         * sysdeps/generic/ldsodefs.h: Likewise.
21482         * sysdeps/sh/nptl/tls.h: Likewise.
21483         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21484         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
21485         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
21486         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
21487         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
21488         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21489         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
21490         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21491         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21492         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21493         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21494         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21495         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
21496         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
21497         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
21498         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
21499         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
21500         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
21501         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
21502         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
21503         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
21504         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
21505         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
21506         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
21507         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21508         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21509         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
21510         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
21511         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
21512         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
21513         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
21514         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
21515         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
21516         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21517         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21518         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21519         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21520         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
21521         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
21522         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21523         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21524         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
21525         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
21526         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21527         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
21528         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
21529         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
21530         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
21531         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
21532         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21533         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21534         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21535         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21536         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21537         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
21538         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21539         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21540         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
21541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
21543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
21544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
21545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
21546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
21552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
21553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
21554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
21555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
21561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
21562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
21563         * sysdeps/unix/sysv/linux/pread.c: Likewise.
21564         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
21565         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
21566         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
21567         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
21568         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
21569         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
21570         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
21571         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
21572         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21573         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
21574         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21575         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
21576         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
21577         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
21578         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
21579         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21580         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
21581         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
21582         * sysdeps/unix/sysv/linux/system.c: Likewise.
21583         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
21584         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21585         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21586         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21587         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21588         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21589         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21591         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
21592         * configure: Regenerated.
21593         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
21595         * configure.ac (base_machine): Do not set specially for particular
21596         machines here.
21597         * configure: Regenerated.
21598         * sysdeps/powerpc/preconfigure: Move machine and base_machine
21599         settings from configure.ac.
21600         * sysdeps/i386/preconfigure: New file.
21601         * sysdeps/s390/preconfigure: Likewise.
21602         * sysdeps/sh/preconfigure: Likewise.
21603         * sysdeps/sparc/preconfigure: Likewise.
21605 2014-06-25  Roland McGrath  <roland@hack.frob.com>
21607         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
21608         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
21609         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
21610         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
21611         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
21612         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
21613         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
21614         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
21615         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
21616         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
21617         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
21618         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
21619         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
21620         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
21621         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
21622         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
21623         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
21624         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
21625         * sysdeps/sparc/sparc64/Makefile: ... appended here.
21627         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
21628         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
21629         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
21630         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
21631         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
21632         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
21633         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
21634         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
21635         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
21636         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
21637         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
21638         * sysdeps/sparc/sparc32/sem_post.c: ... here.
21639         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
21640         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
21641         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
21642         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
21643         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
21644         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
21645         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
21646         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
21647         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
21648         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
21649         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
21650         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
21651         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
21652         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
21653         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
21654         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
21655         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
21656         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
21657         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
21658         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
21659         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
21660         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
21661         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
21662         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
21663         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
21664         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
21666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
21667         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
21668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
21669         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
21670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21671         Moved ...
21672         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
21673         ... here.
21674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
21675         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
21676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
21677         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
21678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
21679         Moved ...
21680         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
21681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
21682         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
21683         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
21684         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
21685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
21686         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
21687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21688         Moved ...
21689         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
21690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21691         Moved ...
21692         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
21693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
21694         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
21695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21696         Moved ...
21697         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
21698         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
21699         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
21700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
21701         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
21702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
21703         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
21704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
21705         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
21706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21707         Moved ...
21708         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
21709         ... here.
21710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
21711         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
21712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
21713         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
21714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
21715         Moved ...
21716         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
21717         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
21718         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
21719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
21720         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
21721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
21722         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
21723         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21724         Moved ...
21725         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
21726         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21727         Moved ...
21728         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
21729         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
21730         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
21731         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21732         Moved ...
21733         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
21734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
21735         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
21736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
21737         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
21739 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21741         * timezone/checktab.awk: Update from tzcode 2014e.
21742         * timezone/private.h: Likewise.
21743         * timezone/tzfile.h: Likewise.
21744         * timezone/zdump.c: Likewise.
21745         * timezone/zic.c: Likewise.
21747         * sysdeps/unix/sysv/linux/kernel-features.h
21748         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
21749         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
21750         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
21751         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21752         Remove conditional code.
21754 2014-06-25  Will Newton  <will.newton@linaro.org>
21756         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
21757         (_dl_arm_cap_flags): Add HWCAP2 values.
21758         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
21759         (_DL_HWCAP_COUNT): Increase to 37.
21760         (_DL_HWCAP_LAST): New define.
21761         (_DL_HWCAP2_LAST): New define.
21762         (_dl_procinfo): Add support for printing
21763         AT_HWCAP2 entries.
21764         (_dl_string_hwcap): Use _dl_hwcap_string.
21766 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21770 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21772         * README: Do not mention ports directory.
21774         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
21775         Remove macro.
21776         * sysdeps/unix/sysv/linux/futimes.c: Do not include
21777         <kernel-features.h>.
21778         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
21779         conditional variable definition.
21780         (__futimes): Update comment.
21781         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
21782         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
21784         [BZ #16560]
21785         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
21786         arguments close to 0.
21787         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
21788         Likewise.
21789         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
21790         Likewise.
21791         * math/auto-libm-test-in: Add more tests of exp10.
21792         * math/auto-libm-test-out: Regenerated.
21793         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21795         * sysdeps/unix/sysv/linux/kernel-features.h
21796         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
21797         * sysdeps/unix/sysv/linux/readv.c: Do not include
21798         <kernel-features.h>.
21799         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21800         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21801         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21802         unconditional.
21803         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21804         conditional code.
21805         * sysdeps/unix/sysv/linux/writev.c: Do not include
21806         <kernel-features.h>.
21807         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21808         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21809         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21810         unconditional.
21811         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21812         conditional code.
21814 2014-06-25  Will Newton  <will.newton@linaro.org>
21816         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
21817         comment changes throughout the file.  Remove checks
21818         for HAVE_*_H definitions that are not required.
21819         (__gen_tempname): Call abort if an unknown kind value is
21820         passed.
21822 2014-06-25  Andreas Schwab  <schwab@suse.de>
21824         [BZ #17086]
21825         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
21826         scalbln, scalblnf, scalblnl in libc.
21828 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21830         [BZ #17086]
21831         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
21832         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
21833         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
21835 2014-06-24  Roland McGrath  <roland@hack.frob.com>
21837         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
21838         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
21839         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
21840         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
21841         Update #include.
21842         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
21843         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
21844         Update #include.
21845         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
21846         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
21847         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
21848         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
21849         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
21850         * sysdeps/x86/bits/pthreadtypes.h: ... here.
21851         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
21852         * sysdeps/x86/bits/semaphore.h: ... here.
21853         * sysdeps/x86/nptl/elide.h: Moved ...
21854         * sysdeps/x86/elide.h: ... here.
21855         * sysdeps/x86_64/nptl/Implies: File removed.
21856         * sysdeps/i386/nptl/Implies: File removed.
21858 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
21860         [BZ #16539]
21861         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
21862         return the argument for normal arguments with exponent below -64.
21863         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21864         Likewise.
21865         * math/auto-libm-test-in: Add another test of expm1.
21866         * math/auto-libm-test-out: Regenerated.
21868         [BZ #16287]
21869         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
21870         calling __erfcl for arguments at least 16.
21871         * math/auto-libm-test-in: Add more tests of erf.
21872         * math/auto-libm-test-out: Regenerated.
21874         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
21875         individual architectures.
21876         * sysdeps/unix/sysv/linux/configure: Regenerated.
21877         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
21878         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
21879         * sysdeps/unix/sysv/linux/powerpc/configure.ac
21880         (ldd_rewrite_script): Define variable.
21881         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
21883         file.
21884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
21885         generated file.
21886         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
21887         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
21888         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
21889         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
21890         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
21891         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
21892         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
21893         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
21895 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21897         [BZ #17084]
21898         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
21899         Rename member __data.d to __data.__elision_data.
21901 2014-06-24  Wilco  <wdijkstr@arm.com>
21903         * NEWS: Add 16918 to fixed bug list.
21905 2014-06-24  Wilco  <wdijkstr@arm.com>
21907         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
21909 2014-06-24  Wilco  <wdijkstr@arm.com>
21911         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
21912         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
21913         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
21914         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
21915         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
21916         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
21917         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
21918         Use _FPU_MASK_RM.
21920 2014-06-24  Wilco  <wdijkstr@arm.com>
21922         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
21924 2014-06-24  Wilco  <wdijkstr@arm.com>
21926         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
21927         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
21928         * sysdeps/arm/fesetround.c (fesetround): Remove space.
21929         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
21931 2014-06-24  Wilco  <wdijkstr@arm.com>
21933         [BZ #16918]
21934         * sysdeps/arm/feupdateenv.c (feupdateenv):
21935         Rewrite to reduce FPSCR accesses and fix return value.
21937 2014-06-24  Wilco  <wdijkstr@arm.com>
21939         * sysdeps/arm/fclrexcpt.c (feclearexcept):
21940         Optimize to avoid unnecessary FPSCR writes.
21941         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
21942         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
21943         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
21944         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
21946 2014-06-24  Wilco  <wdijkstr@arm.com>
21948         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
21949         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
21950         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
21951         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
21952         Call libc_fetestexcept_vfp.
21953         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
21954         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
21955         __SOFTFP__ ifdef so that they can be built for softfp.
21957 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21959         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
21960         argument type signed char.
21962         * Makerules (check-abi): Dump diff of symlist if the test
21963         fails.
21965 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21967         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
21968         using abort.
21970         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21971         Remove unused variable ST.
21973 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
21975         [BZ #16354]
21976         [BZ #17061]
21977         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
21978         small arguments before calling __expm1.
21979         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
21980         small arguments before calling __expm1f.
21981         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
21982         small arguments before calling __expm1l.
21983         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21984         Likewise.
21985         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
21986         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
21987         spurious underflow for some cosh tests.
21988         * math/auto-libm-test-out: Regenerated.
21989         * sysdeps/i386/fpu/libm-test-ulps: Update.
21991         [BZ #17050]
21992         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
21993         (__ieee754_y1): Set errno if return value overflows.
21994         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
21995         (__ieee754_y1f): Set errno if return value overflows.
21996         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
21997         (__ieee754_y1l): Set errno if return value overflows.
21998         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
21999         (__ieee754_y1l): Set errno if return value overflows.
22000         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
22001         * math/auto-libm-test-out: Regenerated.
22003         * math/gen-auto-libm-tests.c: Document use of
22004         ignore-zero-inf-sign.
22005         (input_flag_type): Add value flag_ignore_zero_inf_sign.
22006         (input_flags): Add ignore-zero-inf-sign.
22007         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
22008         * math/gen-libm-test.pl (generate_testfile): Handle
22009         ignore-zero-inf-sign.
22010         * math/auto-libm-test-in: Mark some cpow tests with
22011         ignore-zero-inf-sign and some with xfail-rounding.
22012         * math/auto-libm-test-out: Regenerated.
22013         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
22014         * sysdeps/i386/fpu/libm-test-ulps: Update.
22015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22017         [BZ #16315]
22018         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
22019         overflowing or underflowing operations take place with sign of
22020         result.
22021         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22022         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22023         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
22024         (__ieee754_pow): Recompute overflowing and underflowing results in
22025         original rounding mode.
22026         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
22027         (__powl_helper): Allow negative argument X and scale negated value
22028         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
22029         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
22030         overflowing or underflowing operations take place with sign of
22031         result.
22032         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
22033         Include <math.h>.
22034         * math/auto-libm-test-in: Add more tests of pow.
22035         * math/auto-libm-test-out: Regenerated.
22036         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
22037         (pow_tonearest_test_data): Remove.
22038         (pow_test_tonearest): Likewise.
22039         (pow_towardzero_test_data): Likewise.
22040         (pow_test_towardzero): Likewise.
22041         (pow_downward_test_data): Likewise.
22042         (pow_test_downward): Likewise.
22043         (pow_upward_test_data): Likewise.
22044         (pow_test_upward): Likewise.
22045         (main): Don't call removed functions.
22046         * sysdeps/i386/fpu/libm-test-ulps: Update.
22047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22049 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
22052         Moved ...
22053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
22054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22055         Moved ...
22056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
22057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22058         Moved ...
22059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
22060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22061         Moved ...
22062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
22063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22064         File removed.
22065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22066         File removed.
22067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
22068         File removed.
22069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
22070         File removed.
22071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
22072         File removed.
22073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
22074         File removed.
22075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
22076         File removed.
22077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22078         File removed.
22079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
22080         File removed.
22081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22082         File removed.
22083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
22084         File removed.
22085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
22086         File removed.
22087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
22088         Moved ...
22089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
22090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
22091         Moved ...
22092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
22093         ... here.
22094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
22095         Moved ...
22096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
22097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
22098         Moved ...
22099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
22100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
22101         Moved ...
22102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
22103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
22104         Moved ...
22105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
22106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
22107         Moved ...
22108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
22109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
22110         Moved ...
22111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
22112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
22113         Moved ...
22114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
22115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
22116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
22117         ... here.
22118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
22119         Moved ...
22120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
22121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22122         Moved ...
22123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22124         ... here.
22125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
22126         Moved ...
22127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22128         ... here.
22129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22130         Moved ...
22131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
22132         ... here.
22133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22134         Moved ...
22135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
22136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22137         Moved ...
22138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
22139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
22140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
22141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22142         Moved ...
22143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
22144         ... here.
22145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22146         Moved ...
22147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
22148         ... here.
22149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22150         Moved ...
22151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
22152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22153         Moved ...
22154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
22155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22156         Moved ...
22157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
22158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22159         Moved ...
22160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
22161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22162         Moved ...
22163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
22164         ... here.
22165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22166         Moved ...
22167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
22168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22169         Moved ...
22170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
22171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22172         Moved ...
22173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
22174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22175         Moved ...
22176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
22177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
22178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
22179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22180         Moved ...
22181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
22182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22183         Moved ...
22184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
22185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22186         Moved ...
22187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
22188         ... here.
22189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22190         Moved ...
22191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
22192         ... here.
22193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22194         Moved ...
22195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
22196         ... here.
22197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22198         Moved ...
22199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
22200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22201         Moved ...
22202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
22203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22204         Moved ...
22205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
22206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22207         Moved ...
22208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
22209         ... here.
22210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22211         Moved ...
22212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
22213         ... here.
22214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22215         Moved ...
22216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
22217         ... here.
22218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22219         Moved ...
22220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
22221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22222         Moved ...
22223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
22225 2014-06-23  Will Newton  <will.newton@linaro.org>
22226             Wilco  <wdijkstr@arm.com>
22228         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
22229         implementation.  Include get-rounding-mode.h.
22230         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
22231         [!libc_feholdsetround_noex_ctx]: Define
22232         libc_feholdsetround_noex_ctx.
22233         [!libc_feholdsetround_noexf_ctx]: Define
22234         libc_feholdsetround_noexf_ctx.
22235         [!libc_feholdsetround_noexl_ctx]: Define
22236         libc_feholdsetround_noexl_ctx.
22237         (libc_feholdsetround_ctx): New function.
22238         (libc_feresetround_ctx): New function.
22239         (libc_feholdsetround_noex_ctx): New function.
22240         (libc_feresetround_noex_ctx): New function.
22242 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22244         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
22245         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
22246         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
22247         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
22248         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
22249         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
22251         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
22252         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
22253         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
22254         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
22255         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
22256         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
22257         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
22258         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
22259         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
22260         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
22261         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
22262         Moved ...
22263         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
22264         ... here.
22265         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
22266         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
22267         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
22268         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
22269         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
22270         Moved ...
22271         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
22272         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
22273         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
22274         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
22275         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
22276         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
22277         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
22278         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
22279         Moved ...
22280         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
22281         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
22282         Moved ...
22283         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
22284         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
22285         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
22286         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
22287         Moved ...
22288         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
22289         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
22290         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
22291         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
22292         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
22293         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
22294         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
22295         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
22296         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
22297         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
22298         Moved ...
22299         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
22300         ... here.
22301         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
22302         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
22303         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
22304         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
22305         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
22306         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
22307         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
22308         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
22309         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
22310         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
22311         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
22312         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
22313         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
22314         Moved ...
22315         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
22316         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
22317         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
22318         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
22319         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
22320         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
22321         Moved ...
22322         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
22323         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
22324         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
22325         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
22326         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
22328         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
22329         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
22330         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
22331         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
22332         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
22333         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
22334         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
22335         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
22336         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
22337         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
22338         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
22339         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
22340         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
22341         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
22342         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
22343         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
22344         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
22345         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
22346         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
22347         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
22348         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
22349         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
22350         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
22351         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
22352         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
22353         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
22354         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
22355         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
22357 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
22359         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
22360         (FALLOC_FL_COLLAPSE_RANGE): New macro.
22361         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
22362         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
22363         (IPV6_PMTUDISC_INTERFACE): Likewise.
22364         (IPV6_PMTUDISC_OMIT): Likewise.
22366 2014-06-23  Andreas Schwab  <schwab@suse.de>
22368         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
22369         Remove unused errout label.
22371 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22373         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
22374         macro: hardware supports Vector Crypto instructions.
22376 2014-06-23  Will Newton  <will.newton@linaro.org>
22378         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
22379         rather than __builtin_expect.
22381         * elf/dl-lookup.c (undefined_msg): Remove variable.
22382         (_dl_lookup_symbol_x): Replace undefined_msg with string
22383         literal.
22385         * elf/dl-lookup.c (do_lookup_unique): New function.
22386         (do_lookup_x): Move STB_GNU_UNIQUE handling code
22387         to a separate function.
22389 2014-06-23  Andreas Schwab  <schwab@suse.de>
22391         [BZ #17079]
22392         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
22393         before reading the next line.
22395 2014-06-23  Will Newton  <will.newton@linaro.org>
22397         * test-skeleton.c (signal_handler): Use printf and %m
22398         rather than perror.  Use printf rather than fprintf to
22399         stderr.  Use puts rather than fputs to stderr.
22400         (main): Likewise.
22402 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
22404         * nscd/nscd.c (thread_info_t): Remove typedef.
22405         (thread_info): Remove variable.
22407 2014-06-21  Allan McRae  <allan@archlinux.org>
22409         * NEWS: Mention CVE-2014-4043.
22411 2014-06-20  Roland McGrath  <roland@hack.frob.com>
22413         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
22414         * nptl/smp.h: ... here.
22416         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
22418         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
22419         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
22420         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
22421         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
22423         * nptl/allocatestack.c: Include <stack-aliasing.h>.
22424         * nptl/stack-aliasing.h: New file.
22425         * sysdeps/i386/i686/stack-aliasing.h: New file.
22426         * sysdeps/i386/i686/nptl/Makefile: File removed.
22427         * sysdeps/x86_64/stack-aliasing.h: New file.
22428         * sysdeps/x86_64/nptl/Makefile
22429         (CFLAGS-pthread_create.c): Variable removed.
22431         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
22432         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
22433         old file.
22434         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
22435         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
22436         old file.
22438 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
22440         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22441         (__ASSUME_SIGFRAME_V2): Remove macro.
22442         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
22443         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
22444         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
22445         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
22446         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
22447         Declare as function.  Remove conditional macro definitions.
22448         (__default_rt_sa_restorer): Likewise.
22449         (__default_sa_restorer_v1): Remove declaration.
22450         (__default_sa_restorer_v2): Likewise.
22451         (__default_rt_sa_restorer_v1): Likewise.
22452         (__default_rt_sa_restorer_v2): Likewise.
22453         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
22454         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
22455         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
22457 2014-06-20  Roland McGrath  <roland@hack.frob.com>
22459         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
22460         (libpthread-routines): Add sysdep.
22461         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
22462         * sysdeps/unix/sysv/linux/sparc/Versions
22463         (libpthread: GLIBC_2.3.3): New version set.
22464         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
22465         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
22466         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
22467         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
22468         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
22469         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
22470         Moved ...
22471         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
22472         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
22473         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
22474         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
22475         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
22476         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
22477         * sysdeps/sparc/nptl/sem_init.c: ... here.
22478         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
22479         * sysdeps/sparc/nptl/sem_post.c: ... here.
22480         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
22481         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
22482         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
22483         * sysdeps/sparc/nptl/sem_wait.c: ... here.
22484         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
22485         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
22486         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
22487         (libpthread-routines): Add cpu_relax.
22488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
22489         File removed.
22490         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
22491         (librt: GLIBC_2.3.3): New version set.
22492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
22493         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
22494         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
22495         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
22496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
22497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
22498         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
22499         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
22500         Moved ...
22501         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
22502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
22503         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
22504         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
22505         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
22506         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
22507         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
22508         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
22509         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
22510         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
22511         Moved ...
22512         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
22513         Update #include.
22514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
22515         Moved ...
22516         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
22517         Update #include.
22518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
22519         Moved ...
22520         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
22521         Update #include.
22522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
22523         Moved ...
22524         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
22525         Update #include.
22526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
22527         Moved ...
22528         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
22529         Update #include.
22530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
22531         Moved ...
22532         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
22533         Update #include.
22534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
22535         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
22536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
22537         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
22538         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
22539         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
22540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
22541         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
22542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
22543         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
22544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22545         Moved ...
22546         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
22547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
22548         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
22549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
22550         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
22552 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22554         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
22555         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
22556         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22557         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
22558         * nscd/nscd.c: Likewise.
22559         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
22560         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
22561         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
22562         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
22564         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
22565         <kernel-features.h>.
22566         (init_mq_netlink): Remove conditional have_sock_cloexec
22567         definitions.  Remove code conditional on have_sock_cloexec < 0.
22568         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
22569         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
22570         * sysdeps/unix/sysv/linux/opensock.c: Do not include
22571         <kernel-features.h>.
22572         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
22573         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
22575 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22577         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22578         Add tests for memset_chk and memset.
22580         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
22581         with AVX2_Usable.
22583 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22585         [BZ #16046]
22586         * elf/tst-dl-iter-static.c: New file.
22587         * elf/Makefile (tests-static): Add tst-dl-iter-static.
22589         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
22590         error.
22592 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22594         * sysdeps/unix/sysv/linux/kernel-features.h
22595         (__ASSUME_F_GETOWN_EX): Remove macro.
22596         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
22597         <kernel-features.h>.
22598         (miss_F_GETOWN_EX): Remove variable or macro.
22599         (do_fcntl): Do not check miss_F_GETOWN_EX.
22600         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
22602         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
22603         Remove macro.
22604         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
22605         [!__ASSUME_AT_RANDOM]: Remove conditional code.
22606         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
22608         * sysdeps/unix/sysv/linux/kernel-features.h
22609         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
22610         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
22611         [ADJ_OFFSET_SS_READ]: Make code unconditional.
22612         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
22614 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22616         [BZ #17075]
22617         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
22618         Fix calculation of the symbol's value.
22619         * sysdeps/arm/tst-armtlsdescloc.c: New file.
22620         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
22621         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
22622         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
22623         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
22624         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
22625         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
22626         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
22627         (modules-names): Add `tst-armtlsdescmod',
22628         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
22629         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
22630         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22631         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
22632         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
22633         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22634         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
22635         ($(objpfx)tst-armtlsdescloc): New dependency.
22636         ($(objpfx)tst-armtlsdescextnow): Likewise.
22637         ($(objpfx)tst-armtlsdescextlazy): Likewise.
22638         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
22639         TLS scheme support.
22640         * sysdeps/arm/configure: Regenerate.
22642 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22644         * include/fcntl.h (__atfct_seterrno): Remove prototype.
22645         (__atfct_seterrno_2): Likewise.
22646         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
22647         <kernel-features.h>.
22648         (__ASSUME_ATFCTS): Do not undefine and redefine.
22649         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
22650         (__have_atfcts): Remove conditional definition.
22651         (__fxstatat([__NR_fstatat64]: Make code unconditional.
22652         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
22653         unreachable if [__ASSUME_ATFCTS].
22654         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
22655         not undefine and redefine.
22656         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
22657         <kernel-features.h>.
22658         (faccessat) [__NR_faccessat]: Make code unconditional.
22659         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
22660         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
22661         <kernel-features.h>.
22662         (fchmodat) [__NR_fchmodat]: Make code unconditional.
22663         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22664         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
22665         <kernel-features.h>.
22666         (fchownat) [__NR_fchownat]: Make code unconditional.
22667         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
22668         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
22669         <kernel-features.h>.
22670         (futimesat) [__NR_futimesat]: Make code unconditional.
22671         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
22672         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22673         <kernel-features.h>.
22674         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22675         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22676         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22677         <kernel-features.h>.
22678         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
22679         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22680         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
22681         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22682         <kernel-features.h>.
22683         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
22684         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22685         * sysdeps/unix/sysv/linux/linkat.c: Do not include
22686         <kernel-features.h>.
22687         (linkat) [__NR_linkat]: Make code unconditional.
22688         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22689         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
22690         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
22691         <kernel-features.h>.
22692         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
22693         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22694         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
22695         <kernel-features.h>.
22696         (mkdirat) [__NR_mkdirat]: Make code unconditional.
22697         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
22698         * sysdeps/unix/sysv/linux/openat.c: Do not include
22699         <kernel-features.h>.
22700         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
22701         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
22702         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
22703         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
22704         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
22705         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
22706         <kernel-features.h>.
22707         (readlinkat) [__NR_readlinkat]: Make code unconditional.
22708         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
22709         result of INLINE_SYSCALL directly, not via int variable.
22710         * sysdeps/unix/sysv/linux/renameat.c: Do not include
22711         <kernel-features.h>.
22712         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
22713         (renameat) [__NR_renameat]: Make code unconditional.
22714         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
22715         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
22716         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
22717         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
22718         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
22719         (__ASSUME_ATFCTS): Do not undefine and redefine.
22720         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
22721         <kernel-features.h>.
22722         (symlinkat) [__NR_symlinkat]: Make code unconditional.
22723         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22724         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
22725         <kernel-features.h>.
22726         (unlinkat) [__NR_unlinkat]: Make code unconditional.
22727         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22728         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
22729         (__ASSUME_ATFCTS): Do not undefine and redefine.
22730         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22731         <kernel-features.h>.
22732         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22733         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22734         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22735         <kernel-features.h>.
22736         (__xmknodat) [__NR_mknodat]: Make code unconditional.
22737         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22739 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22741         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
22743 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
22745         [BZ #17069]
22746         * posix/regcomp.c (parse_reg_exp): Deallocate partially
22747         constructed tree before returning error.
22748         * posix/bug-regexp36.c: Expand test case.
22750 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22752         [BZ #6803]
22753         * math/libm-test.inc (scalbln_test_date):
22754         Add errno expectations.
22755         * math/w_scalblnf.c: New File.
22756         Add wrapper which checks for setting errno to ERANGE.
22757         Add weak_alias for corresponding scalbln function.
22758         * math/w_scalbln.c: Likewise.
22759         * math/w_scalblnl.c: Likewise.
22760         * math/Makefile (libm-calls): Add w_scalbln.
22761         * sysdeps/ieee754/flt-32/s_scalblnf.c:
22762         Remove weak_alias for corresponding scalbln function.
22763         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22764         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22765         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22766         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22767         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22768         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
22769         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
22770         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
22771         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
22772         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
22773         Remove long_double_symbol for scalblnl function in libm, libc.
22774         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
22775         Add wrapper which checks for setting errno to ERANGE.
22776         Add long_double_symbol for scalblnl function in libm, libc.
22777         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
22778         Remove long_double_symbol for scalblnl in libm.
22779         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
22780         Add wrapper which checks for setting errno to ERANGE.
22781         Add long_double_symbol for scalblnl function in libm.
22782         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
22783         Do not use wrapper because of own implementation.
22785 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
22787         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
22788         3 bytes for __pad1 for x32.
22789         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
22791 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
22792             H.J. Lu  <hongjiu.lu@intel.com>
22794         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
22795         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
22796         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22797         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22798         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22800 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
22802         [BZ #17069]
22803         * posix/regcomp.c (parse_expression): Deallocate partially
22804         constructed tree before returning error.
22805         * posix/Makefile.c (tests): Add bug-regex36.
22806         (generated): Add bug-regex36.mtrace.
22807         (tests-special): Add $(objpfx)bug-regex36-mem.out
22808         (bug-regex36-ENV): New variable.
22809         ($(objpfx)bug-regex36-mem.out): New rule.
22810         * posix/bug-regex36.c: New file.
22812 2014-06-19  Will Newton  <will.newton@linaro.org>
22814         * malloc/malloc.c (systrim): If extra is zero then return
22815         early.
22817 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22819         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
22821 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
22823         * sysdeps/aarch64/strchr.S: New file.
22825 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22827         [BZ #17022]
22828         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
22829         from arguments -2 or below.
22830         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22831         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
22833 2014-06-18  Andreas Schwab  <schwab@suse.de>
22835         [BZ #17062]
22836         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
22837         of a bracket expr not to run off the end of the string.
22838         * posix/Makefile (tests): Add tst-fnmatch3.
22839         * posix/tst-fnmatch3.c: New file.
22841 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22843         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
22844         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
22845         [$(cross-compiling) = no]: Likewise.
22846         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
22847         [$(cross-compiling) = no]: Likewise.
22849 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22851         [BZ #17031]
22852         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
22853         double, adjusted for any remainder from the high double.
22854         * math/libm-test.inc (nearbyint): Add tests.
22855         (rint): Likewise.
22857 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22859         * nptl/sysdeps/powerpc/Makefile: Moved ...
22860         * sysdeps/powerpc/nptl/Makefile: ... here.
22861         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
22862         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
22863         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
22864         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
22865         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
22866         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
22867         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
22868         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
22869         * nptl/sysdeps/powerpc/tls.h: Moved ...
22870         * sysdeps/powerpc/nptl/tls.h: ... here.
22872 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
22874         [BZ #16681]
22875         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
22876         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
22877         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
22878         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
22879         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
22880         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
22881         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
22882         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
22883         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
22885 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
22887         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22889 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
22891         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
22892         defined operator.
22894         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
22895         $TIMEOUTFACTOR.
22897 2014-06-16  Florian Weimer  <fweimer@redhat.com>
22899         [BZ #17058]
22900         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
22901         non-executed part of the test.
22903 2014-06-16  Andreas Schwab  <schwab@suse.de>
22905         * string/bits/string2.h (strdup, strndup): Update feature guard.
22907 2014-06-14  David S. Miller  <davem@davemloft.net>
22909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22911 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
22913         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
22914         that was previously under [RESET_PID].
22915         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
22917         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
22918         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
22919         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
22920         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22921         (__libc_vfork): New strong alias.
22922         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
22924 2014-06-14 Andi Kleen  <ak@linux.intel.com>
22926         * sysdeps/generic/elide.h: New file.
22928 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22930         * Makefile (installed-headers): Adjust path of pthread.h header.
22932 2014-06-13  Roland McGrath  <roland@hack.frob.com>
22934         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
22935         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
22936         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
22937         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
22939         * nptl/sysdeps/s390/Makefile: Moved ...
22940         * sysdeps/s390/nptl/Makefile: ... here.
22941         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
22942         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
22943         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
22944         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
22945         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
22946         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
22947         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
22948         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
22949         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
22950         * sysdeps/s390/nptl/pthreaddef.h: ... here.
22951         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
22952         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
22953         * nptl/sysdeps/s390/tls.h: Moved ...
22954         * sysdeps/s390/nptl/tls.h: ... here.
22956         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
22957         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
22959 2014-06-13  David S. Miller  <davem@davemloft.net>
22961         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
22962         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
22963         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
22964         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
22965         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
22966         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
22967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
22968         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
22969         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
22970         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
22971         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
22972         Remove RESET_PID cpp guards.
22973         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
22974         Remove RESET_PID cpp guards.
22975         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
22977 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
22979         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
22980         __sp to uintptr_t.
22982 2014-06-13  Andi Kleen  <ak@linux.intel.com>
22984         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
22985         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
22986         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
22987         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
22988         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
22989         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
22990         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
22991         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
22992         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
22993         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
22994         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
22995         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
22996         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
22997         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
22998         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
22999         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
23000         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
23001         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
23002         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
23003         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
23005         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
23006         (pthread_rwlock_rdlock): Add elision.
23007         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
23008         (pthread_rwlock_wrlock): Add elision.
23009         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
23010         (pthread_rwlock_trywrlock): Add elision.
23011         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
23012         (pthread_rwlock_tryrdlock): Add elision.
23013         * nptl/pthread_rwlock_unlock.c: Include elide.h.
23014         (pthread_rwlock_tryrdlock): Add elision unlock.
23015         * nptl/sysdeps/pthread/pthread.h:
23016         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
23017         (PTHREAD_RWLOCK_INITIALIZER,
23018         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
23019         Handle new elision field.
23020         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
23021         * sysdeps/arm/nptl/bits/pthreadtypes.h
23022         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23023         * sysdeps/sh/nptl/bits/pthreadtypes.h
23024         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23025         * sysdeps/tile/nptl/bits/pthreadtypes.h
23026         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23027         * sysdeps/a/nptl/bits/pthreadtypes.h
23028         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23029         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23030         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23031         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23032         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23033         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
23034         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23035         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23036         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23037         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23038         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23039         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23040         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23041         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23042         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23043         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
23044         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23045         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
23046         (elision_init): Set try_xbegin to zero when no RTM.
23047         * sysdeps/x86/nptl/bits/pthreadtypes.h
23048         (pthread_rwlock_t): Change __pad1 to __rwelision.
23049         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23051 2014-06-13  Andi Kleen  <ak@linux.intel.com>
23053         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
23054         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
23055         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
23056         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
23058 2014-06-13  Meador Inge  <meadori@codesourcery.com>
23060         [BZ #16996]
23061         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
23062         that the cached result has been set before returning it.
23064 2014-06-12  Roland McGrath  <roland@hack.frob.com>
23066         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
23067         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
23068         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
23069         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
23070         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
23071         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
23073         * nptl/sysdeps/sparc/Makefile: Moved ...
23074         * sysdeps/sparc/nptl/Makefile: ... here.
23075         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
23076         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
23077         * nptl/sysdeps/sparc/tls.h: Moved ...
23078         * sysdeps/sparc/nptl/tls.h: ... here.
23079         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
23080         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
23081         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
23082         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
23083         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
23084         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
23085         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
23086         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
23087         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
23088         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
23089         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
23090         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
23091         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
23092         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
23093         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
23094         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
23095         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
23096         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
23097         Update #include.
23098         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
23099         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
23100         Update #include.
23101         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
23102         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
23103         Update #include.
23104         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
23105         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
23106         Update #include.
23108         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
23110         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
23111         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
23113         * sysdeps/pthread/posix-timer.h: Include <list.h>.
23114         (struct list_links): Type removed.
23115         (struct thread_node, struct timer_node): Replace struct list_links
23116         with struct list_head.
23117         (list_unlink_ip): Likewise.
23118         * sysdeps/pthread/timer_routines.c
23119         (timer_free_list, thread_free_list, thread_active_list): Likewise.
23120         (list_append, list_insbefore): Likewise.
23121         (list_init): Function removed.
23122         (thread_init, init_module): Use INIT_LIST_HEAD instead.
23123         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
23124         * sysdeps/pthread/Makefile: ... here, new file.
23126         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
23127         * sysdeps/nptl/Implies: ... here.
23128         * sysdeps/unix/sysv/linux/Implies: Add nptl.
23129         * nptl/sysdeps/pthread/list.h: Moved ...
23130         * include/list.h: ... here.
23131         * nptl/sysdeps/pthread/createthread.c: Moved ...
23132         * nptl/createthread.c: ... here.
23133         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
23134         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
23135         * nptl/pt-longjmp.c: ... here.
23136         * nptl/sysdeps/pthread/Makefile: Moved ...
23137         * sysdeps/nptl/Makefile: ... here.
23138         * nptl/sysdeps/pthread/Subdirs: Moved ...
23139         * sysdeps/nptl/Subdirs: ... here.
23140         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
23141         * sysdeps/nptl/aio_misc.h: ... here.
23142         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
23143         * sysdeps/nptl/bits/libc-lock.h: ... here.
23144         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
23145         * sysdeps/nptl/bits/libc-lockP.h: ... here.
23146         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
23147         * sysdeps/nptl/bits/stdio-lock.h: ... here.
23148         * nptl/sysdeps/pthread/configure: Moved ...
23149         * sysdeps/nptl/configure: ... here.
23150         * nptl/sysdeps/pthread/configure.ac: Moved ...
23151         * sysdeps/nptl/configure.ac: ... here.
23152         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
23153         * sysdeps/nptl/gai_misc.h: ... here.
23154         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
23155         * sysdeps/nptl/librt-cancellation.c: ... here.
23156         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
23157         * sysdeps/nptl/malloc-machine.h: ... here.
23158         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
23159         * sysdeps/nptl/pthread-functions.h: ... here.
23160         * nptl/sysdeps/pthread/pthread.h: Moved ...
23161         * sysdeps/nptl/pthread.h: ... here.
23162         * nptl/sysdeps/pthread/setxid.h: Moved ...
23163         * sysdeps/nptl/setxid.h: ... here.
23164         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
23165         * sysdeps/nptl/sigfillset.c: ... here.
23166         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
23167         * sysdeps/nptl/tcb-offsets.h: ... here.
23168         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
23169         * sysdeps/nptl/tst-mqueue8x.c: ... here.
23170         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
23171         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
23172         * nptl/sysdeps/pthread/allocalim.h: Moved ...
23173         * sysdeps/pthread/allocalim.h: ... here.
23174         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
23175         * sysdeps/pthread/bits/sigthread.h: ... here.
23176         * nptl/sysdeps/pthread/flockfile.c: Moved ...
23177         * sysdeps/pthread/flockfile.c: ... here.
23178         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
23179         * sysdeps/pthread/ftrylockfile.c: ... here.
23180         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
23181         * sysdeps/pthread/funlockfile.c: ... here.
23182         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
23183         * sysdeps/pthread/posix-timer.h: ... here.
23184         * nptl/sysdeps/pthread/timer_create.c: Moved ...
23185         * sysdeps/pthread/timer_create.c: ... here.
23186         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
23187         * sysdeps/pthread/timer_delete.c: ... here.
23188         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
23189         * sysdeps/pthread/timer_getoverr.c: ... here.
23190         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
23191         * sysdeps/pthread/timer_gettime.c: ... here.
23192         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
23193         * sysdeps/pthread/timer_routines.c: ... here.
23194         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
23195         * sysdeps/pthread/timer_settime.c: ... here.
23196         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
23197         * sysdeps/pthread/tst-timer.c: ... here.
23198         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
23199         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
23201         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
23202         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
23204         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
23205         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
23206         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
23207         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
23208         Update #include target.
23209         * nptl/sysdeps/i386/i686/Makefile: Moved ...
23210         * sysdeps/i386/i686/nptl/Makefile: ... here.
23211         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
23212         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
23213         Update #include target.
23214         * nptl/sysdeps/i386/i686/tls.h: Moved ...
23215         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
23216         * nptl/sysdeps/i386/Makefile: Moved ...
23217         * sysdeps/i386/nptl/Makefile: ... here.
23218         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
23219         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
23220         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
23221         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
23222         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
23223         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
23224         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
23225         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
23226         * sysdeps/i386/nptl/pthreaddef.h: ... here.
23227         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
23228         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
23229         * nptl/sysdeps/i386/tls.h: Moved ...
23230         * sysdeps/i386/nptl/tls.h: ... here.
23232         * sysdeps/sh/Makefile [$(subdir) = csu]
23233         (gen-as-const-headers): Add tcb-offsets.sym.
23234         * nptl/sysdeps/sh/Makefile: File removed.
23235         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
23236         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
23237         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
23238         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
23239         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
23240         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
23241         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
23242         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
23243         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
23244         * sysdeps/sh/nptl/pthreaddef.h: ... here.
23245         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
23246         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
23247         * nptl/sysdeps/sh/tls.h: Moved ...
23248         * sysdeps/sh/nptl/tls.h: ... here.
23249         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
23250         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
23251         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
23252         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
23253         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
23254         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
23255         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
23256         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
23257         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
23258         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
23259         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
23260         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
23261         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
23262         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
23263         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
23264         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
23265         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
23266         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
23267         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
23268         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
23269         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
23270         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
23271         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
23272         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
23273         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
23274         Moved ...
23275         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
23276         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
23277         Moved ...
23278         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
23279         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
23280         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
23281         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
23282         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
23283         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
23284         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
23285         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
23286         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
23287         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
23288         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
23289         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
23290         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
23291         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
23292         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
23293         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
23294         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
23295         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
23296         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
23298 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23300         * posix/spawn_faction_addopen.c: Include string.h.
23302 2014-06-11  Roland McGrath  <roland@hack.frob.com>
23304         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
23305         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
23306         * nptl/sysdeps/x86_64/Makefile: Moved ...
23307         * sysdeps/x86_64/nptl/Makefile: ... here.
23308         * nptl/sysdeps/x86_64/configure: Moved ...
23309         * sysdeps/x86_64/nptl/configure: ... here.
23310         * nptl/sysdeps/x86_64/configure.ac: Moved ...
23311         * sysdeps/x86_64/nptl/configure.ac: ... here.
23312         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
23313         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
23314         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
23315         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
23316         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
23317         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
23318         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
23319         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
23320         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
23321         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
23322         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
23323         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
23324         * nptl/sysdeps/x86_64/tls.h: Moved ...
23325         * sysdeps/x86_64/nptl/tls.h: ... here.
23326         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
23327         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
23328         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
23329         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
23331         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
23333 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23337 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
23339         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
23340         type.
23341         [POSIX] (off_t): Likewise.
23342         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
23343         [POSIX] (S_ISBLK): Require macro.
23344         [POSIX] (S_ISCHR): Likewise.
23345         [POSIX] (S_ISDIR): Likewise.
23346         [POSIX] (S_ISFIFO): Likewise.
23347         [POSIX] (S_ISREG): Likewise.
23348         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
23349         optional-macro.
23350         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
23351         type.
23352         [POSIX] (time_t): Likewise.
23353         [POSIX] (timer_t): Likewise.
23355 2014-06-11  Florian Weimer  <fweimer@redhat.com>
23357         [BZ #17048]
23358         * posix/spawn_int.h (struct __spawn_action): Make the path string
23359         non-const to support deallocation.
23360         * posix/spawn_faction_addopen.c
23361         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
23362         * posix/spawn_faction_destroy.c
23363         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
23364         path in all spawn_do_open actions.
23365         * posix/tst-spawn.c (do_test): Exercise the copy operation in
23366         posix_spawn_file_actions_addopen.
23368 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
23370         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
23371         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
23372         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
23373         conditional code always true.
23374         (__libc_vfork): New alias.
23376 2014-06-11  Roland McGrath  <roland@hack.frob.com>
23378         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23379         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
23381         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
23383         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23384         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
23386         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
23387         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
23389         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23390         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
23392 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23394         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
23395         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
23396         multiarch strcmp for PPC64.
23397         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
23398         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
23399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
23400         multiarch optimizations.
23401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23402         (__libc_ifunc_impl_list): Likewise.
23404 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23406         * benchtests/scripts/validate_benchout.py: New script.
23407         * benchtests/Makefile (bench-func): Call it.
23408         * benchtests/scripts/benchout.schema.json: New file.
23410 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
23412         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
23413         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
23414         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
23415         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
23416         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
23417         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23418         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
23419         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
23420         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
23421         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
23422         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
23423         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
23424         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
23425         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
23426         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
23427         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
23428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
23429         Moved ...
23430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
23431         ... here.
23432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
23433         Moved ...
23434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
23435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
23436         Moved ...
23437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
23438         ... here.
23439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
23440         Moved ...
23441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
23442         ... here.
23443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
23444         Moved ...
23445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
23446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
23447         Moved ...
23448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
23449         ... here.
23450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
23451         Moved ...
23452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
23453         ... here.
23454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
23455         Moved ...
23456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
23457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
23458         Moved ...
23459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
23460         ... here.
23461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
23462         Moved ...
23463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
23464         ... here.
23465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
23466         Moved ...
23467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
23468         ... here.
23469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
23470         Moved ...
23471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
23472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
23473         Moved ...
23474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
23475         ... here.
23476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
23477         Moved ...
23478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
23479         ... here.
23480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
23481         Moved ...
23482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
23483         ... here.
23484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
23485         Moved ...
23486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
23487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
23488         Moved ...
23489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
23490         ... here.
23491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
23492         Moved ...
23493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
23494         ... here.
23495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
23496         Moved ...
23497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
23498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
23499         Moved ...
23500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
23501         ... here.
23502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
23503         Moved ...
23504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
23505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
23506         Moved ...
23507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
23508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
23509         Moved ...
23510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
23511         ... here.
23512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
23513         Moved ...
23514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
23515         ... here.
23516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
23517         Moved ...
23518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
23519         ... here.
23520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
23521         Moved ...
23522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
23523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
23524         Moved ...
23525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
23526         ... here.
23527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
23528         Moved ...
23529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
23530         ... here.
23531         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
23532         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
23533         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
23534         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
23535         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
23536         Moved ...
23537         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23538         ... here.
23539         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
23540         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
23541         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
23542         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
23543         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
23544         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
23545         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
23546         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
23547         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
23548         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
23549         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
23550         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
23551         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
23552         Moved ...
23553         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
23554         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
23555         Moved ...
23556         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
23557         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
23558         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
23559         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
23560         Moved ...
23561         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
23562         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
23563         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
23564         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
23565         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
23566         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
23567         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
23569 2014-06-10  Wilco  <wdijkstr@arm.com>
23571         * math/test-fenv-return.c: New file.
23572         * math/Makefile: Add new test test-fenv-return.
23574 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
23576         [BZ #17042]
23577         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
23578         when x - 1 is zero.
23579         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
23580         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
23581         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
23582         0.0L for an argument of 1.0L.
23583         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
23584         Likewise.
23585         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
23586         value when x - 1 is zero.
23587         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
23588         * sysdeps/i386/fpu/libm-test-ulps: Update.
23589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23591 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
23593         [BZ #15119]
23594         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
23596 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23598         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
23599         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
23601 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23603         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23604         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
23606         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23607         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
23609         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23610         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
23612         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23613         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
23615         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
23616         if not already defined.
23617         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
23618         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
23619         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
23620         (TLS_INIT_TP): Use it.
23621         (TLS_DEFINE_INIT_TP): New macro.
23622         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
23624 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
23626         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
23627         constant.
23628         [POSIX] (IXANY): Likewise.
23629         [POSIX] (OLCUC): Likewise.
23630         [POSIX || POSIX2008] (CBAUD): Do not allow.
23631         [POSIX || POSIX2008] (DEFECHO): Likewise.
23632         [POSIX || POSIX2008] (ECHOCTL): Likewise.
23633         [POSIX || POSIX2008] (ECHOKE): Likewise.
23634         [POSIX || POSIX2008] (ECHOPRT): Likewise.
23635         [POSIX || POSIX2008] (EXTA): Likewise.
23636         [POSIX || POSIX2008] (EXTB): Likewise.
23637         [POSIX || POSIX2008] (FLUSHO): Likewise.
23638         [POSIX || POSIX2008] (LOBLK): Likewise.
23639         [POSIX || POSIX2008] (PENDIN): Likewise.
23640         [POSIX || POSIX2008] (SWTCH): Likewise.
23641         [POSIX || POSIX2008] (VDISCARD): Likewise.
23642         [POSIX || POSIX2008] (VDSUSP): Likewise.
23643         [POSIX || POSIX2008] (VLNEXT): Likewise.
23644         [POSIX || POSIX2008] (VREPRINT): Likewise.
23645         [POSIX || POSIX2008] (VSTATUS): Likewise.
23646         [POSIX || POSIX2008] (VWERASE): Likewise.
23647         (B*): Change to B[0123456789]*.
23648         * conform/data/time.h-data [POSIX || UNIX98]
23649         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
23650         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23651         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
23652         [POSIX] (tm_*): Do not allow.
23654 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
23656         * Makefile (install): Don't set LANGUAGE.
23657         * Makefile.in (install): Likewise.
23658         * assert/Makefile (test-assert-ENV): Remove variable.
23659         (test-assert-perr-ENV): Likewise.
23660         * elf/Makefile (neededtest4-ENV): Likewise.
23661         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23662         [$(cross-compiling) = no]: Don't set LANGUAGE.
23663         * io/ftwtest-sh (LANG): Remove variable.
23664         * libio/Makefile (tst-widetext-ENV): Likewise.
23665         * manual/install.texi (Running make install): Don't refer to
23666         environment settings for make install.
23667         * INSTALL: Regenerated.
23668         * nptl/tst-tls6.sh: Don't set LANG.
23669         * posix/globtest.sh (LANG): Remove variable.
23670         * string/Makefile (tester-ENV): Likewise.
23671         (inl-tester-ENV): Likewise.
23672         (noinl-tester-ENV): Likewise.
23673         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23674         [$(cross-compiling) = no]: Don't set LANGUAGE.
23675         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
23676         without explicit environment settings.
23678 2014-06-06  Roland McGrath  <roland@hack.frob.com>
23680         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
23681         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
23682         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
23683         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
23685 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
23687         * crypt/crypt-private.h [DOS]: Add some includes taken from the
23688         other files in the crypt directory.
23689         * crypt/crypt.c: Remove duplicate includes.
23690         * crypt/crypt-entry.c: Likewise.
23691         * crypt/crypt_util.c: Likewise.
23693 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
23695         * Makeconfig (run-program-env): New variable.
23696         (run-program-prefix-before-env): Likewise.
23697         (run-program-prefix-after-env): Likewise.
23698         (run-program-prefix): Define in terms of new variables.
23699         (built-program-cmd-before-env): New variable.
23700         (built-program-cmd-after-env): Likewise.
23701         (built-program-cmd): Define in terms of new variables.
23702         (test-program-prefix-before-env): New variable.
23703         (test-program-prefix-after-env): Likewise.
23704         (test-program-prefix): Define in terms of new variables.
23705         (test-program-cmd-before-env): New variable.
23706         (test-program-cmd-after-env): Likewise.
23707         (test-program-cmd): Define in terms of new variables.
23708         * Rules (make-test-out): Use $(run-program-env).
23709         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
23710         (help): Do not mention environment variables.  Mention
23711         --timeoutfactor option.
23712         (timeoutfactor): New variable.
23713         (blacklist_exports): Remove function.
23714         (exports): Remove variable.
23715         (command): Do not include ${exports}.
23716         * manual/install.texi (Configuring and compiling): Do not mention
23717         test wrappers preserving environment variables.  Mention that last
23718         assignment to a variable must take precedence.
23719         * INSTALL: Regenerated.
23720         * benchtests/Makefile (run-bench): Use $(run-program-env).
23721         * catgets/Makefile ($(objpfx)test1.cat): Use
23722         $(built-program-cmd-before-env), $(run-program-env) and
23723         $(built-program-cmd-after-env).
23724         ($(objpfx)test2.cat): Do not specify environment variables
23725         explicitly.
23726         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
23727         $(run-program-env) and $(built-program-cmd-after-env).
23728         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
23729         $(run-program-env) and $(test-program-cmd-after-env).
23730         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
23731         explicitly.
23732         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
23733         run_program_env and test_program_cmd_after_env arguments.
23734         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
23735         * elf/tst-pathopt.sh: Use run_program_env argument.
23736         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
23737         $(test-wrapper-env) and $(run-program-env).
23738         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
23739         run_program_env arguments.
23740         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
23741         * intl/Makefile ($(objpfx)tst-gettext.out): Use
23742         $(test-program-prefix-before-env), $(run-program-env) and
23743         $(test-program-prefix-after-env).
23744         ($(objpfx)tst-gettext2.out): Likewise.
23745         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
23746         run_program_env and test_program_prefix_after_env arguments.
23747         * intl/tst-gettext2.sh: Likewise.
23748         * intl/tst-gettext4.sh: Do not set environment variables
23749         explicitly.
23750         * intl/tst-gettext6.sh: Likewise.
23751         * intl/tst-translit.sh: Likewise.
23752         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
23753         $(test-program-prefix-before-env), $(run-program-env) and
23754         $(test-program-prefix-after-env).
23755         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
23756         run_program_env and test_program_prefix_after_env arguments.
23757         * math/Makefile (run-regen-ulps): Use $(run-program-env).
23758         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
23759         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
23760         explicitly with each use of ${test_wrapper_env}.
23761         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
23762         $(test-program-prefix-before-env), $(run-program-env) and
23763         $(test-program-prefix-after-env).
23764         * posix/tst-getconf.sh: Do not set environment variables
23765         explicitly.
23766         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
23767         run_program_env and test_program_prefix_after_env arguments.
23768         * stdio-common/tst-printf.sh: Do not set environment variables
23769         explicitly.
23770         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
23771         $(test-program-prefix-before-env), $(run-program-env) and
23772         $(test-program-prefix-after-env).
23773         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
23774         run_program_env and test_program_prefix_after_env arguments.
23775         Split $test calls into $test_pre and $test.
23776         * timezone/Makefile (build-testdata): Use
23777         $(built-program-cmd-before-env), $(run-program-env) and
23778         $(built-program-cmd-after-env).
23780 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23782         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
23783         strlen for non SHARED builds.
23785 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23787         * nptl/allocatestack.c (check_list): Inlined function...
23788         (__reclaim_stacks): ... here.
23790 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23792         [BZ #15698]
23793         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23794         memory overrun.
23796 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
23798         * Rules (make-test-out): Include
23799         LOCPATH=$(common-objpfx)localedata in default environment.
23800         * debug/Makefile (tst-chk1-ENV): Remove variable.
23801         (tst-chk2-ENV): Likewise.
23802         (tst-chk3-ENV): Likewise.
23803         (tst-chk4-ENV): Likewise.
23804         (tst-chk5-ENV): Likewise.
23805         (tst-chk6-ENV): Likewise.
23806         (tst-lfschk1-ENV): Likewise.
23807         (tst-lfschk2-ENV): Likewise.
23808         (tst-lfschk3-ENV): Likewise.
23809         (tst-lfschk4-ENV): Likewise.
23810         (tst-lfschk5-ENV): Likewise.
23811         (tst-lfschk6-ENV): Likewise.
23812         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
23813         (tst-iconv7-ENV): Likewise.
23814         * intl/Makefile (LOCPATH-ENV): Likewise.
23815         (tst-codeset-ENV): Likewise.
23816         (tst-gettext3-ENV): Likewise.
23817         (tst-gettext5-ENV): Likewise.
23818         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
23819         (tst-fopenloc-ENV): Likewise.
23820         (tst-fgetws-ENV): Remove variable.
23821         (tst-ungetwc1-ENV): Likewise.
23822         (tst-ungetwc2-ENV): Likewise.
23823         (bug-ungetwc2-ENV): Likewise.
23824         (tst-swscanf-ENV): Likewise.
23825         (bug-ftell-ENV): Likewise.
23826         (tst-fgetwc-ENV): Likewise.
23827         (tst-fseek-ENV): Likewise.
23828         (tst-ftell-partial-wide-ENV): Likewise.
23829         (tst-ftell-active-handler-ENV): Likewise.
23830         (tst-ftell-append-ENV): Likewise.
23831         * posix/Makefile (tst-fnmatch-ENV): Likewise.
23832         (tst-regexloc-ENV): Likewise.
23833         (bug-regex1-ENV): Likewise.
23834         (tst-regex-ENV): Likewise.
23835         (tst-regex2-ENV): Likewise.
23836         (bug-regex5-ENV): Likewise.
23837         (bug-regex6-ENV): Likewise.
23838         (bug-regex17-ENV): Likewise.
23839         (bug-regex18-ENV): Likewise.
23840         (bug-regex19-ENV): Likewise.
23841         (bug-regex20-ENV): Likewise.
23842         (bug-regex22-ENV): Likewise.
23843         (bug-regex23-ENV): Likewise.
23844         (bug-regex25-ENV): Likewise.
23845         (bug-regex26-ENV): Likewise.
23846         (bug-regex30-ENV): Likewise.
23847         (bug-regex32-ENV): Likewise.
23848         (bug-regex33-ENV): Likewise.
23849         (bug-regex34-ENV): Likewise.
23850         (bug-regex35-ENV): Likewise.
23851         (tst-rxspencer-ENV): Likewise.
23852         (tst-rxspencer-no-utf8-ENV): Likewise.
23853         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
23854         (tst-sscanf-ENV): Likewise.
23855         (tst-swprintf-ENV): Likewise.
23856         (tst-swscanf-ENV): Likewise.
23857         (test-vfprintf-ENV): Likewise.
23858         (scanf13-ENV): Likewise.
23859         (bug14-ENV): Likewise.
23860         (tst-grouping-ENV): Likewise.
23861         * stdlib/Makefile (tst-strtod-ENV): Likewise.
23862         (tst-strtod3-ENV): Likewise.
23863         (tst-strtod4-ENV): Likewise.
23864         (tst-strtod5-ENV): Likewise.
23865         (testmb2-ENV): Likewise./
23866         * string/Makefile (tst-strxfrm-ENV): Likewise.
23867         (tst-strxfrm2-ENV): Likewise.
23868         (bug-strcoll1-ENV): Likewise.
23869         (test-strcasecmp-ENV): Likewise.
23870         (test-strncasecmp-ENV): Likewise.
23871         * time/Makefile (tst-strptime-ENV): Likewise.
23872         (tst-ftime_l-ENV): Likewise.
23873         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
23874         (tst-mbrtowc-ENV): Likewise.
23875         (tst-wcrtomb-ENV): Likewise.
23876         (tst-mbrtowc2-ENV): Likewise.
23877         (tst-c16c32-1-ENV): Likewise.
23878         (tst-mbsnrtowcs-ENV): Likewise.
23880 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23882         * manual/resource.texi (How to get information about the memory
23883         subsystem?): Fix typo.
23884         Reported by Peon de la Parra Ivan <peon@keba.com>
23886 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
23888         [BZ #16882]
23889         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
23890         (pthread_spin_lock): Branch out of spin loop to proper location.
23891         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
23892         (pthread_spin_lock): Likewise.
23894         * nptl/tst-spin4.c: New test.
23895         * nptl/Makefile (tests): Add tst-spin4.
23897 2014-06-03  Andreas Schwab  <schwab@suse.de>
23899         [BZ #15946]
23900         * resolv/res_send.c (send_dg): Reload file descriptor after
23901         calling reopen.
23903 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
23905         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23907 2014-06-03  Richard Henderson  <rth@redhat.com>
23909         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
23910         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
23911         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
23912         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
23913         in the SAVE_PID block.
23914         (__libc_vfork): New alias.
23915         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
23917         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
23918         child in registers, not on the stack.  Remove RESET_PID conditionals.
23919         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
23921 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23923         * sysdeps/aarch64/libm-test-ulps: Regenerate.
23925 2014-06-03  Wilco  <wdijkstr@arm.com>
23927         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
23928         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
23929         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23930         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
23931         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
23932         Likewise.
23934 2014-06-03  Wilco  <wdijkstr@arm.com>
23936         * sysdeps/aarch64/fpu/math_private.h
23937         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
23938         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
23939         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
23940         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23941         Fix declarations.
23943 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23945         * crypt/crypt-private.h: Include ufc-crypt.h.
23946         (__b64_from_24bit): Declare extern.
23947         * crypt/crypt_util.c(__b64_from_24bit): New function.
23948         (b64t): New static const variable.
23949         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
23950         (b64t): Remove variable.
23951         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
23952         * crypt/sha256-crypt.c: Include crypt-private.h.
23953         (b64t): Remove variable.
23954         (__sha256_crypt_r): Remove b64_from_24bit and replace
23955         with __b64_from_24bit.
23956         * crypt/sha512-crypt.c: Likewise.
23958 2014-06-02  Roland McGrath  <roland@hack.frob.com>
23960         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
23961         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
23962         Label the code __libc_vfork rather than __vfork.
23963         [!NOT_IN_libc] (vfork): Define as weak alias.
23964         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
23965         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
23966         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
23968 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23970         * malloc/malloc.c (malloc_info): Fix format specifier for
23971         n_mmaps.
23973 2014-06-02  Wilco  <wdijkstr@arm.com>
23975         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
23976         FPCR write.
23978 2014-06-02  Wilco  <wdijkstr@arm.com>
23980         [BZ #17009]
23981         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
23982         Rewrite to reduce FPCR/FPSR accesses.
23984 2014-06-01  David S. Miller  <davem@davemloft.net>
23986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23988 2014-05-31  David S. Miller  <davem@davemloft.net>
23990         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
23991         to occur in round to nearest mode when |x| >= 2.0
23993 2014-05-30  Richard Henderson  <rth@twiddle.net>
23995         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
23996         (PSEUDO_RET_NOERRNO): Remove.
23997         (ret): Don't redefine.
23998         (ret_NOERRNO): Define in terms of ret.
23999         (ret_ERRVAL): Likewise.
24001         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
24002         use of PSEUDO_RET; perform the error check directly.
24004 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
24006         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
24007         with __int128_t.
24009 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24011         * malloc/malloc (malloc_info): Fix formatting.
24013 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24014             Roland McGrath  <roland@hack.frob.com>
24016         * malloc/malloc (malloc_info): Also print mmapped statistics.
24018 2014-05-30  Roland McGrath  <roland@hack.frob.com>
24020         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
24021         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
24023 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
24025         * malloc/malloc.c (malloc_info): Inline mi_arena.
24027 2014-05-29  Richard Henderson  <rth@twiddle.net>
24029         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
24030         Remove comma before expanding ASM_ARGS_##nr.
24031         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
24032         Make _x0 a strict output; make _x8 a strict input; adjust expansion
24033         of ASM_ARGS_##nr.
24034         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
24035         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
24036         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
24037         (ASM_ARGS_1): Add leading comma.
24039         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
24040         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
24041         to __errno_location.
24042         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
24043         Remove the expected plt for __errno_location.
24045         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24046         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
24047         call to __read_tp.
24049         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24050         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
24051         it and break it down.
24052         (DOCARGS_0, DOCARGS_1): Do nothing.
24053         (DOCARGS_2): Update to store into the new stack frame.
24054         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
24055         (UNDOCARGS_1): Update to restore from the new stack frame.
24056         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
24057         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
24059         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24060         (SINGLE_THREAD_P): New parameter for result regno.
24061         (PSEUDO): Update to match; use cbz instead of beq.
24063         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24064         Use ENTRY to define the _nocancel entry point.  Share the syscall
24065         and syscall error check paths with the cancel path.
24066         (PSEUDO_END): New.
24068         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
24069         whitespace; tabs before and after asm mnemonics.
24071 2014-05-29  Eric Wong  <normalperson@yhbt.net>
24073         [BZ #15132]
24074         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24075         Call fstat64 or stat64 internally, depending on arguments passed.
24076         Replace stat buffer argument with file descriptor argument.
24077         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
24078         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24079         Pass fd to __internal_statvfs instead of calling fstat64.
24080         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
24081         Pass fd to __internal_statvfs64 instead of calling fstat64.
24082         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
24083         Pass -1 to __internal_statvfs instead of calling stat64.
24084         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
24085         Pass -1 to __internal_statvfs64 instead of calling stat64.
24087 2014-05-28  Roland McGrath  <roland@hack.frob.com>
24089         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
24090         that was previously under [RESET_PID].
24091         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
24093         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
24094         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
24096 2014-05-27  Roland McGrath  <roland@hack.frob.com>
24098         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
24100         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
24101         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
24103 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
24105         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
24107 2014-05-27  Andreas Schwab  <schwab@suse.de>
24109         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
24110         TLS_INIT_TP macro.
24111         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
24112         * elf/rtld.c (init_tls, dl_main): Likewise.
24113         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
24114         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
24115         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
24116         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
24117         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
24118         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
24119         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
24120         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
24121         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
24122         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
24123         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
24124         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
24125         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
24126         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
24127         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
24128         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
24129         * sysdeps/generic/tls.h: Update description.
24131 2014-05-27  Will Newton  <will.newton@linaro.org>
24133         [BZ #16990]
24134         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
24135         and restore r2 rather than just restoring.
24137 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24139         [BZ #16724]
24140         * libio/tst-ftell-append.c: New test case.
24141         * libio/Makefile (tests): Add test case.
24142         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
24143         append mode.
24144         * libio/wfileops.c (do_ftell_wide): Likewise.
24146 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24150         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
24151         ...
24152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
24153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24154         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
24155         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
24156         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
24157         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
24158         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
24159         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
24160         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24161         Moved ...
24162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
24163         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24164         Moved ...
24165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
24166         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
24167         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
24168         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
24169         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
24170         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
24171         ...
24172         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
24173         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
24174         Moved ...
24175         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
24176         here.
24177         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
24178         ...
24179         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
24180         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
24181         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
24183         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
24184         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
24185         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
24186         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
24188         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
24189         merge into ...
24190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
24191         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
24192         ...
24193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
24194         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
24195         ...
24196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
24197         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
24198         Moved ...
24199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
24200         here.
24201         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
24202         Moved ...
24203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
24204         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
24205         Moved ...
24206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
24208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
24209         conditional [RESET_PID].
24210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
24211         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
24212         removed.
24213         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
24214         removed.
24216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
24217         <tcb-offsets.h>.
24218         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24219         (__libc_vfork): New strong alias.
24220         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
24221         removed.
24222         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
24223         Removed.
24225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
24226         <tcb-offsets.h>.
24227         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
24228         (__libc_vfork): New strong alias.
24229         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
24230         removed.
24231         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
24232         removed.
24234 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
24236         * malloc/malloc.c (mi_arena): New function.
24237         (malloc_info): Remove nested function mi_arena. Call non-nosted
24238         function mi_arena.
24240 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24242         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
24243         by insrwi.
24244         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
24245         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
24246         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
24247         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
24248         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
24249         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
24250         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
24252 2014-05-26  Andreas Schwab  <schwab@suse.de>
24254         [BZ #16984]
24255         * locale/programs/repertoire.c (repertoire_read): Add slash
24256         between I18NPATH element and file name.
24257         * locale/programs/locfile.c (locfile_read): Likewise.
24259 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24261         * nptl/pthread_mutexattr_settype.c
24262         (__pthread_mutexattr_settype):
24263         Disable lock elision for PTHREAD_MUTEX_NORMAL.
24265 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24267         * nptl/tst-mutex5 (do_test):
24268         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
24270 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24272         * benchtests/README: Document 'init' directive.
24273         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
24274         BENCH_INIT.
24275         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
24276         (parse_file): Recognize 'init' directive.
24278 2014-05-26  Kyle McMartin  <kyle@redhat.com>
24280         [BZ #16796]
24281         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
24282         alignment of struct pthread.
24284 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24286         [BZ #16878]
24287         * nscd/netgroupcache.c (addgetnetgrentX): Look for
24288         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
24289         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
24290         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
24292 2014-05-25  Richard Henderson  <rth@twiddle.net>
24294         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24295         (SINGLE_THREAD_P_PIC): Remove.
24296         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
24297         (SINGLE_THREAD_P_PIC): Remove.
24299         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
24300         branch to syscall error ...
24301         (PSEUDO): ... here.
24302         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
24303         from __local_syscall_error to .Lsyscall_error.
24304         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
24305         (SYSCALL_ERROR): Update label name.
24307         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24308         Do not use DOARGS/UNDOARGS.
24309         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
24310         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
24311         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
24312         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
24313         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
24315         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
24316         block comment.
24318         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
24319         define if !NOT_IN_libc.
24320         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
24321         define with non-default symbol versions.
24323 2014-05-23  Richard Henderson  <rth@twiddle.net>
24325         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
24326         (vfork, __vfork): Define via compat_symbol.
24328         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
24329         [!HAVE_IFUNC] (vfork_compat): Remove.
24330         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
24332 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
24334         [BZ #16978]
24335         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
24336         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
24337         variable.
24339 2014-05-23  Richard Henderson  <rth@twiddle.net>
24341         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
24342         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
24343         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
24344         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
24346         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
24347         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
24348         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
24349         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
24350         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
24351         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
24352         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
24353         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
24354         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
24355         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
24356         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
24357         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
24358         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
24359         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
24360         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
24361         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
24362         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
24363         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
24364         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
24365         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
24366         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
24367         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
24368         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
24369         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
24370         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
24371         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
24372         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
24373         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
24374         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
24375         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
24376         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
24377         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
24378         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
24379         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
24380         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
24381         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
24382         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
24383         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
24384         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
24385         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
24386         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
24387         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
24388         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
24389         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
24390         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
24391         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
24392         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
24393         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
24394         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
24395         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
24396         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
24397         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
24398         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
24399         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
24400         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
24401         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
24403         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
24404         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
24405         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
24406         before exiting on error.
24407         (__libc_vfork): New strong alias.
24408         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
24409         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
24411         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
24412         that was previously under [RESET_PID].
24413         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
24415         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
24417 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
24419         [BZ #16977]
24420         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
24421         value when x - 1 is zero.
24422         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
24423         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
24424         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
24425         0.0L for an argument of 1.0L.
24426         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
24427         Likewise.
24428         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
24429         value when x - 1 is zero.
24430         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
24431         * sysdeps/i386/fpu/libm-test-ulps: Update.
24432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24434 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24436         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
24437         alphasort and versionsort.
24439 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24441         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
24442         macro.
24443         [copysignf]: Likewise.
24445 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24447         * crypt/md5-crypt.c: Fix formatting.
24449 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24451         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
24452         (b64_from_24bit): New function.
24454 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24456         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
24457         libc_hidden_builtin_def to ifunc.
24458         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
24459         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
24461 2014-05-21  Roland McGrath  <roland@hack.frob.com>
24463         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
24464         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
24466 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
24468         * nscd/Depend (linuxthreads): Remove.
24469         (nptl): Add.
24470         * resolv/Depend (linuxthreads): Remove.
24471         * rt/Depend (linuxthreads): Remove.
24473         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
24474         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
24475         $(common-objpfx)elf/.
24476         (link-libc-before-gnulib): Likewise.
24477         (elfobjdir): Remove variable.
24478         * Makefile (install): Use $(elf-objpfx) instead of
24479         $(common-objpfx)elf/.
24480         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
24481         $(elfobjdir)/.
24482         (link-libc-deps): Likewise.
24483         ($(common-objpfx)libc.so): Likewise.
24484         ($(common-objpfx)linkobj/libc.so): Likewise.
24485         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
24486         instead of $(common-objpfx)elf/.
24487         (symbolic-link-list): Likewise.
24488         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24489         [$(cross-compiling) = no]: Likewise.
24490         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
24491         $(elfobjdir)/.
24492         (static-gnulib-arch): Likewise.
24493         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24494         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
24495         $(common-objpfx)elf/.
24497 2014-05-21  Richard Henderson  <rth@redhat.com>
24499         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24500         (SINGLE_THREAD_P): Use the correct width load.  Fold
24501         into the ldr offset.
24503         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
24504         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
24506 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
24508         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
24509         (libgcc_s_resume): Use __attribute_used__.
24510         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
24511         Likewise.
24513 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24515         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
24516         optimization when used with float constants.
24518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24520 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
24522         [BZ #16915]
24523         * locale/nl_langinfo_l.c: Make direct reference to every
24524         _nl_current_CATEGORY symbol.
24525         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
24526         (tests-static): Add tst-langinfo-static.
24527         (tests-special): Add tst-langinfo-static.out.
24528         ($(objpfx)tst-langinfo.out): Redirect output.
24529         ($(objpfx)tst-langinfo-static.out): New.
24530         * localedata/tst-langinfo.sh: Send output to stdout.
24531         * localedata/tst-langinfo-static.c: New file.
24533         [BZ #16965]
24534         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
24535         when the shift amount is modulo the limb size.
24537 2014-05-20  Richard Henderson  <rth@redhat.com>
24539         [BZ #16967]
24540         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
24541         Change type of sa_flags from unsigned int to int.
24543         [BZ #16966]
24544         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
24546         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
24548 2014-05-20  Will Newton  <will.newton@linaro.org>
24550         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24551         Test the return value of the system call in the nocancel case.
24553 2014-05-20  Will Newton  <will.newton@linaro.org>
24554             Yvan Roux  <yvan.roux@linaro.org>
24556         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
24557         #include of asm/ptrace.h.
24558         (PTRACE_GET_THREAD_AREA): Remove #undef.
24559         (PTRACE_GETHBPREGS): Likewise.
24560         (PTRACE_SETHBPREGS): Likewise.
24561         (struct user_regs_struct): New structure.
24562         (struct user_fpsimd_struct): New structure.
24563         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
24564         #include of asm/ptrace.h and second #include of sys/user.h.
24565         (PTRACE_GET_THREAD_AREA): Remove #undef.
24566         (PTRACE_GETHBPREGS): Likewise.
24567         (PTRACE_SETHBPREGS): Likewise.
24568         (ELF_NGREG): Use new struct user_regs_struct.
24569         (elf_fpregset_t): Use new struct user_fpsimd_struct.
24571 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24573         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
24574         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
24576 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
24578         [BZ #16958]
24579         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
24580         membar to avoid block loads/stores to overlap previous stores.
24582 2014-05-17  Richard Henderson  <rth@redhat.com>
24584         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
24585         Create the __##syscall_name##_nocancel entry point.
24586         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
24587         Remove; let the sysdep-cancel.h code create it.
24589 2014-05-17  David S. Miller  <davem@davemloft.net>
24591         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
24592         Protect with __USE_GNU.
24593         (TIOCSET_TEMPT): Likewise.
24594         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24595         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
24596         these are already provided in bits/ioctl-types.h
24598 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24600         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
24601         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
24603         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
24604         Use wait4 regardless of [__NR_waitpid].
24606 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24608         PR libgcc/60166
24609         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24610         (_FP_NANSIGN_Q): Set the quiet bit.
24612 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
24614         * benchtests/Makefile
24615         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
24616         not $(common-objpfx)math/libm.so.
24617         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
24618         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
24619         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
24620         $(common-objpfx)dlfcn/libdl.so.
24621         ($(objpfx)tst-audit8): Depend on $(libm), not
24622         $(common-objpfx)math/libm.so.
24623         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
24624         not $(common-objpfx)dlfcn/libdl.so.
24625         * math/Makefile
24626         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24627         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
24628         [$(build-shared) = yes].
24629         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
24630         $(common-objpfx)nptl/libpthread.so.
24631         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
24632         $(common-objpfx)math/libm.so$(libm.so-version) or
24633         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
24634         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
24635         $(common-objpfx)dlfcn/libdl.so.
24636         * setjmp/Makefile (link-libm): Remove variable.
24637         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
24638         * stdio-common/Makefile (link-libm): Remove variable.
24639         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
24640         * stdlib/Makefile (link-libm): Remove variable.
24641         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
24642         ($(objpfx)tst-strtod-round): Likewise.
24643         ($(objpfx)tst-tininess): Likewise.
24644         ($(objpfx)tst-strtod-underflow): Likewise.
24645         ($(objpfx)tst-strtod6): Likewise.
24646         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
24647         $(libdl), not $(common-objpfx)nptl/libpthread.so and
24648         $(common-objpfx)dlfcn/libdl.so.
24650 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24652         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
24653         BSD terminal modes definitions.
24655 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24657         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
24658         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
24660         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
24661         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
24662         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
24663         Don't do #include_next.
24664         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
24665         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
24666         Don't do #include_next.
24667         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
24668         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
24669         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
24670         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
24672 2014-05-16  Allan McRae  <allan@archlinux.org>
24674         * po/sv.po: Update Swedish translation from translation project.
24676         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
24677         in sed expression.
24679 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
24681         [BZ #16917]
24682         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
24683         errno if the TIOCGPTN ioctl fails with an error different than
24684         EINVAL.
24685         * login/tst-ptsname.c: New file.
24686         * login/Makefile (tests): Add tst-ptsname.
24688         [BZ #16943]
24689         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
24690         and prlimit64.
24692 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24694         [BZ #16849]
24695         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
24696         herrno to return EAI_AGAIN.
24698 2014-05-14  Roland McGrath  <roland@hack.frob.com>
24700         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
24701         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
24702         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
24703         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
24704         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
24705         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
24706         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
24707         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
24708         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
24709         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
24710         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
24711         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
24712         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
24713         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
24714         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
24715         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
24716         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
24717         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
24718         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
24719         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
24720         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
24721         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
24722         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
24723         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
24724         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
24725         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
24726         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
24727         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
24728         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
24729         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
24730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
24731         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
24732         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
24733         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
24734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24735         Moved ...
24736         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
24737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
24738         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
24739         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
24740         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
24741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
24742         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
24743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
24744         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
24745         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
24746         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
24747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
24748         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
24749         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
24750         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
24751         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
24752         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
24753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
24754         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
24755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
24756         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
24757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
24758         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
24759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
24760         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
24761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
24762         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
24763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24764         Moved ...
24765         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
24766         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
24767         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
24768         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
24769         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
24770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
24771         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
24772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
24773         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
24774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
24775         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
24776         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
24777         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
24778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
24779         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
24780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
24781         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
24782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
24783         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
24784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24785         Moved ...
24786         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
24787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
24788         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
24790         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
24791         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
24792         (libpthread-sysdep_routines): Add elision-related stuff here instead.
24793         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
24794         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
24795         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
24796         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
24797         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
24798         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
24799         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
24800         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
24801         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
24802         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
24803         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
24804         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
24805         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
24806         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
24807         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
24808         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
24809         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
24810         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
24811         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
24812         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
24813         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
24814         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
24815         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
24816         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
24817         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
24818         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
24819         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
24820         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
24822         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
24823         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
24825         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
24826         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
24827         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
24828         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
24829         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
24830         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
24831         Moved ...
24832         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
24833         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24834         Moved ...
24835         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
24836         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24837         Moved ...
24838         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
24839         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
24840         Moved ...
24841         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
24842         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
24843         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
24844         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24845         Moved ...
24846         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
24847         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
24848         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
24849         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
24850         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
24851         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
24852         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
24853         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24854         Moved ...
24855         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
24856         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24857         Moved ...
24858         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24859         ... here.
24860         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
24861         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
24862         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
24863         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
24864         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24865         Moved ...
24866         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24867         ... here.
24868         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
24869         Moved ...
24870         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
24871         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
24872         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
24873         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
24874         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
24875         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
24876         Moved ...
24877         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
24878         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24879         Moved ...
24880         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
24881         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24882         Moved ...
24883         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
24884         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
24885         Moved ...
24886         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
24887         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
24888         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
24889         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
24890         Moved ...
24891         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
24892         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
24893         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
24894         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
24895         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
24896         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
24897         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
24898         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24899         Moved ...
24900         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
24901         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24902         Moved ...
24903         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24904         ... here.
24905         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
24906         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
24907         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
24908         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
24909         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24910         Moved ...
24911         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24912         ... here.
24913         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
24914         Moved ...
24915         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
24916         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
24917         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
24918         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
24919         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
24920         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
24921         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
24922         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
24923         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
24924         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
24925         Moved ...
24926         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
24927         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24928         Moved ...
24929         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
24930         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24931         Moved ...
24932         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
24933         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
24934         Moved ...
24935         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
24936         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
24937         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
24938         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
24939         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
24940         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24941         Moved ...
24942         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
24943         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
24944         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
24945         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
24946         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
24947         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
24948         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
24949         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24950         Moved ...
24951         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
24952         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24953         Moved ...
24954         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24955         ... here.
24956         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
24957         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
24958         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
24959         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
24960         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24961         Moved ...
24962         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24963         ... here.
24964         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
24965         Moved ...
24966         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
24967         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
24968         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
24969         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
24970         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
24971         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
24972         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
24973         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
24974         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
24975         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
24976         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
24978         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
24979         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
24981         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
24982         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
24984         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
24985         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
24986         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
24987         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
24988         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
24989         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
24990         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
24991         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
24992         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
24993         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
24994         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
24995         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
24996         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
24997         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
24998         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
24999         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
25000         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
25001         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
25002         Moved ...
25003         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
25004         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
25005         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
25006         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
25007         Moved ...
25008         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
25009         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
25010         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
25011         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
25012         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
25013         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
25014         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
25015         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
25016         Moved ...
25017         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
25018         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
25019         Moved ...
25020         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
25021         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
25022         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
25023         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
25024         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
25025         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
25026         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
25027         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
25028         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
25029         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
25030         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
25031         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
25032         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
25033         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
25034         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
25035         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
25036         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
25038         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
25039         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
25040         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
25041         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
25042         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
25044         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
25045         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
25046         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
25047         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
25048         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
25049         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
25050         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
25051         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
25052         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
25053         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
25055         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
25056         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
25058         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
25059         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
25060         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
25061         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
25062         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
25063         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
25064         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
25065         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
25066         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
25067         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
25068         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
25069         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
25070         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
25071         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
25072         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
25073         Update #include.
25074         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
25075         Likewise.
25076         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25077         Likewise.
25078         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25079         Likewise.
25080         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25081         Likewise.
25082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
25083         Likewise.
25084         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
25085         Likewise.
25086         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25087         Likewise.
25088         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
25089         Likewise.
25090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
25091         Likewise.
25092         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
25093         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
25094         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
25095         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
25096         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
25097         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
25098         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
25099         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
25100         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
25101         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
25102         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
25103         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
25104         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
25105         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
25106         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
25108         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
25109         that was previously under [RESET_PID].
25110         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25111         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
25112         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
25114         * sysdeps/i386/nptl/Implies: New file.
25115         * sysdeps/x86_64/nptl/Implies: New file.
25116         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
25117         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
25118         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
25119         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
25121         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
25122         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25123         (__libc_vfork): New strong alias.
25124         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
25125         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
25127         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
25128         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25129         (__libc_vfork): New strong alias.
25130         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
25131         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
25133         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
25134         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25135         (__libc_vfork): New strong alias.
25136         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
25137         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
25138         * nptl/pt-vfork.c: New file.
25139         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
25140         (libpthread: GLIBC_2.20): New version set (empty).
25142 2014-05-14  Will Newton  <will.newton@linaro.org>
25144         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
25145         rather than #if.
25147 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
25149         [BZ #16564]
25150         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
25151         arguments with exponent 65 or above.
25152         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
25153         arguments 0x1p113L or above.
25154         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
25155         to arguments 0x1p107L or above.
25156         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
25157         positive arguments with exponent 65 or above.
25158         * math/auto-libm-test-in: Add more tests of log1p.
25159         * math/auto-libm-test-out: Regenerated.
25161         [BZ #16928]
25162         * math/s_cacos.c (__cacos): Ensure zero real part of result from
25163         non-finite arguments is +0.
25164         * math/s_cacosf.c (__cacosf): Likewise.
25165         * math/s_cacosl.c (__cacosl): Likewise.
25166         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
25167         * sysdeps/i386/fpu/libm-test-ulps: Update.
25168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25170         [BZ #16927]
25171         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
25172         value.
25173         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
25174         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
25175         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
25176         for explicit high bit of mantissa when testing for argument equal
25177         to 1.
25178         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
25179         * sysdeps/i386/fpu/libm-test-ulps: Update.
25180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25182         [BZ #16516]
25183         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
25184         (__erf): Scale by 16 instead of 8 in potentially underflowing
25185         case.  Ensure exception if result actually underflows.
25186         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
25187         (__erff): Scale by 16 instead of 8 in potentially underflowing
25188         case.  Ensure exception if result actually underflows.
25189         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
25190         (efx8): Remove variable.
25191         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25192         case.  Ensure exception if result actually underflows.
25193         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
25194         (efx8): Remove variable.
25195         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25196         case.  Ensure exception if result actually underflows.
25197         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
25198         (efx8): Remove variable.
25199         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25200         case.  Ensure exception if result actually underflows.
25201         * math/auto-libm-test-in: Add more tests of erf.
25202         * math/auto-libm-test-out: Regenerated.
25204 2014-05-14  Andreas Schwab  <schwab@suse.de>
25206         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
25207         Remove code conditionalized on USE___THREAD.
25209         * config.h.in (HAVE_PT_CHOWN): Define as 0.
25210         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
25211         not definedness.
25213 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
25215         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
25216         Define unconditionally.
25217         (__ASSUME_O_CLOEXEC): Likewise.
25218         (__ASSUME_SOCK_CLOEXEC): Likewise.
25219         (__ASSUME_IN_NONBLOCK): Likewise.
25220         (__ASSUME_PIPE2): Likewise.
25221         (__ASSUME_EVENTFD2): Likewise.
25222         (__ASSUME_SIGNALFD4): Likewise.
25223         (__ASSUME_DUP3): Likewise.
25224         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25225         (__ASSUME_DUP3): Do not define.
25226         (__ASSUME_EVENTFD2): Likewise.
25227         (__ASSUME_IN_NONBLOCK): Likewise.
25228         (__ASSUME_O_CLOEXEC): Likewise.
25229         (__ASSUME_PIPE2): Likewise.
25230         (__ASSUME_SIGNALFD4): Likewise.
25231         (__ASSUME_SOCK_CLOEXEC): Likewise.
25232         (__ASSUME_UTIMES): Undefine.
25233         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25234         (__ASSUME_UTIMES): Do not define.
25235         (__ASSUME_O_CLOEXEC): Likewise.
25236         (__ASSUME_SOCK_CLOEXEC): Likewise.
25237         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
25238         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
25239         0x020621].
25240         (__ASSUME_PIPE2): Likewise.
25241         (__ASSUME_EVENTFD2): Likewise.
25242         (__ASSUME_SIGNALFD4): Likewise.
25243         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
25244         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
25245         Do not define.
25246         (__ASSUME_EVENTFD2): Likewise.
25247         (__ASSUME_SIGNALFD4): Likewise.
25248         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25249         (__ASSUME_32BITUIDS): Likewise.
25250         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
25251         (__ASSUME_IPC64): Likewise.
25252         (__ASSUME_ST_INO_64_BIT): Likewise.
25253         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
25254         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
25255         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25256         (__ASSUME_UTIMES): Do not define.
25257         (__ASSUME_PSELECT): Likewise.
25258         (__ASSUME_PPOLL): Likewise.
25259         (__ASSUME_O_CLOEXEC): Likewise.
25260         (__ASSUME_SOCK_CLOEXEC): Likewise.
25261         (__ASSUME_IN_NONBLOCK): Likewise.
25262         (__ASSUME_PIPE2): Likewise.
25263         (__ASSUME_EVENTFD2): Likewise.
25264         (__ASSUME_SIGNALFD4): Likewise.
25265         (__ASSUME_DUP3): Likewise.
25266         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25267         (__ASSUME_UTIMES): Likewise.
25268         (__ASSUME_O_CLOEXEC): Likewise.
25269         (__ASSUME_SOCK_CLOEXEC): Likewise.
25270         (__ASSUME_IN_NONBLOCK): Likewise.
25271         (__ASSUME_PIPE2): Likewise.
25272         (__ASSUME_EVENTFD2): Likewise.
25273         (__ASSUME_SIGNALFD4): Likewise.
25274         (__ASSUME_DUP3): Likewise.
25275         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25276         (__ASSUME_UTIMES): Likewise.
25277         (__ASSUME_O_CLOEXEC): Likewise.
25278         (__ASSUME_SOCK_CLOEXEC): Likewise.
25279         (__ASSUME_IN_NONBLOCK): Likewise.
25280         (__ASSUME_PIPE2): Likewise.
25281         (__ASSUME_EVENTFD2): Likewise.
25282         (__ASSUME_SIGNALFD4): Likewise.
25283         (__ASSUME_DUP3): Likewise.
25284         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
25285         Likewise.
25286         (__ASSUME_UTIMES): Likewise.
25287         (__ASSUME_EVENTFD2): Likewise.
25288         (__ASSUME_SIGNALFD4): Likewise.
25289         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25290         (__ASSUME_O_CLOEXEC): Likewise.
25291         (__ASSUME_SOCK_CLOEXEC): Likewise.
25292         (__ASSUME_IN_NONBLOCK): Likewise.
25293         (__ASSUME_PIPE2): Likewise.
25294         (__ASSUME_EVENTFD2): Likewise.
25295         (__ASSUME_SIGNALFD4): Likewise.
25296         (__ASSUME_DUP3): Likewise.
25297         (__ASSUME_UTIMES): Undefine.
25299         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
25300         feclearexcept.  Remove symbol versioning code.
25301         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
25302         symbol versioning code.
25303         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
25304         symbol versioning code.
25305         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
25306         feupdateenv.  Remove symbol versioning code.
25307         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
25308         fegetexceptflag.  Remove symbol versioning code.
25309         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
25310         fesetexceptflag.  Remove symbol versioning code.
25311         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
25312         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
25313         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
25314         (__posix_fadvise64_l32): Remove prototype.
25315         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
25316         code.
25318 2014-05-13  Roland McGrath  <roland@hack.frob.com>
25320         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
25321         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
25322         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
25323         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
25325 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
25327         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
25328         current working directory
25330 2014-05-13  Roland McGrath  <roland@hack.frob.com>
25332         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
25333         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
25334         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
25335         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
25336         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
25337         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
25338         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
25339         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
25340         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
25341         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
25342         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
25343         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
25344         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
25345         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
25346         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
25347         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
25348         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
25349         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
25350         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
25351         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
25352         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
25353         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
25354         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
25355         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
25356         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
25357         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
25358         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
25359         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
25360         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
25361         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
25362         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
25363         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
25364         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
25365         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
25366         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
25367         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
25368         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
25369         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
25370         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
25371         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
25372         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
25373         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
25375         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
25376         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
25378         * sysdeps/unix/sysv/linux/arm/Makefile
25379         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25380         Add rt-aeabi_unwind_cpp_pr1.
25381         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
25382         Add nptl-aeabi_unwind_cpp_pr1.
25383         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
25384         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
25385         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
25386         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25387         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
25388         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25390         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
25391         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
25392         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
25393         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
25395         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
25396         Deconditionalize the code that was previously under [RESET_PID].
25397         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
25399         * sysdeps/generic/exit-thread.h: New file.
25400         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
25401         * include/unistd.h (__exit_thread): Remove declaration.
25402         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
25403         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
25404         * csu/libc-start.c: Include <exit-thread.h>.
25405         (LIBC_START_MAIN): Pass no argument to __exit_thread.
25406         * nptl/pthread_create.c: Include <exit-thread.h>.
25407         (start_thread): Call __exit_thread in place of __exit_thread_inline.
25408         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
25409         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
25410         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
25411         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
25412         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
25413         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
25414         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
25415         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
25416         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
25417         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
25418         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
25419         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
25420         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
25421         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
25422         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
25423         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
25425 2014-05-13  Andreas Schwab  <schwab@suse.de>
25427         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
25429 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
25431         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
25432         (__ASSUME_UTIMES): Do not condition on kernel version.
25433         (__ASSUME_PSELECT): Define unconditionally.
25434         (__ASSUME_PPOLL): Likewise.
25435         (__ASSUME_ATFCTS): Likewise.
25436         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
25437         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
25438         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
25439         (__ASSUME_UTIMENSAT): Define unconditionally.
25440         (__ASSUME_PRIVATE_FUTEX): Likewise.
25441         (__ASSUME_FALLOCATE): Likewise.
25442         (__ASSUME_O_CLOEXEC): Likewise.
25443         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
25444         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
25445         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
25446         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
25447         (__ASSUME_IN_NONBLOCK): Likewise.
25448         (__ASSUME_PIPE2): Likewise.
25449         (__ASSUME_EVENTFD2): Likewise.
25450         (__ASSUME_SIGNALFD4): Likewise.
25451         (__ASSUME_DUP3): Likewise.
25452         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25453         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
25454         (__ASSUME_AT_RANDOM): Likewise.
25455         (__ASSUME_PREADV): Likewise.
25456         (__ASSUME_PWRITEV): Likewise.
25457         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
25458         (__ASSUME_F_GETOWN_EX): Define unconditionally.
25459         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
25460         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25461         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
25462         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25463         (__ASSUME_O_CLOEXEC): Define unconditionally.
25464         (__ASSUME_PSELECT): Do not undefine conditionally.
25465         (__ASSUME_PPOLL): Likewise.
25466         (__ASSUME_ATFCTS): Likewise.
25467         (__ASSUME_SET_ROBUST_LIST): Likewise.
25468         (__ASSUME_UTIMENSAT): Likewise.
25469         (__ASSUME_FDATASYNC): Define unconditionally.
25470         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25471         (__ASSUME_SIGFRAME_V2): Likewise.
25472         )__ASSUME_EVENTFD2): Likewise.
25473         (__ASSUME_SIGNALFD4): Likewise.
25474         (__ASSUME_PSELECT): Do not undefine conditionally.
25475         (__ASSUME_PPOLL): Likewise.
25476         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25477         (__ASSUME_PSELECT): Define unconditionally.
25478         (__ASSUME_PPOLL): Likewise.
25479         (__ASSUME_O_CLOEXEC): Likewise.
25480         (__ASSUME_SOCK_CLOEXEC): Likewise.
25481         (__ASSUME_IN_NONBLOCK): Likewise.
25482         (__ASSUME_PIPE2): Likewise.
25483         (__ASSUME_EVENTFD2): Likewise.
25484         (__ASSUME_SIGNALFD4): Likewise.
25485         (__ASSUME_DUP3): Likewise.
25486         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25487         (__ASSUME_O_CLOEXEC): Likewise.
25488         (__ASSUME_SOCK_CLOEXEC): Likewise.
25489         (__ASSUME_IN_NONBLOCK): Likewise.
25490         (__ASSUME_PIPE2): Likewise.
25491         (__ASSUME_EVENTFD2): Likewise.
25492         (__ASSUME_SIGNALFD4): Likewise.
25493         (__ASSUME_DUP3): Likewise.
25494         * sysdeps/unix/sysv/linux/mips/kernel-features.h
25495         (__ASSUME_EVENTFD2): Likewise.
25496         (__ASSUME_SIGNALFD4): Likewise.
25497         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25499 2014-05-12  Andreas Schwab  <schwab@suse.de>
25501         [BZ #16932]
25502         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
25503         (_nss_nis_gethostbyname4_r): Return error if item length is larger
25504         than maximum RPC packet size.
25505         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
25506         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
25507         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
25508         (_nss_nis_getservbyport_r): Likewise.
25510 2014-05-12  Will Newton  <will.newton@linaro.org>
25512         * malloc/Makefile (tests): Add tst-mallopt.
25513         * malloc/tst-mallopt.c: New file.
25515 2014-05-09  Roland McGrath  <roland@hack.frob.com>
25517         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
25518         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
25520 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25522         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
25523         (tst-tlsmod6.so): Likewise.
25525 2014-05-09  Roland McGrath  <roland@hack.frob.com>
25527         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
25529 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
25531         [BZ #16064]
25532         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
25533         and <dl-procinfo.h>.
25534         (__fegetenv): Save SSE state in envp->__eip if supported.
25535         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
25536         envp->__eip if supported.
25537         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
25538         and <dl-procinfo.h>.
25539         (__fesetenv): Always set __eip, __cs_selector, __opcode,
25540         __data_offset and __data_selector in environment to 0.  Set SSE
25541         state if supported.
25542         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25543         test-fenv-sse.
25544         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
25545         -mfpmath=sse.
25546         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
25548 2014-05-09  Will Newton  <will.newton@linaro.org>
25550         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
25551         and libc_relro_required for ARM.
25552         * sysdeps/arm/preconfigure: Regenerate.
25554 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
25555             Stefan Liebler  <stli@linux.vnet.ibm.com>
25557         * config.make.in (enable-lock-elision): New Makefile variable.
25558         * configure.ac: Likewise.
25559         * configure: Regenerate.
25560         * sysdeps/s390/configure.ac:
25561         Add check for gcc transactions support.
25562         * sysdeps/s390/configure: Regenerate.
25563         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
25564         Build elision files if enabled.
25565         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
25566         Add lock elision support for s390.
25567         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25568         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
25569         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
25570         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
25571         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
25572         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25573         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
25574         Likewise.
25575         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
25576         Likewise.
25577         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
25578         Likewise.
25579         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
25580         Likewise.
25581         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
25582         (__lll_timedlock_elision, __lll_lock_elision)
25583         (__lll_unlock_elision, __lll_trylock_elision)
25584         (lll_timedlock_elision, lll_lock_elision)
25585         (lll_unlock_elision, lll_trylock_elision): Add.
25586         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25587         (pthread_mutex_t): Add lock elision support for s390.
25589 2014-05-14  Wilco  <wdijkstr@arm.com>
25591         * sysdeps/arm/fclrexcpt.c: Cleanup.
25592         * sysdeps/arm/fedisblxcpt.c: Cleanup.
25593         * sysdeps/arm/feenablxcpt.c: Cleanup.
25594         * sysdeps/arm/fegetenv.c: Cleanup.
25595         * sysdeps/arm/fegetexcept.c: Cleanup.
25596         * sysdeps/arm/fegetround.c: Cleanup.
25597         * sysdeps/arm/feholdexcpt.c: Cleanup.
25598         * sysdeps/arm/fesetenv.c: Cleanup.
25599         * sysdeps/arm/fesetround.c: Cleanup.
25600         * sysdeps/arm/feupdateenv.c: Cleanup.
25601         * sysdeps/arm/fgetexcptflg.c: Cleanup.
25602         * sysdeps/arm/fraiseexcpt.c: Cleanup.
25603         * sysdeps/arm/fsetexcptflg.c: Cleanup.
25604         * sysdeps/arm/ftestexcept.c: Cleanup.
25605         * sysdeps/arm/get-rounding-mode.h: Cleanup.
25606         * sysdeps/arm/setfpucw.c: Cleanup.
25608 2014-05-09  Will Newton  <will.newton@linaro.org>
25610         * sysdeps/arm/armv7/strcmp.S: New file.
25611         * NEWS: Mention addition of ARMv7 optimized strcmp.
25613 2014-05-08  Roland McGrath  <roland@hack.frob.com>
25615         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
25616         look for %.ac rather than %.in.
25618         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
25619         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
25620         * sysdeps/mach/hurd/configure: Regenerated.
25621         * sysdeps/unix/sysv/linux/configure: Regenerated.
25623         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
25625 2014-05-07  Steve Ellcey  <sellcey@mips.com>
25627         [BZ# 16922]
25628         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
25629         (LONG_SUB): Ditto.
25630         (PTR_SUB): Ditto.
25632 2014-05-07  Andreas Schwab  <schwab@suse.de>
25634         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
25635         when skipping over non-matching result from nscd.
25637 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
25639         [BZ #16876]
25640         * nptl/sockperf.c (client): Check socket return value.
25642         [BZ #16877]
25643         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
25644         nscd security class.
25646 2014-05-06  Roland McGrath  <roland@hack.frob.com>
25648         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
25649         * sysdeps/arm/unwind.h: ... here.
25651 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
25653         [BZ# 16916]
25654         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
25655         Define.
25657 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25659         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
25660         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
25661         multiarch strncpy for PPC64.
25662         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
25663         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
25664         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
25665         multiarch optimizations.
25666         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25667         (__libc_ifunc_impl_list): Likewise.
25668         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
25669         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
25670         multiarch stpncpy for PPC64.
25671         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
25672         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
25674 2014-05-06  Andreas Schwab  <schwab@suse.de>
25676         [BZ #16912]
25677         * gmon/mcount.c (_MCOUNT_DECL): Use
25678         atomic_compare_and_exchange_bool_acq instead of
25679         catomic_compare_and_exchange_bool_acq.
25681 2014-05-05  Roland McGrath  <roland@hack.frob.com>
25683         * elf/Makefile (others, install-bin): Remove pldd.
25684         (pldd-modules): Variable removed.
25685         ($(objpfx)pldd): Target removed.
25686         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
25687         (others, install-bin): Append pldd here.
25688         ($(objpfx)pldd): New target.
25690         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
25691         to 0, so the first #if test emitted later doesn't see it undefined.
25692         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
25693         * sysdeps/gnu/errlist.c: Regenerated.
25695 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25697         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25698         [libc_hidden_builtin_def]: Define to empty value.
25699         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
25700         [libc_hidden_builtin_def]: Likewise.
25701         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
25702         [libc_hidden_builtin_def]: Likewise.
25703         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
25704         [libc_hidden_builtin_def]: Likewise.
25705         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
25706         __redirect_memcpy and define ifunc as default hidden symbol.
25707         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
25708         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
25710 2014-05-04  Adam Conrad  <adconrad@0c3.net>
25712         * locale/iso-4217.def: Reintroduce XDR currency.
25714 2014-05-04  Allan McRae  <allan@archlinux.org>
25716         * po/eo.po: Update Esperanto translation from translation project.
25718 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
25720         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
25721         and FEATURE_INDEX_MAX to 1.
25722         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
25724 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25726         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
25727         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
25728         * iconvdata/big5.c (ONE_DIRECTION): Define.
25729         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
25730         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
25731         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
25732         * iconvdata/cp932.c (ONE_DIRECTION): Define.
25733         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
25734         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
25735         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
25736         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
25737         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
25738         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
25739         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
25740         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
25741         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
25742         * iconvdata/gbk.c (ONE_DIRECTION): Define.
25743         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
25744         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
25745         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
25746         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
25747         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
25748         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
25749         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
25750         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
25751         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
25752         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
25753         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
25754         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
25755         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
25756         * iconvdata/iso646.c (ONE_DIRECTION): Define.
25757         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
25758         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
25759         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
25760         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
25761         * iconvdata/johab.c (ONE_DIRECTION): Define.
25762         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
25763         * iconvdata/sjis.c (ONE_DIRECTION): Define.
25764         * iconvdata/t.61.c (ONE_DIRECTION): Define.
25765         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
25766         * iconvdata/tscii.c (ONE_DIRECTION): Define.
25767         * iconvdata/uhc.c (ONE_DIRECTION): Define.
25768         * iconvdata/unicode.c (ONE_DIRECTION): Define.
25769         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
25770         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
25771         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
25773 2014-05-01  Roland McGrath  <roland@hack.frob.com>
25775         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
25776         (_IO_JUMPS_OFFSET): Define to 0.
25778         * nptl/sysdeps/pthread/bits/libc-lock.h
25779         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25780         (__libc_lock_define_initialized_recursive): Always define using
25781         initializer.  Modern compilers treat uninitialized (implicit zero) and
25782         explicit zero initializers the same (i.e. put the datum in bss).
25784 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25786         * nscd/nscd-client.h: Include <string.h>.
25788 2014-05-01  David S. Miller  <davem@davemloft.net>
25790         [BZ #16885]
25791         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
25792         multiple zero bytes exist at the end of a string.
25793         Reported by Aurelien Jarno <aurelien@aurel32.net>
25795         * string/test-strcmp.c (check): Add explicit test for situations where
25796         there are multiple zero bytes after the first.
25798 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25800         [BZ #16890]
25801         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
25802         when compiling wprintf.
25803         * stdio-common/tstdiomisc.c (t3): New function.
25804         (main): Call it.
25806 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25808         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
25809         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
25810         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
25811         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
25813 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25815         * stdlib/longlong.h: Updated from GCC.
25817 2014-05-01  Will Newton  <will.newton@linaro.org>
25818             Bernard Ogden  <bernie.ogden@linaro.org>
25820         * NEWS: Update fixed bug list.
25822         [BZ #15119]
25823         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
25825 2014-04-30  David S. Miller  <davem@davemloft.net>
25827         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
25828         (libc_feholdexcept_setround_sparc_ctx): New function.
25829         (libc_fesetenv_sparc_ctx): Likewise.
25830         (libc_feupdateenv_sparc_ctx): Likewise.
25831         (libc_feholdsetround_sparc_ctx): Likewise.
25832         (libc_feholdexcept_setround_ctx): Define.
25833         (libc_feholdexcept_setroundf_ctx): Likewise.
25834         (libc_feholdexcept_setroundl_ctx): Likewise.
25835         (libc_fesetenv_ctx): Likewise.
25836         (libc_fesetenvf_ctx): Likewise.
25837         (libc_fesetenvl_ctx): Likewise.
25838         (libc_feupdateenv_ctx): Likewise.
25839         (libc_feupdateenvf_ctx): Likewise.
25840         (libc_feupdateenvl_ctx): Likewise.
25841         (libc_feresetround_ctx): Likewise.
25842         (libc_feresetroundf_ctx): Likewise.
25843         (libc_feresetroundl_ctx): Likewise.
25844         (libc_feholdsetround_ctx): Likewise.
25845         (libc_feholdsetroundf_ctx): Likewise.
25846         (libc_feholdsetroundl_ctx): Likewise.
25848         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25849         with __USE_GNU instead of XOPEN cpp guards.
25851         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
25852         0.
25854         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25855         with XOPEN cpp guards.
25857 2014-04-30  Julian Brown  <julian@codesourcery.com>
25859         [BZ #16888]
25860         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
25861         handling.
25863 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
25865         [BZ #9894]
25866         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
25867         Change to 2.6.32.
25868         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
25869         * sysdeps/unix/sysv/linux/configure: Regenerated.
25870         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
25871         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
25872         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
25873         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
25874         * README: Update reference to required Linux kernel version.
25875         * manual/install.texi (Linux): Update reference to required Linux
25876         kernel headers version.
25877         * INSTALL: Regenerated.
25879         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
25880         header inclusion.
25881         [POSIX] (limits.h): Likewise.
25882         [POSIX] (math.h): Likewise.
25883         [POSIX] (sys/wait.h): Likewise.
25884         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
25885         function.
25886         [POSIX] (stddef.h): Do not allow header inclusion.
25888 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25890         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
25892 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
25894         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25895         Return immediately after lll_futex_wake.
25897 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25899         [BZ #16791]
25900         * nscd/nscd-client.h (datahead_init_common): Initialize entire
25901         structure.
25902         (datahead_init_pos): Call datahead_init_common early.
25903         (datahead_init_neg): Likewise.
25905         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
25906         datahead_init_neg): New functions.
25907         * nscd/aicache.c (addhstaiX): Use them.
25908         * nscd/grpcache.c (cache_addgr): Likewise.
25909         * nscd/hstcache.c (cache_addhst): Likewise.
25910         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25911         * nscd/netgroupcache.c (do_notfound): Likewise.
25912         (addgetnetgrentX): Likewise.
25913         (addinnetgrX): Likewise.
25914         * nscd/pwdcache.c (cache_addpw): Likewise.
25915         * nscd/servicescache.c (cache_addserv): Likewise.
25917 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25918             Atsushi Onoe  <atsushi@onoe.org>
25920         [BZ #14308]
25921         [BZ #12994]
25922         [BZ #13651]
25923         * resolv/res_query.c (__libc_res_nsearch): Return if at least
25924         one response is valid.
25925         * resolv/res_send.c (send_dg): Check for validity of other
25926         response if the current response is a referral.
25928 2014-04-29  Steve Ellcey  <sellcey@mips.com>
25930         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
25932 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
25934         [BZ #16823]
25935         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
25936         Always divide by positive zero when computing -Inf result.
25937         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25938         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
25940 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25942         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
25943         FPSCR if value do not change.
25944         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
25945         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
25946         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25947         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25948         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
25949         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
25950         function.
25952 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
25954         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
25955         * sysdeps/unix/sysv/linux/hppa: Move directory from
25956         ports/systeps/unix/sysv/linux/hppa.
25957         * README: Update listing for hppa-*-linux-gnu.
25959 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
25961         [BZ #16754]
25962         * manual/stdio.texi (Hook functions): Fix types of stream hook
25963         functions.
25964         [BZ #16854]
25965         * socket/sys/socket.h: Fix typo in comment.
25967 2014-04-28  Wilco  <wdijkstr@arm.com>
25969         * sysdeps/arm/fenv_private.h: New file.
25970         * sysdeps/arm/math_private.h: New file.
25971         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
25973 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
25975         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
25976         with __int128_t.
25977         (La_x86_64_retval): Likewise.
25979 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
25981         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
25982         fpsr if value didn't change.
25983         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
25984         to fpcr if value didn't change.
25985         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
25986         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
25987         fpsr or fpcr if value didn't change.
25988         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25989         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
25990         fpcr if value didn't change.
25991         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
25992         to fpsr if value didn't change.
25994 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25996         * nptl/tst-sem3.c: Use test-skeleton.c
25997         (main): Rename to do_test.  Use return instead of
25998         exit.
25999         * nptl/tst-sem4.c: Use test-skeleton.c
26000         (main): Rename to do_test.
26002 2014-04-22  David S. Miller  <davem@davemloft.net>
26004         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
26005         (struct sigaction): New struct member __glibc_reserved0, change
26006         type of sa_flags to int.
26008 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
26010         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
26011         (COUNT_LEADING_ZEROS_0): Define for AArch64.
26013 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26015         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
26016         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
26018 2014-04-22  Will Newton  <will.newton@linaro.org>
26019             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
26021         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
26022         (__longjmp): Add longjmp and longjmp_target SystemTap
26023         probes.
26024         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
26025         (__sigsetjmp): Add setjmp SystemTap probe.
26027 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
26029         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
26030         match manual order.
26032 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26034         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
26036         * sysdeps/powerpc/fpu/fenv_private.h
26037         (libc_feholdexcept_setroundl_ctx): Define to
26038         libc_feholdexcept_setround_ppc_ctx.
26039         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
26040         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
26041         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
26042         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
26044 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
26046         * sysdeps/aarch64/math-tests.h: New file.
26048 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
26050         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
26051         New.
26052         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26053         Check and set bit_AVX2_Usable.
26054         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
26055         macro.
26056         (bit_AVX2): Likewise.
26057         (index_AVX2_Usable): Likewise.
26058         (CPUID_AVX2): Likewise.
26059         (HAS_AVX2): Likewise.
26061 2014-04-17  Will Newton  <will.newton@linaro.org>
26063         * manual/setjmp.texi (System V contexts): Add note that
26064         calling setcontext on a context created by a call to a
26065         signal handler is undefined.  Update text to note that
26066         setcontext from a signal handler is possible but not
26067         recommended.
26069         [BZ #16629]
26070         * stdlib/tst-setcontext.c: Include signal.h.
26071         (main): Check that the signal stack before and
26072         after swapcontext is the same.
26074         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
26075         Re-implement to restore registers in user code and avoid
26076         rt_sigreturn system call.
26078 2014-04-17  Wilco  <wdijkstr@arm.com>
26080         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
26081         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
26082         * math/test-fenv.c: Skip exception trap tests on targets which only
26083         support non-stop mode.
26085 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
26086             Wilco Dijkstra  <wilco.dijkstra@arm.com>
26088         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
26089         (libc_feholdsetround_aarch64_ctx)
26090         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
26091         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
26092         (libc_feresetround_ctx, libc_feresetroundf_ctx)
26093         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
26094         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
26095         (libc_feresetround_noexl_ctx): Define.
26097 2014-04-16  Richard Henderson  <rth@redhat.com>
26099         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
26101         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
26102         unwind tables.
26104         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
26105         const from the non-libc, non-ldso copy.
26107         * sysdeps/alpha/libm-test-ulps: Regenerate.
26109 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
26110             Wilco Dijkstra  <wilco.dijkstra@arm.com>
26112         * sysdeps/aarch64/fpu/math_private.h: New file.
26114 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26116         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26118 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
26120         [BZ #16275]
26121         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
26122         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
26123         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
26124         Intel MPX bound registers before _dl_profile_fixup.
26125         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
26126         registers after _dl_profile_fixup.  Save and restore bound
26127         registers bnd0/bnd1 when calling _dl_call_pltexit.
26128         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
26129         (LR_BND_OFFSET): Likewise.
26130         (LRV_BND0_OFFSET): Likewise.
26131         (LRV_BND1_OFFSET): Likewise.
26133 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26135         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
26136         to...
26137         * sysdeps/mach/hurd/i386/tls.h: ... here.
26138         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
26139         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
26140         fields.
26142 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26144         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
26146 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26148         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26150 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26152         [BZ #14770]
26153         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
26154         * sysdeps/s390/configure: Regenerate.
26156         [BZ #16824]
26157         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
26158         Set round-to-nearest internally to reduce error accumulation.
26160 2014-04-16  Alan Modra  <amodra@gmail.com>
26162         [BZ #16740]
26163         [BZ #16619]
26164         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
26165         * math/libm-test.inc (frexp_test_data): Add tests.
26166         * NEWS: Update fixed bug list.
26168 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26170         * benchtests/Makefile: Depend on libraries in build directory.
26171         (bench-math): Separate out math tests.
26172         (bench-pthread): Separate out pthread tests.
26173         (bench): Include math and pthread tests.
26175 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
26177         [BZ #16831]
26178         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
26179         _dl_debug_initialize.
26181         * configure.ac: Remove SELinux header check.
26182         * configure: Regenerate.
26183         * nscd/selinux.c (perms): Array of const char* to permission names.
26184         (nscd_request_avc_has_perm): Call security_deny_unknown to find
26185         default policy. Call string_to_security_class and string_to_av_perm to
26186         translate strings. Enforce default policy and call avs_has_perm with
26187         results of translated strings.
26189 2014-04-13  David S. Miller  <davem@davemloft.net>
26191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26193 2014-04-12  Allan McRae  <allan@archlinux.org>
26195         [BZ #16838]
26196         * manual/string.texi (Collation Functions): Fix qsort argument
26197         order in example.
26198         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26200 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
26202         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
26203         Make the test a no-op if there are no exceptions defined.
26205 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26207         * elf/Makefile (tests): make tst-dlopen-aout conditional on
26208         enable-hardcoded-path-in-tests
26210 2014-04-11  Will Newton  <will.newton@linaro.org>
26212         * benchtests/Makefile (extra-objs): Add json-lib.o.
26213         (bench-func): Tidy up JSON output.
26214         * benchtests/bench-skeleton.c: Include json-lib.h.
26215         (main): Use JSON library functions to do output of
26216         benchmark results.
26217         * benchtests/bench-timing-type.c (main): Output the
26218         timing type simply, leaving formatting to the user.
26219         * benchtests/json-lib.c: New file.
26220         * benchtests/json-lib.h: Likewise.
26222 2014-04-11  Torvald Riegel  <triegel@redhat.com>
26224         [BZ #15215]
26225         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
26226         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
26227         memory barriers.  Add comments.
26228         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
26229         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
26230         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
26231         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
26232         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
26233         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
26235 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26237         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
26238         * sysdeps/s390/s390-64/configure.ac: ... this ...
26239         * sysdeps/s390/configure.ac: ... to here.
26240         * sysdeps/s390/s390-32/configure: Delete file.
26241         * sysdeps/s390/s390-64/configure: Delete file.
26242         * sysdeps/s390/configure: Regenerate.
26244 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
26246         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
26248 2014-04-11  Will Newton  <will.newton@linaro.org>
26250         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
26251         to zero if it is not defined elsewhere.  (mtrim): Test
26252         the value of MALLOC_DEBUG with #if rather than #ifdef.
26254 2014-04-10 Torvald Riegel  <triegel@redhat.com>
26256         * benchtests/pthread_once-inputs: New file.
26257         * benchtests/pthread_once-source.c: New file.
26258         * benchtests/README: Update documentation.
26260 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
26261             H.J. Lu  <hongjiu.lu@intel.com>
26263         [BZ #16275]
26264         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
26265         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
26266         * sysdeps/x86_64/configure: Regenerated.
26267         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
26268         macro.
26269         (REGISTER_SAVE_RAX): Likewise.
26270         (REGISTER_SAVE_RCX): Likewise.
26271         (REGISTER_SAVE_RDX): Likewise.
26272         (REGISTER_SAVE_RSI): Likewise.
26273         (REGISTER_SAVE_RDI): Likewise.
26274         (REGISTER_SAVE_R8): Likewise.
26275         (REGISTER_SAVE_R9): Likewise.
26276         (REGISTER_SAVE_BND0): Likewise.
26277         (REGISTER_SAVE_BND1): Likewise.
26278         (REGISTER_SAVE_BND2): Likewise.
26279         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
26280         bound registers when calling _dl_fixup.
26282 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26284         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
26285         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
26286         of its definition.
26287         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
26288         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
26289         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
26290         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
26291         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
26292         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
26293         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
26295 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
26297         [BZ #15514]
26298         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
26299         pathconf(_PC_NAME_MAX).
26301 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26303         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
26304         Remove macro usage.
26305         (__PTHREAD_SPINS): Move definition to ...
26306         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26307         (__PTHREAD_SPINS): ... here.
26308         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26309         (__PTHREAD_SPIN): Likewise.
26310         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
26311         (__PTHREAD_SPIN): Likewise.
26312         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
26313         (__PTHREAD_SPIN): Likewise.
26314         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
26315         (__PTHREAD_SPIN): Likewise.
26316         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26317         (__PTHREAD_SPIN): Likewise.
26318         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26319         (__PTHREAD_SPIN): Likewise.
26320         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
26321         (__PTHREAD_SPIN): Likewise.
26322         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26323         (__PTHREAD_SPIN): Likewise.
26324         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26325         (__PTHREAD_SPIN): Likewise.
26326         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26327         (__PTHREAD_SPIN): Likewise.
26328         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26329         (__PTHREAD_SPIN): Likewise.
26330         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
26331         (__PTHREAD_SPIN): Likewise.
26333         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
26334         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
26335         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
26336         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
26337         imply folder.
26338         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
26339         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
26340         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
26341         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
26342         correct imply path.
26343         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
26344         strlen symbol for non multi-arch builds.
26345         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
26346         missing hidden_def and weak_alias.
26348 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
26350         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
26352 2014-04-07  Will Newton  <will.newton@linaro.org>
26354         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
26355         and contents.  [!_LIBC] Remove #ifndef and contents.
26356         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
26357         * string/memccpy.c (__memccpy): Use ANSI prototype.
26358         * string/memfrob.c (memfrob): Likewise.
26359         * string/strcoll.c (STRCOLL): Likewise.
26360         * string/strlen.c (strlen): Likewise.
26361         * string/strtok.c (STRTOK): Likewise.
26362         * string/strcat.c: Remove unused #include of memcopy.h.
26363         (strcat): Use ANSI prototype.
26364         * string/strchr.c: Remove unused #include of memcopy.h.
26365         (strchr): Use ANSI prototype.
26366         * string/strcmp.c: Remove unused #include of memcopy.h.
26367         (strcmp): Use ANSI prototype.
26368         * string/strcpy.c: Remove unused #include of memcopy.h.
26369         (strcpy): Use ANSI prototype.
26371 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26373         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
26374         * config.make.in (config-extra-cppflags): Set it from
26375         libc_extra_cppflags.
26376         * configure.ac (libc_extra_cflags): Make it accumulate over
26377         configure fragments.
26378         (libc_extra_cppflags): New flag.
26379         * configure. Regenerate.
26380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26381         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
26382         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
26383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
26385         [BZ #16815]
26386         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
26387         result for FE_DOWNWARD rounding mode.
26388         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26389         Likewise.
26390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26392 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
26394         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
26395         in function argument name.
26397 2014-04-03  David Svoboda  <svoboda@cert.org>
26399         [BZ #5666]
26400         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
26401         explicitly.
26403 2014-04-03  Roland McGrath  <roland@hack.frob.com>
26405         * elf/dl-unmap-segments.h: New file.
26406         * sysdeps/generic/ldsodefs.h
26407         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
26408         * elf/dl-close.c: Include <dl-unmap-segments.h>.
26409         * elf/dl-fptr.c: Likewise.
26410         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
26411         * sysdeps/aarch64/tlsdesc.c: Likewise.
26412         * sysdeps/arm/tlsdesc.c: Likewise.
26413         * sysdeps/i386/tlsdesc.c: Likewise.
26414         * sysdeps/tile/dl-runtime.c: Likewise.
26415         * sysdeps/x86_64/tlsdesc.c: Likewise.
26416         * elf/dl-load.h: New file.
26417         * elf/dl-load.c: Include it.
26418         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
26419         Macros moved to dl-load.h.
26420         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
26421         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
26422         Use _dl_unmap_segments in place of __munmap.
26423         Break out segment-mapping loop into ...
26424         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
26426 2014-04-03  Will Newton  <will.newton@linaro.org>
26428         * elf/dl-lookup.c (do_lookup_x): Remove comment
26429         referring to nested function and move variable
26430         declarations down to before first use.
26432 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
26434         [BZ #16799]
26435         [BZ #16800]
26436         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
26437         with 0 numerator.
26438         * math/s_catanf.c (__catanf): Likewise.
26439         * math/s_catanh.c (__catanh): Likewise.
26440         * math/s_catanhf.c (__catanhf): Likewise.
26441         * math/s_catanhl.c (__catanhl): Likewise.
26442         * math/s_catanl.c (__catanl): Likewise.
26443         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
26444         by positive zero when computing -Inf result.
26445         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
26446         (catanh_test): Likewise.
26447         * sysdeps/i386/fpu/libm-test-ulps: Update.
26448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26450         [BZ #16789]
26451         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
26452         instead of using underflowing value in computing result.
26453         * math/s_clog10.c (__clog10): Likewise.
26454         * math/s_clog10f.c (__clog10f): Likewise.
26455         * math/s_clog10l.c (__clog10l): Likewise.
26456         * math/s_clogf.c (__clogf): Likewise.
26457         * math/s_clogl.c (__clogl): Likewise.
26458         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
26459         (clog10_test): Likewise.
26460         * sysdeps/i386/fpu/libm-test-ulps: Update.
26461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26463 2014-04-02  Alan Modra  <amodra@gmail.com>
26465         [BZ #16739]
26466         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
26467         output when value is near a power of two.  Use int64_t for lx and
26468         remove casts.  Use decimal rather than hex exponent constants.
26469         Don't use long double multiplication when double will suffice.
26470         * math/libm-test.inc (nextafter_test_data): Add tests.
26471         * NEWS: Add 16739 and 16786 to bug list.
26473         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
26475         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
26477 2014-04-01  Will Newton  <will.newton@linaro.org>
26479         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
26480         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
26482 2014-04-01  Florian Weimer  <fweimer@redhat.com>
26484         [BZ #13347]
26485         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
26486         * nptl/tst-setuid2.c: New file.
26487         * nptl/Makefile (xtests): Add tst-setuid2.
26489 2014-04-01  Alan Modra  <amodra@gmail.com>
26491         [BZ #16786]
26492         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
26494 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
26496         [BZ #6803]
26497         [BZ #6804]
26498         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
26499         set errno as appropriate.
26500         * math/w_scalbf.c (__scalbf): Likewise.
26501         * math/w_scalbl.c (__scalbl): Likewise.
26502         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
26503         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
26504         * math/libm-test.inc (scalb_test_data): Add errno expectations.
26505         Add more NaN tests.
26507         [BZ #16349]
26508         * math/w_atan2.c: Include <errno.h>.
26509         (__atan2): Set errno for result underflowing to zero.
26510         * math/w_atan2f.c: Include <errno.h>.
26511         (__atan2f): Set errno for result underflowing to zero.
26512         * math/w_atan2l.c: Include <errno.h>.
26513         (__atan2l): Set errno for result underflowing to zero.
26514         * math/auto-libm-test-in: Don't allow missing errno for some atan2
26515         tests.
26516         * math/auto-libm-test-out: Regenerated.
26518 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26520         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26521         Encode instruction correctly in little endian.
26522         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26523         Likewise.
26524         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26525         Likewise.
26526         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26527         Likewise.
26528         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26529         Likewise.
26531 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
26533         [BZ #9894]
26534         * sysdeps/unix/sysv/linux/kernel-features.h
26535         [__sparc__ && !__arch64__ && !__sparc_v9__]
26536         (__ASSUME_SET_ROBUST_LIST): Do not define.
26537         [__sparc__ && !__arch64__ && !__sparc_v9__]
26538         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26539         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
26540         Likewise.
26541         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26542         (__ASSUME_FUTEX_LOCK_PI): Undefine.
26543         (__ASSUME_REQUEUE_PI): Likewise.
26544         (__ASSUME_SET_ROBUST_LIST): Likewise.
26545         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26546         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
26547         Undefine.
26548         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26549         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
26550         Likewise.
26551         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
26552         Likewise.
26553         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
26554         Likewise.
26555         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26556         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
26557         Undefine.
26558         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
26559         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
26560         Likewise.
26562         [BZ #16648]
26563         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26564         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
26565         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
26567 2014-03-31  Will Newton  <will.newton@linaro.org>
26569         * benchtests/Makefile (bench): Add ffs and ffsll to list
26570         of tests.
26571         * benchtests/ffs-inputs: New file.
26572         * benchtests/ffsll-inputs: Likewise.
26574 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
26576         [BZ #16770]
26577         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
26578         too large before casting to int.
26579         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
26580         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
26581         * math/libm-test.inc (scalb_test_data): Add more tests.
26583 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26585         * benchtests/Makefile (DETAILED_OPT): New make option.
26586         (bench-func): Run benchmark program with -d if DETAILED_OPT is
26587         set.
26588         * benchtests/bench-skeleton.c: Include stdbool.h.
26589         (main): Store and print timings per input.
26590         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
26591         member to each argument value.
26592         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
26593         (_print_arg_data): Initialize per-input timing to 0.
26595         * benchtests/Makefile (timing-type): New binary.
26596         (bench-clean): Also remove bench-timing-type.
26597         (bench): New target for timing-type.
26598         (bench-func): Print output in JSON format.
26599         * benchtests/bench-skeleton.c (main): Print output in JSON
26600         format.
26601         * benchtests/bench-timing-type.c: New file.
26602         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
26603         (TIMING_PRINT_STATS): Remove.
26604         * benchtests/scripts/bench.py (_print_arg_data): Store variant
26605         name separately.
26607         * benchtests/bench-modf.c: Remove.
26608         * benchtests/modf-inputs: New inputs file.
26610 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
26612         [BZ #16362]
26613         * math/s_clog10.c (M_PI_LOG10E): New macro.
26614         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
26615         imaginary parts are 0.
26616         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
26617         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
26618         imaginary parts are 0.
26619         * math/s_clog10l.c (M_PI_LOG10El): New macro.
26620         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
26621         imaginary parts are 0.
26622         * math/libm-test.inc (clog10_test_data): Update expected results
26623         for when real and imaginary parts are 0.
26625 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
26627         * elf/dl-load.c: Finish conversion of __builtin_expect into
26628         __glibc_{un}likely.
26630 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
26632         [BZ #16348]
26633         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
26634         1+x for argument with exponent below -67.
26635         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
26636         Likewise.
26637         * math/auto-libm-test-in: Add more tests of exp.
26638         * math/auto-libm-test-out: Regenerated.
26640 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26642         [BZ #16759]
26643         * inet/getnetgrent_r.c (get_nonempty_val): New function.
26644         (nscd_getnetgrent): Use it.
26646         [BZ #16760]
26647         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
26648         of stpcpy.
26650 2014-03-27  Andi Kleen  <ak@linux.intel.com>
26652         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
26653         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26654         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26655         (lll_robust_unlock): Remove out of line section. Use cfi
26656         intrinsics.
26657         (LLL_STUB_UNWIND_INFO*): Remove.
26658         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
26659         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26660         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26661         (lll_robust_unlock): Remove out of line section. Use cfi
26662         intrinsics.
26663         (LLL_STUB_UNWIND_INFO*): Remove.
26665 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26667         [BZ #16758]
26668         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
26669         blank values.
26671 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26673         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
26675 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
26677         [BZ #16198]
26678         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
26679         fnstenv.
26680         * math/test-fenv-preserve.c: New file.
26681         * math/Makefile (tests): Add test-fenv-preserve.
26683 2014-03-26  Will Newton <will.newton@linaro.org>
26685         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
26687 2014-03-25  Roland McGrath  <roland@hack.frob.com>
26689         * scripts/versionlist.awk: Partition the version sets and emit all
26690         GLIBC_* (sorted) before all others (sorted).
26692 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26694         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
26695         GLIBC_2.2.5 version.
26697 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26699         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
26700         calls.
26702         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
26703         previous change.
26705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26707 2014-03-25  Andreas Schwab  <schwab@suse.de>
26709         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
26710         label to be used after in6ailist is initialized.
26712 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26714         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26715         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26717 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26719         [BZ #16357]
26720         [BZ #16599]
26721         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
26722         min_plus_half.
26723         (fp_formats): Update initializers.
26724         (init_fp_formats): Initialize new field.
26725         (output_for_one_input_case): Allow underflow for results up to
26726         min_plus_half.
26727         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
26728         * math/auto-libm-test-in: Don't mark some underflows from asin and
26729         atanh as spurious.
26730         * math/auto-libm-test-out: Regenerated.
26731         * sysdeps/i386/fpu/libm-test-ulps: Update.
26732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26734 2014-03-25  Andreas Schwab  <schwab@suse.de>
26736         * libio/Makefile (tst-ftell-partial-wide-ENV)
26737         (tst-ftell-active-handler-ENV): Define.
26739 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
26741         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
26743 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26745         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
26747 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26749         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
26750         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26751         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26753 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26755         [BZ #16634]
26756         * elf/dl-load.c (open_verify): Add mode parameter.
26757         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
26758         (open_path): Change from boolean 'secure' to complete flag 'mode'
26759         (_dl_map_object): Adjust.
26760         * elf/Makefile (tests): Add tst-dlopen-aout.
26761         * elf/tst-dlopen-aout.c: New test.
26763 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
26765         [BZ #16714]
26766         * sysdeps/unix/sysv/linux/s390/bits/stat.h
26767         (struct stat): Rename member pad0 to __glibc_reserved0.
26769         [BZ #16712]
26770         * sysdeps/s390/s390-32/bits/wordsize.h
26771         (__WORDSIZE32_SIZE_ULONG): New define.
26772         * sysdeps/s390/s390-64/bits/wordsize.h
26773         (__WORDSIZE32_SIZE_ULONG): Likewise.
26774         * sysdeps/generic/stdint.h (SIZE_MAX):
26775         Define as UL if __WORDSIZE32_SIZE_ULONG.
26777         [BZ #16713]
26778         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
26779         (__glibc_reserved0): New variable.
26780         (sa_flags): Change type to int.
26782         * posix/Makefile (before-compile): Use += before-compile instead
26783         of a :=.
26785         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26786         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26788 2014-03-20  Andreas Schwab  <schwab@suse.de>
26790         [BZ #16743]
26791         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
26792         non-matching result from nscd.
26794 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26796         * scripts/bench.py: Moved to ...
26797         * benchtests/scripts/bench.py: ... here.
26798         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
26800 2014-03-24  Andreas Schwab  <schwab@suse.de>
26802         [BZ #16002]
26803         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
26804         alloca_account and account alloca use for struct in6ailist.
26806 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26808         [BZ #16284]
26809         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
26810         rounding mode to recompute results that overflow to infinity or
26811         underflow to zero.
26812         * math/auto-libm-test-in: Don't mark tests as expected to fail for
26813         bug 16284.
26814         * math/auto-libm-test-out: Regenerated.
26815         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
26816         (ccosh_test): Likewise.
26817         (csin_test_data): Use plus_oflow.
26818         (csin_test): Use ALL_RM_TEST.
26819         (csinh_test_data): Use plus_oflow.
26820         (csinh_test): Use ALL_RM_TEST.
26821         * sysdeps/i386/fpu/libm-test-ulps: Update.
26822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26824 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
26826         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
26827         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
26828         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
26830         [BZ #16731]
26831         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
26832         when x - 1 is zero.
26833         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
26834         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
26835         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26836         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
26837         argument is 1.
26838         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
26839         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
26840         zero.
26841         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
26842         * sysdeps/i386/fpu/libm-test-ulps: Update.
26843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26845 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26847         * scripts/bench.pl: Remove file.
26848         * scripts/bench.py: New benchmark script.
26849         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
26850         * benchtests/README: Mention python dependency.
26851         * scripts/pylintrc: New file.
26852         * scripts/pylint: New file.
26854         * bits/mathdef.h: Use #ifdef instead of #if.
26855         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
26856         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26857         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
26858         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26859         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
26860         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26862 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26863             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26865         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
26866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
26867         and strpbrk-ppc64 objects.
26868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26869         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
26870         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
26871         multiarch strpbrk for POWER7.
26872         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
26873         multiarch strpbrk for PPC64.
26874         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
26875         ifunc selector.
26876         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
26877         strpbrk for POWER7.
26879 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26881         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
26882         (atan_test): Likewise.
26883         (atanh_test_data): Use NO_TEST_INLINE for two tests.
26884         (atanh_test): Use ALL_RM_TEST.
26885         (atan2_test_data): Likewise.
26886         (cabs_test): Likewise.
26887         (cacosh_test): Likewise.
26888         (carg_test): Likewise.
26889         (casin_test): Likewise.
26890         (casinh_test): Likewise.
26891         (cbrt_test): Likewise.
26892         (csqrt_test): Likewise.
26893         (erf_test): Likewise.
26894         (erfc_test): Likewise.
26895         (pow10_test): Likewise.
26896         (exp2_test): Likewise.
26897         (hypot_test): Likewise.
26898         (j0_test): Likewise.
26899         (j1_test): Likewise.
26900         (lgamma_test): Likewise.
26901         (gamma_test): Likewise.
26902         (sincos_test): Likewise.
26903         (tanh_test): Likewise.
26904         (y0_test): Likewise.
26905         (y1_test): Likewise.
26906         * sysdeps/i386/fpu/libm-test-ulps: Update.
26907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26909 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26911         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
26912         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
26913         and strcspn-ppc64 objects.
26914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26915         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
26916         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
26917         multiarch strcspn for POWER7.
26918         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
26919         multiarch strcspn for PPC64.
26920         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
26921         ifunc selector.
26922         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
26923         strcspn for POWER7.
26925 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26927         * math/gen-libm-test.pl (generate_testfile): Expect only function
26928         name as argument to AUTO_TESTS_* and pass results for all rounding
26929         modes to parse_args.
26930         (parse_auto_input): Separate inputs of automatic tests from
26931         outputs before storing in %auto_tests.
26932         * math/libm-test.inc (acos_test_data): Update call to
26933         AUTO_TESTS_f_f.
26934         (acos_test): Use ALL_RM_TEST.
26935         (acos_tonearest_test_data): Remove.
26936         (acos_test_tonearest): Likewise.
26937         (acos_towardzero_test_data): Likewise.
26938         (acos_test_towardzero): Likewise.
26939         (acos_downward_test_data): Likewise.
26940         (acos_test_downward): Likewise.
26941         (acos_upward_test_data): Likewise.
26942         (acos_test_upward): Likewise.
26943         (acosh_test_data): Update call to AUTO_TESTS_f_f.
26944         (asin_test_data): Likewise.
26945         (asin_test): Use ALL_RM_TEST.
26946         (asin_tonearest_test_data): Remove.
26947         (asin_test_tonearest): Likewise.
26948         (asin_towardzero_test_data): Likewise.
26949         (asin_test_towardzero): Likewise.
26950         (asin_downward_test_data): Likewise.
26951         (asin_test_downward): Likewise.
26952         (asin_upward_test_data): Likewise.
26953         (asin_test_upward): Likewise.
26954         (asinh_test_data): Update call to AUTO_TESTS_f_f.
26955         (atan_test_data): Likewise.
26956         (atanh_test_data): Likewise.
26957         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
26958         (cabs_test_data): Update call to AUTO_TESTS_c_f.
26959         (carg_test_data): Likewise.
26960         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
26961         (ccos_test_data): Update call to AUTO_TESTS_c_c.
26962         (ccosh_test_data): Likewise.
26963         (cexp_test_data): Likewise.
26964         (clog_test_data): Likewise.
26965         (clog10_test_data): Likewise.
26966         (cos_test_data): Update call to AUTO_TESTS_f_f.
26967         (cos_test): Use ALL_RM_TEST.
26968         (cos_tonearest_test_data): Remove.
26969         (cos_test_tonearest): Likewise.
26970         (cos_towardzero_test_data): Likewise.
26971         (cos_test_towardzero): Likewise.
26972         (cos_downward_test_data): Likewise.
26973         (cos_test_downward): Likewise.
26974         (cos_upward_test_data): Likewise.
26975         (cos_test_upward): Likewise.
26976         (cosh_test_data): Update call to AUTO_TESTS_f_f.
26977         (cosh_test): Use ALL_RM_TEST.
26978         (cosh_tonearest_test_data): Remove.
26979         (cosh_test_tonearest): Likewise.
26980         (cosh_towardzero_test_data): Likewise.
26981         (cosh_test_towardzero): Likewise.
26982         (cosh_downward_test_data): Likewise.
26983         (cosh_test_downward): Likewise.
26984         (cosh_upward_test_data): Likewise.
26985         (cosh_test_upward): Likewise.
26986         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
26987         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
26988         (ctan_test_data): Likewise.
26989         (ctan_test): Use ALL_RM_TEST.
26990         (ctan_tonearest_test_data): Remove.
26991         (ctan_test_tonearest): Likewise.
26992         (ctan_towardzero_test_data): Likewise.
26993         (ctan_test_towardzero): Likewise.
26994         (ctan_downward_test_data): Likewise.
26995         (ctan_test_downward): Likewise.
26996         (ctan_upward_test_data): Likewise.
26997         (ctan_test_upward): Likewise.
26998         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
26999         (ctanh_test): Use ALL_RM_TEST.
27000         (ctanh_tonearest_test_data): Remove.
27001         (ctanh_test_tonearest): Likewise.
27002         (ctanh_towardzero_test_data): Likewise.
27003         (ctanh_test_towardzero): Likewise.
27004         (ctanh_downward_test_data): Likewise.
27005         (ctanh_test_downward): Likewise.
27006         (ctanh_upward_test_data): Likewise.
27007         (ctanh_test_upward): Likewise.
27008         (erf_test_data): Update call to AUTO_TESTS_f_f.
27009         (erfc_test_data): Likewise.
27010         (exp_test_data): Likewise.
27011         (exp_test): Use ALL_RM_TEST.
27012         (exp_tonearest_test_data): Remove.
27013         (exp_test_tonearest): Likewise.
27014         (exp_towardzero_test_data): Likewise.
27015         (exp_test_towardzero): Likewise.
27016         (exp_downward_test_data): Likewise.
27017         (exp_test_downward): Likewise.
27018         (exp_upward_test_data): Likewise.
27019         (exp_test_upward): Likewise.
27020         (exp10_test_data): Update call to AUTO_TESTS_f_f.
27021         (exp10_test): Use ALL_RM_TEST.
27022         (exp10_tonearest_test_data): Remove.
27023         (exp10_test_tonearest): Likewise.
27024         (exp10_towardzero_test_data): Likewise.
27025         (exp10_test_towardzero): Likewise.
27026         (exp10_downward_test_data): Likewise.
27027         (exp10_test_downward): Likewise.
27028         (exp10_upward_test_data): Likewise.
27029         (exp10_test_upward): Likewise.
27030         (exp2_test_data): Update call to AUTO_TESTS_f_f.
27031         (expm1_test_data): Likewise.
27032         (expm1_test): Use ALL_RM_TEST.
27033         (expm1_tonearest_test_data): Remove.
27034         (expm1_test_tonearest): Likewise.
27035         (expm1_towardzero_test_data): Likewise.
27036         (expm1_test_towardzero): Likewise.
27037         (expm1_downward_test_data): Likewise.
27038         (expm1_test_downward): Likewise.
27039         (expm1_upward_test_data): Likewise.
27040         (expm1_test_upward): Likewise.
27041         (fma_test_data): Update call to AUTO_TESTS_fff_f.
27042         (fma_test): Use ALL_RM_TEST.
27043         (fma_towardzero_test_data): Remove.
27044         (fma_test_towardzero): Likewise.
27045         (fma_downward_test_data): Likewise.
27046         (fma_test_downward): Likewise.
27047         (fma_upward_test_data): Likewise.
27048         (fma_test_upward): Likewise.
27049         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
27050         (j0_test_data): Update call to AUTO_TESTS_f_f.
27051         (j1_test_data): Likewise.
27052         (jn_test_data): Update call to AUTO_TESTS_if_f.
27053         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
27054         (log_test_data): Update call to AUTO_TESTS_f_f.
27055         (log10_test_data): Likewise.
27056         (log1p_test_data): Likewise.
27057         (log2_test_data): Likewise.
27058         (pow_test_data): Update call to AUTO_TESTS_ff_f.
27059         (pow_tonearest_test_data): Likewise.
27060         (sin_test_data): Update call to AUTO_TESTS_f_f.
27061         (sin_test): Use ALL_RM_TEST.
27062         (sin_tonearest_test_data): Remove.
27063         (sin_test_tonearest): Likewise.
27064         (sin_towardzero_test_data): Likewise.
27065         (sin_test_towardzero): Likewise.
27066         (sin_downward_test_data): Likewise.
27067         (sin_test_downward): Likewise.
27068         (sin_upward_test_data): Likewise.
27069         (sin_test_upward): Likewise.
27070         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
27071         (sinh_test_data): Update call to AUTO_TESTS_f_f.
27072         (sinh_test): Use ALL_RM_TEST.
27073         (sinh_tonearest_test_data): Remove.
27074         (sinh_test_tonearest): Likewise.
27075         (sinh_towardzero_test_data): Likewise.
27076         (sinh_test_towardzero): Likewise.
27077         (sinh_downward_test_data): Likewise.
27078         (sinh_test_downward): Likewise.
27079         (sinh_upward_test_data): Likewise.
27080         (sinh_test_upward): Likewise.
27081         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
27082         (sqrt_test): Use ALL_RM_TEST.
27083         (sqrt_tonearest_test_data): Remove.
27084         (sqrt_test_tonearest): Likewise.
27085         (sqrt_towardzero_test_data): Likewise.
27086         (sqrt_test_towardzero): Likewise.
27087         (sqrt_downward_test_data): Likewise.
27088         (sqrt_test_downward): Likewise.
27089         (sqrt_upward_test_data): Likewise.
27090         (sqrt_test_upward): Likewise.
27091         (tan_test_data): Update call to AUTO_TESTS_f_f.
27092         (tan_test): Use ALL_RM_TEST.
27093         (tan_tonearest_test_data): Remove.
27094         (tan_test_tonearest): Likewise.
27095         (tan_towardzero_test_data): Likewise.
27096         (tan_test_towardzero): Likewise.
27097         (tan_downward_test_data): Likewise.
27098         (tan_test_downward): Likewise.
27099         (tan_upward_test_data): Likewise.
27100         (tan_test_upward): Likewise.
27101         (tanh_test_data): Update call to AUTO_TESTS_f_f.
27102         (tgamma_test_data): Likewise.
27103         (y0_test_data): Likewise.
27104         (y1_test_data): Likewise.
27105         (yn_test_data): Update call to AUTO_TESTS_if_f.
27106         (main): Do not call removed functions.
27108 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
27110         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
27111         (ldexp_test_data): Remove.
27112         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
27113         scalbn_test_data.
27114         (scalb_test): Use ALL_RM_TEST.
27116 2014-03-19  Andreas Schwab  <schwab@suse.de>
27118         * nscd/nscd.service: Also invalidate netgroup cache on reload.
27120 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
27122         [BZ #16649]
27123         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27124         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
27125         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
27126         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27127         (__ASSUME_PREADV): Undefine.
27128         (__ASSUME_PWRITEV): Likewise.
27130 2014-03-18  Roland McGrath  <roland@hack.frob.com>
27132         * bits/mman-linux.h: Add comment about non-Linux use.
27133         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
27134         bits/mman-linux.h resting place.
27136         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
27137         * bits/mman-linux.h: ... here.
27139 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27141         * conform/conformtest.pl: Add standard definition when calling C
27142         preprocessor on data files.
27143         (checknamespace): Remove unused variable.
27145 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
27147         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
27148         minus_oflow, plus_uflow and minus_uflow in expected results.
27149         * math/libm-test.inc (scalbn_test_data): Add more tests of
27150         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
27151         minus_uflow.
27152         (scalbn_test): Use ALL_RM_TEST.
27153         (scalbln_test_data): Add more tests of negative arguments.  Use
27154         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
27155         (scalbln_test): Use ALL_RM_TEST.
27157 2014-03-18  Roland McGrath  <roland@hack.frob.com>
27159         * scripts/abilist.awk: Ignore symbols marked with .hidden.
27161 2014-03-18  Will Newton  <will.newton@linaro.org>
27163         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
27164         inaccurate comment.
27166 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
27168         * Makerules [!subdir] (check-abi): Exit with error status if a
27169         test failed.
27171 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
27173         * math/libm-test.inc (nearbyint_test_data): Include all tests used
27174         for rint.  Include results for all rounding modes.
27175         (nearbyint_test): Use ALL_RM_TEST.
27176         (rint_test_data): Include all tests used for nearbyint.
27178 2014-03-17  Will Newton  <will.newton@linaro.org>
27180         * nptl/sysdeps/pthread/pthread.h: Revert previous
27181         change.
27183         * sysdeps/generic/ldsodefs.h: Revert previous
27184         change.
27186         * libio/genops.c: Revert previous change.
27187         * libio/libioP.h: Likewise.
27188         * stdio-common/vfprintf.c: Likewise.
27190         * sysdeps/generic/math_private.h: Revert previous
27191         change.
27193         * sysdeps/generic/math_private.h: Check whether
27194         HAVE_RM_CTX is defined with #ifdef rather
27195         than #if.
27197         * argp/argp-fmtstream.h: Check whether
27198         __STRICT_ANSI__ is defined with #ifdef rather
27199         than #if.
27200         * argp/argp.h: Likewise.
27202         * libio/genops.c: Check whether
27203         _IO_JUMPS_OFFSET is defined with #ifdef rather
27204         than #if.
27205         * libio/libioP.h: Likewise.
27206         * stdio-common/vfprintf.c: Likewise.
27208         * sysdeps/generic/ldsodefs.h: Check whether
27209         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
27210         than #if.
27212         * nptl/sysdeps/pthread/pthread.h: Check
27213         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
27214         its value.
27216 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27218         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
27219         setting O_APPEND.
27220         * libio/tst-ftell-active-handler.c (do_append_test): Add a
27221         test case.
27223         [BZ #16680]
27224         * libio/fileops.c (_IO_file_open): Seek to end of file but
27225         don't cache the offset.
27226         (get_file_offset): Remove function.
27227         (do_ftell): Use cached offset when available.
27228         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
27229         don't cache the offset.
27230         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
27231         case.
27232         (do_one_test): Call it.
27233         (do_ftell_test): Fix up expected old offset for a+ mode.
27234         * libio/wfileops.c (do_ftell_wide): Used cached offset when
27235         available.
27237         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
27238         up test status with function return status.
27239         (do_write_test): Likewise.
27240         (do_append_test): Likewise.
27242         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
27243         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
27244         Remove.
27246 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
27248         * math/gen-libm-test.pl (parse_args): Handle results specified for
27249         each rounding mode separately.
27250         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
27251         tests and results from lrint_tonearest_test_data,
27252         lrint_towardzero_test_data, lrint_downward_test_data and
27253         lrint_upward_test_data.
27254         (lrint_test): Use ALL_RM_TEST.
27255         (lrint_tonearest_test_data): Remove.
27256         (lrint_test_tonearest): Likewise.
27257         (lrint_towardzero_test_data): Likewise.
27258         (lrint_test_towardzero): Likewise.
27259         (lrint_downward_test_data): Likewise.
27260         (lrint_test_downward): Likewise.
27261         (lrint_upward_test_data): Likewise.
27262         (lrint_test_upward): Likewise.
27263         (llrint_test_data): Merge in per-rounding-mode tests and results
27264         from llrint_tonearest_test_data, llrint_towardzero_test_data,
27265         llrint_downward_test_data and llrint_upward_test_data.
27266         (llrint_test): Use ALL_RM_TEST.
27267         (llrint_tonearest_test_data): Remove.
27268         (llrint_test_tonearest): Likewise.
27269         (llrint_towardzero_test_data): Likewise.
27270         (llrint_test_towardzero): Likewise.
27271         (llrint_downward_test_data): Likewise.
27272         (llrint_test_downward): Likewise.
27273         (llrint_upward_test_data): Likewise.
27274         (llrint_test_upward): Likewise.
27275         (rint_test_data): Merge in per-rounding-mode tests and results
27276         from rint_tonearest_test_data, rint_towardzero_test_data,
27277         rint_downward_test_data and rint_upward_test_data.  Add
27278         per-rounding-mode results for tests not in those arrays.
27279         (rint_test): Use ALL_RM_TEST.
27280         (rint_tonearest_test_data): Remove.
27281         (rint_test_tonearest): Likewise.
27282         (rint_towardzero_test_data): Likewise.
27283         (rint_test_towardzero): Likewise.
27284         (rint_downward_test_data): Likewise.
27285         (rint_test_downward): Likewise.
27286         (rint_upward_test_data): Likewise.
27287         (rint_test_upward): Likewise.
27288         (main): Don't call removed functions.
27290 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27292         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
27293         "Compiled on ..." crapola.  It is anti-useful.
27295 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
27297         * scripts/evaluate-test.sh: Handle fourth argument to determine
27298         whether test run should stop on failure.
27299         * Makeconfig (stop-on-test-failure): New variable.
27300         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
27301         $(stop-on-test-failure).
27302         * Makefile (tests): Give a summary of results from testing and
27303         exit with failure status if they include an ERROR or FAIL.
27304         (xtests): Likewise.
27305         * manual/install.texi (Configuring and compiling): Mention
27306         stop-on-test-failure=y.
27307         * INSTALL: Regenerated.
27309 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27311         * scripts/versionlist.awk: New file.
27312         * Makerules [$(build-shared) = yes]
27313         (postclean-generated): Add Versions.def, not Versions.def.v and
27314         Versions.def.v.i.
27315         ($(common-objpfx)Versions.def.v.i): Target removed.
27316         ($(common-objpfx)Versions.def): New target.
27317         ($(common-objpfx)Versions.all): Depend on that rather that
27318         $(common-objpfx)Versions.def.v.
27319         * Versions.def: File removed.
27321         * Makeconfig (+gccwarn): Add -Wundef.
27322         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
27323         a dl-sysdep.h breaking its contract.
27324         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
27325         * include/stackinfo.h: New file.
27326         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
27327         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
27328         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
27329         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
27330         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
27331         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
27332         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27333         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27334         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27335         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27336         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27337         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
27338         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27339         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27340         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27342 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27344         [BZ #16707]
27345         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
27346         implementation.
27347         * math/libm-test.inc (round_test_data): Add more tests.
27349         [BZ #16706]
27350         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
27351         implementation.
27352         * math/libm-test.inc (nearbyint_test_data): Add more tests.
27354         [BZ #16701]
27355         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
27356         implementation.
27357         * math/libm-test.inc (ceil_test_data): Add more tests.
27359         * math/libm-test.inc (trunc_test_data): Add more tests related to
27360         BZ#16414.
27362 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27364         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
27365         with #if rather than #ifdef.
27366         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
27368 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
27370         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
27371         first.  Disable AVX-512 GCC support if assembler doesn't support
27372         it.
27373         * sysdeps/x86_64/configure: Regenerated.
27375 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
27377         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
27378         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
27379         (__old_pthread_attr_setstack): Likewise.
27380         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
27381         [!_STACK_GROWS_DOWN]: Likewise.
27383 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
27385         * config.make.in (have-bash2): Delete.
27386         * configure.ac (libc_cv_have_bash2): Delete.
27387         * configure: Regenerate.
27388         * elf/Makefile (common-ldd-rewrite): Rename to ...
27389         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
27390         (sh-ldd-rewrite): Delete.
27391         (bash-ldd-rewrite): Delete.
27392         (have-bash2): Delete checks.
27393         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
27394         ldd-rewrite.
27396         * config.make.in (have-ksh): Delete.
27397         (KSH): Delete.
27398         * configure.ac (libc_cv_have_ksh): Delete.
27399         * configure: Regenerate.
27401         * elf/Makefile: Delete $(have-ksh) check.
27402         ($(objpfx)sotruss): Change KSH to BASH.
27403         * elf/sotruss.ksh: Rename to ...
27404         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
27405         function style to match POSIX.  Drop ksh vim mode setting.
27407         * manual/time.texi (Specifying the Time Zone with TZ): Change
27408         Tuesday to Thursday.
27410         * debug/tst-longjmp_chk2.c: Update header comment.
27411         (stackoverflow_handler): Add comment.  Call assert on pass value.
27413 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
27415         [BZ #16194]
27416         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
27417         (HAVE_AVX512_ASM_SUPPORT): Likewise.
27418         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
27419         (La_x86_64_vector): Add zmm.
27420         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
27421         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
27422         ($(objpfx)tst-audit10): New target.
27423         ($(objpfx)tst-audit10.out): Likewise.
27424         (tst-audit10-ENV): New.
27425         (AVX512-CFLAGS): Likewise.
27426         (CFLAGS-tst-audit10.c): Likewise.
27427         (CFLAGS-tst-auditmod10a.c): Likewise.
27428         (CFLAGS-tst-auditmod10b.c): Likewise.
27429         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
27430         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
27431         * sysdeps/x86_64/configure: Regenerated.
27432         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
27433         AVX-512 zmm register support.
27434         (_dl_x86_64_save_sse): Likewise.
27435         (_dl_x86_64_restore_sse): Likewise.
27436         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
27437         size vector registers.
27438         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
27439         (ZMM_SIZE): Likewise.
27440         * sysdeps/x86_64/tst-audit10.c: New file.
27441         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
27442         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
27444 2014-03-13  Roland McGrath  <roland@hack.frob.com>
27446         * configure.ac (HAVE_EHDR_START): New check.
27447         * configure: Regenerated.
27448         * config.h.in (HAVE_EHDR_START): New #undef.
27449         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
27450         assuming the lowest-addressed segment maps the start of the file.
27452 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
27454         * INSTALL: Regenerated.
27456 2014-03-13  Will Newton  <will.newton@linaro.org>
27458         * manual/setjmp.texi (System V contexts): Improve
27459         clarity and grammar of documentation.
27461 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27463         [BZ #16381]
27464         * elf/Makefile (tests): Add tst-pie2.
27465         (tests-pie): Add tst-pie2.
27466         * elf/tst-pie2.c: New file.
27467         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
27468         for ET_EXEC.
27469         * elf/rtld.c (map_doit): Load executable as lt_executable.
27470         (dl_main): Likewise.
27472 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
27474         [BZ #16642]
27475         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27476         (__ASSUME_PSELECT): Undefine.
27478 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27480         [BZ #16689]
27481         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
27482         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
27483         static build.
27484         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
27485         selector for static builds.
27487 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27489         [BZ #16695]
27490         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
27491         key in the buffer.
27493 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27495         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
27496         IFUNC selector for static builds.
27498 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
27500         * sysdeps/mips/math_private.h [__mips_hard_float]
27501         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
27502         libc_feresetround_mips_ctx.
27503         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
27504         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
27505         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
27507         [BZ #16677]
27508         * math/s_nextafter.c (__nextafter): Do not return value from
27509         overflowing computation.
27510         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
27511         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
27512         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
27513         Likewise.
27514         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
27515         Likewise.
27516         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
27517         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
27519 2014-03-11  Roland McGrath  <roland@hack.frob.com>
27521         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
27522         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
27523         Move sfi_sp use from the load-multiple (that no longer sets sp) to
27524         the new mov targetting sp.
27526 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27528         [BZ #16683]
27529         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
27530         Define it for static builds as well.
27531         (NO_BZERO_IMPL): Likewise.
27533 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27535         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
27536         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
27537         multiarch strspn for PPC64.
27538         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
27539         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
27540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27541         (__libc_ifunc_impl_list): Likewise.
27542         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
27543         multiarch optimizations
27544         * string/strspn.c (strspn): Using macro to redefine symbol name.
27546 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27547             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27549         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
27550         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
27551         multiarch strncat for PPC64.
27552         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
27553         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
27554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27555         (__libc_ifunc_impl_list): Likewise.
27556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
27557         multiarch optimizations
27559 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27561         [BZ #16639]
27562         * nscd/nscd.service: Make service type forking.
27564 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27566         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
27567         sign in non default rounding modes.
27568         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
27570 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
27572         * math/libm-test.inc (ALL_RM_TEST): New macro.
27573         (ceil_test): Use ALL_RM_TEST.
27574         (cimag_test): Likewise.
27575         (conj_test): Likewise.
27576         (copysign_test): Likewise.
27577         (cproj_test): Likewise.
27578         (creal_test): Likewise.
27579         (fabs_test): Likewise.
27580         (floor_test): Likewise.
27581         (fmax_test): Likewise.
27582         (fmin_test): Likewise.
27583         (fmod_test): Likewise.
27584         (fpclassify_test): Likewise.
27585         (frexp_test): Likewise.
27586         (ilogb_test): Likewise.
27587         (isfinite_test): Likewise.
27588         (finite_test): Likewise.
27589         (isgreater_test): Likewise.
27590         (isgreaterequal_test): Likewise.
27591         (isinf_test): Likewise.
27592         (isless_test): Likewise.
27593         (islessequal_test): Likewise.
27594         (islessgreater_test): Likewise.
27595         (isnan_test): Likewise.
27596         (isnormal_test): Likewise.
27597         (issignaling_test): Likewise.
27598         (isunordered_test): Likewise.
27599         (logb_test): Likewise.
27600         (logb_downward_test_data): Remove.
27601         (logb_test_downward): Likewise.
27602         (lround_test): Use ALL_RM_TEST.
27603         (llround_test): Likewise.
27604         (modf_test): Likewise.
27605         (nexttoward_test): Likewise.
27606         (remainder_test): Likewise.
27607         (drem_test): Likewise.
27608         (remainder_tonearest_test_data): Likewise.
27609         (remainder_test_tonearest): Likewise.
27610         (drem_test_tonearest): Likewise.
27611         (remainder_towardzero_test_data): Likewise.
27612         (remainder_test_towardzero): Likewise.
27613         (drem_test_towardzero): Likewise.
27614         (remainder_downward_test_data): Likewise.
27615         (remainder_test_downward): Likewise.
27616         (drem_test_downward): Likewise.
27617         (remainder_upward_test_data): Likewise.
27618         (remainder_test_upward): Likewise.
27619         (drem_test_upward): Likewise.
27620         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
27621         (round_test): Use ALL_RM_TEST.
27622         (signbit_test): Likewise.
27623         (trunc_test): Likewise.
27624         (significand_test): Likewise.
27625         (main): Don't call removed functions.
27627 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
27629         [BZ #16674]
27630         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
27631         || __USE_XOPEN2K8].
27632         (ILL_ILLOPN): Likewise.
27633         (ILL_ILLADR): Likewise.
27634         (ILL_ILLTRP): Likewise.
27635         (ILL_PRVOPC): Likewise.
27636         (ILL_PRVREG): Likewise.
27637         (ILL_COPROC): Likewise.
27638         (ILL_BADSTK): Likewise.
27639         (FPE_INTDIV): Likewise.
27640         (FPE_INTOVF): Likewise.
27641         (FPE_FLTDIV): Likewise.
27642         (FPE_FLTOVF): Likewise.
27643         (FPE_FLTUND): Likewise.
27644         (FPE_FLTRES): Likewise.
27645         (FPE_FLTINV): Likewise.
27646         (FPE_FLTSUB): Likewise.
27647         (SEGV_MAPERR): Likewise.
27648         (SEGV_ACCERR): Likewise.
27649         (BUS_ADRALN): Likewise.
27650         (BUS_ADRERR): Likewise.
27651         (BUS_OBJERR): Likewise.
27652         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27653         (TRAP_TRACE): Likewise.
27654         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27655         __USE_XOPEN2K8].
27656         (CLD_KILLED): Likewise.
27657         (CLD_DUMPED): Likewise.
27658         (CLD_TRAPPED): Likewise.
27659         (CLD_STOPPED): Likewise.
27660         (CLD_CONTINUED): Likewise.
27661         (POLL_IN): Likewise.
27662         (POLL_OUT): Likewise.
27663         (POLL_MSG): Likewise.
27664         (POLL_ERR): Likewise.
27665         (POLL_PRI): Likewise.
27666         (POLL_HUP): Likewise.
27667         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
27668         Likewise.
27669         (ILL_ILLOPN): Likewise.
27670         (ILL_ILLADR): Likewise.
27671         (ILL_ILLTRP): Likewise.
27672         (ILL_PRVOPC): Likewise.
27673         (ILL_PRVREG): Likewise.
27674         (ILL_COPROC): Likewise.
27675         (ILL_BADSTK): Likewise.
27676         (FPE_INTDIV): Likewise.
27677         (FPE_INTOVF): Likewise.
27678         (FPE_FLTDIV): Likewise.
27679         (FPE_FLTOVF): Likewise.
27680         (FPE_FLTUND): Likewise.
27681         (FPE_FLTRES): Likewise.
27682         (FPE_FLTINV): Likewise.
27683         (FPE_FLTSUB): Likewise.
27684         (SEGV_MAPERR): Likewise.
27685         (SEGV_ACCERR): Likewise.
27686         (BUS_ADRALN): Likewise.
27687         (BUS_ADRERR): Likewise.
27688         (BUS_OBJERR): Likewise.
27689         (BUS_MCEERR_AR): Likewise.
27690         (BUS_MCEERR_AO): Likewise.
27691         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27692         (TRAP_TRACE): Likewise.
27693         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27694         __USE_XOPEN2K8].
27695         (CLD_KILLED): Likewise.
27696         (CLD_DUMPED): Likewise.
27697         (CLD_TRAPPED): Likewise.
27698         (CLD_STOPPED): Likewise.
27699         (CLD_CONTINUED): Likewise.
27700         (POLL_IN): Likewise.
27701         (POLL_OUT): Likewise.
27702         (POLL_MSG): Likewise.
27703         (POLL_ERR): Likewise.
27704         (POLL_PRI): Likewise.
27705         (POLL_HUP): Likewise.
27706         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
27707         (ILL_ILLOPN): Likewise.
27708         (ILL_ILLADR): Likewise.
27709         (ILL_ILLTRP): Likewise.
27710         (ILL_PRVOPC): Likewise.
27711         (ILL_PRVREG): Likewise.
27712         (ILL_COPROC): Likewise.
27713         (ILL_BADSTK): Likewise.
27714         (FPE_INTDIV): Likewise.
27715         (FPE_INTOVF): Likewise.
27716         (FPE_FLTDIV): Likewise.
27717         (FPE_FLTOVF): Likewise.
27718         (FPE_FLTUND): Likewise.
27719         (FPE_FLTRES): Likewise.
27720         (FPE_FLTINV): Likewise.
27721         (FPE_FLTSUB): Likewise.
27722         (SEGV_MAPERR): Likewise.
27723         (SEGV_ACCERR): Likewise.
27724         (BUS_ADRALN): Likewise.
27725         (BUS_ADRERR): Likewise.
27726         (BUS_OBJERR): Likewise.
27727         (BUS_MCEERR_AR): Likewise.
27728         (BUS_MCEERR_AO): Likewise.
27729         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27730         (TRAP_TRACE): Likewise.
27731         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27732         __USE_XOPEN2K8].
27733         (CLD_KILLED): Likewise.
27734         (CLD_DUMPED): Likewise.
27735         (CLD_TRAPPED): Likewise.
27736         (CLD_STOPPED): Likewise.
27737         (CLD_CONTINUED): Likewise.
27738         (POLL_IN): Likewise.
27739         (POLL_OUT): Likewise.
27740         (POLL_MSG): Likewise.
27741         (POLL_ERR): Likewise.
27742         (POLL_PRI): Likewise.
27743         (POLL_HUP): Likewise.
27744         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
27745         Likewise.
27746         (ILL_ILLOPN): Likewise.
27747         (ILL_ILLADR): Likewise.
27748         (ILL_ILLTRP): Likewise.
27749         (ILL_PRVOPC): Likewise.
27750         (ILL_PRVREG): Likewise.
27751         (ILL_COPROC): Likewise.
27752         (ILL_BADSTK): Likewise.
27753         (ILL_BADIADDR): Likewise.
27754         (ILL_BREAK): Likewise.
27755         (FPE_INTDIV): Likewise.
27756         (FPE_INTOVF): Likewise.
27757         (FPE_FLTDIV): Likewise.
27758         (FPE_FLTOVF): Likewise.
27759         (FPE_FLTUND): Likewise.
27760         (FPE_FLTRES): Likewise.
27761         (FPE_FLTINV): Likewise.
27762         (FPE_FLTSUB): Likewise.
27763         (FPE_DECOVF): Likewise.
27764         (FPE_DECDIV): Likewise.
27765         (FPE_DECERR): Likewise.
27766         (FPE_INVASC): Likewise.
27767         (FPE_INVDEC): Likewise.
27768         (SEGV_MAPERR): Likewise.
27769         (SEGV_ACCERR): Likewise.
27770         (SEGV_PSTKOVF): Likewise.
27771         (BUS_ADRALN): Likewise.
27772         (BUS_ADRERR): Likewise.
27773         (BUS_OBJERR): Likewise.
27774         (BUS_MCEERR_AR): Likewise.
27775         (BUS_MCEERR_AO): Likewise.
27776         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27777         (TRAP_TRACE): Likewise.
27778         (TRAP_BRANCH): Likewise.
27779         (TRAP_HWBKPT): Likewise.
27780         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27781         __USE_XOPEN2K8].
27782         (CLD_KILLED): Likewise.
27783         (CLD_DUMPED): Likewise.
27784         (CLD_TRAPPED): Likewise.
27785         (CLD_STOPPED): Likewise.
27786         (CLD_CONTINUED): Likewise.
27787         (POLL_IN): Likewise.
27788         (POLL_OUT): Likewise.
27789         (POLL_MSG): Likewise.
27790         (POLL_ERR): Likewise.
27791         (POLL_PRI): Likewise.
27792         (POLL_HUP): Likewise.
27793         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
27794         (ILL_ILLOPN): Likewise.
27795         (ILL_ILLADR): Likewise.
27796         (ILL_ILLTRP): Likewise.
27797         (ILL_PRVOPC): Likewise.
27798         (ILL_PRVREG): Likewise.
27799         (ILL_COPROC): Likewise.
27800         (ILL_BADSTK): Likewise.
27801         (FPE_INTDIV): Likewise.
27802         (FPE_INTOVF): Likewise.
27803         (FPE_FLTDIV): Likewise.
27804         (FPE_FLTOVF): Likewise.
27805         (FPE_FLTUND): Likewise.
27806         (FPE_FLTRES): Likewise.
27807         (FPE_FLTINV): Likewise.
27808         (FPE_FLTSUB): Likewise.
27809         (SEGV_MAPERR): Likewise.
27810         (SEGV_ACCERR): Likewise.
27811         (BUS_ADRALN): Likewise.
27812         (BUS_ADRERR): Likewise.
27813         (BUS_OBJERR): Likewise.
27814         (BUS_MCEERR_AR): Likewise.
27815         (BUS_MCEERR_AO): Likewise.
27816         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27817         (TRAP_TRACE): Likewise.
27818         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27819         __USE_XOPEN2K8].
27820         (CLD_KILLED): Likewise.
27821         (CLD_DUMPED): Likewise.
27822         (CLD_TRAPPED): Likewise.
27823         (CLD_STOPPED): Likewise.
27824         (CLD_CONTINUED): Likewise.
27825         (POLL_IN): Likewise.
27826         (POLL_OUT): Likewise.
27827         (POLL_MSG): Likewise.
27828         (POLL_ERR): Likewise.
27829         (POLL_PRI): Likewise.
27830         (POLL_HUP): Likewise.
27831         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
27832         (ILL_ILLOPN): Likewise.
27833         (ILL_ILLADR): Likewise.
27834         (ILL_ILLTRP): Likewise.
27835         (ILL_PRVOPC): Likewise.
27836         (ILL_PRVREG): Likewise.
27837         (ILL_COPROC): Likewise.
27838         (ILL_BADSTK): Likewise.
27839         (FPE_INTDIV): Likewise.
27840         (FPE_INTOVF): Likewise.
27841         (FPE_FLTDIV): Likewise.
27842         (FPE_FLTOVF): Likewise.
27843         (FPE_FLTUND): Likewise.
27844         (FPE_FLTRES): Likewise.
27845         (FPE_FLTINV): Likewise.
27846         (FPE_FLTSUB): Likewise.
27847         (SEGV_MAPERR): Likewise.
27848         (SEGV_ACCERR): Likewise.
27849         (BUS_ADRALN): Likewise.
27850         (BUS_ADRERR): Likewise.
27851         (BUS_OBJERR): Likewise.
27852         (BUS_MCEERR_AR): Likewise.
27853         (BUS_MCEERR_AO): Likewise.
27854         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27855         (TRAP_TRACE): Likewise.
27856         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27857         __USE_XOPEN2K8].
27858         (CLD_KILLED): Likewise.
27859         (CLD_DUMPED): Likewise.
27860         (CLD_TRAPPED): Likewise.
27861         (CLD_STOPPED): Likewise.
27862         (CLD_CONTINUED): Likewise.
27863         (POLL_IN): Likewise.
27864         (POLL_OUT): Likewise.
27865         (POLL_MSG): Likewise.
27866         (POLL_ERR): Likewise.
27867         (POLL_PRI): Likewise.
27868         (POLL_HUP): Likewise.
27869         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
27870         (ILL_ILLOPN): Likewise.
27871         (ILL_ILLADR): Likewise.
27872         (ILL_ILLTRP): Likewise.
27873         (ILL_PRVOPC): Likewise.
27874         (ILL_PRVREG): Likewise.
27875         (ILL_COPROC): Likewise.
27876         (ILL_BADSTK): Likewise.
27877         (FPE_INTDIV): Likewise.
27878         (FPE_INTOVF): Likewise.
27879         (FPE_FLTDIV): Likewise.
27880         (FPE_FLTOVF): Likewise.
27881         (FPE_FLTUND): Likewise.
27882         (FPE_FLTRES): Likewise.
27883         (FPE_FLTINV): Likewise.
27884         (FPE_FLTSUB): Likewise.
27885         (SEGV_MAPERR): Likewise.
27886         (SEGV_ACCERR): Likewise.
27887         (BUS_ADRALN): Likewise.
27888         (BUS_ADRERR): Likewise.
27889         (BUS_OBJERR): Likewise.
27890         (BUS_MCEERR_AR): Likewise.
27891         (BUS_MCEERR_AO): Likewise.
27892         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27893         (TRAP_TRACE): Likewise.
27894         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27895         __USE_XOPEN2K8].
27896         (CLD_KILLED): Likewise.
27897         (CLD_DUMPED): Likewise.
27898         (CLD_TRAPPED): Likewise.
27899         (CLD_STOPPED): Likewise.
27900         (CLD_CONTINUED): Likewise.
27901         (POLL_IN): Likewise.
27902         (POLL_OUT): Likewise.
27903         (POLL_MSG): Likewise.
27904         (POLL_ERR): Likewise.
27905         (POLL_PRI): Likewise.
27906         (POLL_HUP): Likewise.
27907         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
27908         (ILL_ILLOPN): Likewise.
27909         (ILL_ILLADR): Likewise.
27910         (ILL_ILLTRP): Likewise.
27911         (ILL_PRVOPC): Likewise.
27912         (ILL_PRVREG): Likewise.
27913         (ILL_COPROC): Likewise.
27914         (ILL_BADSTK): Likewise.
27915         (ILL_DBLFLT): Likewise.
27916         (ILL_HARDWALL): Likewise.
27917         (FPE_INTDIV): Likewise.
27918         (FPE_INTOVF): Likewise.
27919         (FPE_FLTDIV): Likewise.
27920         (FPE_FLTOVF): Likewise.
27921         (FPE_FLTUND): Likewise.
27922         (FPE_FLTRES): Likewise.
27923         (FPE_FLTINV): Likewise.
27924         (FPE_FLTSUB): Likewise.
27925         (SEGV_MAPERR): Likewise.
27926         (SEGV_ACCERR): Likewise.
27927         (BUS_ADRALN): Likewise.
27928         (BUS_ADRERR): Likewise.
27929         (BUS_OBJERR): Likewise.
27930         (BUS_MCEERR_AR): Likewise.
27931         (BUS_MCEERR_AO): Likewise.
27932         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27933         (TRAP_TRACE): Likewise.
27934         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27935         __USE_XOPEN2K8].
27936         (CLD_KILLED): Likewise.
27937         (CLD_DUMPED): Likewise.
27938         (CLD_TRAPPED): Likewise.
27939         (CLD_STOPPED): Likewise.
27940         (CLD_CONTINUED): Likewise.
27941         (POLL_IN): Likewise.
27942         (POLL_OUT): Likewise.
27943         (POLL_MSG): Likewise.
27944         (POLL_ERR): Likewise.
27945         (POLL_PRI): Likewise.
27946         (POLL_HUP): Likewise.
27947         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
27948         (ILL_ILLOPN): Likewise.
27949         (ILL_ILLADR): Likewise.
27950         (ILL_ILLTRP): Likewise.
27951         (ILL_PRVOPC): Likewise.
27952         (ILL_PRVREG): Likewise.
27953         (ILL_COPROC): Likewise.
27954         (ILL_BADSTK): Likewise.
27955         (FPE_INTDIV): Likewise.
27956         (FPE_INTOVF): Likewise.
27957         (FPE_FLTDIV): Likewise.
27958         (FPE_FLTOVF): Likewise.
27959         (FPE_FLTUND): Likewise.
27960         (FPE_FLTRES): Likewise.
27961         (FPE_FLTINV): Likewise.
27962         (FPE_FLTSUB): Likewise.
27963         (SEGV_MAPERR): Likewise.
27964         (SEGV_ACCERR): Likewise.
27965         (BUS_ADRALN): Likewise.
27966         (BUS_ADRERR): Likewise.
27967         (BUS_OBJERR): Likewise.
27968         (BUS_MCEERR_AR): Likewise.
27969         (BUS_MCEERR_AO): Likewise.
27970         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27971         (TRAP_TRACE): Likewise.
27972         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27973         __USE_XOPEN2K8].
27974         (CLD_KILLED): Likewise.
27975         (CLD_DUMPED): Likewise.
27976         (CLD_TRAPPED): Likewise.
27977         (CLD_STOPPED): Likewise.
27978         (CLD_CONTINUED): Likewise.
27979         (POLL_IN): Likewise.
27980         (POLL_OUT): Likewise.
27981         (POLL_MSG): Likewise.
27982         (POLL_ERR): Likewise.
27983         (POLL_PRI): Likewise.
27984         (POLL_HUP): Likewise.
27985         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
27986         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
27988         [BZ #16670]
27989         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
27990         before #include of <time.h>.
27991         [!__USE_XOPEN2K] (__need_timespec): Likewise.
27992         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
27993         (test-xfail-UNIX98/sched.h/conform): Likewise.
27995 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27997         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
27998         error absence of trapping exception support.
27999         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28001 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
28003         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
28004         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
28005         * timezone/Makefile (testdata): Move definition above include of
28006         Rules.
28007         (test-zones): New variable.
28008         (tests-special): Add zone files.
28009         (build-testdata): Use $(evaluate-test).
28011         * elf/Makefile (tests-special): Rename tests to end with .out.
28012         ($(objpfx)noload-mem): Likewise.
28013         ($(objpfx)tst-leaks1-mem): Likewise.
28014         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
28015         * iconv/Makefile (xtests-special): Change test-iconvconfig to
28016         $(objpfx)test-iconvconfig.out.
28017         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
28018         set -e inside subshell and redirect output to file.
28019         * iconvdata/Makefile (generated): Rename tests to end with .out.
28020         Correct type.
28021         (tests-special): Rename tests to end with .out.
28022         ($(objpfx)mtrace-tst-loading): Likewise.
28023         * intl/Makefile (generated): Likewise.
28024         (tests-special): Likewise.
28025         ($(objpfx)mtrace-tst-gettext): Likewise.
28026         * misc/Makefile (generated): Likewise.
28027         (tests-special): Likewise.
28028         ($(objpfx)tst-error1-mem): Likewise.
28029         * nptl/Makefile (tests-special): Likewise.
28030         ($(objpfx)tst-stack3-mem): Likewise.
28031         (generated): Likewise.
28032         * posix/Makefile (generated): Likewise.
28033         (tests-special): Likewise.
28034         (xtests-special): Likewise.
28035         ($(objpfx)tst-fnmatch-mem): Likewise.
28036         ($(objpfx)bug-regex2-mem): Likewise.
28037         ($(objpfx)bug-regex14-mem): Likewise.
28038         ($(objpfx)bug-regex21-mem): Likewise.
28039         ($(objpfx)bug-regex31-mem): Likewise.
28040         ($(objpfx)tst-vfork3-mem): Likewise.
28041         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
28042         ($(objpfx)tst-pcre-mem): Likewise.
28043         ($(objpfx)tst-boost-mem): Likewise.
28044         ($(objpfx)bug-ga2-mem): Likewise.
28045         ($(objpfx)bug-glob2-mem): Likewise.
28046         * resolv/Makefile (generate): Likewise.
28047         (tests-special): Likewise.
28048         (xtests-special): Likewise.
28049         (generated): Likewise.
28050         ($(objpfx)mtrace-tst-leaks): Likewise.
28051         ($(objpfx)mtrace-tst-leaks2): Likewise.
28053         * scripts/merge-test-results.sh: New file.
28054         * Makefile (tests-special-notdir): New variable.
28055         (tests): Run merge-test-results.sh.
28056         (xtests): Likewise.
28057         * Rules (tests-special-notdir): New variable.
28058         (xtests-special-notdir): Likewise.
28059         (tests): Run merge-test-results.sh
28060         (xtests): Likewise.
28062         * Makeconfig (test-xfail-name): New variable.
28063         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
28064         compute variable name for expected failures.
28065         * conform/Makefile (conformtest-headers-data): New variable.
28066         (conformtest-standards): Likewise.
28067         (conformtest-headers-ISO): Likewise.
28068         (conformtest-headers-ISO99): Likewise.
28069         (conformtest-headers-ISO11): Likewise.
28070         (conformtest-headers-POSIX): Likewise.
28071         (conformtest-headers-XPG3): Likewise.
28072         (conformtest-headers-XPG4): Likewise.
28073         (conformtest-headers-UNIX98): Likewise.
28074         (conformtest-headers-XOPEN2K): Likewise.
28075         (conformtest-headers-POSIX2008): Likewise.
28076         (conformtest-headers-XOPEN2K8): Likewise.
28077         (conformtest-header-list-base): Likewise.
28078         (conformtest-header-list-tests): Likewise.
28079         (conformtest-header-base): Likewise.
28080         (conformtest-header-tests): Likewise.
28081         (tests-special): Add $(conformtest-header-list-tests).  If
28082         [$(fast-check) && !$(cross-compiling)], add
28083         $(conformtest-header-tests) instead of
28084         $(objpfx)run-conformtest.out.
28085         (generated): Add $(conformtest-header-list-base).  If
28086         [$(fast-check) && !$(cross-compiling)], add
28087         $(conformtest-header-base).  Remove previous setting.
28088         ($(conformtest-header-list-tests)): New target.
28089         (test-xfail-run-conformtest): Remove variable.
28090         ($(objpfx)run-conformtest.out): Remove target.
28091         (test-xfail-ISO11/complex.h/conform): New variable.
28092         (test-xfail-ISO11/stdalign.h/conform): Likewise.
28093         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
28094         (test-xfail-XPG3/varargs.h/conform): Likewise.
28095         (test-xfail-XPG4/varargs.h/conform): Likewise.
28096         (test-xfail-UNIX98/varargs.h/conform): Likewise.
28097         (test-xfail-XPG4/ndbm.h/conform): Likewise.
28098         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
28099         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
28100         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
28101         (test-xfail-XPG3/fcntl.h/conform): Likewise.
28102         (test-xfail-XPG3/ftw.h/conform): Likewise.
28103         (test-xfail-XPG3/grp.h/conform): Likewise.
28104         (test-xfail-XPG3/langinfo.h/conform): Likewise.
28105         (test-xfail-XPG3/limits.h/conform): Likewise.
28106         (test-xfail-XPG3/pwd.h/conform): Likewise.
28107         (test-xfail-XPG3/search.h/conform): Likewise.
28108         (test-xfail-XPG3/signal.h/conform): Likewise.
28109         (test-xfail-XPG3/stdio.h/conform): Likewise.
28110         (test-xfail-XPG3/stdlib.h/conform): Likewise.
28111         (test-xfail-XPG3/string.h/conform): Likewise.
28112         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
28113         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
28114         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28115         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28116         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
28117         (test-xfail-XPG3/sys/types.h/conform): Likewise.
28118         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
28119         (test-xfail-XPG3/termios.h/conform): Likewise.
28120         (test-xfail-XPG3/time.h/conform): Likewise.
28121         (test-xfail-XPG3/unistd.h/conform): Likewise.
28122         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
28123         (test-xfail-XPG4/fcntl.h/conform): Likewise.
28124         (test-xfail-XPG4/langinfo.h/conform): Likewise.
28125         (test-xfail-XPG4/netdb.h/conform): Likewise.
28126         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
28127         (test-xfail-XPG4/signal.h/conform): Likewise.
28128         (test-xfail-XPG4/stdio.h/conform): Likewise.
28129         (test-xfail-XPG4/stdlib.h/conform): Likewise.
28130         (test-xfail-XPG4/stropts.h/conform): Likewise.
28131         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28132         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28133         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28134         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28135         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28136         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
28137         (test-xfail-XPG4/sys/time.h/conform): Likewise.
28138         (test-xfail-XPG4/sys/types.h/conform): Likewise.
28139         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
28140         (test-xfail-XPG4/termios.h/conform): Likewise.
28141         (test-xfail-XPG4/ucontext.h/conform): Likewise.
28142         (test-xfail-XPG4/unistd.h/conform): Likewise.
28143         (test-xfail-XPG4/utmpx.h/conform): Likewise.
28144         (test-xfail-POSIX/sched.h/conform): Likewise.
28145         (test-xfail-POSIX/signal.h/conform): Likewise.
28146         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
28147         (test-xfail-POSIX/tar.h/conform): Likewise.
28148         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
28149         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
28150         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
28151         (test-xfail-UNIX98/netdb.h/conform): Likewise.
28152         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
28153         (test-xfail-UNIX98/sched.h/conform): Likewise.
28154         (test-xfail-UNIX98/signal.h/conform): Likewise.
28155         (test-xfail-UNIX98/stdio.h/conform): Likewise.
28156         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
28157         (test-xfail-UNIX98/stropts.h/conform): Likewise.
28158         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28159         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28160         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28161         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28162         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28163         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
28164         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28165         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28166         (test-xfail-UNIX98/unistd.h/conform): Likewise.
28167         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
28168         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
28169         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
28170         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
28171         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
28172         (test-xfail-XOPEN2K/math.h/conform): Likewise.
28173         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
28174         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28175         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28176         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
28177         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28178         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
28179         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
28180         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28181         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28182         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28183         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28184         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28185         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28186         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28187         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
28188         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
28189         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28190         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28191         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
28192         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28193         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
28194         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
28195         (test-xfail-POSIX2008/signal.h/conform): Likewise.
28196         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28197         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
28198         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28199         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28200         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28201         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
28202         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
28203         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28204         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28205         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28206         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
28207         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28208         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28209         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28210         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
28211         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28212         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28213         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28214         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
28215         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28216         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
28217         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
28218         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
28219         (conformtest-cc-flags): Likewise.
28220         ($(conformtest-header-tests): New target.
28221         * conform/check-header-lists.sh: New file.
28222         * conform/run-conformtest.sh: Remove.
28224         * conform/conformtest.pl: Allow ' and \ in values given for
28225         constants.
28226         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
28227         inclusion.
28228         [POSIX] (sys/types.h): Likewise.
28229         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
28230         inclusion.
28231         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
28232         inclusion.
28233         * conform/data/signal.h-data (SIGIO): Remove expectation.
28234         [XPG3] (SIGBUS): Do not expect.
28235         [POSIX || XPG3] (SIGPOLL): Likewise.
28236         [POSIX || XPG3] (SIGPROF): Likewise.
28237         [POSIX || XPG3] (SIGSYS): Likewise.
28238         [XPG3] (SIGTRAP): Likewise.
28239         [POSIX || XPG3] (SIGURG): Likewise.
28240         [POSIX || XPG3] (SIGVTALRM): Likewise.
28241         [POSIX || XPG3] (SIGXCPU): Likewise.
28242         [POSIX || XPG3] (SIGXFSZ): Likewise.
28243         [POSIX] (SA_SIGINFO): Expect.
28244         [XPG3] (siginfo_t): Do not expect type or contents.
28245         [POSIX] (si_pid): Do not expect element.
28246         [POSIX] (si_uid): Likewise.
28247         [POSIX] (si_addr): Likewise.
28248         [POSIX] (si_status): Likewise.
28249         [POSIX] (si_band): Likewise.
28250         [XPG4] (si_value): Likewise.
28251         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
28252         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
28253         [POSIX || XPG3] (ILL_ILLADR): Likewise.
28254         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
28255         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
28256         [POSIX || XPG3] (ILL_PRVREG): Likewise.
28257         [POSIX || XPG3] (ILL_COPROC): Likewise.
28258         [POSIX || XPG3] (ILL_BADSTK): Likewise.
28259         [POSIX || XPG3] (FPE_INTDIV): Likewise.
28260         [POSIX || XPG3] (FPE_INTOVF): Likewise.
28261         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
28262         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
28263         [POSIX || XPG3] (FPE_FLTUND): Likewise.
28264         [POSIX || XPG3] (FPE_FLTRES): Likewise.
28265         [POSIX || XPG3] (FPE_FLTINV): Likewise.
28266         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
28267         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
28268         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
28269         [POSIX || XPG3] (BUS_ADRALN): Likewise.
28270         [POSIX || XPG3] (BUS_ADRERR): Likewise.
28271         [POSIX || XPG3] (BUS_OBJERR): Likewise.
28272         [POSIX || XPG3] (CLD_EXITED): Likewise.
28273         [POSIX || XPG3] (CLD_KILLED): Likewise.
28274         [POSIX || XPG3] (CLD_DUMPED): Likewise.
28275         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
28276         [POSIX || XPG3] (CLD_STOPPED): Likewise.
28277         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
28278         [POSIX || XPG3] (POLL_IN): Likewise.
28279         [POSIX || XPG3] (POLL_OUT): Likewise.
28280         [POSIX || XPG3] (POLL_MSG): Likewise.
28281         [POSIX || XPG3] (POLL_ERR): Likewise.
28282         [POSIX || XPG3] (POLL_PRI): Likewise.
28283         [POSIX || XPG3] (POLL_HUP): Likewise.
28284         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
28285         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
28286         (SIG*): Do not allow.
28287         [XPG3] (si_*): Likewise.
28288         [XPG3] (SI_*): Likewise.
28289         [XPG3 || XPG4] (sigev_*): Likewise.
28290         [XPG3 || XPG4] (SIGEV_*): Likewise.
28291         [XPG3 || XPG4] (sival_*): Likewise.
28292         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
28293         [POSIX || XPG3] (BUS_*): Likewise.
28294         [POSIX || XPG3] (CLD_*): Likewise.
28295         [POSIX || XPG3] (FPE_*): Likewise.
28296         [POSIX || XPG3] (ILL_*): Likewise.
28297         [POSIX || XPG3] (POLL_*): Likewise.
28298         [POSIX || XPG3] (SEGV_*): Likewise.
28299         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
28300         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
28301         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
28302         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
28303         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
28304         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
28305         Specify type and value.
28306         (TVERSLEN): Likewise.
28307         (REGTYPE): Likewise.
28308         (AREGTYPE): Likewise.
28309         (LNKTYPE): Likewise.
28310         (SYMTYPE): Likewise.
28311         (CHRTYPE): Likewise.
28312         (BLKTYPE): Likewise.
28313         (DIRTYPE): Likewise.
28314         (FIFOTYPE): Likewise.
28315         (CONTTYPE): Likewise.
28316         (TSUID): Likewise.
28317         (TSGID): Likewise.
28318         (TSVTX): Likewise.
28319         (TUREAD): Likewise.
28320         (TUWRITE): Likewise.
28321         (TUEXEC): Likewise.
28322         (TGREAD): Likewise.
28323         (TGWRITE): Likewise.
28324         (TGEXEC): Likewise.
28325         (TOREAD): Likewise.
28326         (TOWRITE): Likewise.
28327         (TOEXEC): Likewise.
28328         [POSIX] (TSVTX): Expect constant.
28330 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
28332         * Makefile (tests): Change dependencies to ....
28333         (tests-special): ... additions to this variable.
28334         (tests): Depend on $(tests-special).
28335         * Makerules (check-abi-list): New variable.
28336         (check-abi): Depend on $(check-abi-list).
28337         [$(subdir) = elf] (tests-special): Add
28338         $(objpfx)check-abi-libc.out.
28339         [$(build-shared) = yes && subdir] (tests-special): Add
28340         $(check-abi-list).
28341         [$(build-shared) = yes && subdir] (tests): Do not depend on
28342         check-abi.
28343         * Rules (tests): Depend on $(tests-special).
28344         (xtests): Depend on $(xtests-special).
28345         * catgets/Makefile (tests): Change dependencies to ....
28346         (tests-special): ... additions to this variable.
28347         * conform/Makefile (tests): Change dependencies to ....
28348         (tests-special): ... additions to this variable.
28349         * elf/Makefile (tests): Change dependencies to ....
28350         (tests-special): ... additions to this variable.
28351         * grp/Makefile (tests): Change dependencies to ....
28352         (tests-special): ... additions to this variable.
28353         * iconv/Makefile (xtests): Change dependencies to ....
28354         (xtests-special): ... additions to this variable.
28355         * iconvdata/Makefile (tests): Change dependencies to ....
28356         (tests-special): ... additions to this variable.
28357         * intl/Makefile (tests): Change dependencies to ....
28358         (tests-special): ... additions to this variable.  Also add
28359         $(objpfx)tst-gettext.out.
28360         * io/Makefile (tests): Change dependencies to ....
28361         (tests-special): ... additions to this variable.
28362         * libio/Makefile (tests): Change dependencies to ....
28363         (tests-special): ... additions to this variable.
28364         * malloc/Makefile (tests): Change dependencies to ....
28365         (tests-special): ... additions to this variable.
28366         * misc/Makefile (tests): Change dependencies to ....
28367         (tests-special): ... additions to this variable.
28368         * nptl/Makefile (tests): Change dependencies to ....
28369         (tests-special): ... additions to this variable.
28370         * nptl_db/Makefile (tests): Change dependencies to ....
28371         (tests-special): ... additions to this variable.
28372         * posix/Makefile (tests): Change dependencies to ....
28373         (tests-special): ... additions to this variable.
28374         (xtests): Change dependencies to ....
28375         (xtests-special): ... additions to this variable.
28376         * resolv/Makefile (tests): Change dependencies to ....
28377         (tests-special): ... additions to this variable.
28378         (xtests): Change dependencies to ....
28379         (xtests-special): ... additions to this variable.
28380         * stdio-common/Makefile (tests): Change dependencies to ....
28381         (tests-special): ... additions to this variable.
28382         (do-tst-unbputc): Remove target.
28383         (do-tst-printf): Likewise.
28384         * stdlib/Makefile (tests): Change dependencies to ....
28385         (tests-special): ... additions to this variable.
28386         * string/Makefile (tests): Change dependencies to ....
28387         (tests-special): ... additions to this variable.
28388         * sysdeps/x86/Makefile (tests): Change dependencies to ....
28389         (tests-special): ... additions to this variable.
28391         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
28392         whole file.
28393         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
28394         whole file.
28395         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
28396         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
28398         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
28399         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
28400         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
28401         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
28402         * conform/data/libgen.h-data [XPG3]: Likewise.
28403         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
28404         * conform/data/ndbm.h-data [XPG3]: Likewise.
28405         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
28406         * conform/data/netdb.h-data [XPG3]: Likewise.
28407         * conform/data/netinet/in.h-data [XPG3]: Likewise.
28408         * conform/data/poll.h-data [XPG3]: Likewise.
28409         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
28410         * conform/data/strings.h-data [XPG3]: Likewise.
28411         * conform/data/stropts.h-data [XPG3]: Likewise.
28412         * conform/data/sys/mman.h-data [XPG3]: Likewise.
28413         * conform/data/sys/resource.h-data [XPG3]: Likewise.
28414         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
28415         Likewise.
28416         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
28417         * conform/data/sys/time.h-data [XPG3]: Likewise.
28418         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
28419         * conform/data/sys/uio.h-data [XPG3]: Likewise.
28420         * conform/data/sys/un.h-data [XPG3]: Likewise.
28421         * conform/data/syslog.h-data [XPG3]: Likewise.
28422         * conform/data/ucontext.h-data [XPG3]: Likewise.
28423         * conform/data/utmpx.h-data [XPG3]: Likewise.
28424         * conform/data/varargs.h-data [UNIX98]: Enable file.
28426         * manual/Makefile (INSTALL_INFO): Remove variable setting.
28428         * math/libm-test.inc (struct test_f_f_data): Move expected results
28429         into structure for each rounding mode.
28430         (struct test_ff_f_data): Likewise.
28431         (struct test_ff_f_data_nexttoward): Likewise.
28432         (struct test_fi_f_data): Likewise.
28433         (struct test_fl_f_data): Likewise.
28434         (struct test_if_f_data): Likewise.
28435         (struct test_fff_f_data): Likewise.
28436         (struct test_c_f_data): Likewise.
28437         (struct test_f_f1_data): Likewise.
28438         (struct test_fF_f1_data): Likewise.
28439         (struct test_ffI_f1_data): Likewise.
28440         (struct test_c_c_data): Likewise.
28441         (struct test_cc_c_data): Likewise.
28442         (struct test_f_i_data): Likewise.
28443         (struct test_ff_i_data): Likewise.
28444         (struct test_f_l_data): Likewise.
28445         (struct test_f_L_data): Likewise.
28446         (struct test_fFF_11_data): Likewise.
28447         (RM_): New macro.
28448         (RM_FE_DOWNWARD): Likewise.
28449         (RM_FE_TONEAREST): Likewise.
28450         (RM_FE_TOWARDZERO): Likewise.
28451         (RM_FE_UPWARD): Likewise.
28452         (RUN_TEST_LOOP_f_f): Update references to expected results.
28453         (RUN_TEST_LOOP_2_f): Likewise.
28454         (RUN_TEST_LOOP_fff_f): Likewise.
28455         (RUN_TEST_LOOP_c_f): Likewise.
28456         (RUN_TEST_LOOP_f_f1): Likewise.
28457         (RUN_TEST_LOOP_fF_f1): Likewise.
28458         (RUN_TEST_LOOP_fI_f1): Likewise.
28459         (RUN_TEST_LOOP_ffI_f1): Likewise.
28460         (RUN_TEST_LOOP_c_c): Likewise.
28461         (RUN_TEST_LOOP_cc_c): Likewise.
28462         (RUN_TEST_LOOP_f_i): Likewise.
28463         (RUN_TEST_LOOP_f_i_tg): Likewise.
28464         (RUN_TEST_LOOP_ff_i_tg): Likewise.
28465         (RUN_TEST_LOOP_f_b): Likewise.
28466         (RUN_TEST_LOOP_f_b_tg): Likewise.
28467         (RUN_TEST_LOOP_f_l): Likewise.
28468         (RUN_TEST_LOOP_f_L): Likewise.
28469         (RUN_TEST_LOOP_fFF_11): Likewise.
28470         * math/gen-libm-test.pl (parse_args): Output four copies of
28471         expected results for each test.
28473         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28474         (__ASSUME_UTIMES): Remove.
28475         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28476         (__ASSUME_UTIMES): Likewise.
28478         * math/gen-auto-libm-tests.c: Update comment on output format.
28479         (output_for_one_input_case): Generate before-rounding and
28480         after-rounding information as conditions on output flags not
28481         floating-point format.
28482         * math/auto-libm-test-out: Regenerated.
28483         * math/gen-libm-test.pl (cond_value): New function.
28484         (or_cond_value): Use cond_value.
28485         (generate_testfile): Handle conditional exceptions.
28487 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
28489         * math/libm-test.inc (max_valid_error): New variable.
28490         (init_max_error): Take new argument specifying whether function
28491         results are exactly determined.  Set max_valid_error and bound
28492         other variables for errors based on this argument.
28493         (set_max_error): Do not record results above max_valid_error.
28494         (check_float_internal): Only accept errors of up to 0.5ulps if
28495         also at most max_valid_error.
28496         (START): Take new argument EXACT and pass it to init_max_error.
28497         (acos_test): Update call to START.
28498         (acos_test_tonearest): Likewise.
28499         (acos_test_towardzero): Likewise.
28500         (acos_test_downward): Likewise.
28501         (acos_test_upward): Likewise.
28502         (acosh_test): Likewise.
28503         (asin_test): Likewise.
28504         (asin_test_tonearest): Likewise.
28505         (asin_test_towardzero): Likewise.
28506         (asin_test_downward): Likewise.
28507         (asin_test_upward): Likewise.
28508         (asinh_test): Likewise.
28509         (atan_test): Likewise.
28510         (atanh_test): Likewise.
28511         (atan2_test): Likewise.
28512         (cabs_test): Likewise.
28513         (cacos_test): Likewise.
28514         (cacosh_test): Likewise.
28515         (carg_test): Likewise.
28516         (casin_test): Likewise.
28517         (casinh_test): Likewise.
28518         (catan_test): Likewise.
28519         (catanh_test): Likewise.
28520         (cbrt_test): Likewise.
28521         (ccos_test): Likewise.
28522         (ccosh_test): Likewise.
28523         (ceil_test): Likewise.
28524         (cexp_test): Likewise.
28525         (cimag_test): Likewise.
28526         (clog_test): Likewise.
28527         (clog10_test): Likewise.
28528         (conj_test): Likewise.
28529         (copysign_test): Likewise.
28530         (cos_test): Likewise.
28531         (cos_test_tonearest): Likewise.
28532         (cos_test_towardzero): Likewise.
28533         (cos_test_downward): Likewise.
28534         (cos_test_upward): Likewise.
28535         (cosh_test): Likewise.
28536         (cosh_test_tonearest): Likewise.
28537         (cosh_test_towardzero): Likewise.
28538         (cosh_test_downward): Likewise.
28539         (cosh_test_upward): Likewise.
28540         (cpow_test): Likewise.
28541         (cproj_test): Likewise.
28542         (creal_test): Likewise.
28543         (csin_test): Likewise.
28544         (csinh_test): Likewise.
28545         (csqrt_test): Likewise.
28546         (ctan_test): Likewise.
28547         (ctan_test_tonearest): Likewise.
28548         (ctan_test_towardzero): Likewise.
28549         (ctan_test_downward): Likewise.
28550         (ctan_test_upward): Likewise.
28551         (ctanh_test): Likewise.
28552         (ctanh_test_tonearest): Likewise.
28553         (ctanh_test_towardzero): Likewise.
28554         (ctanh_test_downward): Likewise.
28555         (ctanh_test_upward): Likewise.
28556         (erf_test): Likewise.
28557         (erfc_test): Likewise.
28558         (exp_test): Likewise.
28559         (exp_test_tonearest): Likewise.
28560         (exp_test_towardzero): Likewise.
28561         (exp_test_downward): Likewise.
28562         (exp_test_upward): Likewise.
28563         (exp10_test): Likewise.
28564         (exp10_test_tonearest): Likewise.
28565         (exp10_test_towardzero): Likewise.
28566         (exp10_test_downward): Likewise.
28567         (exp10_test_upward): Likewise.
28568         (pow10_test): Likewise.
28569         (exp2_test): Likewise.
28570         (expm1_test): Likewise.
28571         (expm1_test_tonearest): Likewise.
28572         (expm1_test_towardzero): Likewise.
28573         (expm1_test_downward): Likewise.
28574         (expm1_test_upward): Likewise.
28575         (fabs_test): Likewise.
28576         (fdim_test): Likewise.
28577         (floor_test): Likewise.
28578         (fma_test): Likewise.
28579         (fma_test_towardzero): Likewise.
28580         (fma_test_downward): Likewise.
28581         (fma_test_upward): Likewise.
28582         (fmax_test): Likewise.
28583         (fmin_test): Likewise.
28584         (fmod_test): Likewise.
28585         (fpclassify_test): Likewise.
28586         (frexp_test): Likewise.
28587         (hypot_test): Likewise.
28588         (ilogb_test): Likewise.
28589         (isfinite_test): Likewise.
28590         (finite_test): Likewise.
28591         (isgreater_test): Likewise.
28592         (isgreaterequal_test): Likewise.
28593         (isinf_test): Likewise.
28594         (isless_test): Likewise.
28595         (islessequal_test): Likewise.
28596         (islessgreater_test): Likewise.
28597         (isnan_test): Likewise.
28598         (isnormal_test): Likewise.
28599         (issignaling_test): Likewise.
28600         (isunordered_test): Likewise.
28601         (j0_test): Likewise.
28602         (j1_test): Likewise.
28603         (jn_test): Likewise.
28604         (ldexp_test): Likewise.
28605         (lgamma_test): Likewise.
28606         (gamma_test): Likewise.
28607         (lrint_test): Likewise.
28608         (lrint_test_tonearest): Likewise.
28609         (lrint_test_towardzero): Likewise.
28610         (lrint_test_downward): Likewise.
28611         (lrint_test_upward): Likewise.
28612         (llrint_test): Likewise.
28613         (llrint_test_tonearest): Likewise.
28614         (llrint_test_towardzero): Likewise.
28615         (llrint_test_downward): Likewise.
28616         (llrint_test_upward): Likewise.
28617         (log_test): Likewise.
28618         (log10_test): Likewise.
28619         (log1p_test): Likewise.
28620         (log2_test): Likewise.
28621         (logb_test): Likewise.
28622         (logb_test_downward): Likewise.
28623         (lround_test): Likewise.
28624         (llround_test): Likewise.
28625         (modf_test): Likewise.
28626         (nearbyint_test): Likewise.
28627         (nextafter_test): Likewise.
28628         (nexttoward_test): Likewise.
28629         (pow_test): Likewise.
28630         (pow_test_tonearest): Likewise.
28631         (pow_test_towardzero): Likewise.
28632         (pow_test_downward): Likewise.
28633         (pow_test_upward): Likewise.
28634         (remainder_test): Likewise.
28635         (drem_test): Likewise.
28636         (remainder_test_tonearest): Likewise.
28637         (drem_test_tonearest): Likewise.
28638         (remainder_test_towardzero): Likewise.
28639         (drem_test_towardzero): Likewise.
28640         (remainder_test_downward): Likewise.
28641         (drem_test_downward): Likewise.
28642         (remainder_test_upward): Likewise.
28643         (drem_test_upward): Likewise.
28644         (remquo_test): Likewise.
28645         (rint_test): Likewise.
28646         (rint_test_tonearest): Likewise.
28647         (rint_test_towardzero): Likewise.
28648         (rint_test_downward): Likewise.
28649         (rint_test_upward): Likewise.
28650         (round_test): Likewise.
28651         (scalb_test): Likewise.
28652         (scalbn_test): Likewise.
28653         (scalbln_test): Likewise.
28654         (signbit_test): Likewise.
28655         (sin_test): Likewise.
28656         (sin_test_tonearest): Likewise.
28657         (sin_test_towardzero): Likewise.
28658         (sin_test_downward): Likewise.
28659         (sin_test_upward): Likewise.
28660         (sincos_test): Likewise.
28661         (sinh_test): Likewise.
28662         (sinh_test_tonearest): Likewise.
28663         (sinh_test_towardzero): Likewise.
28664         (sinh_test_downward): Likewise.
28665         (sinh_test_upward): Likewise.
28666         (sqrt_test): Likewise.
28667         (sqrt_test_tonearest): Likewise.
28668         (sqrt_test_towardzero): Likewise.
28669         (sqrt_test_downward): Likewise.
28670         (sqrt_test_upward): Likewise.
28671         (tan_test): Likewise.
28672         (tan_test_tonearest): Likewise.
28673         (tan_test_towardzero): Likewise.
28674         (tan_test_downward): Likewise.
28675         (tan_test_upward): Likewise.
28676         (tanh_test): Likewise.
28677         (tgamma_test): Likewise.
28678         (trunc_test): Likewise.
28679         (y0_test): Likewise.
28680         (y1_test): Likewise.
28681         (yn_test): Likewise.
28682         (significand_test): Likewise.
28684         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
28685         individual tests in comment.
28686         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
28687         (prev_max_error): New variable.
28688         (prev_real_max_error): Likewise.
28689         (prev_imag_max_error): Likewise.
28690         (compare_ulp_data): Don't refer to test names in comment.
28691         (find_test_ulps): Remove function.
28692         (find_function_ulps): Likewise.
28693         (find_complex_function_ulps): Likewise.
28694         (init_max_error): Take function name as argument.  Look up ulps
28695         for that function.
28696         (print_ulps): Remove function.
28697         (print_max_error): Use prev_max_error instead of calling
28698         find_function_ulps.
28699         (print_complex_max_error): Use prev_real_max_error and
28700         prev_imag_max_error instead of calling find_complex_function_ulps.
28701         (check_float_internal): Take max_ulp parameter instead of calling
28702         find_test_ulps.  Don't call print_ulps.
28703         (check_float): Update call to check_float_internal.
28704         (check_complex): Update calls to check_float_internal.
28705         (START): Pass argument to init_max_error.
28706         * math/gen-libm-test.pl (%results): Don't include "kind"
28707         information.
28708         (parse_ulps): Don't handle ulps of individual tests.
28709         (print_ulps_file): Likewise.
28710         (output_ulps): Likewise.
28711         * math/README.libm-test: Update.
28712         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
28713         individual tests.
28714         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
28715         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28716         * sysdeps/arm/libm-test-ulps: Likewise.
28717         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28718         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
28719         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
28720         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
28721         * sysdeps/microblaze/libm-test-ulps: Likewise.
28722         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28723         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28724         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28725         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28726         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28727         * sysdeps/sh/libm-test-ulps: Likewise.
28728         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28729         * sysdeps/tile/libm-test-ulps: Likewise.
28730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28732 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
28734         * math/libm-test.inc (print_complex_max_error): Check separately
28735         whether real and imaginary errors are within allowed range and
28736         pass 0 to print_complex_function_ulps instead of value within
28737         allowed range.
28739 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28741         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
28742         formatting.
28743         (get_handles_fopen): Likewise.
28744         (do_write_test): Likewise.
28746         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
28748         * libio/fileops.c (do_ftell): Use cached offset when
28749         available.
28750         * libio/iofwide.c (do_ftell_wide): Likewise.
28751         * libio/iofdopen.c (_IO_new_fdopen): Don't use
28752         _IO_file_attach.
28753         * libio/wfileops.c (_IO_fwide): Don't cache offset.
28755         [BZ #16532]
28756         * libio/libioP.h (get_file_offset): New function.
28757         * libio/fileops.c (get_file_offset): Likewise.
28758         (do_ftell): Likewise.
28759         (_IO_new_file_seekoff): Split out ftell logic.
28760         * libio/wfileops.c (do_ftell_wide): Likewise.
28761         (_IO_wfile_seekoff): Split out ftell logic.
28762         * libio/tst-ftell-active-handler.c: New test case.
28763         * libio/Makefile (tests): Add it.
28765 2014-03-03  Roland McGrath  <roland@hack.frob.com>
28767         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
28768         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
28770 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28772         [BZ #16639]
28773         * nscd/connections.c (nscd_init): Call do_exit.
28774         (start_threads): Call do_exit and notify_parent.
28775         (begin_drop_privileges): Call do_exit.
28776         (finish_drop_privileges): Likewise.
28777         * nscd/selinux.c (preserve_capabilities): Likewise.
28778         (install_real_capabilities): Likewise.
28779         (nscd_selinux_enabled): Likewise.
28780         (avc_create_thread): Likewise.
28781         (avc_alloc_lock): Likewise.
28782         (nscd_avc_init): Likewise.
28783         * nscd/nscd.c (parent_fd): New static variable.
28784         (main): Create a pipe between parent and child processes.
28785         Skip closing parent_fd.
28786         (monitor_child): New function.
28787         (do_exit): Likewise.
28788         (notify_parent): Likewise.
28789         * nscd/nscd.h (notify_parent): Likewise.
28790         (do_exit): Likewise.
28792 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
28794         * malloc/malloc.c (__libc_calloc): Revert last change.
28796 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28800 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28802         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
28803         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
28804         implementation.
28805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28806         (__libc_ifunc_impl_list): Likewise.
28807         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
28808         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
28809         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
28810         * string/strrchr.c: Define STRRCHR.
28812 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
28814         * benchtest/bench-strtok.c (simple_strtok): Delete.
28815         (strtok_string): Use as benchmark.
28816         * string/strtok (STRTOK): New macro.
28818 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
28820         * manual/threads.texi: Add header and standard comments to all
28821         functions.
28823         * elf/dl-lookup.c (check_match): New function.
28824         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
28825         (do_lookup_x): Remove nested function check_match. Use non-nested
28826         function check_match.
28828 2014-02-28  Roland McGrath  <roland@hack.frob.com>
28830         * csu/Makefile (generated, before-compile): Use += rather than =.
28831         * catgets/Makefile (generated, generated-dirs): Likewise.
28832         * debug/Makefile (generated): Likewise.
28833         * dlfcn/Makefile (generated): Likewise.
28834         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
28835         * iconvdata/Makefile (before-compile, generated): Likewise.
28836         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
28837         * libio/Makefile (generated): Likewise.
28838         * malloc/Makefile (generated): Likewise.
28839         * manual/Makefile (generated, generated-dirs): Likewise.
28840         * misc/Makefile (generated): Likewise.
28841         * posix/Makefile (generated): Likewise.
28842         * resolv/Makefile (generated): Likewise.
28843         * sunrpc/Makefile (generated, generated-dirs): Likewise.
28844         * timezone/Makefile (generated, generated-dirs): Likewise.
28846         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
28848 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28850         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28851         power8 implementation.
28852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
28853         file: POWER8 llround ifunc implementation.
28854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
28855         (__lllround): Add POWER8 implementation.
28856         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
28857         POWER8 llround implementation.
28859         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
28860         power8 implementation.
28861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
28862         file: POWER8 llrint ifunc implementation.
28863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
28864         Add POWER8 implementation.
28865         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
28866         POWER8 llrint implementation.
28868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
28869         power8 implementation.
28870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
28871         file: POWER8 finite ifunc implementation.
28872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
28873         Add POWER8 implementation.
28874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
28875         Likewise.
28876         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
28877         POWER8 finite implementation.
28878         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
28880         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
28881         power8 implementation.
28882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
28883         file: POWER8 isinf ifunc implementation.
28884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
28885         POWER8 implementation.
28886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
28887         Likewise.
28888         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
28889         isinf implementation.
28890         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
28892         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
28893         (INIT_ARCH): Add hwcap2 initialization.
28894         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28895         power8 implementation.
28896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
28897         file: POWER8 isnan ifunc implementation.
28898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
28899         POWER8 implementation.
28900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
28901         Likewise.
28902         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
28903         isnan implementation.
28904         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
28906 2014-02-27  Joey Ye  <joey.ye@arm.com>
28908         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28909         (_FP_NANFRAC_Q): Set to zero.
28911 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28913         [BZ #16623]
28914         * math/auto-libm-test-in: New test inputs.
28915         * math/auto-libm-test-out: Regenerate.
28916         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
28917         and DA.
28918         (__cos): Likewise.
28919         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28921 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
28923         * scripts/evaluate-test.sh: Take new argument indicating whether
28924         failure is expected.
28925         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
28926         indicating whether failure is expected.
28927         * conform/Makefile (test-xfail-run-conformtest): New variable.
28928         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
28929         level.
28930         * posix/Makefile (test-xfail-annexc): New variable.
28931         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
28933 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
28935         * argp/Makefile: Include Makeconfig immediately after defining
28936         subdir.
28937         * assert/Makefile: Likewise.
28938         * benchtests/Makefile: Likewise.
28939         * catgets/Makefile: Likewise.
28940         * conform/Makefile: Likewise.
28941         * crypt/Makefile: Likewise.
28942         * csu/Makefile: Likewise.
28943         (all): Remove target.
28944         * ctype/Makefile: Include Makeconfig immediately after defining
28945         subdir.
28946         * debug/Makefile: Likewise.
28947         * dirent/Makefile: Likewise.
28948         * dlfcn/Makefile: Likewise.
28949         * gmon/Makefile: Likewise.
28950         * gnulib/Makefile: Likewise.
28951         * grp/Makefile: Likewise.
28952         * gshadow/Makefile: Likewise.
28953         * hesiod/Makefile: Likewise.
28954         * hurd/Makefile: Likewise.
28955         (all): Remove target.
28956         * iconvdata/Makefile: Include Makeconfig immediately after
28957         defining subdir.
28958         * inet/Makefile: Likewise.
28959         * intl/Makefile: Likewise.
28960         * io/Makefile: Likewise.
28961         * libio/Makefile: Likewise.
28962         (all): Remove target.
28963         * locale/Makefile: Include Makeconfig immediately after defining
28964         subdir.
28965         * login/Makefile: Likewise.
28966         * mach/Makefile: Likewise.
28967         (all): Remove target.
28968         * malloc/Makefile: Include Makeconfig immediately after defining
28969         subdir.
28970         (all): Remove target.
28971         * manual/Makefile: Include Makeconfig immediately after defining
28972         subdir.
28973         * math/Makefile: Likewise.
28974         * misc/Makefile: Likewise.
28975         * nis/Makefile: Likewise.
28976         * nss/Makefile: Likewise.
28977         * po/Makefile: Likewise.
28978         (all): Remove target.
28979         * posix/Makefile: Include Makeconfig immediately after defining
28980         subdir.
28981         * pwd/Makefile: Likewise.
28982         * resolv/Makefile: Likewise.
28983         * resource/Makefile: Likewise.
28984         * rt/Makefile: Likewise.
28985         * setjmp/Makefile: Likewise.
28986         * shadow/Makefile: Likewise.
28987         * signal/Makefile: Likewise.
28988         * socket/Makefile: Likewise.
28989         * soft-fp/Makefile: Likewise.
28990         * stdio-common/Makefile: Likewise.
28991         * stdlib/Makefile: Likewise.
28992         * streams/Makefile: Likewise.
28993         * string/Makefile: Likewise.
28994         * sunrpc/Makefile: Likewise.
28995         (all): Remove target.
28996         * sysvipc/Makefile: Include Makeconfig immediately after defining
28997         subdir.
28998         * termios/Makefile: Likewise.
28999         * time/Makefile: Likewise.
29000         * timezone/Makefile: Likewise.
29001         (all): Remove target.
29002         * wcsmbs/Makefile: Include Makeconfig immediately after defining
29003         subdir.
29004         * wctype/Makefile: Likewise.
29006 2014-02-26  Steve Ellcey  <sellcey@mips.com>
29008         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
29009         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
29010         (libc_feholdexcept_setround_mips): Ditto.
29011         (libc_feholdsetround): New.
29012         (libc_feholdsetroundf): New.
29013         (libc_feholdsetroundl): New.
29014         (libc_feupdateenv_test_mips): New.
29015         (libc_feupdateenv_test): New.
29016         (libc_feupdateenv_testf): New.
29017         (libc_feupdateenv_testl): New.
29018         (libc_feresetround): New.
29019         (libc_feresetroundf): New.
29020         (libc_feresetroundl): New.
29021         (libc_fetestexcept_mips): New.
29022         (libc_fetestexcept): New.
29023         (libc_fetestexceptf): New.
29024         (libc_fetestexceptl): New.
29025         (HAVE_RM_CTX): New.
29026         (libc_feholdexcept_setround_mips_ctx): New.
29027         (libc_feholdexcept_setround_ctx): New.
29028         (libc_feholdexcept_setroundf_ctx): New.
29029         (libc_feholdexcept_setroundl_ctx): New.
29030         (libc_fesetenv_mips_ctx): New.
29031         (libc_fesetenv_ctx): New.
29032         (libc_fesetenv_ctxf): New.
29033         (libc_fesetenv_ctxl): New.
29034         (libc_feupdateenv_mips_ctx): New.
29035         (libc_feupdateenv_ctx): New.
29036         (libc_feupdateenvf_ctx): New.
29037         (libc_feupdateenvl_ctx): New.
29038         (libc_feholdsetround_mips_ctx): New.
29039         (libc_feholdsetround_ctx): New.
29040         (libc_feholdsetroundf_ctx): New.
29041         (libc_feholdsetroundl_ctx): New.
29042         (libc_feresetround_mips_ctx): New.
29043         (libc_feresetround_ctx): New.
29044         (libc_feresetroundf_ctx): New.
29045         (libc_feresetroundl_ctx): New.
29047 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
29049         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
29051         * manual/ipc.texi: New file.
29052         * manual/Makefile (chapters): Add ipc.
29053         * manual/job.texi: Add "Inter-Process Communication" to next.
29054         * manual/process.texi: Add "Inter-Process Communication" to prev.
29056 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29060 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
29062         * malloc/malloc.c (__libc_calloc): Simplify implementation.
29064         * manual/arith.texi: Fix spaces after sentences.
29065         * manual/charset.texi: Likewise.
29066         * manual/errno.texi: Likewise.
29067         * manual/install.texi: Likewise.
29068         * manual/llio.texi: Likewise.
29069         * manual/locale.texi: Likewise.
29070         * manual/maint.texi: Likewise.
29071         * manual/math.texi: Likewise.
29072         * manual/memory.texi: Likewise.
29073         * manual/message.texi: Likewise.
29074         * manual/probes.texi: Likewise.
29075         * manual/resource.texi: Likewise.
29076         * manual/signal.texi: Likewise.
29077         * manual/socket.texi: Likewise.
29078         * manual/stdio.texi: Likewise.
29079         * manual/string.texi: Likewise.
29080         * manual/time.texi: Likewise.
29081         * manual/users.texi: Likewise.
29083 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
29085         [BZ #16632]
29086         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
29087         _DEFAULT_SOURCE is defined.
29089 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
29090             Carlos O'Donell  <carlos@redhat.com>
29092         [BZ #16613]
29093         * elf/dl-tls.c (_dl_count_modids): New function.
29094         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
29095         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
29096         audit library and increment generation counter.
29097         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
29098         * elf/tst-audit9.c: New file.
29099         * elf/tst-auditmod9a.c: New file.
29100         * elf/tst-auditmod9b.c: New file.
29101         * elf/Makefile: Add rules to build and run tst-audit9.
29103 2014-02-25  Florian Weimer  <fweimer@redhat.com>
29105         [BZ #15347]
29106         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
29108 2014-02-25  Will Newton  <will.newton@linaro.org>
29110         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
29111         (__longjmp): Restore sp and lr before restoring callee
29112         saved registers.  Add longjmp and longjmp_target
29113         SystemTap probe point.
29114         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
29115         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
29116         Define to zero to match jmpbuf layout.
29117         * sysdeps/arm/setjmp.S: Include stap-probe.h.
29118         (__sigsetjmp): Save sp and lr before saving callee
29119         saved registers.  Add setjmp SystemTap probe point.
29121 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29123         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29125 2014-02-24  Andreas Schwab  <schwab@suse.de>
29127         [BZ #15804]
29128         * elf/pldd.c (wait_for_ptrace_stop): New function.
29129         (main): Call it after attaching.
29131 2014-02-22  Roland McGrath  <roland@hack.frob.com>
29133         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
29134         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
29135         Versions files is now verboten.
29136         * hurd/Versions (libc: GLIBC_2.0):
29137         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
29138         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
29139         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
29140         * mach/Versions: Likewise.
29142         * csu/Versions: Remove unused %include.
29143         * resolv/Versions: Likewise.
29145 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
29147         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
29148         ($(objpfx)check-local-headers.out): Likewise.
29149         ($(objpfx)begin-end-check.out): Likewise.
29150         * Makerules (check-abi-%.out): Likewise.
29151         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
29152         ($(objpfx)test2.cat): Likewise.
29153         ($(objpfx)de/libc.cat): Likewise.
29154         ($(objpfx)test-gencat.out): Likewise.
29155         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
29156         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
29157         ($(objpfx)noload-mem): Likewise.
29158         ($(objpfx)tst-pathopt.out): Likewise.
29159         ($(objpfx)tst-rtld-load-self.out): Likewise.
29160         ($(objpfx)tst-array1-cmp.out): Likewise.
29161         ($(objpfx)tst-array1-static-cmp.out): Likewise.
29162         ($(objpfx)tst-array2-cmp.out): Likewise.
29163         ($(objpfx)tst-array3-cmp.out): Likewise.
29164         ($(objpfx)tst-array4-cmp.out): Likewise.
29165         ($(objpfx)tst-array5-cmp.out): Likewise.
29166         ($(objpfx)tst-array5-static-cmp.out): Likewise.
29167         ($(objpfx)check-textrel.out): Likewise.
29168         ($(objpfx)check-execstack.out): Likewise.
29169         ($(objpfx)check-localplt.out): Likewise.
29170         ($(objpfx)order2-cmp.out): Likewise.
29171         ($(objpfx)tst-leaks1-mem): Likewise.
29172         ($(objpfx)tst-leaks1-static-mem): Likewise.
29173         ($(objpfx)tst-initorder-cmp.out): Likewise.
29174         ($(objpfx)tst-initorder2-cmp.out): Likewise.
29175         ($(objpfx)tst-unused-dep.out): Likewise.
29176         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
29177         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
29178         * iconv/Makefile (test-iconvconfig): Likewise.
29179         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
29180         ($(objpfx)iconv-test.out): Likewise.
29181         ($(objpfx)tst-tables.out): Likewise.
29182         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
29183         ($(objpfx)tst-gettext.out): Likewise.
29184         ($(objpfx)tst-translit.out): Likewise.
29185         ($(objpfx)tst-gettext2.out): Likewise.
29186         ($(objpfx)tst-gettext4.out): Likewise.
29187         ($(objpfx)tst-gettext6.out): Likewise.
29188         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
29189         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
29190         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
29191         ($(objpfx)tst-fopenloc-mem.out): Likewise.
29192         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
29193         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
29194         * posix/Makefile ($(objpfx)globtest.out): Likewise.
29195         ($(objpfx)wordexp-tst.out): Likewise.
29196         ($(objpfx)annexc.out): Likewise.
29197         ($(objpfx)tst-fnmatch-mem): Likewise.
29198         ($(objpfx)bug-regex2-mem): Likewise.
29199         ($(objpfx)bug-regex14-mem): Likewise.
29200         ($(objpfx)bug-regex21-mem): Likewise.
29201         ($(objpfx)bug-regex31-mem): Likewise.
29202         ($(objpfx)tst-vfork3-mem): Likewise.
29203         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29204         ($(objpfx)tst-pcre-mem): Likewise.
29205         ($(objpfx)tst-boost-mem): Likewise.
29206         ($(objpfx)tst-getconf.out): Likewise.
29207         ($(objpfx)bug-ga2-mem): Likewise.
29208         ($(objpfx)bug-glob2-mem): Likewise.
29209         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
29210         ($(objpfx)mtrace-tst-leaks2): Likewise.
29211         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
29212         ($(objpfx)tst-printf.out): Likewise.
29213         ($(objpfx)tst-setvbuf1.out): Likewise.
29214         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
29215         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
29216         ($(objpfx)tst-fmtmsg.out): Likewise.
29217         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
29218         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
29220         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
29221         * bits/sigaction.h [__USE_MISC]: Likewise.
29222         * bits/waitstatus.h: Update #endif comments.
29223         * ctype/ctype.h: Likewise.
29224         * dirent/dirent.h: Likewise.
29225         [__USE_MISC]: Remove redundant conditionals.
29226         * grp/grp.h: Update #endif comments.
29227         [__USE_GNU]: Remove redundant conditionals.
29228         [__USE_MISC]: Likewise.
29229         * inet/netinet/in.h [__USE_GNU]: Likewise.
29230         * io/sys/stat.h [__USE_MISC]: Likewise.
29231         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
29232         * libio/bits/stdio.h: Update #endif comments.
29233         [__USE_MISC]: Remove redundant conditionals.
29234         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
29235         * libio/stdio.h: Update #endif comments.
29236         [__USE_MISC]: Remove redundant conditionals.
29237         * math/bits/math-finite.h [__USE_MISC]: Likewise.
29238         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
29239         * math/math.h: Update #else and #endif comments.
29240         [__USE_MISC]: Remove redundant conditionals.
29241         * misc/sys/uio.h: Update #endif comments.
29242         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
29243         * posix/glob.h [__USE_MISC]: Likewise.
29244         * posix/sys/types.h: Update #endif comments.
29245         [__USE_MISC]: Remove redundant conditionals.
29246         * posix/sys/wait.h: Update #endif comments.
29247         [__USE_MISC]: Remove redundant conditionals.
29248         * posix/unistd.h: Update #endif comments.
29249         [__USE_MISC]: Remove redundant conditionals.
29250         * pwd/pwd.h [__USE_GNU]: Likewise.
29251         [__USE_MISC]: Likewise.
29252         * resolv/netdb.h [__USE_GNU]: Likewise.
29253         * signal/signal.h: Update #endif comments.
29254         [__USE_MISC]: Remove redundant conditionals.
29255         * stdlib/stdlib.h: Update #else and #endif comments.
29256         [__USE_MISC]: Remove redundant conditionals.
29257         [__USE_GNU]: Likewise.
29258         * string/bits/string2.h [__USE_MISC]: Likewise.
29259         * string/string.h: Update #endif comments.
29260         [__USE_MISC]: Remove redundant conditionals.
29261         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
29262         Likewise.
29263         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
29264         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
29265         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
29266         Likewise.
29267         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
29268         Likewise.
29269         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
29270         comments.
29271         [__USE_MISC]: Remove redundant conditionals.
29272         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
29273         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
29274         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
29275         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
29276         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
29277         Likewise.
29278         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
29279         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
29280         Likewise.
29281         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
29282         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
29283         Likewise.
29284         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
29285         Likewise.
29286         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
29287         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
29288         Likewise.
29289         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
29290         Likewise.
29291         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
29292         * sysdeps/x86/bits/string.h: Update #endif comments.
29293         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
29294         conditionals.
29295         * time/sys/time.h: Update #endif comments.
29296         * time/time.h: Likewise.
29297         [__USE_MISC]: Remove redundant conditionals.
29299 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
29301         [BZ #16600]
29302         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
29304 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
29306         * Versions.def (librt): Add GLIBC_2.17.
29308 2014-02-21  Adam Conrad  <adconrad@0c3.net>
29310         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
29311         synonym for _SYS_AUXV_H to allow direct inclusion.
29312         * sysdeps/sparc/bits/hwcap.h: Likewise.
29313         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
29314         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
29315         * sysdeps/sparc/sysdep.h: Likewise.
29317 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29319         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
29321 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29323         * benchtests/bench-strrchr.c: Print length instead of position.
29325 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
29327         [BZ #16611]
29328         * sysdeps/unix/sysv/linux/kernel-features.h
29329         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
29330         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
29331         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
29332         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
29333         Likewise.
29334         [__i386__ || __powerpc__ || __sh__ || __sparc__]
29335         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29336         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
29337         (__ASSUME_SENDMMSG): Define instead of using previous
29338         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
29339         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29340         (__ASSUME_SENDMMSG_SYSCALL): Define.
29341         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29342         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
29343         Likewise.
29344         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29345         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29346         Likewise.
29347         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29348         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29349         Likewise.
29350         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
29351         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
29352         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
29353         [__ASSUME_SENDMMSG]: Change conditionals to
29354         [__ASSUME_SENDMMSG_SOCKETCALL].
29355         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29356         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
29357         Define.
29358         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29359         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
29360         Likewise.
29361         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
29362         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
29363         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
29364         [!__ASSUME_SENDMMSG]: Change conditional to
29365         [!__ASSUME_SENDMMSG_SOCKETCALL].
29366         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29367         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29368         Define.
29370         [BZ #16610]
29371         * sysdeps/unix/sysv/linux/kernel-features.h
29372         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
29373         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
29374         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
29375         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
29376         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29377         [__i386__ || __sparc__]
29378         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29379         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
29380         (__ASSUME_RECVMMSG): Define instead of using previous
29381         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
29382         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29383         (__ASSUME_RECVMMSG_SYSCALL): Define.
29384         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29385         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29386         Likewise.
29387         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29388         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29389         Likewise.
29390         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29391         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29392         Likewise.
29393         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
29394         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
29395         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
29396         [__ASSUME_RECVMMSG]: Change condition to
29397         [__ASSUME_RECVMMSG_SOCKETCALL].
29398         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29399         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29400         Define.
29401         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29402         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29403         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29404         Likewise.
29405         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
29406         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
29407         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
29408         [!__ASSUME_RECVMMSG]: Change condition to
29409         [!__ASSUME_RECVMMSG_SOCKETCALL].
29410         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29411         (__ASSUME_RECVMMSG_SYSCALL): Define.
29413         [BZ #16609]
29414         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
29415         __powerpc__ || __s390__ || __sh__ || __sparc__]
29416         (__ASSUME_SOCKETCALL): Define.
29417         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
29418         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
29419         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
29420         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
29421         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29422         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29423         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
29424         (__ASSUME_ACCEPT4): Define instead of using previous
29425         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
29426         __powerpc__ || __sparc__ || __s390__)] condition.
29427         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29428         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
29429         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
29430         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
29431         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
29432         [!__ASSUME_ACCEPT4]: Change condition to
29433         [!__ASSUME_ACCEPT4_SOCKETCALL].
29434         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29435         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
29436         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
29437         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29438         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
29439         __ASSUME_ACCEPT4_SYSCALL.
29440         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
29441         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
29442         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29443         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
29444         __ASSUME_ACCEPT4_SYSCALL.
29445         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
29446         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
29447         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
29448         [__ASSUME_ACCEPT4]: Change condition to
29449         [__ASSUME_ACCEPT4_SOCKETCALL].
29450         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29451         (__ASSUME_SOCKETCALL): Define.
29452         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
29453         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29454         (__ASSUME_SOCKETCALL): Define.
29455         (__ASSUME_ACCEPT4): Remove.
29456         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
29457         Define.
29458         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29459         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
29460         Likewise.
29461         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29462         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
29464         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
29465         macro.
29466         (HWCAP_ARM_LPAE): Likewise.
29467         (HWCAP_ARM_EVTSTRM): Likewise.
29468         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
29469         Add vpfd32, lpae and evtstrm.
29470         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
29471         Increase to 22.
29473 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
29475         * math/auto-libm-test-in: Add tests of clog10.
29476         * math/auto-libm-test-out: Regenerated.
29477         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
29478         * sysdeps/i386/fpu/libm-test-ulps: Update.
29479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29481 2014-02-18  Andreas Schwab  <schwab@suse.de>
29483         [BZ #16574]
29484         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
29485         Store non-zero if the second buffer was newly allocated.
29486         (send_dg): Likewise.
29487         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
29488         to send_vc and send_dg.
29489         (res_nsend): Pass NULL for ansp2_malloced.
29490         * resolv/res_query.c (__libc_res_nquery): Add parameter
29491         answerp2_malloced and pass it down to __libc_res_nsend.
29492         (res_nquery): Pass additional NULL to __libc_res_nquery.
29493         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
29494         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
29495         second answer buffer if answerp2_malloced was set.
29496         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
29497         (__libc_res_nquerydomain): Add parameter
29498         answerp2_malloced and pass it down to __libc_res_nquery.
29499         (res_nquerydomain): Pass additional NULL to
29500         __libc_res_nquerydomain.
29501         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
29502         additional NULL to __libc_res_nsend and __libc_res_nquery.
29503         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
29504         additional NULL to __libc_res_nsearch.
29505         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
29506         parameter of __libc_res_nsearch to check for separately allocated
29507         second buffer.
29508         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
29509         __libc_res_nquery.
29510         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
29511         additional NULL to __libc_res_nquery.
29512         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
29513         __libc_res_nsearch.
29514         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
29515         * include/resolv.h: Update prototypes of __libc_res_nquery,
29516         __libc_res_nsearch, __libc_res_nsend.
29518 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
29520         * math/auto-libm-test-in: Add tests of fma.
29521         * math/auto-libm-test-out: Regenerated.
29522         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
29523         (fma_towardzero_test_data): Likewise.
29524         (fma_downward_test_data): Likewise.
29525         (fma_upward_test_data): Likewise.
29526         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
29527         mpc_mode.
29528         (rounding_modes): Add values for new field.
29529         (func_calc_method): Add value mpfr_fff_f.
29530         (func_calc_desc): Add mpfr_fff_f union field.
29531         (test_function): Add field exact_args.
29532         (FUNC): Add macro argument EXACT_ARGS.
29533         (FUNC_mpfr_f_f): Update call to FUNC.
29534         (FUNC_mpfr_f_f): Likewise.
29535         (FUNC_mpfr_ff_f): Likewise.
29536         (FUNC_mpfr_if_f): Likewise.
29537         (FUNC_mpc_c_f): Likewise.
29538         (FUNC_mpc_c_c): Likewise.
29539         (test_functions): Add fma.  Update calls to FUNC.
29540         (handle_input_arg): Add argument exact_args.
29541         (add_test): Update call to handle_input_arg.
29542         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
29543         (output_for_one_input_case): Update call to calc_generic_results.
29544         Recalculate exact zero results in each rounding mode.
29546         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
29547         non-negative before setting low bit.
29548         * math/auto-libm-test-in: Mark one asin test possibly having
29549         spurious underflow.
29550         * math/auto-libm-test-out: Regenerated.
29551         * sysdeps/i386/fpu/libm-test-ulps: Update.
29552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29554 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
29556         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
29557         * sysdeps/unix/sysv/linux/microblaze: Move directory from
29558         ports/sysdeps/unix/sysv/linux/microblaze.
29559         * README: Add missing listing for microblaze*-*-linux-gnu.
29561 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
29563         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
29564         duplicate code
29566 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
29568         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
29569         * sysdeps/unix/sysv/linux/ia64: Move directory from
29570         ports/sysdeps/unix/sysv/linux/ia64.
29571         * README: Update listing for ia64-*-linux-gnu.
29573 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
29574             Joseph Myers  <joseph@codesourcery.com>
29576         * Makeconfig (test-name): New variable.
29577         (evaluate-test): Likewise.
29578         * Makerules (do-test-clean): Remove .test-result files.
29579         (common-mostlyclean): Likewise.
29580         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
29581         * scripts/evaluate-test.sh: New file.
29583 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
29585         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
29586         separate $(objpfx)tst-fopenloc-cmp.out and
29587         $(objpfx)tst-fopenloc-mem.out targets.
29588         (tests): Update dependencies.
29589         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
29590         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
29591         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
29592         (tst-rxspencer-no-utf8-ARGS): New variable.
29593         (tst-rxspencer-no-utf8-ENV): Likewise.
29594         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
29595         instead of $(objpfx)tst-rxspencer-mem.
29596         ($(objpfx)tst-rxspencer-mem): Change target to
29597         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
29598         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
29599         * posix/tst-rxspencer-no-utf8.c: New file.
29601         * elf/Makefile ($(objpfx)order.out): Remove rule.
29602         [$(run-built-tests) = yes] (tests): Depend on
29603         $(objpfx)order-cmp.out.
29604         ($(objpfx)order-cmp.out): New rule.
29605         [$(run-built-tests) = yes] (tests): Depend on
29606         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
29607         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
29608         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
29609         $(objpfx)tst-array5-static-cmp.out.
29610         ($(objpfx)tst-array1.out): Remove rule.
29611         ($(objpfx)tst-array1-cmp.out): New rule.
29612         ($(objpfx)tst-array1-static.out): Remove rule.
29613         ($(objpfx)tst-array1-static-cmp.out): New rule.
29614         ($(objpfx)tst-array2.out): Remove rule.
29615         ($(objpfx)tst-array2-cmp.out): New rule.
29616         ($(objpfx)tst-array3.out): Remove rule.
29617         ($(objpfx)tst-array3-cmp.out): New rule.
29618         ($(objpfx)tst-array4.out): Remove rule.
29619         ($(objpfx)tst-array4-cmp.out): New rule.
29620         ($(objpfx)tst-array5.out): Remove rule.
29621         ($(objpfx)tst-array5-cmp.out): New rule.
29622         ($(objpfx)tst-array5-static.out): Remove rule.
29623         ($(objpfx)tst-array5-static-cmp.out): New rule.
29624         [$(run-built-tests) = yes] (tests): Depend on
29625         $(objpfx)order2-cmp.out.
29626         ($(objpfx)order2.out): Remove rule.
29627         ($(objpfx)order2-cmp.out): New rule.
29628         ($(objpfx)tst-initorder.out): Remove rule.
29629         [$(run-built-tests) = yes] (tests): Depend on
29630         $(objpfx)tst-initorder-cmp.out.
29631         ($(objpfx)tst-initorder-cmp.out): New rule.
29632         ($(objpfx)tst-initorder2.out): Remove rule.
29633         [$(run-built-tests) = yes] (tests): Depend on
29634         $(objpfx)tst-initorder2-cmp.out.
29635         ($(objpfx)tst-initorder2-cmp.out): New rule.
29636         [$(run-built-tests) = yes] (tests): Depend on
29637         $(objpfx)tst-unused-dep-cmp.out.
29638         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
29639         ($(objpfx)tst-unused-dep-cmp.out): New rule.
29640         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
29641         on $(objpfx)tst-setvbuf1-cmp.out.
29642         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
29643         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
29644         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
29645         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
29646         ($(objpfx)tst-svc.out): Remove rule.
29647         ($(objpfx)tst-svc-cmp.out): New rule.
29649 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
29651         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
29652         * ctype/ctype.h [__USE_MISC]: Likewise.
29653         * dirent/dirent.h [__USE_MISC]: Likewise.
29654         * grp/grp.h [__USE_MISC]: Likewise.
29655         * io/fcntl.h [__USE_MISC]: Likewise.
29656         * io/sys/stat.h [__USE_MISC]: Likewise.
29657         * libio/stdio.h [__USE_MISC]: Likewise.
29658         * posix/unistd.h [__USE_MISC]: Likewise.
29659         * pwd/pwd.h [__USE_MISC]: Likewise.
29660         * stdlib.h [__USE_MISC]: Likewise.
29661         * string/bits/string2.h [__USE_MISC]: Likewise.
29662         * string/string.h [__USE_MISC]: Likewise.
29663         * time/time.h [__USE_MISC]: Likewise.
29665 2014-02-13  Andreas Schwab  <schwab@suse.de>
29667         [BZ #16574]
29668         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
29669         second answer buffer if it was separately allocated.
29671 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
29673         * sysdeps/mips/math-tests.h: Include <features.h>.
29674         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29675         (ROUNDING_TESTS_long_double): Do not define.
29676         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29677         (EXCEPTION_TESTS_long_double): Likewise.
29678         * sysdeps/mips/mips64/libm-test-ulps: Update.
29680         * include/features.h (__USE_BSD): Remove macro definitions.
29681         (__USE_SVID): Likewise.
29682         (_BSD_SOURCE): Likewise.
29683         (_SVID_SOURCE): Likewise.
29684         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
29685         from definition of _DEFAULT_SOURCE.
29686         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
29687         [_DEFAULT_SOURCE].
29688         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
29689         * bits/mman.h [__USE_BSD]: Likewise.
29690         * bits/termios.h [__USE_BSD]: Likewise.
29691         * bits/waitstatus.h [__USE_BSD]: Likewise.
29692         * ctype/ctype.h [__USE_SVID]: Likewise.
29693         * dirent/dirent.h [__USE_BSD]: Likewise.
29694         * grp/grp.h [__USE_SVID]: Likewise.
29695         [__USE_BSD]: Likewise.
29696         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
29697         * io/fcntl.h [__USE_BSD]: Likewise.
29698         * io/ftw.h [__USE_BSD]: Likewise.
29699         * io/sys/stat.h [__USE_BSD]: Likewise.
29700         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
29701         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
29702         * libio/stdio.h [__USE_SVID]: Likewise.
29703         [__USE_BSD]: Likewise.
29704         * math/math.h [__USE_SVID]: Likewise.
29705         [__USE_BSD]: Likewise.
29706         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
29707         * misc/bits/syslog.h [__USE_BSD]: Likewise.
29708         * misc/search.h [__USE_SVID]: Likewise.
29709         * misc/sys/mman.h [__USE_BSD]: Likewise.
29710         * misc/sys/syslog.h [__USE_BSD]: Likewise.
29711         * misc/sys/uio.h [__USE_BSD]: Likewise.
29712         * posix/bits/unistd.h [__USE_BSD]: Likewise.
29713         * posix/glob.h [__USE_BSD]: Likewise.
29714         * posix/regex.h [__USE_BSD]: Likewise.
29715         * posix/sys/types.h [__USE_BSD]: Likewise.
29716         [__USE_SVID]: Likewise.
29717         * posix/sys/utsname.h [__USE_SVID]: Likewise.
29718         * posix/sys/wait.h [__USE_BSD]: Likewise.
29719         [__USE_SVID]: Likewise.
29720         * posix/unistd.h [__USE_BSD]: Likewise.
29721         [__USE_SVID]: Likewise.
29722         * pwd/pwd.h [__USE_SVID]: Likewise.
29723         * resolv/netdb.h [__USE_BSD]: Likewise.
29724         * setjmp/setjmp.h [__USE_BSD]: Likewise.
29725         * signal/signal.h [__USE_BSD]: Likewise.
29726         [__USE_SVID]: Likewise.
29727         * socket/sys/socket.h [__USE_BSD]: Likewise.
29728         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
29729         * stdlib/stdlib.h [__USE_BSD]: Likewise.
29730         [__USE_SVID]: Likewise.
29731         * string/bits/string2.h [__USE_BSD]: Likewise.
29732         [__USE_SVID]: Likewise.
29733         * string/bits/string3.h [__USE_BSD]: Likewise.
29734         * string/endian.h [__USE_BSD]: Likewise.
29735         * string/string.h [__USE_SVID]: Likewise.
29736         [__USE_BSD]: Likewise.
29737         * string/strings.h [__USE_BSD]: Likewise.
29738         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
29739         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
29740         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
29741         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
29742         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
29743         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
29744         Likewise.
29745         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
29746         Likewise.
29747         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
29748         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
29749         Likewise.
29750         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
29751         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
29752         Likewise.
29753         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
29754         Likewise.
29755         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
29756         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
29757         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
29758         Likewise.
29759         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
29760         Likewise.
29761         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
29762         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
29763         * termios/termios.h [__USE_BSD]: Likewise.
29764         * time/sys/time.h [__USE_BSD]: Likewise.
29765         * time/time.h [__USE_BSD]: Likewise.
29766         [__USE_SVID]: Likewise.
29768         * Makefile (subdir_targets): Remove subdir_lint.out.
29770         * stdio-common/Makefile (do-tst-unbputc): Remove target.
29771         (do-tst-printf): Likewise.
29772         (tests): Depend directly on $(objpfx)tst-unbputc.out and
29773         $(objpfx)tst-printf.out.
29775         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
29777         * Makerules (check-abi-%): Change target to
29778         $(objpfx)check-abi-%.out.
29779         (check-abi target): Update dependencies.
29780         (check-abi-pattern variable): Redirect output of diff to $@.
29781         (check-abi variable): Likewise.
29782         * elf/Makefile (check-abi): Update dependencies.
29784         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
29785         unused.
29786         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
29787         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
29788         subnormal range.
29789         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
29790         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
29791         value has largest subnormal exponent.
29792         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
29793         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
29794         * sysdeps/aarch64/soft-fp/sfp-machine.h
29795         (_FP_TININESS_AFTER_ROUNDING): New macro.
29796         * sysdeps/alpha/soft-fp/sfp-machine.h
29797         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29798         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29799         Likewise.
29800         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
29801         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29802         * sysdeps/mips/soft-fp/sfp-machine.h
29803         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29804         * sysdeps/powerpc/soft-fp/sfp-machine.h
29805         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29806         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29807         Likewise.
29808         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29809         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29810         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29811         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29812         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29813         Likewise.
29815 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
29817         [BZ #16545]
29818         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
29819         model 1.
29821 2014-02-12  Richard Henderson  <rth@redhat.com>
29823         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
29824         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
29825         * sysdeps/unix/sysv/linux/alpha: Move directory from
29826         ports/sysdeps/unix/sysv/linux/alpha.
29827         * README: Update listing for alpha-*-linux-gnu.
29829 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
29831         * include/features.h: Update comment documenting feature test
29832         macros.
29833         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
29834         _DEFAULT_SOURCE.
29835         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
29836         (_SVID_SOURCE): Likewise.
29837         (_DEFAULT_SOURCE): Update description of default features.
29838         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
29839         with _GNU_SOURCE.
29840         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
29841         (S_ISVTX): Likewise.
29842         * manual/math.texi (Mathematical Constants): Likewise.
29843         * manual/signal.texi (Interrupted Primitives): Likewise.
29844         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
29845         * math/test-matherr.c (_SVID_SOURCE): Do not define.
29846         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
29847         Don't refer to _SVID_SOURCE in warning text.
29849         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29851         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
29852         already defined.
29853         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
29854         * sysdeps/mips/dl-lookup.c: Remove.
29855         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
29857 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29859         [BZ #16447]
29860         * math/auto-libm-test-in: Add testcase for expl.
29861         * math/auto-libm-test-out: Regenerate.
29862         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
29863         calculation of unsafe.
29864         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
29866 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29868         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
29869         * sysdeps/unix/sysv/linux/aarch64: Move directory from
29870         ports/sysdeps/unix/sysv/linux/aarch64.
29871         * README: Update listing for aarch64*-*-linux-gnu.
29873 2014-02-11  Will Newton  <will.newton@linaro.org>
29875         * manual/probes.texi (Mathematical Function Probes): Use
29876         "triggered" instead of "hit".
29878         * manual/probes.texi (Internal Probes): Add documentation
29879         of setjmp, longjmp and longjmp_target probes.
29881         * include/stap-probe.h: Add comment about probe argument
29882         format.
29884         * malloc/mtrace.c (attribute_hidden): Remove unused macro
29885         definition.  (tr_where, tr_freehook, tr_mallochook,
29886         tr_reallochook, tr_memalignhook): Use ANSI protoype.
29888 2014-02-11  David S. Miller  <davem@davemloft.net>
29890         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
29891         processing int_tests.
29893 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
29895         * sysdeps/mips: Move directory from ports/sysdeps/mips.
29896         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
29897         * sysdeps/unix/sysv/linux/mips: Move directory from
29898         ports/sysdeps/unix/sysv/linux/mips.
29899         * README: Update listing for mips-*-linux-gnu and
29900         mips64-*-linux-gnu.
29902 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
29904         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
29905         * sysdeps/unix/sysv/linux/m68k: Move directory from
29906         ports/sysdeps/unix/sysv/linux/m68k.
29907         * README: Update listing for m68k-*-linux-gnu.
29909 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
29911         * sysdeps/tile: Move directory from ports/sysdeps/tile.
29912         * sysdeps/unix/sysv/linux/generic: Move directory from
29913         ports/sysdeps/unix/sysv/linux/generic.
29914         * sysdeps/unix/sysv/linux/tile: Move directory from
29915         ports/sysdeps/unix/sysv/linux/tile.
29916         * README: Update listing for tile*-*-linux-gnu.
29918 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
29920         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
29921         __builtin_expect.
29922         * benchtests/bench-memmem.c (simple_memmem): Likewise.
29923         * catgets/open_catalog.c (__open_catalog): Likewise.
29924         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
29925         * debug/confstr_chk.c: Likewise.
29926         * debug/fread_chk.c (__fread_chk): Likewise.
29927         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
29928         * debug/getgroups_chk.c: Likewise.
29929         * debug/mbsnrtowcs_chk.c: Likewise.
29930         * debug/mbsrtowcs_chk.c: Likewise.
29931         * debug/mbstowcs_chk.c: Likewise.
29932         * debug/memcpy_chk.c: Likewise.
29933         * debug/memmove_chk.c: Likewise.
29934         * debug/mempcpy_chk.c: Likewise.
29935         * debug/memset_chk.c: Likewise.
29936         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29937         * debug/strcat_chk.c (__strcat_chk): Likewise.
29938         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
29939         * debug/strncat_chk.c (__strncat_chk): Likewise.
29940         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
29941         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
29942         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
29943         * debug/wcpncpy_chk.c: Likewise.
29944         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29945         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
29946         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
29947         * debug/wcsncpy_chk.c: Likewise.
29948         * debug/wcsnrtombs_chk.c: Likewise.
29949         * debug/wcsrtombs_chk.c: Likewise.
29950         * debug/wcstombs_chk.c: Likewise.
29951         * debug/wmemcpy_chk.c: Likewise.
29952         * debug/wmemmove_chk.c: Likewise.
29953         * debug/wmempcpy_chk.c: Likewise.
29954         * debug/wmemset_chk.c: Likewise.
29955         * dirent/scandirat.c (SCANDIRAT): Likewise.
29956         * dlfcn/dladdr1.c (dladdr1): Likewise.
29957         * dlfcn/dladdr.c (dladdr): Likewise.
29958         * dlfcn/dlclose.c (dlclose_doit): Likewise.
29959         * dlfcn/dlerror.c (__dlerror): Likewise.
29960         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
29961         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
29962         * dlfcn/dlopen.c (dlopen_doit): Likewise.
29963         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
29964         * dlfcn/dlsym.c (dlsym_doit): Likewise.
29965         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
29966         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
29967         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
29968         Likewise.
29969         * elf/dl-conflict.c: Likewise.
29970         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29971         * elf/dl-dst.h: Likewise.
29972         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
29973         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
29974         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29975         * elf/dl-init.c (call_init, _dl_init): Likewise.
29976         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
29977         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
29978         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
29979         Likewise.
29980         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
29981         Likewise.
29982         * elf/dl-minimal.c (__libc_memalign): Likewise.
29983         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
29984         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29985         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
29986         * elf/dl-sym.c (do_sym): Likewise.
29987         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
29988         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
29989         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
29990         * elf/dl-writev.h (_dl_writev): Likewise.
29991         * elf/ldconfig.c (search_dir): Likewise.
29992         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
29993         (dl_main): Likewise.
29994         * elf/setup-vdso.h (setup_vdso): Likewise.
29995         * grp/compat-initgroups.c (compat_call): Likewise.
29996         * grp/fgetgrent.c (fgetgrent): Likewise.
29997         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
29998         * grp/putgrent.c (putgrent): Likewise.
29999         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30000         Likewise.
30001         * hurd/hurdinit.c: Likewise.
30002         * iconvdata/8bit-gap.c (struct): Likewise.
30003         * iconvdata/ansi_x3.110.c : Likewise.
30004         * iconvdata/big5.c : Likewise.
30005         * iconvdata/big5hkscs.c : Likewise.
30006         * iconvdata/cp1255.c: Likewise.
30007         * iconvdata/cp1258.c : Likewise.
30008         * iconvdata/cp932.c : Likewise.
30009         * iconvdata/euc-cn.c: Likewise.
30010         * iconvdata/euc-jisx0213.c : Likewise.
30011         * iconvdata/euc-jp.c: Likewise.
30012         * iconvdata/euc-jp-ms.c : Likewise.
30013         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
30014         * iconvdata/gb18030.c : Likewise.
30015         * iconvdata/gbbig5.c (const): Likewise.
30016         * iconvdata/gbgbk.c: Likewise.
30017         * iconvdata/gbk.c : Likewise.
30018         * iconvdata/ibm1364.c : Likewise.
30019         * iconvdata/ibm930.c : Likewise.
30020         * iconvdata/ibm932.c: Likewise.
30021         * iconvdata/ibm933.c : Likewise.
30022         * iconvdata/ibm935.c : Likewise.
30023         * iconvdata/ibm937.c : Likewise.
30024         * iconvdata/ibm939.c : Likewise.
30025         * iconvdata/ibm943.c: Likewise.
30026         * iconvdata/iso_11548-1.c: Likewise.
30027         * iconvdata/iso-2022-cn.c : Likewise.
30028         * iconvdata/iso-2022-cn-ext.c : Likewise.
30029         * iconvdata/iso-2022-jp-3.c: Likewise.
30030         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
30031         * iconvdata/iso-2022-kr.c : Likewise.
30032         * iconvdata/iso646.c (gconv_end): Likewise.
30033         * iconvdata/iso_6937-2.c : Likewise.
30034         * iconvdata/iso_6937.c : Likewise.
30035         * iconvdata/iso8859-1.c: Likewise.
30036         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
30037         * iconvdata/shift_jisx0213.c : Likewise.
30038         * iconvdata/sjis.c : Likewise.
30039         * iconvdata/t.61.c : Likewise.
30040         * iconvdata/tcvn5712-1.c : Likewise.
30041         * iconvdata/tscii.c: Likewise.
30042         * iconvdata/uhc.c : Likewise.
30043         * iconvdata/unicode.c (gconv_end): Likewise.
30044         * iconvdata/utf-16.c (gconv_end): Likewise.
30045         * iconvdata/utf-32.c (gconv_end): Likewise.
30046         * iconvdata/utf-7.c (base64): Likewise.
30047         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30048         * iconv/gconv_close.c (__gconv_close): Likewise.
30049         * iconv/gconv_open.c (__gconv_open): Likewise.
30050         * iconv/gconv_simple.c (internal_ucs4_loop_single)
30051         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
30052         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
30053         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
30054         (ucs4le_internal_loop_single): Likewise.
30055         * iconv/iconv.c (iconv): Likewise.
30056         * iconv/iconv_close.c: Likewise.
30057         * iconv/loop.c (SINGLE): Likewise.
30058         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
30059         * include/atomic.h: Likewise.
30060         * inet/inet6_option.c (option_alloc): Likewise.
30061         * intl/bindtextdom.c (set_binding_values): Likewise.
30062         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
30063         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
30064         * intl/localealias.c (read_alias_file): Likewise.
30065         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
30066         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
30067         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
30068         * libio/fmemopen.c (fmemopen): Likewise.
30069         * libio/iofgets.c (_IO_fgets): Likewise.
30070         * libio/iofgets_u.c (fgets_unlocked): Likewise.
30071         * libio/iofgetws.c (fgetws): Likewise.
30072         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
30073         * libio/iogetdelim.c (_IO_getdelim): Likewise.
30074         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
30075         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
30076         * locale/findlocale.c (_nl_find_locale): Likewise.
30077         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30078         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
30079         Likewise.
30080         * locale/setlocale.c (setlocale): Likewise.
30081         * login/programs/pt_chown.c (main): Likewise.
30082         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
30083         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
30084         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
30085         (mmap, mmap64, mremap, munmap): Likewise.
30086         * math/e_exp2l.c: Likewise.
30087         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
30088         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
30089         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
30090         * math/s_catan.c (__catan): Likewise.
30091         * math/s_catanf.c (__catanf): Likewise.
30092         * math/s_catanh.c (__catanh): Likewise.
30093         * math/s_catanhf.c (__catanhf): Likewise.
30094         * math/s_catanhl.c (__catanhl): Likewise.
30095         * math/s_catanl.c (__catanl): Likewise.
30096         * math/s_ccosh.c (__ccosh): Likewise.
30097         * math/s_ccoshf.c (__ccoshf): Likewise.
30098         * math/s_ccoshl.c (__ccoshl): Likewise.
30099         * math/s_cexp.c (__cexp): Likewise.
30100         * math/s_cexpf.c (__cexpf): Likewise.
30101         * math/s_cexpl.c (__cexpl): Likewise.
30102         * math/s_clog10.c (__clog10): Likewise.
30103         * math/s_clog10f.c (__clog10f): Likewise.
30104         * math/s_clog10l.c (__clog10l): Likewise.
30105         * math/s_clog.c (__clog): Likewise.
30106         * math/s_clogf.c (__clogf): Likewise.
30107         * math/s_clogl.c (__clogl): Likewise.
30108         * math/s_csin.c (__csin): Likewise.
30109         * math/s_csinf.c (__csinf): Likewise.
30110         * math/s_csinh.c (__csinh): Likewise.
30111         * math/s_csinhf.c (__csinhf): Likewise.
30112         * math/s_csinhl.c (__csinhl): Likewise.
30113         * math/s_csinl.c (__csinl): Likewise.
30114         * math/s_csqrt.c (__csqrt): Likewise.
30115         * math/s_csqrtf.c (__csqrtf): Likewise.
30116         * math/s_csqrtl.c (__csqrtl): Likewise.
30117         * math/s_ctan.c (__ctan): Likewise.
30118         * math/s_ctanf.c (__ctanf): Likewise.
30119         * math/s_ctanh.c (__ctanh): Likewise.
30120         * math/s_ctanhf.c (__ctanhf): Likewise.
30121         * math/s_ctanhl.c (__ctanhl): Likewise.
30122         * math/s_ctanl.c (__ctanl): Likewise.
30123         * math/w_pow.c: Likewise.
30124         * math/w_powf.c: Likewise.
30125         * math/w_powl.c: Likewise.
30126         * math/w_scalb.c (sysv_scalb): Likewise.
30127         * math/w_scalbf.c (sysv_scalbf): Likewise.
30128         * math/w_scalbl.c (sysv_scalbl): Likewise.
30129         * misc/error.c (error_tail): Likewise.
30130         * misc/pselect.c (__pselect): Likewise.
30131         * nis/nis_callback.c (__nis_create_callback): Likewise.
30132         * nis/nis_call.c (__nisfind_server): Likewise.
30133         * nis/nis_creategroup.c (nis_creategroup): Likewise.
30134         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
30135         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
30136         * nis/nis_getservlist.c (nis_getservlist): Likewise.
30137         * nis/nis_lookup.c (nis_lookup): Likewise.
30138         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
30139         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
30140         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
30141         * nis/nis_xdr.c (xdr_endpoint): Likewise.
30142         * nis/nss_compat/compat-grp.c (getgrent_next_file)
30143         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
30144         * nis/nss_compat/compat-initgroups.c (add_group)
30145         (internal_getgrent_r): Likewise.
30146         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
30147         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
30148         * nis/nss_compat/compat-spwd.c (getspent_next_file)
30149         (internal_getspnam_r): Likewise.
30150         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
30151         (_nss_nis_getaliasbyname_r): Likewise.
30152         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
30153         (_nss_nis_getntohost_r): Likewise.
30154         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
30155         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
30156         (_nss_nis_getgrgid_r): Likewise.
30157         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
30158         (internal_nis_gethostent_r, internal_gethostbyname2_r)
30159         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
30160         (_nss_nis_gethostbyname4_r): Likewise.
30161         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
30162         (initgroups_netid): Likewise.
30163         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
30164         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
30165         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
30166         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
30167         (_nss_nis_getprotobynumber_r): Likewise.
30168         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
30169         (_nss_nis_getsecretkey): Likewise.
30170         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
30171         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
30172         (_nss_nis_getpwuid_r): Likewise.
30173         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
30174         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
30175         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
30176         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
30177         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
30178         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
30179         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
30180         Likewise.
30181         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
30182         (_nss_nisplus_getntohost_r): Likewise.
30183         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
30184         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
30185         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
30186         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
30187         Likewise.
30188         * nis/nss_nisplus/nisplus-initgroups.c
30189         (_nss_nisplus_initgroups_dyn): Likewise.
30190         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
30191         (_nss_nisplus_getnetbyaddr_r): Likewise.
30192         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
30193         (_nss_nisplus_getprotobynumber_r): Likewise.
30194         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
30195         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
30196         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
30197         Likewise.
30198         * nis/nss_nisplus/nisplus-service.c
30199         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
30200         (_nss_nisplus_getservbyport_r): Likewise.
30201         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
30202         (_nss_nisplus_getspnam_r): Likewise.
30203         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
30204         Likewise.
30205         * nscd/aicache.c (addhstaiX): Likewise.
30206         * nscd/cache.c (cache_search, prune_cache): Likewise.
30207         * nscd/connections.c (register_traced_file, send_ro_fd)
30208         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
30209         (main_loop_epoll): Likewise.
30210         * nscd/grpcache.c (addgrbyX): Likewise.
30211         * nscd/hstcache.c (addhstbyX): Likewise.
30212         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30213         * nscd/mem.c (gc, mempool_alloc): Likewise.
30214         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
30215         (addinnetgrX): Likewise.
30216         * nscd/nscd-client.h (__nscd_acquire_maplock)
30217         (__nscd_drop_map_ref): Likewise.
30218         * nscd/nscd_getai.c (__nscd_getai): Likewise.
30219         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30220         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
30221         Likewise.
30222         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30223         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30224         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
30225         (__nscd_get_map_ref): Likewise.
30226         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30227         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
30228         Likewise.
30229         * nscd/pwdcache.c (addpwbyX): Likewise.
30230         * nscd/selinux.c (preserve_capabilities): Likewise.
30231         * nscd/servicescache.c (addservbyX): Likewise.
30232         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
30233         * posix/fnmatch.c (fnmatch): Likewise.
30234         * posix/getopt.c (_getopt_internal_r): Likewise.
30235         * posix/glob.c (glob, glob_in_dir): Likewise.
30236         * posix/wordexp.c (exec_comm_child): Likewise.
30237         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
30238         (getanswer_r, gaih_getanswer_slice): Likewise.
30239         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
30240         * resolv/res_init.c: Likewise.
30241         * resolv/res_mkquery.c (res_nmkquery): Likewise.
30242         * resolv/res_query.c (__libc_res_nquery): Likewise.
30243         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
30244         Likewise.
30245         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
30246         * stdio-common/perror.c (perror): Likewise.
30247         * stdio-common/printf_fp.c (___printf_fp): Likewise.
30248         * stdio-common/tmpnam.c (tmpnam): Likewise.
30249         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30250         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30251         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30252         Likewise.
30253         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
30254         * stdlib/putenv.c (putenv): Likewise.
30255         * stdlib/setenv.c (__add_to_environ): Likewise.
30256         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30257         * stdlib/strtol_l.c (INTERNAL): Likewise.
30258         * string/memmem.c (memmem): Likewise.
30259         * string/strerror.c (strerror): Likewise.
30260         * string/strnlen.c (__strnlen): Likewise.
30261         * string/test-memmem.c (simple_memmem): Likewise.
30262         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
30263         * sunrpc/pm_getport.c (__get_socket): Likewise.
30264         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
30265         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
30266         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
30267         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
30268         Likewise.
30269         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30270         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30271         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
30272         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
30273         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
30274         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
30275         Likewise.
30276         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
30277         Likewise.
30278         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30279         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30280         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30281         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30282         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30283         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
30284         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30285         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
30286         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
30287         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
30288         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30289         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
30290         Likewise.
30291         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
30292         Likewise.
30293         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
30294         Likewise.
30295         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
30296         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30297         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
30298         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
30299         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30300         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
30301         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30302         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
30303         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
30304         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
30305         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
30306         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30307         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30308         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
30309         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30310         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30311         Likewise.
30312         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
30313         Likewise.
30314         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
30315         Likewise.
30316         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
30317         Likewise.
30318         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30319         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30320         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
30321         Likewise.
30322         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
30323         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
30324         * sysdeps/posix/opendir.c (__opendirat): Likewise.
30325         * sysdeps/posix/sleep.c: Likewise.
30326         * sysdeps/posix/tempname.c: Likewise.
30327         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
30328         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30329         Likewise.
30330         * sysdeps/powerpc/powerpc32/dl-machine.h
30331         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
30332         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30333         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30334         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
30335         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
30336         Likewise.
30337         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
30338         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
30339         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
30340         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
30341         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
30342         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
30343         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
30344         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
30345         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30346         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
30347         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
30348         (elf_machine_lazy_rel): Likewise.
30349         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30350         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
30351         (elf_machine_lazy_rel): Likewise.
30352         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
30353         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
30354         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
30355         * sysdeps/unix/grantpt.c (grantpt): Likewise.
30356         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
30357         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
30358         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30359         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30360         Likewise.
30361         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
30362         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
30363         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
30364         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
30365         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30366         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30367         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
30368         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
30369         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
30370         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30371         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30372         Likewise.
30373         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
30374         (__posix_fallocate64_l64): Likewise.
30375         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
30376         (posix_fallocate): Likewise.
30377         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
30378         Likewise.
30379         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30380         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
30381         (getifaddrs_internal): Likewise.
30382         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
30383         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
30384         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
30385         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30386         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30387         (__posix_fallocate64_l64): Likewise.
30388         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30389         Likewise.
30390         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
30391         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
30392         (__get_clockfreq): Likewise.
30393         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
30394         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30395         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
30396         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30397         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30398         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
30399         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
30400         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
30401         Likewise.
30402         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
30403         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
30404         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
30405         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
30406         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30407         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
30408         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
30409         Likewise.
30410         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30411         (posix_fallocate): Likewise.
30412         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30413         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
30414         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
30415         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
30416         (elf_machine_rela, elf_machine_rela_relative)
30417         (elf_machine_lazy_rel): Likewise.
30418         * time/asctime.c (asctime_internal): Likewise.
30419         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
30420         * time/tzset.c (__tzset_parse_tz): Likewise.
30421         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30422         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30423         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
30424         * wcsmbs/wcsmbsload.h: Likewise.
30426         [BZ #15894]
30427         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
30429         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
30430         (arena_get2): Remove THREAD_STATS conditionals.
30431         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
30432         (__malloc_stats, int): Likewise.
30434 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
30436         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
30437         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
30439         * manual/setjmp.texi: Fix typos/grammar errors.
30441         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
30442         Only return early when n is <= 0.  Delete unused return statement.
30444         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
30445         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
30446         * debug/tst-longjmp_chk3.c: New file.
30448         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
30449         (test_main): Replace code with set_fortify_handler call.
30450         * debug/test-strcpy_chk.c: Likewise.
30451         * debug/tst-chk1.c: Likewise.
30452         * debug/tst-longjmp_chk.c: Likewise.
30453         * test-skeleton.c: Include fcntl.h & paths.h
30454         (set_fortify_handler): Define.
30456         * debug/tst-longjmp_chk.c: Add header comment and include
30457         ../test-skeleton.c.
30458         (do_test): Mark static.
30459         (TEST_FUNCTION): Define.
30461         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
30462         (IP_PMTUDISC_INTERFACE): Likewise.
30463         (IP_MULTICAST_IF): Likewise.
30464         (IP_MULTICAST_TTL): Likewise.
30465         (IP_MULTICAST_LOOP): Likewise.
30466         (IP_ADD_MEMBERSHIP): Likewise.
30467         (IP_DROP_MEMBERSHIP): Likewise.
30468         (IP_UNBLOCK_SOURCE): Likewise.
30469         (IP_BLOCK_SOURCE): Likewise.
30470         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
30471         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
30472         (IP_MSFILTER): Likewise.
30473         (MCAST_JOIN_GROUP): Likewise.
30474         (MCAST_BLOCK_SOURCE): Likewise.
30475         (MCAST_UNBLOCK_SOURCE): Likewise.
30476         (MCAST_LEAVE_GROUP): Likewise.
30477         (MCAST_JOIN_SOURCE_GROUP): Likewise.
30478         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
30479         (MCAST_MSFILTER): Likewise.
30480         (IP_MULTICAST_ALL): Likewise.
30481         (IP_UNICAST_IF): Likewise.
30483         * timezone/Makefile: Delete $(have-ksh) check.
30484         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
30485         * timezone/tzselect.ksh: Add +x mode bits.
30487         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
30488         (ANON_INODE_FS_MAGIC): Likewise.
30489         (BDEVFS_MAGIC): Likewise.
30490         (BINFMTFS_MAGIC): Likewise.
30491         (BTRFS_TEST_MAGIC): Likewise.
30492         (CRAMFS_MAGIC_WEND): Likewise.
30493         (DEBUGFS_MAGIC): Likewise.
30494         (ECRYPTFS_SUPER_MAGIC): Likewise.
30495         (EXT3_SUPER_MAGIC): Likewise.
30496         (EXT4_SUPER_MAGIC): Likewise.
30497         (FUTEXFS_SUPER_MAGIC): Likewise.
30498         (HOSTFS_SUPER_MAGIC): Likewise.
30499         (HUGETLBFS_MAGIC): Likewise.
30500         (MINIX3_SUPER_MAGIC): Likewise.
30501         (MTD_INODE_FS_MAGIC): Likewise.
30502         (NILFS_SUPER_MAGIC): Likewise.
30503         (OPENPROM_SUPER_MAGIC): Likewise.
30504         (PIPEFS_MAGIC): Likewise.
30505         (PSTOREFS_MAGIC): Likewise.
30506         (QNX6_SUPER_MAGIC): Likewise.
30507         (RAMFS_MAGIC): Likewise.
30508         (REISERFS_SUPER_MAGIC_STRING): Likewise.
30509         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
30510         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
30511         (SECURITYFS_MAGIC): Likewise.
30512         (SELINUX_MAGIC): Likewise.
30513         (SMACK_MAGIC): Likewise.
30514         (SOCKFS_MAGIC): Likewise.
30515         (SQUASHFS_MAGIC): Likewise.
30516         (STACK_END_MAGIC): Likewise.
30517         (TMPFS_MAGIC): Likewise.
30518         (USBDEVICE_SUPER_MAGIC): Likewise.
30519         (V9FS_MAGIC): Likewise.
30520         (XENFS_SUPER_MAGIC): Likewise.
30521         (CRAMFS_MAGIC): Fix typo in comment.
30522         (EXT2_SUPER_MAGIC): Update comment.
30523         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
30525 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
30527         * sysdeps/arm: Move directory from ports/sysdeps/arm.
30528         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
30529         * sysdeps/unix/sysv/linux/arm: Move directory from
30530         ports/sysdeps/unix/sysv/linux/arm.
30531         * README: Update listing for arm-*-linux-gnueabi.
30533         * README: Remove mention of am33.
30535 2014-02-07  Roland McGrath  <roland@hack.frob.com>
30537         * bits/sigset.h (__sigemptyset): Use a statement expression rather
30538         than the comma operator, to avoid "rhs of comma has no effect"
30539         compiler warnings.
30540         (__sigfillset, __sigandset, __sigorset): Likewise.
30541         * include/signal.h (__sigemptyset): Likewise.
30542         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
30544 2014-02-07  Allan McRae  <allan@archlinux.org>
30546         * version.h (RELEASE): Set to "development".
30547         (VERSION): Set to "2.19.90"
30548         * NEWS: Add 2.20 section.
30550 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
30552         [BZ #16529]
30553         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
30555 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30557         * manual/contrib.texi: Update entry for Carlos O'Donell,
30558         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
30560 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
30562         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
30564         * sysdeps/unix/sysv/linux/kernel-features.h
30565         [__LINUX_KERNEL_VERSION >= 0x020621]
30566         (__ASSUME_PROC_PID_TASK_COMM): Define.
30568 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30570         [BZ #16398]
30571         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
30572         conversion when destination buffer does not have enough space.
30573         * libio/tst-ftell-partial-wide.c: New test case.
30574         * libio/Makefile (tests): Add tst-ftell-partial-wide.
30576         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
30577         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
30578         Leonard and Allan McRae.
30580 2014-02-04  David S. Miller  <davem@davemloft.net>
30582         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
30583         32-bit.
30585 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30588         New file
30589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30590         New file
30591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30592         New file.
30593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30594         New file.
30595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30596         New file.
30597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30598         New file.
30599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30600         New file.
30601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30602         New file.
30603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30604         New file.
30605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30606         New file.
30607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30608         New file.
30609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30610         New file.
30611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30612         New file.
30614 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30616         * nptl/shlib-versions: Change powerpc*le start to 2.17.
30617         * shlib-versions: Likewise.
30619 2014-02-04  Roland McGrath  <roland@hack.frob.com>
30620             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30622         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
30623         (abilist-pattern): New variable, set to %-le.abilist.
30625         * Makerules (abilist-pattern): New variable.
30626         (vpath): Use $(abilist-pattern) in place of %.abilist.
30627         (check-abi-% pattern rule): Likewise.
30628         (check-abi, update-abi): Likewise.
30630 2014-02-04  Eric Wong  <normalperson@yhbt.net>
30632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30634 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
30636         * manual/startup.texi: Add next, previous, and top entries for
30637         the `Program Arguments' and `Environment Variables' nodes.
30639 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
30641         * manual/macros.texi: Add comments before MTASC-safety macros.
30643         * manual/users.texi: Document MTASC-safety properties.
30645         * manual/threads.texi (pthread_key_create, pthread_key_delete)
30646         (pthread_getspecific, pthread_setspecific): Format with
30647         @deftypefun, and add @safety note.
30648         * manual/signal.texi: Move comments that analyze the above
30649         functions to their home place.
30651 2014-02-03  Allan McRae  <allan@archlinux.org>
30653         * po/sl.po: Update Slovenian translation from translation project.
30655 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
30657         * manual/time.texi (timegm): Add missing blank after @c.
30658         Reported by Joseph Myers <joseph@codesourcery.com>.
30660 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
30662         * manual/check-safety.sh: New.
30663         * manual/Makefile ($(objpfx)stamp-summary): Run it.
30665         * manual/terminal.texi: Document MTASC-safety properties.
30667         * manual/filesys.texi: Document MTASC-safety properties.
30669         * manual/errno.texi: Document MTASC-safety properties.
30671         * manual/intro.texi: Document safety identifiers and
30672         conditionals.
30674         * manual/string.texi (wcstok): Fix prototype.
30675         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
30677         * manual/time.texi: Document MTASC-safety properties.
30679         * manual/string.texi: Document MTASC-safety properties.
30681         * manual/threads.texi: Document MTASC-safety properties.
30683         * manual/stdio.texi: Document MTASC-safety properties.
30685         * manual/syslog.texi: Document MTASC-safety properties.
30687         * manual/sysinfo.texi: Document MTASC-safety properties.
30689         * manual/startup.texi: Document MTASC-safety properties.
30691         * manual/socket.texi: Document MTASC-safety properties.
30693         * manual/signal.texi: Document MTASC-safety properties.
30695 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
30697         * manual/setjmp.texi: Document MTASC-safety properties.
30699         * manual/search.texi: Document MTASC-safety properties.
30701         * manual/resource.texi: Document MTASC-safety properties.
30703         * manual/process.texi: Document MTASC-safety properties.
30705         * manual/platform.texi: Document MTASC-safety properties.
30707         * manual/pipe.texi: Document MTASC-safety properties.
30709         * manual/pattern.texi: Document MTASC-safety properties.
30711         * manual/message.texi: Document MTASC-safety properties.
30713         [BZ #12751]
30714         * manual/memory.texi: Document MTASC-safety properties.
30716         * manual/math.texi: Document MTASC-safety properties.
30718         * manual/locale.texi: Document MTASC-safety properties.
30720         * manual/llio.texi: Document MTASC-safety properties.
30722         * manual/libdl.texi: New.
30724         * manual/lang.texi: Document MTASC-safety properties.
30726         * manual/job.texi: Document MTASC-safety properties.
30728         * manual/getopt.texi: Document MTASC-safety properties.
30730         * manual/ctype.texi: Document MTASC-safety properties.
30732 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
30734         [BZ #16046]
30735         * csu/libc-tls.c (static_map): Remove variable.
30736         (__libc_setup_tls): Use main executable's link map for TLS data.
30737         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
30738         casing for LM_ID_BASE and GL(dl_nns).
30739         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
30740         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
30741         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
30742         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
30743         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
30744         member.
30745         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
30746         l_phnum members.
30748 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
30750         * manual/debug.texi: Document MTASC-safety properties.
30752 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
30754         [BZ #16510]
30755         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
30756         of __x86_64__ when disabling x87 inline functions.
30758 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
30760         * manual/charset.texi: Document MTASC-safety properties.
30762         * manual/crypt.texi: Document MTASC-safety properties.
30764         * manual/conf.texi: Document MTASC-safety properties.
30766         * manual/arith.texi: Document MTASC-safety properties.
30768         * manual/argp.texi: Document MTASC-safety properties.
30770         * manual/macros.texi: Introduce macros to document multi
30771         thread, asynchronous signal and asynchronous cancellation
30772         safety properties.
30773         * manual/intro.texi: Introduce the properties themselves.
30775 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30777         * sysdeps/sh/sh4/Makefile: New file.
30779 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
30781         * math/gen-libm-test.pl ($srcdir): New variable.
30782         ($auto_input): Use it.
30784 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30786         [BZ #16506]
30787         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
30788         access beyond array bounds when parsing netgroups file.
30790         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
30791         the old buffer before realloc.
30793 2014-01-27  Allan McRae  <allan@archlinux.org>
30795         * po/fr.po: Update French translation from translation project.
30797 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30799         * sysdeps/sh/libm-test-ulps: Regenerate.
30801 2014-01-24  David S. Miller  <davem@davemloft.net>
30803         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
30805 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30807         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
30808         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
30810 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30812         [BZ #16474]
30813         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
30814         string pointers after reallocation.
30816 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30818         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
30819         __SH4A__ instead of __SH_FPU_ANY__.
30821 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30823         * sysdeps/sh/fpu_control.h: New file.
30824         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
30825         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
30826         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
30827         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
30828         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
30829         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
30830         * sysdeps/sh/sys/ucontext.h: Remove.
30831         * sysdeps/sh/sys: Remove directory.
30833 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30835         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
30836         s390/sys/ucontext.h.
30837         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
30838         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
30840 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
30842         [BZ #15605]
30843         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
30845 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30847         [BZ#16431]
30848         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30849         Adjust the vDSO correctly for internal calls.
30850         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
30852 2014-01-20  Allan McRae  <allan@archlinux.org>
30854         * po/ca.po: Update Catalan translation from translation project.
30856 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
30858         * sysdeps/s390/sotruss-lib.c: New file.
30860 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30862         [BZ#16430]
30863         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
30864         (__GI___gettimeofday): Alias for a different internal symbol to avoid
30865         local calls issues by not having a PLT stub required for IFUNC calls.
30866         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
30868 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
30870         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
30871         * math/test-fpucw-static.c: Likewise.
30873 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30875         [BZ #16453]
30876         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
30878 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30880         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
30881         implementation for powerpc.
30883 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
30885         [BZ #14782]
30886         * sysdeps/posix/system.c (__libc_system): Do not enable
30887         asynchronous cancellation.
30889 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30891         [BZ #16427]
30892         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
30893         handling only for numbers special also in the IEEE case.
30895 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30897         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30899 2014-01-11  Allan McRae  <allan@archlinux.org>
30901         * po/bg.po: Update Bulgarian translation from translation project.
30903         * po/de.po: Update German translation from translation project.
30905 2014-01-10  Roland McGrath  <roland@hack.frob.com>
30907         * sysdeps/generic/gcc-compat.h: New file.
30909 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30911         * benchtests/asin-inputs: Correct slow inputs.
30912         * benchtests/acos-inputs: Likewise.
30914 2014-01-10  Allan McRae  <allan@archlinux.org>
30916         * po:sv.po: Update Swedish translation from translation project.
30918         * po/vi.po: Update Vietnamese translation from translation project.
30920         * po/eo.po: Update Esperanto translation from translation project.
30922         * po/cs.po: Update Czech translation from translation project.
30924         * po/nl.po: Update Dutch translation from translation project.
30926         * po/pl.po: Update Polish translation from translation project.
30928         * po/ru.po: Update Russian translation from translation project.
30930         * po/uk.po: Update Ukrainian translation from translation project.
30932 2014-01-08  Brooks Moses  <bmoses@google.com>
30934         * elf/dl-load.c: Fix comment typo.
30936 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
30938         * po/header.pot: Rename to...
30939         * po/pot.header: ... this.
30940         * po/Makefile: Use pot.header.
30942 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
30943             Maxim Kuvyrkov  <maxim@kugelworks.com>
30945         [BZ #16394]
30946         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
30947         SRC and DEST against LEN.
30949 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30951         [BZ #16414]
30952         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
30953         implementation.
30954         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
30956 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30960 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
30962         [BZ #16408]
30963         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
30964         for large positive arguments.
30966 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
30968         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30970         * math/auto-libm-test-in: Mark various tests with
30971         xfail-rounding:ldbl-128ibm.
30972         * math/auto-libm-test-out: Regenerated.
30974         [BZ #16407]
30975         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30976         Increase overflow threshold.
30978 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
30980         [BZ #14286]
30981         * stdio-common/vfprintf.c: Check for integer overflow.
30983 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30985         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
30986         the first argument and return value of __tls_get_addr_internal.
30988 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30990         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
30991         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
30993 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30995         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
30996         * sysdeps/s390/rtld-global-offsets.sym: New file.
30997         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
30998         GLIBC_2.19 symbol.
30999         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
31000         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
31001         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31002         ... this.
31003         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
31004         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31005         ... this.
31006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31007         Regenerate.
31008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31009         Regenerate.
31010         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
31011         halfs of GPRs for high_gprs contexts.
31012         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
31013         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
31014         field.
31015         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
31016         uc_flags field.
31017         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
31018         64 bit versions:
31019         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
31020         for high GPRs (uc_high_gprs) and for future extensions
31021         (__reserved).
31022         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
31023         for future extensions (__reserved).
31024         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
31025         64 bit versions:
31026         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
31027         SC_HIGHGPRS offset definition.
31028         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
31029         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
31031         * Versions.def: Add GLIBC_2.19 for libpthread.
31032         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
31033         siglongjmp for libpthread with GLIBC_2.19 symver.
31034         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
31035         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
31036         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
31037         * sysdeps/s390/__longjmp.c: New file.
31038         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
31039         * sysdeps/s390/longjmp.c: New file.
31040         * sysdeps/s390/setjmp.S: New file.
31041         * sysdeps/s390/sigjmp.S: New file.
31042         * sysdeps/s390/v1-longjmp.c: New file.
31043         * sysdeps/s390/v1-setjmp.h: New file.
31044         * sysdeps/s390/v1-sigjmp.c: New file.
31045         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
31046         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
31047         GLIBC_2.19 version.
31048         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
31049         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
31050         versioned symbols for ____longjmp_chk.
31051         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31052         Likewise.
31053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31054         Regenerate.
31055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31056         Regenerate.
31057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31058         Regenerate.
31059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31060         Regenerate.
31061         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
31062         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
31063         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
31064         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
31065         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
31066         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
31067         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
31068         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
31069         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
31070         * sysdeps/s390/rtld-__longjmp.c: New file.
31071         * sysdeps/s390/rtld-setjmp.S: New file.
31073 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
31075         [BZ #16400]
31076         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31077         Return -__logl (x) for small positive arguments without evaluating
31078         a polynomial.
31080 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
31082         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
31083         Rename to ...
31084         (__ptrace_peeksiginfo_args): ... this.
31085         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31086         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31087         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31089 2014-01-06  Allan McRae  <allan@archlinux.org>
31091         * inet/netinet/in.h: Fix typo in comment.
31093 2014-01-05  Andreas Jaeger  <aj@suse.de>
31095         * sysdeps/i386/fpu/libm-test-ulps: Update.
31097 2014-01-05  Allan McRae  <allan@archlinux.org>
31099         * po/libc.pot: Regenerated.
31101         * malloc/memusagestat.c: Fix gettext call formatting.
31103 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
31105         * nscd/nscd.c: Improve usage() output.
31107 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
31109         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
31110         * sysdeps/unix/sysv/linux/configure: Regenerated.
31111         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
31112         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
31114 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
31116         [BZ #16390]
31117         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31118         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
31120 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31122         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
31123         extra tokens at end of #undef directive.
31124         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
31125         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
31126         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
31128 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
31130         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31132         * math/auto-libm-test-in: Mark various tests with
31133         xfail-rounding:ldbl-128ibm.
31134         * math/auto-libm-test-out: Regenerated.
31136 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
31138         [BZ #16386]
31139         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
31140         numbers with subnormal high part when calculating exponent.
31142         [BZ #16385]
31143         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
31144         fabs.
31146         [BZ #16384]
31147         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
31148         M_LN2l.
31149         (__ieee754_acoshl): Use __log1pl not __log1p.
31151 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
31153         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
31154         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
31155         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
31156         (grow_heap, heap_trim, _int_new_arena, get_free_list)
31157         (reused_arena, arena_get2): Convert to GNU style.
31158         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
31159         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
31160         (memalign_check, __malloc_set_state): Likewise.
31161         * malloc/mallocbug.c (main): Likewise.
31162         * malloc/malloc.c (__malloc_assert, malloc_init_state)
31163         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
31164         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
31165         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
31166         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
31167         (__posix_memalign, malloc_info): Likewise.
31168         * malloc/malloc.h: Likewise.
31169         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
31170         (mallochook, memalignhook, reallochook, mabort): Likewise.
31171         * malloc/mcheck.h: Likewise.
31172         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
31173         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
31174         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
31175         * malloc/morecore.c (__default_morecore): Likewise.
31176         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
31177         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
31178         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
31179         (print_and_abort): Likewise.
31180         * malloc/obstack.h: Likewise.
31181         * malloc/set-freeres.c (__libc_freeres): Likewise.
31182         * malloc/tst-mallocstate.c (main): Likewise.
31183         * malloc/tst-mtrace.c (main): Likewise.
31184         * malloc/tst-realloc.c (do_test): Likewise.
31186 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31188         [BZ #16366]
31189         * nscd/netgroupcache.c (do_notfound): New function.
31190         (addgetnetgrentX): Use it.
31192         [BZ # 16365]
31193         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
31194         NSS_STATUS_NOTFOUND.
31196 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
31198         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31201 2014-01-01  Allan McRae  <allan@archlinux.org>
31203         * scripts/update-copyrights: Update configure input file suffix.
31205         * NEWS: Update copyright year.
31206         * catgets/gencat.c: Likewise.
31207         * csu/version.c: Likewise.
31208         * debug/catchsegv.sh: Likewise.
31209         * debug/pcprofiledump.c: Likewise.
31210         * debug/xtrace.sh: Likewise.
31211         * elf/ldconfig.c: Likewise.
31212         * elf/ldd.bash.in: Likewise.
31213         * elf/pldd.c: Likewise.
31214         * elf/sotruss.ksh: Likewise.
31215         * elf/sprof.c: Likewise.
31216         * iconv/iconv_prog.c: Likewise.
31217         * iconv/iconvconfig.c: Likewise.
31218         * locale/programs/locale.c: Likewise.
31219         * locale/programs/localedef.c: Likewise.
31220         * login/programs/pt_chown.c: Likewise.
31221         * malloc/memusage.sh: Likewise.
31222         * malloc/memusagestat.c: Likewise.
31223         * malloc/mtrace.pl: Likewise.
31224         * manual/libc.texinfo: Likewise.
31225         * nscd/nscd.c: Likewise.
31226         * nss/getent.c: Likewise.
31227         * nss/makedb.c: Likewise.
31228         * posix/getconf.c: Likewise.
31229         * scripts/test-installation.pl: Likewise.
31231         * All files with FSF copyright notices: Update copyright dates
31232         using scripts/update-copyrights.
31233         * intl/plural.c: Regenerated.
31234         * locale/programs/charmap-kw.h: Likewise.
31235         * locale/programs/locfile-kw.h: Likewise.
31237 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
31239         * sysdeps/unix/sysv/linux/configure: Regenerated.
31240         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
31241         the linux/fanotify.h header.
31242         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
31243         HAVE_LINUX_FANOTIFY_H is defined.
31245 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31247         * benchtests/cos-inputs: New inputs.
31248         * benchtests/sin-inputs: Likewise.
31250         * benchtests/atan-inputs: New inputs. Fix name of multiple
31251         precision fallback inputs.
31253         * benchtests/atanh-inputs: New inputs.
31254         * benchtests/tanh-inputs: Likewise.
31256         * benchtests/acosh-inputs: New inputs.
31257         * benchtests/asinh-inputs: Likewise.
31259         * benchtests/cosh-inputs: New inputs.
31260         * benchtests/sinh-inputs: Likewise.
31262         * benchtests/acos-inputs: Add more inputs.
31263         * benchtests/asin-inputs: Likewise.
31265 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
31267         [BZ #16375]
31268         * manual/arith.texi: Fix spelling.
31269         * manual/charset.texi: Likewise.
31270         * manual/errno.texi: Likewise.
31271         * manual/filesys.texi: Likewise.
31272         * manual/lang.texi: Likewise.
31273         * manual/llio.texi: Likewise.
31274         * manual/locale.texi: Likewise.
31275         * manual/message.texi: Likewise.
31276         * manual/resource.texi: Likewise.
31277         * manual/search.texi: Likewise.
31278         * manual/setjmp.texi: Likewise.
31279         * manual/stdio.texi: Likewise.
31280         * manual/string.texi: Likewise.
31281         * manual/sysinfo.texi: Likewise.
31282         * manual/time.texi: Likewise.
31284 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
31286         * po/sl.po: New file.
31288 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
31290         * .gitignore: Add core/.gdbinit/.gdb_history.
31292 2013-12-27  Allan McRae  <allan@archlinux.org>
31294         [BZ #16369]
31295         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
31296         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
31298 2013-12-24  Brooks Moses  <bmoses@google.com>
31300         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
31301         all compilers that claim C++98 compliance, not just GCC.
31302         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31303         Likewise.
31305 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
31307         * NEWS: Restore accidentally deleted bug-fix entries.
31309 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
31310             Ondřej Bílka  <neleai@seznam.cz>
31312         [BZ #15073]
31313         * malloc/malloc.c (_int_free): Perform sanity check only if we
31314         have_lock.
31316 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
31318         [BZ #12986]
31319         * manual/stdio.texi (String Input Conversions): Clarify that character
31320         classes are not supported.
31322 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31326 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
31328         [BZ #16337]
31329         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31330         Calculate results for small negative arguments directly rather
31331         than using reflection formula with special underflow handling.
31333         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
31334         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
31335         sysdeps/unix/bsd/bsd4.4/syscalls.list.
31336         (fchflags): Likewise.
31337         (revoke): Likewise.
31338         (setlogin): Likewise.
31339         (sigaltstack): Likewise.
31340         (wait4): Likewise.
31341         (sigblock): Remove.
31342         (sigsetmask): Likewise.
31343         (wait3): Likewise.
31344         (waitpid): Likewise.
31345         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
31346         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
31347         file.
31348         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
31349         * sysdeps/unix/bsd/Makefile: ... here.
31350         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
31351         * sysdeps/unix/bsd/Versions: ... here.
31352         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
31353         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
31354         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
31355         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
31356         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
31357         * sysdeps/unix/bsd/sigblock.c: ... here.
31358         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
31359         * sysdeps/unix/bsd/sigsetmask.c: ... here.
31360         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
31361         * sysdeps/unix/bsd/sigvec.c: ... here.
31362         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
31363         * sysdeps/unix/bsd/tcdrain.c: ... here.
31364         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
31365         * sysdeps/unix/bsd/tcgetattr.c: ... here.
31366         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
31367         * sysdeps/unix/bsd/tcsetattr.c: ... here.
31368         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
31369         * sysdeps/unix/bsd/wait.c: ... here.
31370         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
31371         * sysdeps/unix/bsd/wait3.c: ... here.
31372         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
31373         * sysdeps/unix/bsd/waitpid.c: ... here.
31375 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
31377         [BZ #16356]
31378         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
31379         round-to-nearest for [!USE_AS_EXPM1L].
31380         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
31381         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
31382         more tests of exp and exp10.  Expect some exp10 tests to miss
31383         exceptions or fail in directed rounding modes.
31384         * math/auto-libm-test-out: Regenerated.
31385         * math/libm-test.inc (exp10_tonearest_test_data): New array.
31386         (exp10_test_tonearest): New function.
31387         (exp10_towardzero_test_data): New array.
31388         (exp10_test_towardzero): New function.
31389         (exp10_downward_test_data): New array.
31390         (exp10_test_downward): New function.
31391         (exp10_upward_test_data): New array.
31392         (exp10_test_upward): New function.
31393         (main): Call the new functions.
31394         * sysdeps/i386/fpu/libm-test-ulps: Update.
31395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31397 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
31399         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31400         asinh, atan, atan2, atanh, cbrt, cos and cosh.
31401         * math/auto-libm-test-out: Regenerated.
31402         * math/libm-test.inc (acosh_test_data): Add more tests.
31403         (atanh_test_data): Likewise.
31404         (ceil_test_data): Likewise.
31405         (copysign_test_data): Likewise.
31406         * sysdeps/i386/fpu/libm-test-ulps: Update.
31407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31409         * timezone/checktab.awk: Update from tzcode 2013i.
31410         * timezone/private.h: Likewise.
31411         * timezone/scheck.c: Likewise.
31412         * timezone/tzfile.h: Likewise.
31413         * timezone/tzselect.ksh: Likewise.
31414         * timezone/zdump.c: Likewise.
31415         * timezone/zic.c: Likewise.
31417         * math/auto-libm-test-in: Add tests of cpow.
31418         * math/auto-libm-test-out: Regenerated.
31419         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
31420         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31421         mpc_cc_c.
31422         (func_calc_desc): Add mpc_cc_c union field.
31423         (test_functions): Add cpow.
31424         (special_fill_2pi): New function.
31425         (special_real_inputs): Add 2pi.
31426         (calc_generic_results): Handle mpc_cc_c.
31427         * sysdeps/i386/fpu/libm-test-ulps: Update.
31428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31430         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
31431         csqrt, ctan and ctanh.
31432         * math/auto-libm-test-out: Regenerated.
31433         * math/libm-test.inc (TEST_COND_x86_64): New macro.
31434         (TEST_COND_x86): Likewise.
31435         (ccos_test_data): Use AUTO_TESTS_c_c.
31436         (ccosh_test_data): Likewise.
31437         (cexp_test_data): Likewise.
31438         (clog_test_data): Likewise.
31439         (csqrt_test_data): Likewise.
31440         (ctan_test_data): Likewise.
31441         (ctan_tonearest_test_data): Likewise.
31442         (ctan_towardzero_test_data): Likewise.
31443         (ctan_downward_test_data): Likewise.
31444         (ctan_upward_test_data): Likewise.
31445         (ctanh_test_data): Likewise.
31446         (ctanh_tonearest_test_data): Likewise.
31447         (ctanh_towardzero_test_data): Likewise.
31448         (ctanh_downward_test_data): Likewise.
31449         (ctanh_upward_test_data): Likewise.
31450         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31451         mpc_c_c.
31452         (func_calc_desc): Add mpc_c_c union field.
31453         (FUNC_mpc_c_c): New macro.
31454         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
31455         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
31456         ctanh.
31457         (special_fill_min_subnorm_p120): New function.
31458         (special_real_inputs): Add min_subnorm_p120.
31459         (calc_generic_results): Handle mpc_c_c.
31460         * sysdeps/i386/fpu/libm-test-ulps: Update.
31461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31463 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31465         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
31466         (do_sin_slow): New functions.
31467         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
31468         (cslow2, csloww1, csloww2): Use the new functions.
31470         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
31471         Use M to change sign of result instead of X.  Assume X is
31472         positive.
31473         (csloww1): Likewise.
31474         (__sin): Adjust.
31475         (__cos): Adjust.
31477         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
31478         arguments A and DA.
31479         (__sin): Adjust.
31480         (__cos): Likewise.
31482         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
31483         (__cos): Likewise.
31484         (sloww1): Don't adjust sign of DX.
31485         (csloww1): Likewise.
31486         (sloww2): Use X directly and don't adjust sign of DX.
31487         (csloww2): Likewise.
31489 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31491         * math/auto-libm-test-in: Add tests of cabs and carg.
31492         * math/auto-libm-test-out: Regenerated.
31493         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
31494         (carg_test_data): Likewise.
31495         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31496         mpc_c_f.
31497         (func_calc_desc): Add mpc_c_f union field.
31498         (test_functions): Add cabs and carg.
31499         (calc_generic_results): Handle mpc_c_f.
31501         * sysdeps/powerpc/powerpc32/libgcc-compat.S
31502         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
31503         as a macro and a compat symbol.
31504         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31505         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31506         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31507         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31508         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
31509         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
31510         not use .hidden.
31511         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
31512         Likewise.
31513         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
31514         Likewise.
31515         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
31516         Likewise.
31517         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
31518         Likewise.
31519         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
31520         Likewise.
31521         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
31522         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
31523         from GLIBC_2.3.2.
31525 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31529 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31531         * manual/texinfo.tex: Update to version 2013-11-26.10 with
31532         trailing whitespace removed.
31533         * scripts/config.guess: Update to version 2013-11-29.
31534         * scripts/config.sub: Update to version 2013-10-01.
31536         * math/auto-libm-test-in: Add tests of sincos.
31537         * math/auto-libm-test-out: Regenerated.
31538         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
31539         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31540         mpfr_f_11.
31541         (func_calc_desc): Add mpfr_f_11 union field.
31542         (test_functions): Add sincos.
31543         (calc_generic_results): Handle mpfr_f_11.
31544         * sysdeps/i386/fpu/libm-test-ulps: Update.
31545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31547 2013-12-19  Andreas Schwab  <schwab@suse.de>
31549         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
31550         CALL_MCOUNT.
31551         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31552         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
31553         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
31555 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31557         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
31558         * sysdeps/i386/fpu/libm-test-ulps: Update.
31559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31561         [BZ #16293]
31562         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
31563         round-to-nearest mode when using frndint.
31564         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
31565         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31566         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31567         Likewise.
31568         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
31569         sinh test to fail.
31570         * math/auto-libm-test-out: Regenerated.
31571         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
31572         (TEST_COND_x86): Likewise.
31573         (expm1_tonearest_test_data): New array.
31574         (expm1_test_tonearest): New function.
31575         (expm1_towardzero_test_data): New array.
31576         (expm1_test_towardzero): New function.
31577         (expm1_downward_test_data): New array.
31578         (expm1_test_downward): New function.
31579         (expm1_upward_test_data): New array.
31580         (expm1_test_upward): New function.
31581         (main): Run the new test functions.
31582         * sysdeps/i386/fpu/libm-test-ulps: Update.
31583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31585         * include/features.h: Update comment documenting feature test
31586         macros.  Mention _DEFAULT_SOURCE in comment.
31587         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
31588         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
31589         _BSD_SOURCE and _SVID_SOURCE.
31590         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
31591         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
31592         !_SVID_SOURCE]: Likewise.
31593         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31594         (__USE_POSIX_IMPLICITLY): Define.
31595         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31596         (_POSIX_SOURCE): Undefine and redefine.
31597         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31598         (_POSIX_C_SOURCE): Likewise.
31599         * manual/creature.texi (_DEFAULT_SOURCE): Document.
31600         (Feature Test Macros): Update documentation of default features.
31602 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31604         * benchtests/Makefile: Add bench-strtok.
31605         * benchtests/bench-strtok.c: New file: strtok benchtest.
31607 2013-12-19  Allan McRae  <allan@archlinux.org>
31609         * manual/install.texi: Suppress menu for plain text output.
31610         * INSTALL: Regenerated.
31612 2013-12-18  Brooks Moses  <bmoses@google.com>
31614         [BZ #15846]
31615         * misc/getauxval.c: Include errno.h.
31616         (__getauxval): Set errno to ENOENT if the requested type is not
31617         found.
31618         * misc/sys/auxv.h (getauxval): Document that it may set errno;
31619         don't declare with __attribute_const__.
31620         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
31621         * manual/startup.texi: Document that getauxval sets errno.
31623 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31625         * math/auto-libm-test-in: Add tests of jn and yn.
31626         * math/auto-libm-test-out: Regenerated.
31627         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
31628         (yn_test_data): Likewise.
31629         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31630         mpfr_if_f.
31631         (func_calc_desc): Add mpfr_if_f union field.
31632         (FUNC_mpfr_if_f): New macro.
31633         (test_functions): Add jn and yn.
31634         (calc_generic_results): Assert type of second input for
31635         mpfr_ff_f.  Handle mpfr_if_f.
31636         (output_for_one_input_case): Disable all checking for arguments
31637         fitting floating-point types in case of an integer argument.
31638         * sysdeps/i386/fpu/libm-test-ulps: Update.
31639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31642         Don't expect fegetround reference in libm.so.
31644 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31646         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
31647         $(config-cflags-nofma).
31649 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31651         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
31652         * math/auto-libm-test-out: Regenerated.
31654         [BZ #16338]
31655         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
31656         to determine exponent and adjust argument to have exponent of -1.
31657         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
31658         log2.
31659         * math/auto-libm-test-out: Regenerated.
31660         * sysdeps/i386/fpu/libm-test-ulps: Update.
31661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31663 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
31665         * manual/probes.texi: Remove cases when per-thread arenas are
31666         disabled.
31668 2013-12-18  Andreas Schwab  <schwab@suse.de>
31670         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
31671         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
31672         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
31673         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
31674         * sysdeps/i386/i686/multiarch/Makefile: Update.
31675         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
31677 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31679         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
31680         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
31682 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
31684         [BZ #15968]
31685         Support TZ transition times < 00:00:00.
31686         This is needed for version-3 tz-format files; it supports time
31687         stamps past 2037 for America/Godthab (the only entry in the tz
31688         database for which this change is relevant).
31689         * manual/time.texi (TZ Variable): Document transition times
31690         from -167:59:59 through -00:00:01.
31691         * time/tzset.c (tz_rule): Time of day is now signed.
31692         (__tzset_parse_tz): Parse negative time of day.
31694         Document TZ transition times >= 25:00:00.
31695         * manual/time.texi (TZ Variable): Document transition times from
31696         25:00:00 through 167:59:59.  These are already supported, and this
31697         support will help with version-3 tz-format files.
31699         * manual/time.texi (TZ Variable): Modernize North America example
31700         to reflect current (i.e., 2007-and-later) daylight saving rules.
31702         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
31704 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31706         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
31707         * sysdeps/unix/bsd/bits/stat.h: Likewise.
31708         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
31709         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31710         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
31711         * sysdeps/unix/bsd/bsdstat.h: Likewise.
31712         * sysdeps/unix/bsd/clock.c: Likewise.
31713         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
31714         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
31715         * sysdeps/unix/bsd/init-posix.c: Likewise.
31716         * sysdeps/unix/bsd/poll.c: Likewise.
31717         * sysdeps/unix/bsd/ptsname.c: Likewise.
31718         * sysdeps/unix/bsd/seekdir.c: Likewise.
31719         * sysdeps/unix/bsd/setegid.c: Likewise.
31720         * sysdeps/unix/bsd/seteuid.c: Likewise.
31721         * sysdeps/unix/bsd/setgid.c: Likewise.
31722         * sysdeps/unix/bsd/setrgid.c: Likewise.
31723         * sysdeps/unix/bsd/setruid.c: Likewise.
31724         * sysdeps/unix/bsd/setsid.c: Likewise.
31725         * sysdeps/unix/bsd/setuid.c: Likewise.
31726         * sysdeps/unix/bsd/sigaction.c: Likewise.
31727         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
31728         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
31729         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
31730         * sysdeps/unix/bsd/telldir.c: Likewise.
31731         * sysdeps/unix/bsd/times.c: Likewise.
31732         * sysdeps/unix/bsd/usleep.c: Likewise.
31734         * misc/Makefile (install-lib): Remove libbsd-compat.a.
31735         ($(objpfx)libbsd-compat.a): Remove rule.
31737         * include/features.h (__FAVOR_BSD): Do not define.
31738         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
31739         features conflicting with POSIX.
31740         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
31741         (_BSD_SOURCE): Remove description of not being a subset of other
31742         feature test macros.
31743         * manual/job.texi (getpgrp): Do not document BSD version.
31744         (getpgid): Do not document by reference to BSD getpgrp.
31745         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
31746         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
31747         * signal/signal.h [__FAVOR_BSD]: Likewise.
31748         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
31749         instead of making contents conditional on [__FAVOR_BSD].
31750         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
31752 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31756 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31758         [BZ #16314]
31759         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
31760         values below 2**-450, not 2**-500.
31761         * math/auto-libm-test-in: Don't allow spurious underflow from
31762         hypot.
31763         * math/auto-libm-test-out: Regenerated.
31765         [BZ #16316]
31766         [BZ #16330]
31767         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
31768         values of ha and hb and sort them after adjusting subnormal
31769         arguments.
31770         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31771         Likewise.
31772         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
31773         values of ea and eb and sort them after adjusting subnormal
31774         arguments.
31775         * math/auto-libm-test-in: Do not expect some hypot tests of
31776         subnormals to fail.  Add more hypot tests.
31777         * math/auto-libm-test-out: Regenerated.
31779 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31781         [BZ #13304]
31782         * sysdeps/sh/s_fma.c: New file.
31783         * sysdeps/sh/s_fmaf.c: New file.
31784         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
31785         version.
31786         * sysdeps/sh/Implies: Add sh/soft-fp.
31788 2013-12-16  Roland McGrath  <roland@hack.frob.com>
31790         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
31791         level of indirection to members `objname', `errstring', `malloced'.
31792         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
31793         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
31794         it as the __longjmp argument (just pass 1 instead).
31795         (_dl_catch_error): Initialize C with argument pointers and address of
31796         volatile local ERRCODE rather than copying values out of C at return.
31798 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
31800         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
31801         * math/auto-libm-test-out: Regenerated.
31802         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
31803         (hypot_test_data): Likewise.
31804         (pow_test_data): Likewise.
31805         (pow_tonearest_test_data): Likewise.
31806         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31807         mpfr_ff_f.
31808         (func_calc_desc): Add mpfr_ff_f union field.
31809         (FUNC_mpfr_ff_f): New macro.
31810         (test_functions): Add atan2, hypot and pow.
31811         (special_fill_min): New function.
31812         (special_fill_minus_min): Likewise.
31813         (special_fill_min_subnorm): Likewise.
31814         (special_fill_minus_min_subnorm): Likewise.
31815         (special_real_inputs): Add min, -min, min_subnorm and
31816         -min_subnorm.
31817         (calc_generic_results): Handle mpfr_ff_f.
31818         * sysdeps/i386/fpu/libm-test-ulps: Update.
31819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31821 2013-12-16  Will Newton  <will.newton@linaro.org>
31823         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
31824         (Aligned Memory Blocks): Add documentation for aligned_alloc
31825         and suggest it as an alternative to posix_memalign.
31826         (Hooks for Malloc): Document __memalign_hook is also called
31827         for aligned_alloc.  (Summary of Malloc): Add summary for
31828         aligned alloc.  Document __memalign_hook is also called
31829         for aligned_alloc.
31831 2013-12-16  Will Newton  <will.newton@linaro.org>
31833         * manual/memory.texi (Malloc Examples): Clarify default
31834         alignment documentation.  Suggest posix_memalign rather
31835         than memalign or valloc.
31836         (Aligned Memory Blocks): Remove suggestion to use memalign
31837         or valloc.  Remove obsolete comment about BSD.
31838         Document memalign errno values and mark the function obsolete.
31839         Document posix_memalign returned error codes.  Mark valloc
31840         as obsolete.  (Hooks for Malloc): __memalign_hook is also
31841         called for posix_memalign and valloc.
31842         (Summary of Malloc): Add posix_memalign to function summary.
31843         __memalign_hook is also called for posix_memalign and valloc.
31845 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31847         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
31848         TAYLOR_SIN.
31849         (__sin): Adjust.
31850         (__cos): Likewise.
31851         (sloww): Use mynumber union.  Expand ternary operator into
31852         if-else statements.
31853         (cslow): use mynumber union.
31855 2013-12-16  Allan McRae  <allan@archlinux.org>
31857         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
31858         * configure: Regenerated.
31860         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
31862         [BZ #14120]
31863         * configure.ac: Added --enable-maintainer-mode. Check for
31864         autoconf when enabled.
31865         * configure: Regenerated.
31867         * nscd/nscd.service: New file.
31868         * nscd/nscd.tmpfiles: New file.
31870 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
31872         [BZ #12100]
31873         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
31874         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
31875         * sysdeps/x86_64/multiarch/strstr.c: ... here.
31876         (strstr): Add __strstr_sse2_unaligned ifunc.
31877         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
31878         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
31879         (strcasestr): Remove __strcasestr_sse42 ifunc.
31880         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
31881         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31882         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31884 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31886         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
31887         * sysdeps/sh/bits/fenv.h: ... here.
31888         * sysdeps/sh/sh4/fpu/bits: Remove directory.
31890 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31892         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
31894         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
31895         hypotf multiarch implementations.
31896         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
31897         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
31898         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
31899         multiarch hypot for PPC64.
31900         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
31901         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
31902         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
31903         multiarch hypotf for PPC64.
31905         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
31906         modff multiarch implementations.
31907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
31908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
31909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
31910         multiarch modf for PPC64.
31911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
31912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
31913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
31914         multiarch modff for PPC64.
31916         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
31917         and logl multiarch implementations.
31918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
31919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
31920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
31921         multiarch logb for PPC64.
31922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
31923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
31924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
31925         multiarch logb for PPC64.
31926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
31927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
31928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
31929         multiarch logb for PPC64.
31931         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
31932         isinff multiarch implementation.
31933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
31934         file.
31935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
31936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
31937         multiarch isinf for PPC64.
31938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
31939         file.
31940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
31941         multiarch isinff for PPC64.
31943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
31944         finitef multiarch implementation.
31945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
31946         file.
31947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
31948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
31949         multiarch finite for PPC64.
31950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
31951         file.
31952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
31953         multiarch finitef for PPC64.
31955         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
31956         lrint multiarch implementation.
31957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
31958         file.
31959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
31960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
31961         multiarch llrint for PPC64.
31962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
31963         multiarch lrint for PPC64.
31965         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
31966         copysignf multiarch implementation.
31967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
31968         file.
31969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
31970         file.
31971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
31972         multiarch copysign for PPC64.
31973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
31974         multiarch copysignf for PPC64.
31976         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
31977         multiarch implementation.
31978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
31979         file.
31980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
31981         file.
31982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
31983         file.
31984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
31985         file.
31986         multiarch llround for PPC64.
31987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
31988         multiarch trunc for PPC64.
31989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
31990         multiarch truncf for PPC64.
31992         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
31993         multiarch implementation.
31994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
31995         file.
31996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
31997         file.
31998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
31999         file.
32000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
32001         file.
32002         multiarch llround for PPC64.
32003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
32004         multiarch round for PPC64.
32005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
32006         multiarch roundf for PPC64.
32008         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
32009         multiarch implementation.
32010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
32011         file.
32012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
32013         file.
32014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
32015         file.
32016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
32017         file.
32018         multiarch llround for PPC64.
32019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
32020         multiarch floor for PPC64.
32021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
32022         multiarch floorf for PPC64.
32024         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
32025         multiarch implementation.
32026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
32027         file.
32028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
32029         file.
32030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
32031         file.
32032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
32033         file.
32034         multiarch llround for PPC64.
32035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
32036         multiarch ceil for PPC64.
32037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
32038         multiarch ceilf for PPC64.
32040         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32041         multiarch implementation.
32042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
32043         file.
32044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
32045         file.
32046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
32047         file.
32048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
32049         multiarch llround for PPC64.
32050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
32051         multiarch lround for PPC64.
32053         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32054         multiarch implementation.
32055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
32056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
32057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
32058         file.
32059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
32060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
32061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
32062         multiarch isnan for PPC64.
32063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
32064         multiarch isnanf for PPC64.
32066         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
32067         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
32068         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
32069         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
32070         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
32071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
32073         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
32074         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32075         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32076         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
32079         multiarch implementations.
32080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32081         (__libc_ifunc_impl_list): Likewise.
32082         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
32083         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
32084         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
32085         multiarch stpcpy for PPC64.
32087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
32088         multiarch implementations.
32089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32090         (__libc_ifunc_impl_list): Likewise.
32091         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
32092         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
32093         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
32094         multiarch strcpy for PPC64.
32096         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
32097         redefine function name.
32098         (_wordcopy_fwd_dest_aligned): Likewise.
32099         (_wordcopy_bwd_aligned): Likewise.
32100         (_wordcopy_bwd_dest_aligned): Likewise.
32101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
32102         multiarch implementations.
32103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32104         (__libc_ifunc_impl_list): Likewise.
32105         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
32106         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
32107         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
32108         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
32109         multiarch wcscpy for PPC64.
32111         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
32112         multiarch implementations.
32113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32114         (__libc_ifunc_impl_list): Likewise.
32115         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
32116         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
32117         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
32118         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
32119         multiarch wcscpy for PPC64.
32121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
32122         multiarch implementations.
32123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32124         (__libc_ifunc_impl_list): Likewise.
32125         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
32126         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
32127         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
32128         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
32129         multiarch wcsrchr for PPC64.
32131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
32132         multiarch implementations.
32133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32134         (__libc_ifunc_impl_list): Likewise.
32135         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
32136         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
32137         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
32138         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
32139         multiarch wcschr for PPC64.
32141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
32142         multiarch implementations.
32143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32144         (__libc_ifunc_impl_list): Likewise.
32145         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
32146         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
32147         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
32148         multiarch strchrnul for PPC64.
32150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
32151         implementations.
32152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32153         (__libc_ifunc_impl_list): Likewise.
32154         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
32155         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
32156         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
32157         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
32158         strchr for PPC64.
32160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
32161         implementations.
32162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32163         (__libc_ifunc_impl_list): Likewise.
32164         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
32165         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
32166         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
32167         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
32168         strncmp for PPC64.
32170         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
32171         multiarch implementations.
32172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32173         (__libc_ifunc_impl_list): Likewise.
32174         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
32175         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
32176         strncasecmp for PPC64.
32177         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
32178         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
32179         multiarch strncasecmp_l for PPC64.
32181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
32182         multiarch implementations.
32183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32184         (__libc_ifunc_impl_list): Likewise.
32185         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
32186         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
32187         multiarch strcasecmp for PPC64.
32188         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
32189         file.
32190         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
32191         multiarch strcasecmp_l for PPC64.
32193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
32194         implementations.
32195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32196         (__libc_ifunc_impl_list): Likewise.
32197         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
32198         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
32199         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
32200         strnlen for PPC64.
32202         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
32203         implementations.
32204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32205         (__libc_ifunc_impl_list): Likewise.
32206         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
32207         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
32208         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
32209         strlen for PPC64.
32211         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
32212         implementations.
32213         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32214         (__libc_ifunc_impl_list): Likewise.
32215         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
32216         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
32217         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
32218         rawmemrchr for PPC64.
32220         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
32221         implementation.
32222         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32223         (__libc_ifunc_impl_list): Likewise.
32224         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
32225         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
32226         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
32227         memrchr for PPC64.
32229         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
32230         implementation.
32231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32232         (__libc_ifunc_impl_list): Likewise.
32233         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
32234         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
32235         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
32236         memchr for PPC64.
32238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
32239         implementation.
32240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32241         (__libc_ifunc_impl_list): Likewise.
32242         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
32243         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
32244         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
32245         mempcpy for PPC64.
32247         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
32248         avoid cretion of __bzero symbol.
32249         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
32250         Likewise.
32251         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
32252         Likewise.
32253         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
32254         Likewise.
32255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
32256         multiarch implementations.
32257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32258         (__libc_ifunc_impl_list): Likewise.
32259         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
32260         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
32261         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
32262         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
32263         bzero for PPC32.
32264         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
32265         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
32266         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
32267         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
32268         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
32269         memset for PPC64.
32270         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
32272         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
32273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
32274         implementations.
32275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32276         (__libc_ifunc_impl_list): Likewise.
32277         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
32278         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
32279         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
32280         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
32281         memcmp for PPC64.
32283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
32284         multiarch for POWER/PPC64.
32285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
32286         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
32287         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
32288         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
32289         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
32290         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
32291         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
32292         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
32293         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
32294         memcpy for PPC64.
32296         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
32297         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
32298         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
32299         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
32300         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
32301         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
32302         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
32303         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
32304         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
32305         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
32306         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
32307         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
32308         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
32309         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
32310         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
32311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
32312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
32313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
32314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
32315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
32316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
32317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
32319 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32321         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
32323 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32325         * benchtests/Makefile (bench): Add exp2 and log2.
32326         (LDLIBS-bench-exp2): Add -lm.
32327         (LDLIBS-bench-log2): Likewise.
32328         * benchtests/exp2-inputs: New inputs file.
32329         * benchtests/log2-inputs: New inputs file.
32330         * benchtests/log-inputs: Add new inputs.
32331         * benchtests/tan-inputs: Likewise.
32333 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32335         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
32336         definition...
32337         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
32338         (csloww2): ... from here.
32340         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
32341         instead of structures.
32342         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
32343         (POLYNOMIAL): Likewise.
32344         (TAYLOR_SLOW): Likewise.
32345         (__sin): Likewise.
32346         (__cos): Likewise.
32347         (slow1): Likewise.
32348         (slow2): Likewise.
32349         (sloww): Likewise.
32350         (sloww1); Likewise.
32351         (sloww2): Likewise.
32352         (bsloww1): Likewise.
32353         (bsloww2): Likewise.
32354         (cslow2): Likewise.
32355         (csloww): Likewise.
32356         (csloww1): Likewise.
32357         (csloww2): Likewise.
32359 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
32361         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
32362         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
32363         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
32364         * malloc/hooks.c (realloc_check): Likewise.
32366         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
32367         * malloc/arena.c: Remove PER_THREAD conditional.
32368         [!PER_THREAD]: Remove code.
32369         (ptmalloc_unlock_all2): Likewise.
32370         (ptmalloc_init): Likewise.
32371         (_int_new_arena): Likewise.
32372         (arena_get2): Likewise.
32373         * malloc/hooks.c (__malloc_get_state): Likewise.
32374         (__malloc_set_state): Likewise.
32375         * malloc/malloc.c: Likewise.
32376         (struct malloc_state): Likewise.
32377         (struct malloc_par): Likewise.
32378         (__libc_realloc): Likewise.
32379         (__libc_mallopt): Likewise.
32381 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32383         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
32385 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
32387         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
32388         macro to a function.  Check for zero perturb_byte.
32389         (_int_malloc, _int_free): Remove zero perturb_byte checks.
32391         * malloc/malloc.c: (force_reg): Remove.
32392         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
32393         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
32394         force_reg by atomic_forced_read.
32395         * malloc/arena.c (ptmalloc_init): Likewise.
32396         * malloc/hooks.c (top_check): Likewise.
32398 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32402 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
32404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32406 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
32408         * math/auto-libm-test-in: Add tests of lgamma.
32409         * math/auto-libm-test-out: Regenerated.
32410         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
32411         (M_LOG_2_SQRT_PIl): Likewise.
32412         (lgamma_test_data): Use AUTO_TESTS_f_f1.
32413         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32414         mpfr_f_f1.
32415         (func_calc_desc): Add mpfr_f_f1 union field.
32416         (ARGS1): New macro.
32417         (ARGS2): Likewise.
32418         (ARGS3): Likewise.
32419         (ARGS4): Likewise.
32420         (RET1): Likewise.
32421         (RET2): Likewise.
32422         (CALC): Likewise.
32423         (FUNC): Likewise.
32424         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
32425         (test_functions): Add lgamma.
32426         (calc_generic_results): Handle mpfr_f_f1.
32427         * sysdeps/i386/fpu/libm-test-ulps: Update.
32428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32430 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32432         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
32433         __mpn_add_n for PowerPC64/POWER7.
32434         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
32435         __mpn_sub_n for PowerPC64/POWER7.
32437         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
32438         __mpn_addmul_1 for PowerPC64.
32439         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
32440         __mpn_submul_1 for PowerPC64.
32441         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
32442         for PowerPC64.
32443         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
32444         for PowerPC64.
32446 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
32448         [BZ #15089]
32449         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
32451 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32453         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
32455         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
32456         add multiarch folders.
32457         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
32458         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
32459         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
32460         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
32461         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
32462         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
32463         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
32464         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
32465         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
32466         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
32467         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
32468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
32469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
32470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
32471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
32472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
32473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
32475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32476         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
32477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
32478         New file.
32479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
32480         New file.
32481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
32482         multiarch __ieee754_hypot for PowerPC32.
32483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
32484         New file.
32485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
32486         New file.
32487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
32488         multiarch __ieee754_hypotf for PowerPC32.
32490         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
32491         long_double_symbol only if __logbl is defined.
32492         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
32493         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
32494         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
32495         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
32496         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
32497         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
32498         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
32499         path for implementation.
32500         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
32501         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
32502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
32503         logb, and logbl multiarch implementations for PowerPC32.
32504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
32505         file.
32506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
32507         file.
32508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
32509         multiarch logb for PowerPC32.
32510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
32511         file.
32512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
32513         file.
32514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
32515         multiarch logbf for PowerPC32.
32516         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
32517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
32518         file.
32519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
32520         multiarch logbl implementation for PowerPC32.
32522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
32523         and modff multiarch implementations.
32524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
32525         New file.
32526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
32527         New file.
32528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
32529         multiarch modf for PowerPC32.
32530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
32531         New file.
32532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
32533         New file.
32534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
32535         multiarch modff for PowerPC32.
32537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
32538         and lrintf multiarch implementations.
32539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
32540         New file.
32541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
32542         New file.
32543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
32544         multiarch lrint for PowerPC32.
32545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
32546         file: multiarch lrintf for PowerPC32.
32548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
32549         and lroundf multiarch implementations.
32550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
32551         New file.
32552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
32553         New file.
32554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
32555         New file.
32556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
32557         multiarch lround for PowerPC32.
32558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
32559         file: multiarch lroundf for PowerPC32.
32561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32562         copysign and copysignf multiarch implementations.
32563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
32564         New file.
32565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
32566         New file.
32567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
32568         file: multiarch copysign for PowerPC32.
32569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
32570         file: multiarch copysignf for PowerPC32.
32572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
32573         and truncf multiarch implementations.
32574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
32575         New file.
32576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
32577         file.
32578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
32579         multiarch trunc for PowerPC32.
32580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
32581         New file.
32582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
32583         New file.
32584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
32585         multiarch truncf for PowerPC32.
32587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
32588         and roundf multiarch implementations.
32589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
32590         New file.
32591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
32592         file.
32593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
32594         multiarch round for PowerPC32.
32595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
32596         New file.
32597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
32598         New file.
32599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
32600         multiarch roundf for PowerPC32.
32602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
32603         and floorf multiarch implementations.
32604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
32605         New file.
32606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
32607         file.
32608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
32609         multiarch floor for PowerPC32.
32610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
32611         New file.
32612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
32613         New file.
32614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
32615         multiarch floorf for PowerPC32.
32617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
32618         and ceilf multiarch implementations.
32619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
32620         New file.
32621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
32622         file.
32623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
32624         multiarch ceil for PowerPC32.
32625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
32626         New file.
32627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
32628         file.
32629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
32630         multiarch ceilf for PowerPC32.
32632         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
32633         is defined.
32634         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
32635         FINITEF is defined.
32636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
32637         and finitef multiarch implementations.
32638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
32639         New file.
32640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
32641         file.
32642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
32643         multiarch finite for PowerPC32.
32644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
32645         New file.
32646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
32647         file: multiarch finitef for PowerPC32.
32649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
32650         and isinff multiarch implementations.
32651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
32652         file.
32653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
32654         file.
32655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
32656         multiarch isinf for PowerPC32.
32657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
32658         New file.
32659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
32660         multiarch isinff for PowerPC32.
32662         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
32663         alias when __isnan is defined.
32664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
32665         and isnanf multiarch implementations.
32666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
32667         file.
32668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
32669         file.
32670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
32671         file.
32672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
32673         file.
32674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
32675         multiarch isnan for PowerPC32.
32676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
32677         New file.
32678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
32679         New file.
32680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
32681         multiarch isnanf for PowerPC32.
32683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
32684         and sqrtf multiarch implementations.
32685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
32686         file.
32687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
32688         file.
32689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
32690         multiarch sqrt for PowerPC32.
32691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
32692         file.
32693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
32694         file.
32695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
32696         multiarch sqrtf for PowerPC32.
32698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
32699         and llroundf multiarch implementations.
32700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
32701         New file.
32702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
32703         New file.
32704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
32705         New file.
32706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
32707         file: multiarch llround for PowerPC32.
32708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
32709         file: multiarch llroundf for PowerPC32.
32711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
32712         multiarch PowerPC32 fpu implementations.
32713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
32714         New file.
32715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
32716         New file.
32717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
32718         multiarch llrint for PowerPC32.
32719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
32720         New file.
32721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
32722         New file.
32723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
32724         file.
32726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
32728         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
32729         file.
32730         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
32731         file.
32732         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
32733         file.
32734         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
32735         multiarch wordcopy for PPC32.
32736         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32737         wordcopy objects.
32738         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32739         (__libc_ifunc_impl_list): Likewise.
32740         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
32741         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
32742         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
32743         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
32744         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
32745         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
32747         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
32748         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
32749         file.
32750         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
32751         file.
32752         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
32753         file.
32754         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
32755         multiarch wcscpy for PPC32.
32756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32757         multiarch objects.
32758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32759         (__libc_ifunc_impl_list): Likewise.
32760         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32761         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32762         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
32763         sysdeps/powerpc/power6/wcscpy.c.
32765         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
32766         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
32767         file.
32768         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
32769         file.
32770         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
32771         file.
32772         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
32773         multiarch wcsrchr for PPC32.
32774         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32775         multiarch objects.
32776         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32777         (__libc_ifunc_impl_list): Likewise.
32778         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32779         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32780         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
32781         sysdeps/powerpc/power6/wcsrchr.c.
32783         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
32784         file.
32785         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
32786         file.
32787         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
32788         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
32789         multiarch wcschr for PPc32.
32790         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32791         multiarch objects.
32792         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32793         (__libc_ifunc_impl_list): Likewise.
32794         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
32795         * sysdeps/powerpc/power6/wcschr.c: ... to here.
32796         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
32797         sysdeps/powerpc/power6/wcschr.c.
32799         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
32800         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
32801         file.
32802         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
32803         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
32804         file: multiarch strchr for PPC32.
32805         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
32806         multiarch objects.
32807         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32808         (__libc_ifunc_impl_list): Likewise.
32810         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
32811         name.
32812         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
32813         file.
32814         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
32815         file.
32816         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
32817         multiarch strchrnul for PPC32.
32818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
32819         multiarch objects.
32820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32821         (__libc_ifunc_impl_list): Likewise.
32823         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
32824         file.
32825         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
32826         multiarch strncasecmp for PPC32.
32827         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
32828         file.
32829         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
32830         multiarch strncasecmp_l for PPC32.
32831         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
32832         strncasecmp multiarch objects.
32833         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32834         (__libc_ifunc_impl_list): Likewise.
32836         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
32837         file.
32838         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
32839         multiarch strncasecmp for PPC32.
32840         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32841         New file.
32842         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
32843         multiarch strcasecmp_l for PPC32.
32844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
32845         multiarch objects.
32846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32847         (__libc_ifunc_impl_list): Likewise.
32849         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
32850         file.
32851         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
32852         file.
32853         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
32854         multiarch strncmp for PPC32.
32855         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
32856         multiarch objects.
32857         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32858         (__libc_ifunc_impl_list): Likewise.
32860         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
32861         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
32862         file.
32863         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
32864         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
32865         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
32866         multiarch objects.
32867         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32868         (__libc_ifunc_impl_list): Likewise.
32870         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
32871         file.
32872         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
32873         file.
32874         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
32875         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
32876         multiarch objects.
32877         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32878         (__libc_ifunc_impl_list): Likewise.
32880         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
32881         file.
32882         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
32883         file.
32884         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
32885         multiarch rawmemchr for PPC32.
32886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
32887         multiarch objects.
32888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32889         (__libc_ifunc_impl_list): Likewise.
32891         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
32892         file.
32893         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
32894         file.
32895         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
32896         file: memrchr multiarch for PPC32.
32897         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
32898         multiarch objects.
32899         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32900         (__libc_ifunc_impl_list): Likewise.
32902         * string/memchr.c (__memchr): Using macro to redefine symbol name.
32903         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
32904         file.
32905         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
32906         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
32907         multiarch memchr for PPC32.
32908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
32909         multiarch objects.
32910         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32911         (__libc_ifunc_impl_list): Likewise.
32913         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
32914         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
32915         file.
32916         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
32917         file.
32918         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
32919         file: multiarch mempcpy for PPC32.
32920         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
32921         multiarch objects.
32922         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32923         (__libc_ifunc_impl_list): Likewise.
32925         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
32926         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
32927         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
32928         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
32929         multiarch bzero for PPC32.
32930         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
32931         file.
32932         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
32933         file.
32934         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
32935         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
32936         file: multiarch memset for PPC32.
32937         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
32938         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
32939         memset multiarch objects.
32940         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32941         (__libc_ifunc_impl_list): Likewise.
32943         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
32944         file.
32945         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
32946         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
32947         memcmp for PPC32.
32948         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
32949         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
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/memcpy-a2.S: New file.
32955         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
32956         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
32957         file.
32958         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
32959         file.
32960         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
32961         file.
32962         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
32963         multiarch memcpy for PPC32.
32964         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
32965         multiarch objects.
32966         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32967         (__libc_ifunc_impl_list): Likewise.
32969         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
32970         support multiarch for POWER/PPC32.
32971         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
32972         Likewise.
32973         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
32975         Implies file to make multiarch folder appers before the fpu and
32976         default folder for power4 configuration.
32978 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32980         * scripts/bench.pl: Append volatile keyword to type.
32982 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32984         * sysdeps/sh/sotruss-lib.c: New file.
32985         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
32987 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32991 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
32993         [BZ #6810]
32994         * math/w_tgamma.c: Include <errno.h>.
32995         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
32996         * math/w_tgammaf.c: Include <errno.h>.
32997         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
32998         * math/w_tgammal.c: Include <errno.h>.
32999         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
33000         * math/auto-libm-test-in: Do not allow missing errno on tgamma
33001         underflow.  Add more tgamma tests.
33002         * math/auto-libm-test-out: Regenerated.
33003         * sysdeps/i386/fpu/libm-test-ulps: Update.
33004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33006         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
33007         sin, sinh, tan, tanh, tgamma, y0 and y1.
33008         * math/auto-libm-test-out: Regenerated.
33009         * math/libm-test.inc (TEST_COND_x86_64): New macro.
33010         (TEST_COND_x86): Likewise.
33011         (M_E2l): Remove macro.
33012         (M_E3l): Likewise.
33013         (M_2_SQRT_PIl): Likewise.
33014         (M_SQRT_PIl): Likewise.
33015         (M_1_DIV_El): Likewise.
33016         (log_test_data): Use AUTO_TESTS_f_f.
33017         (log10_test_data): Likewise.
33018         (log1p_test_data): Likewise.
33019         (log2_test_data): Likewise.
33020         (sin_test_data): Likewise.
33021         (sin_tonearest_test_data): Likewise.
33022         (sin_towardzero_test_data): Likewise.
33023         (sin_downward_test_data): Likewise.
33024         (sin_upward_test_data): Likewise.
33025         (sinh_test_data): Likewise.
33026         (sinh_tonearest_test_data): Likewise.
33027         (sinh_towardzero_test_data): Likewise.
33028         (sinh_downward_test_data): Likewise.
33029         (sinh_upward_test_data): Likewise.
33030         (tan_test_data): Likewise.
33031         (tan_tonearest_test_data): Likewise.
33032         (tan_towardzero_test_data): Likewise.
33033         (tan_downward_test_data): Likewise.
33034         (tan_upward_test_data): Likewise.
33035         (tanh_test_data): Likewise.
33036         (tgamma_test_data): Likewise.
33037         (y0_test_data): Likewise.
33038         (y1_test_data): Likewise.
33039         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
33040         (special_real_inputs): Add pi/4.
33041         * sysdeps/i386/fpu/libm-test-ulps: Update.
33042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33044 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33046         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
33047         "longjmp_target" static probes.
33048         (__longjmp): Rename to __longjmp_symbol.
33049         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33050         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
33051         on which longjmp to generate.
33052         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
33053         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
33054         probe.
33055         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33056         (__sigjmp_save): Rename to __sigjmp_save_symbol.
33057         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33058         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
33059         and __sigjmp_save_symbol based on which sigsetjmp to generated.
33060         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
33061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
33062         __longjmp_symbol based on which __longjmp to generate.
33063         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
33064         probe.
33065         (setjmp): Rename to setjmp_symbol.
33066         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33067         (_setjmp): Rename to _setjmp_symbol.
33068         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33069         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
33070         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
33071         which setjmp to generate.
33072         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
33073         "longjmp_target" static probes.
33075 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33077         * benchtests/README: Add note about output arguments.
33078         * benchtests/bench-sincos.c: Remove file.
33079         * benchtests/sincos-inputs: New file.
33080         * scripts/bench.pl: Identify output arguments and define
33081         static variables for them.
33083         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
33085         [BZ #15941]
33086         * Makefile (INSTALL): Add install-plain.texi as the primary
33087         dependency.
33088         * manual/install-plain.texi: New file.
33089         * manual/install.texi: Include node directive only for
33090         non-plaintext output.
33092 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
33094         * stdlib/longlong.h: Update from GCC.
33096         [BZ #6807]
33097         [BZ #15901]
33098         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
33099         * math/w_j0f.c (y0f): Likewise.
33100         * math/w_j0l.c (__y0l): Likewise.
33101         * math/w_j1.c (y1): Likewise.
33102         * math/w_j1f.c (y1f): Likewise.
33103         * math/w_j1l.c (__y1l): Likewise
33104         * math/w_jn.c (yn): Likewise.
33105         * math/w_jnf.c (ynf): Likewise.
33106         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
33107         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
33108         value for Bessel function domain errors outside _SVID_ mode.
33109         Adjust sign of return value for yn (negative integer, 0).
33110         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
33111         by zero in return for negative x and set sign appropriately for
33112         negative n.
33113         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
33114         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33115         * math/libm-test.inc (y0_test_data): Add more tests and adjust
33116         expectations in error cases.
33117         (y1_test_data): Likewise.
33118         (yn_test_data): Likewise.
33119         * sysdeps/i386/fpu/libm-test-ulps: Update.
33120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33122 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33124         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
33125         "64" to "64-v1".  Add "64-v2".
33126         (abi-64-options): Rename to ...
33127         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
33128         (abi-64-condition): Rename to ...
33129         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
33130         (abi-64-ld-soname): Rename to ...
33131         (abi-64-v1-ld-soname): ... this.
33132         (abi-64-v2-options): Define.
33133         (abi-64-v2-condition): Likewise.
33134         (abi-64-v2-ld-soname): Likewise.
33135         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
33136         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
33137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
33138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
33139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
33141 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33142             Alan Modra  <amodra@gmail.com>
33144         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
33145         New versions for use with the ELFv2 ABI.
33146         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
33147         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
33148         declaration.
33149         (struct La_ppc64v2_retval): Likewise.
33150         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
33151         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
33152         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
33153         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
33154         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
33155         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33156         Do not save or restore CR.
33157         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
33158         (_dl_profile_resolve): Do no save or restore CR.  Support extended
33159         return values for ELFv2 ABI.  Fix location of FPR return registers.
33160         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
33161         updated values for _CALL_ELF == 2.
33162         (La_regs, La_retval, int_retval): Likewise.
33164 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33166         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
33167         (FRAME_MIN_SIZE_PARM): Likewise.
33168         (FRAME_BACKCHAIN): Likewise.
33169         (FRAME_CR_SAVE): Likewise.
33170         (FRAME_LR_SAVE): Likewise.
33171         (FRAME_TOC_SAVE): Likewise.
33172         (FRAME_PARM_SAVE): Likewise.
33173         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
33174         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
33175         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
33176         (call_mcount_parm_offset): New macro.
33177         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
33178         (PROF): Use symbolic stack frame offsets.
33179         (TAIL_CALL_SYSCALL_ERROR): Likewise.
33180         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
33181         Redefine in terms of FRAME_MIN_SIZE.
33182         (_dl_runtime_resolve): Use symbolic stack frame offsets.
33183         (_dl_profile_resolve): Likewise.  Update comment.
33184         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
33185         symbols stack frame offsets.
33186         (__sigsetjmp): Likewise.
33187         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
33188         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
33189         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
33190         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
33192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
33193         (FRAME_BACKCHAIN): Remove.
33194         (FRAME_CR_SAVE): Likewise.
33195         (FRAME_LR_SAVE): Likewise.
33196         (FRAME_COMPILER_DW): Likewise.
33197         (FRAME_LINKER_DW): Likewise.
33198         (FRAME_TOC_SAVE): Likewise.
33199         (FRAME_PARM_SAVE): Likewise.
33200         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
33201         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
33202         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
33203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
33204         (CHECK_SP): Use symbolic stack frame offsets.
33205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
33206         zone" instead of caller's parameter save area for temp storage.
33207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33208         Likewise.  Also, use symbolic stack frame offsets.
33209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
33210         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
33211         our own stack frame instead of the caller's.
33212         (__socket): Use symbolic stack frame offsets.
33214 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33215             Alan Modra  <amodra@gmail.com>
33217         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
33218         Define.
33219         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
33220         (PPC64_LOCAL_ENTRY_OFFSET): Define.
33221         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
33222         New function.
33223         (elf_machine_fixup_plt): Call it.
33224         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
33225         reloc arguments.
33226         (elf_machine_rela): Update call to elf_machine_plt_conflict.
33227         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
33228         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
33229         r2 before calling target.
33231 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33232             Alan Modra  <amodra@gmail.com>
33234         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
33235         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
33236         versions of macros to support ELFv2 ABI.
33237         (LOCALENTRY): New macro.
33238         (ENTRY, EALIGN): Use it.
33239         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
33240         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
33241         fall through into ENTRY entry point.
33242         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
33243         Only define if _CALL_ELF != 2.
33245         (elf_machine_matches_host): Verify ABI version matches.
33246         (RTLD_START): Use LOCALENTRY.
33247         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
33248         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
33249         (PLT_ENTRY_WORDS): New macro.
33250         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
33251         (elf_machine_runtime_setup): Support ELFv2 ABI.
33252         (elf_machine_fixup_plt): Likewise.
33253         (elf_machine_plt_conflict): Likewise.
33254         (resolve_ifunc): Likewise.
33255         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33256         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
33257         Likewise.
33258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
33259         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
33260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33261         (makecontext): Support ELFv2 ABI.
33262         * elf/elf.h (EF_PPC64_ABI): Define.
33264 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33266         * sysdeps/powerpc/powerpc64/sysdep.h
33267         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
33268         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
33269         (ENTRY) [ASSEMBLER]: ... but instead here ...
33270         (EALIGN) [ASSEMBLER]: ... and here.
33271         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
33272         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
33273         (ENTRY_2) [!ASSEMBLER]: Use it.
33274         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
33275         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
33276         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
33277         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
33278         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
33279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
33280         Use PPC64_LOAD_FUNCPTR.
33282         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
33284 2013-12-04  Alan Modra  <amodra@gmail.com>
33286         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
33287         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
33288         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
33289         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
33291         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
33292         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
33293         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
33294         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
33295         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
33296         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
33298 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33301         (__makecontext): Fix incorrect CFI when backtracing out of
33302         context created via makecontext.
33303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
33304         (__setcontext): Fix incorrect CFI during switch to new context.
33305         (__novec_setcontext): Likewise.
33307 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
33309         [BZ #4772]
33310         * time/strptime_l.c (__strptime_internal): Allow modifiers
33311         in strptime.
33312         * time/tst-strptime.c (day_tests): Add testcase.
33314 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33316         * scripts/bench.pl: Skip over blank lines.
33318 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
33320         [BZ #926]
33321         * manual/time.texi (Calendar Time): Clarify what timezone functions
33322         use.
33324 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33328 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
33330         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
33331         implementation.
33332         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
33333         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
33334         * debug/memset_chk.c (__memset_chk): Likewise.
33335         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
33336         * debug/strncpy_chk.c: Likewise.
33338 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
33340         [BZ #15268]
33341         [BZ #15425]
33342         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
33343         (__ieee754_exp): For possibly underflowing results, check size of
33344         result and force underflow exception if required.
33345         * math/auto-libm-test-in: Add more tests of exp.
33346         * math/auto-libm-test-out: Regenerated.
33347         * sysdeps/i386/fpu/libm-test-ulps: Update.
33348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33350         [BZ #16283]
33351         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
33352         * math/w_exp2f.c (__exp2f): Likewise.
33353         * math/w_exp2l.c (__exp2l): Likewise.
33354         * math/auto-libm-test-in: Do not allow missing errno on exp2
33355         underflow.
33356         * math/auto-libm-test-out: Regenerated.
33358 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
33360         [BZ #16274]
33361         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
33362         handle filename validation.
33363         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
33364         (do_open): Delete.
33366 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
33368         [BZ #6786]
33369         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
33370         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
33371         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
33372         <float.h>.
33373         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
33374         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
33375         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33376         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
33377         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33378         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
33379         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33380         * math/auto-libm-test-in: Don't allow missing errno from erfc.
33381         Add more erfc tests.
33382         * math/auto-libm-test-out: Regenerated.
33383         * sysdeps/i386/fpu/libm-test-ulps: Update.
33384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33386         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
33387         exp2, expm1, j0 and j1.
33388         * math/auto-libm-test-out: Regenerated.
33389         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
33390         (erfc_test_data): Likewise.
33391         (exp_test_data): Likewise.
33392         (exp_tonearest_test_data): Likewise.
33393         (exp_towardzero_test_data): Likewise.
33394         (exp_downward_test_data): Likewise.
33395         (exp_upward_test_data): Likewise.
33396         (exp10_test_data): Likewise.
33397         (exp2_test_data): Likewise.
33398         (expm1_test_data): Likewise.
33399         (j0_test_data): Likewise.
33400         (j1_test_data): Likewise.
33401         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
33402         (input_flag_type): Add flag_xfail_rounding.
33403         (input_flags): Add xfail-rounding.
33404         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
33405         (output_for_one_input_case): Handle flag_xfail_rounding.
33406         * sysdeps/i386/fpu/libm-test-ulps: Update.
33407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33409 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
33411         [BZ #16289]
33412         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
33413         division by 0.
33415 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33417         [BZ #16195]
33418         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
33419         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
33420         (STAP_PROBE0): New macro.
33421         (STAP_PROBE1): Likewise.
33422         (STAP_PROBE2): Likewise.
33423         (STAP_PROBE3): Likewise.
33424         (STAP_PROBE4): Likewise.
33426 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
33428         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
33430 2013-12-02  Steve Ellcey  <sellcey@mips.com>
33432         * benchtests/Makefile (bench): Add sqrt.
33433         (LDLIBS-bench-sqrt): New.
33434         * benchtests/sqrt-input: New.
33436 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
33438         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
33439         (GAIH_EAI): Likewise.
33440         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
33441         (gaih_inet): Likewise.
33442         (getaddrinfo): Don't use GAIH_EAI.
33444         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
33445         (struct gaih): Remove definition.
33447 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33449         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
33450         Use HERRNOP directly.
33452 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33456 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
33458         * math/gen-auto-libm-tests.c (test_functions): Add more
33459         single-argument functions.
33460         (special_fill_pi_2): New function.
33461         (special_fill_minus_pi_2): Likewise.
33462         (special_fill_pi_6): Likewise.
33463         (special_fill_minus_pi_6): Likewise.
33464         (special_fill_pi_3): Likewise.
33465         (special_fill_2pi_3): Likewise.
33466         (special_fill_e): Likewise.
33467         (special_fill_1_e): Likewise.
33468         (special_fill_e_minus_1): Likewise.
33469         (special_real_inputs): Add more special inputs.
33470         (output_for_one_input_case): Do not require ERANGE on underflow to
33471         zero if round-to-nearest result does not underflow to zero, unless
33472         exact results required.
33473         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
33474         atan, atanh, cbrt, cos and cosh.
33475         * math/auto-libm-test-out: Regenerated.
33476         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
33477         (acos_tonearest_test_data): Likewise.
33478         (acos_towardzero_test_data): Likewise.
33479         (acos_downward_test_data): Likewise.
33480         (acos_upward_test_data): Likewise.
33481         (acosh_test_data): Likewise.
33482         (asin_test_data): Likewise.
33483         (asin_tonearest_test_data): Likewise.
33484         (asin_towardzero_test_data): Likewise.
33485         (asin_upward_test_data): Likewise.
33486         (asinh_test_data): Likewise.
33487         (atan_test_data): Likewise.
33488         (atanh_test_data): Likewise.
33489         (cbrt_test_data): Likewise.
33490         (cos_test_data): Likewise.
33491         (cos_tonearest_test_data): Likewise.
33492         (cos_towardzero_test_data): Likewise.
33493         (cos_downward_test_data): Likewise.
33494         (cos_upward_test_data): Likewise.
33495         (cosh_test_data): Likewise.
33496         (cosh_tonearest_test_data): Likewise.
33497         (cosh_towardzero_test_data): Likewise.
33498         (cosh_downward_test_data): Likewise.
33499         (cosh_upward_test_data): Likewise.
33500         * sysdeps/i386/fpu/libm-test-ulps: Update.
33501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33503 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
33505         [BZ #6787]
33506         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
33507         * math/w_exp10f.c (__exp10f): Likewise.
33508         * math/w_exp10l.c (__exp10l): Likewise.
33509         * math/libm-test.inc (exp10_test_data): Add more tests and expect
33510         errno settings in existing tests.
33512         [BZ #14032]
33513         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
33514         precision control set to double precision.
33515         * sysdeps/i386/fpu/w_sqrt.c: New file.
33516         * math/auto-libm-test-in: Add more tests.
33517         * math/auto-libm-test-out: Update.
33519         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
33520         (sqrt_test_tonearest): New function.
33521         (sqrt_towardzero_test_data): New variable.
33522         (sqrt_test_towardzero): New function.
33523         (sqrt_downward_test_data): New variable.
33524         (sqrt_test_downward): New function.
33525         (sqrt_upward_test_data): New variable.
33526         (sqrt_test_upward): New function.
33527         (main): Call the new functions.
33529         * math/gen-auto-libm-tests.c: New file.
33530         * math/auto-libm-test-in: Likewise.
33531         * math/auto-libm-test-out: New generated file.
33532         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
33533         variables.
33534         (%beautify): Add generated representations of zero.
33535         (top level): Set $auto_input and call parse_auto_input.
33536         (beautify): Remove trailing "f" from hex float constants.
33537         (parse_args): Handle XFAIL_TEST.
33538         (convert_condition): New function.
33539         (or_value): Likewise.
33540         (or_cond_value): Likewise.
33541         (generate_testfile): Handle AUTO_TESTS_* lines.
33542         (parse_auto_input): New function.
33543         * math/libm-test.inc (XFAIL_TEST): New macro.
33544         (ERRNO_UNCHANGED): Update value.
33545         (ERRNO_EDOM): Likewise.
33546         (ERRNO_ERANGE): Likewise.
33547         (IGNORE_RESULT): Likewise.
33548         (TEST_COND_flt_32): New macro.
33549         (TEST_COND_dbl_64): Likewise.
33550         (TEST_COND_ldbl_96_intel): Likewise.
33551         (TEST_COND_ldbl_96_m68k): Likewise.
33552         (TEST_COND_ldbl_128): Likewise.
33553         (TEST_COND_ldbl_128ibm): Likewise.
33554         (TEST_COND_long32): Likewise.
33555         (TEST_COND_long64): Likewise.
33556         (TEST_COND_before_rounding): Likewise.
33557         (TEST_COND_after_rounding): Likewise.
33558         (enable_test): Handle XFAIL_TEST flag.
33559         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
33560         with finite results.
33561         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
33562         auto-libm-test-out.
33564 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33565             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33567         [BZ #16214]
33568         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
33569         __tls_get_addr_internal instead of __tls_get_offset in order to
33570         avoid GOT pointer dependency.  Make rtld export
33571         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
33572         __tls_get_addr since we are a __tls_get_offset platform.
33573         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
33574         GOT pointer being set up before.
33575         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
33577 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
33579         * manual/math.texi (Errors in Math Functions): Document accuracy
33580         goals.
33582         [BZ #15004]
33583         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
33584         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
33585         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33586         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33587         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33588         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33589         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33590         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33591         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33592         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33593         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33594         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33595         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33596         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33597         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33598         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33600         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
33601         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
33602         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
33603         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
33604         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
33605         Likewise.
33606         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
33607         Likewise.
33608         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
33609         Likewise.
33610         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
33611         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
33612         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
33613         atomic-feupdateenv and flt-rounds.
33614         * sysdeps/powerpc/nofpu/Versions (libc): Add
33615         __atomic_feholdexcept, __atomic_feclearexcept,
33616         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
33617         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
33618         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
33619         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
33620         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
33621         here.
33622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33623         Update.
33625         * manual/arith.texi (FP Exceptions): Document that exceptions may
33626         not be raised when matherr is used.
33627         (Math Error Reporting): Document overflow in directed rounding
33628         modes.  Document that errno may not be set when finite values are
33629         returned on overflow.  Document intent to set errno on underflow
33630         only for underflow to zero.
33632         [BZ #16271]
33633         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
33634         round-to-nearest then adjust result for other rounding modes.
33635         * include/fenv.h (fegetround): Use libm_hidden_proto.
33636         * math/fegetround.c (fegetround): Use libm_hidden_def.
33637         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
33638         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
33639         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33640         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
33641         Likewise.
33642         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
33643         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33644         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
33645         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
33647 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33649         [BZ #16077]
33650         * nss/Versions (libnss_files): Add
33651         _nss_files_gethostbyname3_r.
33652         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
33653         New function.
33654         (HOST_DB_LOOKUP): Remove macro.
33655         (_nss_files_gethostbyname_r): Implement function without the
33656         HOST_DB_LOOKUP macro.
33657         (_nss_files_gethostbyname2_r): Likewise.
33659 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
33661         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
33663 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
33665         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
33666         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
33667         warning.
33669 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33671         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
33672         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
33673         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33674         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33675         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
33676         __fe_nomask_env_priv and attribute_hidden.
33677         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
33678         (libc_feupdateenv_test_ppc): Likewise.
33679         (libc_feresetround_ppc): Likewise.
33680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33681         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
33682         compat_symbol macro.
33683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33684         (__fe_nomask_env): Likewise.
33685         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
33687 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33689         * string/Makefile: Remove ifunc tests.
33690         * string/test-string.h: Define TEST_IFUNC.
33691         * string/test-bcopy-ifunc.c: Remove.
33692         * string/test-bzero-ifunc.c: Likewise.
33693         * string/test-memccpy-ifunc.c: Likewise.
33694         * string/test-memchr-ifunc.c: Likewise.
33695         * string/test-memcmp-ifunc.c: Likewise.
33696         * string/test-memcpy-ifunc.c: Likewise.
33697         * string/test-memmem-ifunc.c: Likewise.
33698         * string/test-memmove-ifunc.c: Likewise.
33699         * string/test-mempcpy-ifunc.c: Likewise.
33700         * string/test-memrchr-ifunc.c: Likewise.
33701         * string/test-memset-ifunc.c: Likewise.
33702         * string/test-rawmemchr-ifunc.c: Likewise.
33703         * string/test-stpcpy-ifunc.c: Likewise.
33704         * string/test-stpncpy-ifunc.c: Likewise.
33705         * string/test-strcasecmp-ifunc.c: Likewise.
33706         * string/test-strcasestr-ifunc.c: Likewise.
33707         * string/test-strcat-ifunc.c: Likewise.
33708         * string/test-strchr-ifunc.c: Likewise.
33709         * string/test-strchrnul-ifunc.c: Likewise.
33710         * string/test-strcmp-ifunc.c: Likewise.
33711         * string/test-strcpy-ifunc.c: Likewise.
33712         * string/test-strcspn-ifunc.c: Likewise.
33713         * string/test-strlen-ifunc.c: Likewise.
33714         * string/test-strncasecmp-ifunc.c: Likewise.
33715         * string/test-strncat-ifunc.c: Likewise.
33716         * string/test-strncmp-ifunc.c: Likewise.
33717         * string/test-strncpy-ifunc.c: Likewise.
33718         * string/test-strnlen-ifunc.c: Likewise.
33719         * string/test-strpbrk-ifunc.c: Likewise.
33720         * string/test-strrchr-ifunc.c: Likewise.
33721         * string/test-strspn-ifunc.c: Likewise.
33722         * string/test-strstr-ifunc.c: Likewise.
33724 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33726         * benchtests/Makefile: Remove ifunc tests.
33727         * benchtests/bench-string.h: Define TEST_IFUNC.
33728         * benchtests/bench-bcopy-ifunc.c: Remove.
33729         * benchtests/bench-bzero-ifunc.c: Likewise.
33730         * benchtests/bench-memccpy-ifunc.c: Likewise.
33731         * benchtests/bench-memchr-ifunc.c: Likewise.
33732         * benchtests/bench-memcmp-ifunc.c: Likewise.
33733         * benchtests/bench-memcpy-ifunc.c: Likewise.
33734         * benchtests/bench-memmem-ifunc.c: Likewise.
33735         * benchtests/bench-memmove-ifunc.c: Likewise.
33736         * benchtests/bench-mempcpy-ifunc.c: Likewise.
33737         * benchtests/bench-memrchr-ifunc.c: Likewise.
33738         * benchtests/bench-memset-ifunc.c: Likewise.
33739         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
33740         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
33741         * benchtests/bench-stpcpy-ifunc.c: Likewise.
33742         * benchtests/bench-stpncpy-ifunc.c: Likewise.
33743         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
33744         * benchtests/bench-strcasestr-ifunc.c: Likewise.
33745         * benchtests/bench-strcat-ifunc.c: Likewise.
33746         * benchtests/bench-strchr-ifunc.c: Likewise.
33747         * benchtests/bench-strchrnul-ifunc.c: Likewise.
33748         * benchtests/bench-strcmp-ifunc.c: Likewise.
33749         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
33750         * benchtests/bench-strcpy-ifunc.c: Likewise.
33751         * benchtests/bench-strcspn-ifunc.c: Likewise.
33752         * benchtests/bench-strlen-ifunc.c: Likewise.
33753         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
33754         * benchtests/bench-strncat-ifunc.c: Likewise.
33755         * benchtests/bench-strncmp-ifunc.c: Likewise.
33756         * benchtests/bench-strncpy-ifunc.c: Likewise.
33757         * benchtests/bench-strnlen-ifunc.c: Likewise.
33758         * benchtests/bench-strpbrk-ifunc.c: Likewise.
33759         * benchtests/bench-strrchr-ifunc.c: Likewise.
33760         * benchtests/bench-strsep-ifunc.c: Likewise.
33761         * benchtests/bench-strspn-ifunc.c: Likewise.
33762         * benchtests/bench-strstr-ifunc.c: Likewise.
33764 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33766         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
33768 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33770         * resolv/netdb.h: Use __glibc_reserved instead __unused.
33771         * rt/aio.h: Likewise.
33772         * sysdeps/gnu/bits/utmp.h: Likewise.
33773         * sysdeps/gnu/bits/utmpx.h: Likewise.
33774         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33775         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
33776         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
33777         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
33778         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
33779         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
33780         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
33781         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
33782         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
33783         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
33784         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
33785         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
33786         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
33787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
33788         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33789         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
33790         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
33791         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
33792         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
33793         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
33794         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
33795         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
33796         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
33797         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33798         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
33799         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33800         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
33801         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
33802         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
33803         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
33804         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
33805         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
33806         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
33807         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33808         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
33809         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
33810         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
33811         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
33812         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
33813         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
33814         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
33815         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33817 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
33819         [BZ #16245]
33820         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
33821         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
33823 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
33825         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
33826         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33827         Likewise.
33829 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33831         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
33832         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
33833         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
33834         (__fesetround): Remove define.
33835         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
33836         rounding and exceptions handling.
33837         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
33838         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
33839         (__fe_nomask_env): Likewise.
33840         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
33841         __fegetround instead of fegetround.
33842         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33843         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
33845 2013-11-21  Roland McGrath  <roland@hack.frob.com>
33847         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
33848         it's there.
33850         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
33852 2013-11-21  Meador Inge  <meadori@codesourcery.com>
33854         [BZ #11157]
33855         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
33856         (encrypt_r): Likewise.
33857         * malloc/obstack.h (obstack_free): Likewise.
33858         * posix/unistd.h (encrypt): Likewise.
33860 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
33862         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
33863         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
33864         DL_CALL_DT_FINI() that call the functions directly.
33865         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
33866         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
33867         * elf/dl-fini.c: Likewise.
33869 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
33871         * malloc/hooks.c (memalign_check): Add alignment rounding.
33872         * malloc/malloc.c (_mid_memalign): New function.
33873         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
33874         Implement by calling _mid_memalign.
33875         * manual/probes.texi (Memory Allocation Probes): Remove
33876         memory_valloc_retry and memory_pvalloc_retry.
33878 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33880         * locale/programs/locarchive.c (open_archive): Add const
33881         qualifier to ARCHIVEFNAME and copy default fname to
33882         DEFAULT_FNAME.
33884         [BZ #15601]
33885         * libio/tst-widetext.input: Rename Oriya to Odia.
33886         * locale/iso-639.def: Likewise.
33888         * manual/probes.texi (Mathematical Function Probes): Add
33889         documentation for sin, cos, asin and acos probes.
33890         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
33891         (__sin32): Add slowasin probe.
33892         (__cos32): Add slowacos probe.
33893         (__mpsin): Add slowsin probe.
33894         (__mpcos): Add slowcos probe.
33896 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
33898         [BZ #15483]
33899         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
33900         thread-local __sim_exceptions_thread and global
33901         __sim_exceptions_global.
33902         (__sim_disabled_exceptions): Change to thread-local
33903         __sim_disabled_exceptions_thread and global
33904         __sim_disabled_exceptions_global.
33905         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33906         and global __sim_round_mode_global.
33907         (__simulate_exceptions): Use thread-local floating-point state and
33908         set global state from it as needed.
33909         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
33910         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
33911         __sim_round_mode_thread.
33912         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
33913         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
33914         and global __sim_exceptions_global.
33915         (__sim_disabled_exceptions): Change to thread-local
33916         __sim_disabled_exceptions_thread and global
33917         __sim_disabled_exceptions_global.
33918         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33919         and global __sim_round_mode_global.
33920         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
33921         (SIM_SET_GLOBAL): Likewise.
33922         * sysdeps/powerpc/soft-fp/sfp-machine.h
33923         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
33924         __sim_round_mode_thread.
33925         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
33926         __sim_disabled_exceptions_thread.
33927         (__sim_exceptions): Change to __sim_exceptions_thread.
33928         (__sim_disabled_exceptions): Change to
33929         __sim_disabled_exceptions_thread.
33930         (__sim_round_mode): Change to __sim_round_mode_thread.
33931         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
33932         thread-local floating-point state and set global state from it as
33933         needed.
33934         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
33935         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
33936         (__sim_disabled_exceptions): Remove extern declaration.
33937         (feenableexcept): Use thread-local floating-point state and set
33938         global state from it as needed.
33939         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
33940         extern declaration.
33941         (__sim_disabled_exceptions): Likewise.
33942         (__sim_round_mode): Likewise.
33943         (__fegetenv): Use thread-local floating-point state.
33944         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
33945         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33946         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
33947         floating-point state and set global state from it as needed.
33948         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
33949         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33950         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
33951         Likewise.
33952         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
33953         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
33954         Likewise.
33955         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
33956         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
33957         Use __sim_round_mode_thread.
33958         * math/test-fenv-tls.c: New file.
33959         * math/Makefile (tests): Add test-fenv-tls.
33960         ($(objpfx)test-fenv-tls): Depend on
33961         $(common-objpfx)nptl/libpthread.so.
33963 2013-11-19  Andreas Schwab  <schwab@suse.de>
33965         * locale/programs/locale.c (show_info): Decode wordarray elements.
33966         * locale/categories.def (LC_MONETARY): Add element for
33967         _NL_MONETARY_CRNCYSTR.
33968         * locale/C-monetary.c (conversion_rate): New variable.
33969         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
33970         element.
33972 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
33974         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
33975         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
33977 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33979         * elf/Makefile (tst-auxv): New test.
33980         * elf/tst-auxv.c: New
33981         * elf/rtld.c (dl_main): Adjust AT_EXECFN
33983 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
33985         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
33986         (hidden_proto): Caller changed.
33987         (hidden_tls_proto): New macro.
33988         (libc_hidden_tls_proto): Likewise.
33989         (rtld_hidden_tls_proto): Likewise.
33990         (libm_hidden_tls_proto): Likewise.
33991         (libresolv_hidden_tls_proto): Likewise.
33992         (librt_hidden_tls_proto): Likewise.
33993         (libdl_hidden_tls_proto): Likewise.
33994         (libnss_files_hidden_tls_proto): Likewise.
33995         (libnsl_hidden_tls_proto): Likewise.
33996         (libnss_nisplus_hidden_tls_proto): Likewise.
33997         (libutil_hidden_tls_proto): Likewise.
33999 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
34001         [BZ #10253]
34002         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
34003         (decompose_rpath): Defer expansion to fillin_rpath.
34004         (_dl_init_paths): Pass linkmap to fillin_rpath.
34006 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34008         * benchtests/Makefile: Add strsep.
34009         * benchtests/bench-strsep.c: New file: strsep benchtest.
34010         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
34012 2013-11-18  Andreas Schwab  <schwab@suse.de>
34014         * locale/programs/locale.c (show_info) [case byte]: Check for
34015         '\377' instead of '\177'.
34016         * locale/C-monetary.c (not_available): Always use "\377".
34017         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
34018         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
34019         detect unavailable sign_posn locale elements.
34020         * locale/localeconv.c (__localeconv): For grouping and
34021         mon_grouping handle "\177" and "\377" like no grouping.
34022         (INT_ELEM): New macro.  Use it to set all numeric members.
34023         * locale/programs/ld-monetary.c (monetary_read)
34024         <tok_mon_grouping>: Normalize single -1 to the empty string.
34025         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
34026         Likewise.
34028 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
34030         [BZ #16055]
34031         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
34032         when we match (nil).
34033         * stdio-common/tst-sscanf.c (struct test): Add testcase.
34035 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
34037         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
34038         (NO_TEST_INLINE): Update value.
34039         (ERRNO_UNCHANGED): Likewise.
34040         (ERRNO_EDOM): Likewise.
34041         (ERRNO_ERANGE): Likewise.
34042         (IGNORE_RESULT): Likewise.
34043         (check_float_internal): Check signs of NaN results if
34044         TEST_NAN_SIGN used.
34045         (check_complex): Pass TEST_NAN_SIGN flag through to second
34046         check_float_internal call.
34047         (copysign_test_data): Add tests with quiet NaNs as second
34048         argument.  Use TEST_NAN_SIGN.
34049         (fabs_test_data): Add test of negative quiet NaN argument.  Use
34050         TEST_NAN_SIGN.
34051         (signbit_test_data): Add tests of quiet NaN argument.
34052         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
34054         * math/gen-libm-test.pl (show_exceptions): Take extra argument
34055         $ignore_result.
34056         (parse_args): Handle function results specified as IGNORE.
34057         * math/libm-test.inc (IGNORE_RESULT): New macro.
34058         (check_float_internal): Do not check numerical result if flag
34059         IGNORE_RESULT set.
34060         (check_complex): Pass through IGNORE_RESULT to second
34061         check_float_internal call.
34062         (check_int): Do not check numerical result if flag IGNORE_RESULT
34063         set.
34064         (check_long): Likewise.
34065         (check_bool): Likewise.
34066         (check_longlong): Likewise.
34067         (lrint_test_data): Add tests of infinite and NaN arguments.
34068         (lrint_tonearest_test_data): Likewise.
34069         (lrint_towardzero_test_data): Likewise.
34070         (lrint_downward_test_data): Likewise.
34071         (lrint_upward_test_data): Likewise.
34072         (llrint_test_data): Likewise.
34073         (llrint_tonearest_test_data): Likewise.
34074         (llrint_towardzero_test_data): Likewise.
34075         (llrint_downward_test_data): Likewise.
34076         (llrint_upward_test_data): Likewise.
34077         (lround_test_data): Likewise.
34078         (llround_test_data): Likewise.
34080         * math/libm-test.inc (NO_TEST_INLINE): New macro.
34081         (ERRNO_UNCHANGED): Update value.
34082         (ERRNO_EDOM): Likewise.
34083         (ERRNO_ERANGE): Likewise.
34084         (NO_TEST_INLINE_FLOAT): New macro.
34085         (NO_TEST_INLINE_DOUBLE): Likewise.
34086         (enable_test): New function.
34087         (RUN_TEST_f_f): Check enable_test before running test.
34088         (RUN_TEST_2_f): Likewise.
34089         (RUN_TEST_fff_f): Likewise.
34090         (RUN_TEST_c_f): Likewise.
34091         (RUN_TEST_f_f1): Likewise.
34092         (RUN_TEST_fF_f1): Likewise.
34093         (RUN_TEST_fI_f1): Likewise.
34094         (RUN_TEST_ffI_f1): Likewise.
34095         (RUN_TEST_c_c): Likewise.
34096         (RUN_TEST_cc_c): Likewise.
34097         (RUN_TEST_f_i): Likewise.
34098         (RUN_TEST_f_i_tg): Likewise.
34099         (RUN_TEST_ff_i_tg): Likewise.
34100         (RUN_TEST_f_b): Likewise.
34101         (RUN_TEST_f_b_tg): Likewise.
34102         (RUN_TEST_f_l): Likewise.
34103         (RUN_TEST_f_L): Likewise.
34104         (RUN_TEST_fFF_11): Likewise.
34105         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
34106         conditionals.
34107         (cosh_test_data): Likewise.
34108         (exp_test_data): Likewise.
34109         (expm1_test_data): Likewise.
34110         (hypot_test_data): Likewise.
34111         (pow_test_data): Likewise.
34112         (sinh_test_data): Likewise.
34113         (tanh_test_data): Likewise.
34114         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
34115         flags argument.
34117         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
34118         tests with quiet NaN input and output.
34119         (acosh_test_data): Likewise.
34120         (asin_test_data): Likewise.
34121         (asinh_test_data): Likewise.
34122         (atan_test_data): Likewise.
34123         (atanh_test_data): Likewise.
34124         (atan2_test_data): Likewise.
34125         (cbrt_test_data): Likewise.
34126         (cos_test_data): Likewise.
34127         (cosh_test_data): Likewise.
34128         (erf_test_data): Likewise.
34129         (erfc_test_data): Likewise.
34130         (exp_test_data): Likewise.
34131         (exp10_test_data): Likewise.
34132         (exp2_test_data): Likewise.
34133         (expm1_test_data): Likewise.
34134         (hypot_test_data): Likewise.
34135         (j0_test_data): Likewise.
34136         (j1_test_data): Likewise.
34137         (jn_test_data): Likewise.
34138         (lgamma_test_data): Likewise.
34139         (log_test_data): Likewise.
34140         (log10_test_data): Likewise.
34141         (log1p_test_data): Likewise.
34142         (log2_test_data): Likewise.
34143         (pow_test_data): Likewise.
34144         (scalb_test_data): Likewise.
34145         (sin_test_data): Likewise.
34146         (sincos_test_data): Likewise.
34147         (sinh_test_data): Likewise.
34148         (tan_test_data): Likewise.
34149         (tanh_test_data): Likewise.
34150         (tgamma_test_data): Likewise.
34151         (y0_test_data): Likewise.
34152         (y1_test_data): Likewise.
34153         (yn_test_data): Likewise.
34155         [BZ #16167]
34156         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
34157         argument being NaN and avoid computations with second argument in
34158         that case.
34159         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34160         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34161         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34163 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
34165         * locale/iso-639.def: Add Chitwani Tharu (the).
34167 2013-11-14  Andreas Schwab  <schwab@suse.de>
34169         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
34170         word instead of empty string.
34172 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34175         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
34176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34177         (__fe_nomask_env): Likewise.
34179 2013-11-13  Steve Ellcey  <sellcey@mips.com>
34181         * benchtests/bench-timing.h: Include time.h.
34183 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
34185         [BZ #15997]
34186         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
34187         to 3.4.0 for x32.
34188         * sysdeps/unix/sysv/linux/configure: Regenerated.
34190 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
34192         [BZ #16151]
34193         * stdlib/strtod_l.c (round_and_return): Do not consider
34194         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
34195         exponent one less than half the least subnormal exponent.
34196         * stdlib/test-strtod-round-data: Add more tests.
34197         * stdlib/tst-strtod-round.c (tests): Regenerated.
34199 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34201         [BZ #14143]
34202         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
34203         (__fe_mask_env): Likewise.
34204         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
34205         libm_hidden_proto and add function prototype.
34206         (__fe_mask_env): Add function prototype.
34207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34208         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
34209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34210         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
34211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34212         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
34214 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34216         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
34217         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
34219 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34221         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
34222         of htab_find_slot().
34224 2013-11-11  David S. Miller  <davem@davemloft.net>
34226         [BZ #16150]
34227         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
34228         symbol in the non-vis3 case in static builds.
34229         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
34230         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
34231         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
34232         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
34234 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
34236         [BZ #387]
34237         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
34238         it is empty.
34240 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34242         * benchtests/Makefile: Add bench-strtod.
34243         * benchtests/bench-strtod.c: New file: strtod benchtest
34245 2013-11-11  Andreas Schwab  <schwab@suse.de>
34247         [BZ #16153]
34248         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
34249         terminating NUL in key length.
34251 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34253         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34254         Add artificial ODP entry for vDSO symbol for PPC64.
34255         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
34256         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
34258 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
34260         [BZ #15374]
34261         * nss/getent.c (services_keys): Recognize services starting with digit.
34263 2013-11-06  David S. Miller  <davem@davemloft.net>
34265         [BZ #15985]
34266         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
34267         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
34269 2013-11-06  Will Newton  <will.newton@linaro.org>
34271         * manual/memory.texi (Malloc Examples): Remove register
34272         keyword from examples.
34274 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
34276         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
34278 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
34280         [BZ #6981]
34281         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
34282         depending on [__GCC_IEC_559 > 0].
34283         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
34284         depending on [__GCC_IEC_559_COMPLEX > 0].
34286 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
34288         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
34289         to iso-639.def.
34291 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
34293         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
34295 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
34297         [BZ #16112]
34298         * malloc/malloc (malloc_info): Do not handle first bin as
34299         special case.
34301 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
34303         * locale/iso-639.def: Add Central Nahuatl (nhn).
34305 2013-11-01  Bruno Haible  <bruno@clisp.org>
34307         [BZ #7003]
34308         * manual/math.texi (BSD Random): Specify range upper bound as
34309         in POSIX.
34311 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
34313         * locale/iso-639.def: Add Meadow Mari (mhr).
34315 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
34317         [BZ #14752], [BZ #15763]
34318         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
34319         Validate name.
34320         * rt/tst_shm.c: Add test for escaping directory.
34322 2013-10-31  Andreas Schwab  <schwab@suse.de>
34324         [BZ #15917]
34325         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
34326         followed by 'x' as part of digit sequence.
34327         * stdio-common/tst-sscanf.c (double_tests2): New tests.
34329 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
34331         [BZ #16037]
34332         * configure.ac: allow GNU Make 4.0 and greater.
34333         * configure: Regenerated.
34335 2013-10-30  Will Newton  <will.newton@linaro.org>
34337         [BZ #16038]
34338         * malloc/hooks.c (memalign_check): Limit alignment to the
34339         maximum representable power of two.
34340         * malloc/malloc.c (__libc_memalign): Likewise.
34341         * malloc/tst-memalign.c (do_test): Add test for very
34342         large alignment values.
34343         * malloc/tst-posix_memalign.c (do_test): Likewise.
34345 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
34347         [BZ #11087]
34348         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
34349         (munmap_chunk): Likewise.
34350         (mremap_chunk): Likewise.
34352 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
34354         [BZ #15799]
34355         * stdlib/div.c (div): Remove obsolete code.
34356         * stdlib/ldiv.c (ldiv): Likewise.
34357         * stdlib/lldiv.c (lldiv): Likewise.
34359 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34361         [BZ #16071]
34362         * nss/nss_files/files-XXX.c (get_contents_ret): New
34363         enumerator.
34364         (get_contents): New function.
34365         (internal_getent): Use it.  Expand size of LINEBUFLEN.
34367 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
34369         * configure.in: Moved to ...
34370         * configure.ac: ... here. Change reference to configure.in
34371         to configure.ac.
34372         * sysdeps/arm/preconfigure.ac: ... here.
34373         configure.in to configure.ac.
34374         * sysdeps/gnu/configure.in: Moved to ...
34375         * sysdeps/gnu/configure.ac: ... here.
34376         * sysdeps/i386/configure.in: Moved to ...
34377         * sysdeps/i386/configure.ac: ... here.
34378         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
34379         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
34380         * sysdeps/mach/configure.in: Moved to ...
34381         * sysdeps/mach/configure.ac: ... here.
34382         * sysdeps/mach/hurd/configure.in: Moved to ...
34383         * sysdeps/mach/hurd/configure.ac: ... here.
34384         * sysdeps/powerpc/configure.in: Moved to ...
34385         * sysdeps/powerpc/configure.ac: ... here.
34386         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
34387         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
34388         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
34389         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
34390         * sysdeps/s390/s390-32/configure.in: Moved to ...
34391         * sysdeps/s390/s390-32/configure.ac: ... here.
34392         * sysdeps/s390/s390-64/configure.in: Moved to ...
34393         * sysdeps/s390/s390-64/configure.ac: ... here.
34394         * sysdeps/sh/configure.in: Moved to ...
34395         * sysdeps/sh/configure.ac: ... here.
34396         * sysdeps/sparc/configure.in: Moved to ...
34397         * sysdeps/sparc/configure.ac: ... here.
34398         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
34399         * sysdeps/unix/sysv/linux/configure.ac: ... here.
34400         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
34401         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
34402         * sysdeps/x86_64/configure.in: Moved to ...
34403         * sysdeps/x86_64/configure.ac: ... here.
34404         * sysdeps/x86_64/preconfigure.in: Moved to ...
34405         * sysdeps/x86_64/preconfigure.ac: ... here.
34406         * aclocal.m4: Change reference to configure.in to configure.ac.
34407         * config.h.in: Likewise.
34408         * manual/install.texi: Likewise.
34409         * manual/maint.texi: Likewise.
34410         * Makefile: Likewise.
34411         * malloc/Makefile: Likewise.
34412         * nscd/Makefile: Likewise.
34413         * Makeconfig: Change reference to configure.in and
34414         preconfigure.in to configure.ac and preconfigure.ac
34415         respectively.
34416         * INSTALL: Regenerated.
34417         * configure: Likewise.
34418         * sysdeps/gnu/configure: Likewise.
34419         * sysdeps/i386/configure: Likewise.
34420         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
34421         * sysdeps/mach/configure: Likewise.
34422         * sysdeps/mach/hurd/configure: Likewise.
34423         * sysdeps/powerpc/configure: Likewise.
34424         * sysdeps/powerpc/powerpc32/configure: Likewise.
34425         * sysdeps/powerpc/powerpc64/configure: Likewise.
34426         * sysdeps/s390/s390-32/configure: Likewise.
34427         * sysdeps/s390/s390-64/configure: Likewise.
34428         * sysdeps/sh/configure: Likewise.
34429         * sysdeps/sparc/configure: Likewise.
34430         * sysdeps/unix/sysv/linux/configure: Likewise.
34431         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
34432         * sysdeps/x86_64/configure: Likewise.
34433         * sysdeps/x86_64/preconfigure: Likewise.
34435 2013-10-29  Andreas Schwab  <schwab@suse.de>
34437         * stdio-common/Makefile (tst-swscanf-ENV): Define.
34439 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34441         * benchtests/pow-inputs: Add new inputs.
34443         * benchtests/exp-inputs: Add new inputs.
34445         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
34446         conditional check for return value.
34447         (__cos32): Likewise.
34449 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34451         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
34452         to provide a boost for large inputs with word alignment.
34453         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
34454         implementation based on optimized PPC64 strcpy.
34455         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
34456         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
34457         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
34458         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
34460 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34462         [BZ #2801]
34463         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
34465 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34467         [BZ #14876]
34468         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
34469         * time/tst-strptime.c (day_tests): Add testcase.
34471 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34473         [BZ #14029]
34474         * manual/pattern.texi: Acknowledge that fnmatch can fail.
34476 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
34478         [BZ #16074]
34479         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
34480         MAP_FAILED on error.
34482 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34484         [BZ #16072]
34485         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
34486         heap for large requests.
34488 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
34490         [BZ #9954]
34491         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
34492         result if the result has no associated interface.
34493         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
34494         interface for all 127.X.Y.Z addresses.
34496 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
34498         * locale/iso-639.def: Add Ligurian (lij)
34500 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
34502         [BZ #15825]
34503         * sunrpc/rpc_main.c: Document rpcgen -5.
34505 2013-10-19  Michael Stahl  <mstahl@redhat.com>
34507         * elf/rtld.c (do_preload): Print the reason why preloading failed.
34509 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
34511         [BZ #10278]
34512         * posix/glob.c: Match only directories when trailing slash is present.
34513         * posix/tst-gnuglob.c (my_opendir): Do not open files.
34514         (main): Add testcase.
34516 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
34518         [BZ #15670]
34519         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
34521 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
34523         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
34524         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
34525         AUTH_DES and cindex for FIPS 140-2.
34526         (DES Encryption): Add cindex FIPS 46-3.
34528         * locale/locarchive.h (struct locarhandle): Add fname.
34529         * locale/programs/localedef.c (main): Pass ARGV[remaining]
34530         if an optional argument was specified to --list-archive,
34531         otherwise NULL.
34532         * locale/programs/locarchive.c (show_archive_content): Take new
34533         argument fname and pass it via ah.fname to open_archive.
34534         * locale/programs/localedef.h: Update decl.
34535         (open_archive): If AH->fname is non-null, open that file
34536         rather than the default file name, and don't ignore ENOENT.
34537         (create_archive): Set AH.fname to NULL.
34538         (delete_locales_from_archive): Likewise.
34539         (add_locales_to_archive): Likewise.
34540         * locale/programs/locfile.c (write_all_categories): Likewise.
34542 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
34543             Aldy Hernandez  <aldyh@redhat.com>
34545         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
34546         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
34547         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
34548         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
34549         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
34550         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
34551         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
34552         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
34553         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
34554         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
34555         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
34556         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
34557         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
34558         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
34559         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
34560         Likewise.
34561         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
34562         Likewise.
34563         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
34564         Likewise.
34565         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
34566         Likewise.
34567         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
34568         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
34569         Likewise.
34570         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
34571         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
34572         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
34573         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
34574         Likewise.
34575         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
34576         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
34577         * sysdeps/powerpc/preconfigure: Likewise.
34578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
34579         Likewise.
34580         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
34581         Replace contents of file by #include of <fenv_libc.h>.
34582         * sysdeps/powerpc/soft-fp/sfp-machine.h
34583         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
34584         and <sys/prctl.h>.
34585         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
34586         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
34587         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
34588         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
34589         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
34590         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
34591         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
34592         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
34593         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
34594         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
34595         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
34596         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
34597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34598         Allow copysignl PLT reference to be missing.
34600 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
34601             Joseph Myers  <joseph@codesourcery.com
34603         [BZ #15948]
34604         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
34605         single character.
34606         (add_to_tablewc): Assert sequence of wide characters is nonempty.
34608 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34610         * elf/tst-tls-dlinfo.c: Don't include tls.h.
34611         * elf/tst-tls1.c: Likewise.
34612         * elf/tst-tls10.h: Likewise.
34613         * elf/tst-tls14.c: Likewise.
34614         * elf/tst-tls2.c: Likewise.
34615         * elf/tst-tls3.c: Likewise.
34616         * elf/tst-tls4.c: Likewise.
34617         * elf/tst-tls5.c: Likewise.
34618         * elf/tst-tls6.c: Likewise.
34619         * elf/tst-tls7.c: Likewise.
34620         * elf/tst-tls8.c: Likewise.
34621         * elf/tst-tls9.c: Likewise.
34622         * elf/tst-tlsmod1.c: Likewise.
34623         * elf/tst-tlsmod13.c: Likewise.
34624         * elf/tst-tlsmod13a.c: Likewise.
34625         * elf/tst-tlsmod14a.c: Likewise.
34626         * elf/tst-tlsmod16a.c: Likewise.
34627         * elf/tst-tlsmod16b.c: Likewise.
34628         * elf/tst-tlsmod2.c: Likewise.
34629         * elf/tst-tlsmod3.c: Likewise.
34630         * elf/tst-tlsmod4.c: Likewise.
34631         * elf/tst-tlsmod5.c: Likewise.
34632         * elf/tst-tlsmod6.c: Likewise.
34634 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
34636         [BZ #12486]
34637         * malloc/malloc.c: remove checks for statistics.
34639 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34641         [BZ #15277]
34642         * inet/inet_net.c (inet_network): Detect additional invalid strings.
34643         * inet/tst-network.c: Add testcase.
34645 2013-10-17  Andreas Schwab  <schwab@suse.de>
34647         [BZ #15218]
34648         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
34649         to determine canonical name.
34651 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34653         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
34654         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
34655         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34656         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34657         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34658         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34659         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34660         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34661         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34662         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34663         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34664         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34665         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34666         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34667         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34668         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34669         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34670         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34671         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34672         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34673         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34674         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34675         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34676         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
34677         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
34678         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34679         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34680         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
34681         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34682         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
34683         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34684         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34685         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34686         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34687         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34688         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34689         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34690         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34691         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34692         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34693         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34694         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34695         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34696         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34697         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34698         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34699         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34700         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34701         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34702         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34703         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34704         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34705         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34706         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34707         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34708         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34709         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34710         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34712 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
34714         [BZ #16041]
34715         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
34716         make result into a quiet NaN.
34718 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
34720         * soft-fp/adddf3.c: Fix horizontal whitespace.
34721         * soft-fp/addsf3.c: Likewise.
34722         * soft-fp/addtf3.c: Likewise.
34723         * soft-fp/divdf3.c: Likewise.
34724         * soft-fp/divsf3.c: Likewise.
34725         * soft-fp/divtf3.c: Likewise.
34726         * soft-fp/double.h: Likewise.
34727         * soft-fp/eqdf2.c: Likewise.
34728         * soft-fp/eqsf2.c: Likewise.
34729         * soft-fp/eqtf2.c: Likewise.
34730         * soft-fp/extenddftf2.c: Likewise.
34731         * soft-fp/extended.h: Likewise.
34732         * soft-fp/extendsfdf2.c: Likewise.
34733         * soft-fp/extendsftf2.c: Likewise.
34734         * soft-fp/extendxftf2.c: Likewise.
34735         * soft-fp/fixdfdi.c: Likewise.
34736         * soft-fp/fixdfsi.c: Likewise.
34737         * soft-fp/fixdfti.c: Likewise.
34738         * soft-fp/fixsfdi.c: Likewise.
34739         * soft-fp/fixsfsi.c: Likewise.
34740         * soft-fp/fixsfti.c: Likewise.
34741         * soft-fp/fixtfdi.c: Likewise.
34742         * soft-fp/fixtfsi.c: Likewise.
34743         * soft-fp/fixtfti.c: Likewise.
34744         * soft-fp/fixunsdfdi.c: Likewise.
34745         * soft-fp/fixunsdfsi.c: Likewise.
34746         * soft-fp/fixunsdfti.c: Likewise.
34747         * soft-fp/fixunssfdi.c: Likewise.
34748         * soft-fp/fixunssfsi.c: Likewise.
34749         * soft-fp/fixunssfti.c: Likewise.
34750         * soft-fp/fixunstfdi.c: Likewise.
34751         * soft-fp/fixunstfsi.c: Likewise.
34752         * soft-fp/fixunstfti.c: Likewise.
34753         * soft-fp/floatdidf.c: Likewise.
34754         * soft-fp/floatdisf.c: Likewise.
34755         * soft-fp/floatditf.c: Likewise.
34756         * soft-fp/floatsidf.c: Likewise.
34757         * soft-fp/floatsisf.c: Likewise.
34758         * soft-fp/floatsitf.c: Likewise.
34759         * soft-fp/floattidf.c: Likewise.
34760         * soft-fp/floattisf.c: Likewise.
34761         * soft-fp/floattitf.c: Likewise.
34762         * soft-fp/floatundidf.c: Likewise.
34763         * soft-fp/floatundisf.c: Likewise.
34764         * soft-fp/floatunditf.c: Likewise.
34765         * soft-fp/floatunsidf.c: Likewise.
34766         * soft-fp/floatunsisf.c: Likewise.
34767         * soft-fp/floatunsitf.c: Likewise.
34768         * soft-fp/floatuntidf.c: Likewise.
34769         * soft-fp/floatuntisf.c: Likewise.
34770         * soft-fp/floatuntitf.c: Likewise.
34771         * soft-fp/fmadf4.c: Likewise.
34772         * soft-fp/fmasf4.c: Likewise.
34773         * soft-fp/fmatf4.c: Likewise.
34774         * soft-fp/gedf2.c: Likewise.
34775         * soft-fp/gesf2.c: Likewise.
34776         * soft-fp/getf2.c: Likewise.
34777         * soft-fp/ledf2.c: Likewise.
34778         * soft-fp/lesf2.c: Likewise.
34779         * soft-fp/letf2.c: Likewise.
34780         * soft-fp/muldf3.c: Likewise.
34781         * soft-fp/mulsf3.c: Likewise.
34782         * soft-fp/multf3.c: Likewise.
34783         * soft-fp/negdf2.c: Likewise.
34784         * soft-fp/negsf2.c: Likewise.
34785         * soft-fp/negtf2.c: Likewise.
34786         * soft-fp/op-1.h: Likewise.
34787         * soft-fp/op-2.h: Likewise.
34788         * soft-fp/op-4.h: Likewise.
34789         * soft-fp/op-8.h: Likewise.
34790         * soft-fp/op-common.h: Likewise.
34791         * soft-fp/quad.h: Likewise.
34792         * soft-fp/single.h: Likewise.
34793         * soft-fp/soft-fp.h: Likewise.
34794         * soft-fp/sqrtdf2.c: Likewise.
34795         * soft-fp/sqrtsf2.c: Likewise.
34796         * soft-fp/sqrttf2.c: Likewise.
34797         * soft-fp/subdf3.c: Likewise.
34798         * soft-fp/subsf3.c: Likewise.
34799         * soft-fp/subtf3.c: Likewise.
34800         * soft-fp/truncdfsf2.c: Likewise.
34801         * soft-fp/trunctfdf2.c: Likewise.
34802         * soft-fp/trunctfsf2.c: Likewise.
34803         * soft-fp/trunctfxf2.c: Likewise.
34804         * soft-fp/unorddf2.c: Likewise.
34805         * soft-fp/unordsf2.c: Likewise.
34806         * soft-fp/unordtf2.c: Likewise.
34808 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
34810         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
34811         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
34813 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
34815         * elf/dl-libc.c: Clear initfini list after freeing.
34817 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
34819         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
34820         * soft-fp/addsf3.c: Likewise.
34821         * soft-fp/addtf3.c: Likewise.
34822         * soft-fp/divdf3.c: Likewise.
34823         * soft-fp/divsf3.c: Likewise.
34824         * soft-fp/divtf3.c: Likewise.
34825         * soft-fp/double.h: Likewise.
34826         * soft-fp/eqdf2.c: Likewise.
34827         * soft-fp/eqsf2.c: Likewise.
34828         * soft-fp/eqtf2.c: Likewise.
34829         * soft-fp/extenddftf2.c: Likewise.
34830         * soft-fp/extended.h: Likewise.
34831         * soft-fp/extendsfdf2.c: Likewise.
34832         * soft-fp/extendsftf2.c: Likewise.
34833         * soft-fp/extendxftf2.c: Likewise.
34834         * soft-fp/fixdfdi.c: Likewise.
34835         * soft-fp/fixdfsi.c: Likewise.
34836         * soft-fp/fixdfti.c: Likewise.
34837         * soft-fp/fixsfdi.c: Likewise.
34838         * soft-fp/fixsfsi.c: Likewise.
34839         * soft-fp/fixsfti.c: Likewise.
34840         * soft-fp/fixtfdi.c: Likewise.
34841         * soft-fp/fixtfsi.c: Likewise.
34842         * soft-fp/fixtfti.c: Likewise.
34843         * soft-fp/fixunsdfdi.c: Likewise.
34844         * soft-fp/fixunsdfsi.c: Likewise.
34845         * soft-fp/fixunsdfti.c: Likewise.
34846         * soft-fp/fixunssfdi.c: Likewise.
34847         * soft-fp/fixunssfsi.c: Likewise.
34848         * soft-fp/fixunssfti.c: Likewise.
34849         * soft-fp/fixunstfdi.c: Likewise.
34850         * soft-fp/fixunstfsi.c: Likewise.
34851         * soft-fp/fixunstfti.c: Likewise.
34852         * soft-fp/floatdidf.c: Likewise.
34853         * soft-fp/floatdisf.c: Likewise.
34854         * soft-fp/floatditf.c: Likewise.
34855         * soft-fp/floatsidf.c: Likewise.
34856         * soft-fp/floatsisf.c: Likewise.
34857         * soft-fp/floatsitf.c: Likewise.
34858         * soft-fp/floattidf.c: Likewise.
34859         * soft-fp/floattisf.c: Likewise.
34860         * soft-fp/floattitf.c: Likewise.
34861         * soft-fp/floatundidf.c: Likewise.
34862         * soft-fp/floatundisf.c: Likewise.
34863         * soft-fp/floatunsidf.c: Likewise.
34864         * soft-fp/floatunsisf.c: Likewise.
34865         * soft-fp/floatuntidf.c: Likewise.
34866         * soft-fp/floatuntisf.c: Likewise.
34867         * soft-fp/floatuntitf.c: Likewise.
34868         * soft-fp/fmadf4.c: Likewise.
34869         * soft-fp/fmasf4.c: Likewise.
34870         * soft-fp/fmatf4.c: Likewise.
34871         * soft-fp/gedf2.c: Likewise.
34872         * soft-fp/gesf2.c: Likewise.
34873         * soft-fp/getf2.c: Likewise.
34874         * soft-fp/ledf2.c: Likewise.
34875         * soft-fp/lesf2.c: Likewise.
34876         * soft-fp/letf2.c: Likewise.
34877         * soft-fp/muldf3.c: Likewise.
34878         * soft-fp/mulsf3.c: Likewise.
34879         * soft-fp/multf3.c: Likewise.
34880         * soft-fp/negdf2.c: Likewise.
34881         * soft-fp/negsf2.c: Likewise.
34882         * soft-fp/negtf2.c: Likewise.
34883         * soft-fp/op-1.h: Likewise.
34884         * soft-fp/op-2.h: Likewise.
34885         * soft-fp/op-4.h: Likewise.
34886         * soft-fp/op-8.h: Likewise.
34887         * soft-fp/op-common.h: Likewise.
34888         * soft-fp/quad.h: Likewise.
34889         * soft-fp/single.h: Likewise.
34890         * soft-fp/soft-fp.h: Likewise.
34891         * soft-fp/sqrtdf2.c: Likewise.
34892         * soft-fp/sqrtsf2.c: Likewise.
34893         * soft-fp/sqrttf2.c: Likewise.
34894         * soft-fp/subdf3.c: Likewise.
34895         * soft-fp/subsf3.c: Likewise.
34896         * soft-fp/subtf3.c: Likewise.
34897         * soft-fp/truncdfsf2.c: Likewise.
34898         * soft-fp/trunctfdf2.c: Likewise.
34899         * soft-fp/trunctfsf2.c: Likewise.
34900         * soft-fp/trunctfxf2.c: Likewise.
34901         * soft-fp/unorddf2.c: Likewise.
34902         * soft-fp/unordsf2.c: Likewise.
34903         * soft-fp/unordtf2.c: Likewise.
34905 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
34907         [BZ #15672]
34908         * misc/error.c (error_tail): Fix possible buffer overflow.
34910 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
34912         [BZ #13028]
34913         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
34914         address.
34916 2013-10-14  P. J. McDermott  <pj@pehjota.net>
34918         [BZ #832]
34919         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
34920         testing pipefail option.
34922 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34924         * soft-fp/double.h: Indent preprocessor directives inside #if.
34925         * soft-fp/extended.h: Likewise.
34926         * soft-fp/op-2.h: Likewise.
34927         * soft-fp/op-4.h: Likewise.
34928         * soft-fp/op-common.h: Likewise.
34929         * soft-fp/quad.h: Likewise.
34930         * soft-fp/single.h: Likewise.
34931         * soft-fp/soft-fp.h: Likewise.
34933 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
34935         * iconv/iconv_prog.c: Fix typos.
34936         * stdio-common/psiginfo-data.h: Likewise.
34938 2013-10-12   Reuben Thomas <rrt@sc3d.org>
34940         [BZ #15764]
34941         * locale/setlocale.c: Fix typo.
34943 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34945         [BZ #16036]
34946         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
34947         signaling NaN arguments.
34948         * soft-fp/unordsf2.c (__unordsf2): Likewise.
34949         * soft-fp/unordtf2.c (__unordtf2): Likewise.
34951         [BZ #14910]
34952         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
34953         unordered operands.
34954         * soft-fp/gesf2.c (__gesf2): Likewise.
34955         * soft-fp/getf2.c (__getf2): Likewise.
34956         * soft-fp/ledf2.c (__ledf2): Likewise.
34957         * soft-fp/lesf2.c (__lesf2): Likewise.
34958         * soft-fp/letf2.c (__letf2): Likewise.
34960         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
34961         * soft-fp/eqsf2.c (__eqsf2): Likewise.
34962         * soft-fp/eqtf2.c (__eqtf2): Likewise.
34963         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
34964         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
34965         * soft-fp/fixdfti.c (__fixdfti): Likewise.
34966         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
34967         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
34968         * soft-fp/fixsfti.c (__fixsfti): Likewise.
34969         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
34970         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
34971         * soft-fp/fixtfti.c (__fixtfti): Likewise.
34972         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
34973         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
34974         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
34975         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
34976         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
34977         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
34978         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
34979         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
34980         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
34981         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
34982         * soft-fp/floatdisf.c (__floatdisf): Likewise.
34983         * soft-fp/floatsisf.c (__floatsisf): Likewise.
34984         * soft-fp/floattidf.c (__floattidf): Likewise.
34985         * soft-fp/floattisf.c (__floattisf): Likewise.
34986         * soft-fp/floattitf.c (__floattitf): Likewise.
34987         * soft-fp/floatundidf.c (__floatundidf): Likewise.
34988         * soft-fp/floatundisf.c (__floatundisf): Likewise.
34989         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
34990         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
34991         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
34992         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
34993         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
34994         * soft-fp/gesf2.c (__gesf2): Likewise.
34995         * soft-fp/getf2.c (__getf2): Likewise.
34996         * soft-fp/ledf2.c (__ledf2): Likewise.
34997         * soft-fp/lesf2.c (__lesf2): Likewise.
34998         * soft-fp/letf2.c (__letf2): Likewise.
35000         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
35001         Undefine and redefine.
35002         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
35003         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
35004         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
35005         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
35006         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35007         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
35008         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35009         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
35010         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35011         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
35012         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35013         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
35014         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35015         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
35016         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35018         [BZ #16032]
35019         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
35020         without decrementing exponent if mantissa >= that for the
35021         denominator, not >.
35022         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
35023         denominator, not >.  Decrement exponent in < case instead of
35024         incrementing in >= case.
35025         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
35026         without decrementing exponent if mantissa >= that for the
35027         denominator, not >.
35029         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
35030         computing saturated result for unsigned overflow.
35032 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35033             Jeff Law  <law@redhat.com>
35035         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
35036         (atan2Mp): Add systemtap probe marker.
35037         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
35038         (__ieee754_log): Add systemtap probe marker.
35039         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
35040         (atanMp): Add systemtap probe marker.
35041         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
35042         (tanMp): Add systemtap probe marker.
35043         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
35044         (__slowexp): Add systemtap probe marker.
35045         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
35046         (__slowpow): Add systemtap probe marker.
35047         * manual/probes.texi: Document probes.
35049 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
35051         [BZ #15362]
35052         * libio/fileops.c (_IO_new_file_write): Return count of bytes
35053         written.
35054         (_IO_new_file_xsputn): Don't return EOF if nothing has been
35055         written.
35056         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
35057         written to buffer but not flushed.
35058         * libio/iofwrite_u.c:  Likewise.
35059         * libio/iopadn.c:  Return bytes returned even if EOF was
35060         encountered.
35061         * libio/iowpadn.c:  Likewise.
35062         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
35063         if _IO_padn does not write the whole buffer.
35064         [!COMPILE_WPRINTF] (PAD): Likewise.
35066 2013-10-10  David S. Miller  <davem@davemloft.net>
35068         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
35069         directory block.
35071 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
35073         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
35074         instead of FSF address.
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         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
35090         * soft-fp/fixdfti.c: Likewise.
35091         * soft-fp/fixsfti.c: Likewise.
35092         * soft-fp/fixtfti.c: Likewise.
35093         * soft-fp/fixunsdfti.c: Likewise.
35094         * soft-fp/fixunssfti.c: Likewise.
35095         * soft-fp/fixunstfti.c: Likewise.
35096         * soft-fp/floattidf.c: Likewise.
35097         * soft-fp/floattisf.c: Likewise.
35098         * soft-fp/floattitf.c: Likewise.
35099         * soft-fp/floatuntidf.c: Likewise.
35100         * soft-fp/floatuntisf.c: Likewise.
35101         * soft-fp/floatuntitf.c: Likewise.
35102         * soft-fp/trunctfxf2.c: Likewise.
35104 2013-10-10  David S. Miller  <davem@davemloft.net>
35106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35108 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
35110         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35111         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
35112         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
35113         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
35114         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
35115         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
35116         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
35118         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
35119         for NaNs before doing comparisons on argument.
35120         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35121         Likewise.
35123 2013-10-10  Will Newton  <will.newton@linaro.org>
35125         * malloc/hooks.c (memalign_check): Ensure the value of bytes
35126         passed to _int_memalign does not overflow.
35128 2013-10-10  Torvald Riegel  <triegel@redhat.com>
35130         * scripts/bench.pl: Add include-sources directive.
35131         * benchtests/README: Update documentation.
35133 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
35135         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
35136         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
35137         instead of FP_INIT_ROUNDMODE.
35138         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
35139         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
35141         [BZ #16034]
35142         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
35143         copy class of input value.
35144         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
35145         not handle exceptions.
35146         * soft-fp/negsf2.c (__negsf2): Likewise.
35147         * soft-fp/negtf2.c (__negtf2): Likewise.
35148         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
35150 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
35152         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
35153         semicolon.  From Linux kernel.
35155 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
35157         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
35159 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
35161         [BZ #156]
35162         * manual/socket.texi: Added statement about buffer
35163         for gethostbyname2_r.
35165 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
35167         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
35168         Use .p2align directive instead, throughout.
35169         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35170         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
35171         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
35172         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35173         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35174         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
35175         * sysdeps/x86_64/strchr.S: Likewise.
35176         * sysdeps/x86_64/strrchr.S: Likewise.
35178 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35180         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
35182         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
35184         * sysdeps/generic/math_private.h (__mpsin1): Remove
35185         declaration.
35186         (__mpcos1): Likewise.
35187         (__mpsin): New argument __range_reduce.
35188         (__mpcos): Likewise.
35189         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35190         (slow): Use __mpsin and __mpcos.
35191         (slow1): Likewise.
35192         (slow2): Likewise.
35193         (sloww): Likewise.
35194         (sloww1): Likewise.
35195         (sloww2): Likewise.
35196         (bsloww): Likewise.
35197         (bsloww1): Likewise.
35198         (bsloww2): Likewise.
35199         (cslow2): Likewise.
35200         (csloww): Likewise.
35201         (csloww1): Likewise.
35202         (csloww2): Likewise.
35203         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
35204         range_reduce.  Merge in __mpsin1.
35205         (__mpcos): Likewise.
35206         (__mpsin1): Remove.
35207         (__mpcos1): Likewise.
35209 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
35211         * locale/loadlocale.c (_nl_intern_locale_data): Use
35212         LOCFILE_ALIGNED_P.
35213         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
35214         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
35215         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
35216         obstack data is appropriately aligned.
35217         (obstack_int32_grow_fast): Likewise.
35218         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
35219         * locale/programs/locfile.c (add_locale_uint32): Likewise.
35220         (add_locale_uint32_array): Likewise.
35222 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35224         * benchtests/Makefile: Remove ARGLIST and RET variables.
35225         ($(objpfx)bench-%.c): Pass only function name to the script.
35226         * benchtests/README: Update documentation.
35227         * benchtests/acos-inputs: Add new directives.
35228         * benchtests/acosh-inputs: Likewise.
35229         * benchtests/asin-inputs: Likewise.
35230         * benchtests/asinh-inputs: Likewise.
35231         * benchtests/atan-inputs: Likewise.
35232         * benchtests/atanh-inputs: Likewise.
35233         * benchtests/cos-inputs: Likewise.
35234         * benchtests/cosh-inputs: Likewise.
35235         * benchtests/exp-inputs: Likewise.
35236         * benchtests/log-inputs: Likewise.
35237         * benchtests/pow-inputs: Likewise.
35238         * benchtests/rint-inputs: Likewise.
35239         * benchtests/sin-inputs: Likewise.
35240         * benchtests/sinh-inputs: Likewise.
35241         * benchtests/tan-inputs: Likewise.
35242         * benchtests/tanh-inputs: Likewise.
35243         * scripts/bench.pl: Add support for new directives.
35245 2013-10-07  Alan Modra  <amodra@gmail.com>
35247         * README: Fix careless merge.
35249 2013-10-05  Alan Modra  <amodra@gmail.com>
35251         * NEWS: Mention powerpc64le support and bugs fixed.
35252         * README: Both big-endian and little-endian powerpc64 supported.
35254 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35256         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
35257         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
35258         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
35259         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
35261 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
35263         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
35264         match prototype.
35266 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
35268         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
35269         Move -mhard-float appending from
35270         ports/sysdeps/powerpc/powerpc32/Makefile.
35271         [$(with-fp) = yes] (ASFLAGS): Likewise.
35272         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
35273         * sysdeps/powerpc/nofpu: Move directory from
35274         ports/sysdeps/powerpc/nofpu.
35275         * sysdeps/powerpc/soft-fp: Move directory from
35276         ports/sysdeps/powerpc/soft-fp.
35277         * sysdeps/powerpc/powerpc32/405: Move directory from
35278         ports/sysdeps/powerpc/powerpc32/405.
35279         * sysdeps/powerpc/powerpc32/440: Move directory from
35280         ports/sysdeps/powerpc/powerpc32/440.
35281         * sysdeps/powerpc/powerpc32/464: Move directory from
35282         ports/sysdeps/powerpc/powerpc32/464.
35283         * sysdeps/powerpc/powerpc32/476: Move directory from
35284         ports/sysdeps/powerpc/powerpc32/476.
35285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
35286         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
35287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
35288         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
35289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
35290         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
35291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
35292         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
35293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
35294         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
35295         * README: Update for powerpc-*-linux-gnu software floating point
35296         support in libc.
35298         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
35299         case to powerpc/powerpc32*.
35300         * sysdeps/unix/sysv/linux/configure: Regenerated.
35302         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
35303         (_FPU_MASK_OM): Define as 0x04.
35304         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
35305         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
35306         0x00c10080.
35307         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
35308         0x0000003c.
35309         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
35311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
35312         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
35313         getcontext_e500.
35314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
35315         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
35316         setcontext_e500.
35317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
35318         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
35319         and setcontext_e500.
35321 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
35323         * locale/iso-3166.def: Update iso-1366.def and related occurrences
35325 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35327         * manual/threads.texi (Default Thread Attributes): Fix typo.
35329 2013-10-04  Will Newton  <will.newton@linaro.org>
35331         * malloc/Makefile: Add tst-memalign.
35332         * malloc/tst-memalign.c: New file.
35334         * malloc/tst-posix_memalign.c: Add comments.
35335         (do_test): Add comments and call free on all potentially
35336         allocated pointers. Add space after cast.
35338         * malloc/tst-pvalloc.c: Add comments.
35339         (do_test): Add comments and call free on all potentially
35340         allocated pointers. Remove duplicate check for NULL pointer.
35341         Add space after cast.
35343         * malloc/tst-valloc.c: Add comments.
35344         (do_test): Add comments and call free on all potentially
35345         allocated pointers. Remove duplicate check for NULL pointer.
35346         Add space after cast.
35348 2013-10-04  Alan Modra  <amodra@gmail.com>
35350         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35351         Use stdint types in rather than __attribute__((mode())).
35352         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35354 2013-10-04  Alan Modra  <amodra@gmail.com>
35356         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35357         Correct handling of unaligned relocs for little-endian.
35358         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35360 2013-10-04  Alan Modra  <amodra@gmail.com>
35362         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
35363         * configure: Regenerate.
35364         * nptl/shlib-versions: Powerpc*le starts at 2.18.
35365         * shlib-versions: Likewise.
35367 2013-10-04  Alan Modra  <amodra@gmail.com>
35369         * string/tester.c (test_memrchr): Increment reported test cycle.
35371 2013-10-04  Alan Modra  <amodra@gmail.com>
35373         * string/test-memcpy.c (do_one_test): When reporting errors, print
35374         string address and don't overrun end of string.
35376 2013-10-04  Alan Modra  <amodra@gmail.com>
35378         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
35379         insrdi.  Make better use of reg selection to speed exit slightly.
35380         Schedule entry path a little better.  Remove useless "are we done"
35381         checks on entry to main loop.  Handle wrapping around zero address.
35382         Correct main loop count.  Handle single left-over word from main
35383         loop inline rather than by using loop_small.  Remove extra word
35384         case in loop_small caused by wrong loop count.  Add little-endian
35385         support.
35386         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35387         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
35388         cache hint.
35389         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35390         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
35391         support.  Avoid rlwimi.
35392         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
35394 2013-10-04  Alan Modra  <amodra@gmail.com>
35396         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
35397         insrdi.  Formatting.
35398         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
35399         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35400         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35401         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35402         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35403         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
35405 2013-10-04  Alan Modra  <amodra@gmail.com>
35407         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
35408         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35409         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
35410         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
35411         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35412         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35413         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35414         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35415         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
35416         use of regs.  Use power7 mtocrf.  Tidy function tails.
35418 2013-10-04  Alan Modra  <amodra@gmail.com>
35420         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
35421         Formatting.  Consistently use rXXX register defines or rN defines.
35422         Use early exit labels that avoid restoring unused non-volatile regs.
35423         Make cr field use more consistent with rWORDn compares.  Rename
35424         regs used as shift registers for unaligned loop, using rN defines
35425         for short lifetime/multiple use regs.
35426         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35427         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
35428         addi 1,1,64 to pop stack frame.  Simplify return value code.
35429         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35431 2013-10-04  Alan Modra  <amodra@gmail.com>
35433         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
35434         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
35435         rather than rlwimi.
35436         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
35437         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
35438         little-endian support.  Correct typos.
35439         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
35440         rather than rlwimi.
35441         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
35442         in loop and entry code to keep "and." results.
35443         (strchr): Add little-endian support.  Comment.  Move cntlzd
35444         earlier in tail.
35445         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
35447 2013-10-04  Alan Modra  <amodra@gmail.com>
35449         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
35450         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
35451         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
35452         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
35454 2013-10-04  Alan Modra  <amodra@gmail.com>
35456         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
35457         (rTMP): Define as r11.
35458         (strcmp): Add little-endian support.  Optimise tail.
35459         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
35460         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35461         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35462         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35463         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35464         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35465         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35467 2013-10-04  Alan Modra  <amodra@gmail.com>
35469         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
35470         little-endian support.  Remove unnecessary "are we done" tests.
35471         Handle "s" wrapping around zero and extremely large "size".
35472         Correct main loop count.  Handle single left-over word from main
35473         loop inline rather than by using small_loop.  Correct comments.
35474         Delete "zero" tail, use "end_max" instead.
35475         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
35477 2013-10-04  Alan Modra  <amodra@gmail.com>
35479         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
35480         support.  Don't branch over align.
35481         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
35482         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
35483         support.  Rearrange tmp reg use to suit.  Comment.
35484         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
35486 2013-10-04  Alan Modra  <amodra@gmail.com>
35488         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
35490 2013-10-04  Alan Modra  <amodra@gmail.com>
35492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
35493         conditional form of branch and link when obtaining pc.
35494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35496 2013-10-04  Alan Modra  <amodra@gmail.com>
35498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
35499         HIWORD/LOWORD.
35500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
35501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
35503 2013-10-04  Alan Modra  <amodra@gmail.com>
35505         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
35506         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
35507         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35508         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
35509         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35510         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35511         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
35512         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35513         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
35514         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
35516 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35517             Alistair Popple <alistair@ozlabs.au.ibm.com>
35518             Alan Modra <amodra@gmail.com>
35520         [BZ #15723]
35521         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
35522         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
35523         _dl_hwcap access for little-endian.
35524         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
35525         destroy vmx regs when saving unaligned.
35526         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
35527         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
35528         destroy vmx regs when saving unaligned.
35530 2013-10-04  Alan Modra  <amodra@gmail.com>
35532         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
35533         Don't use a union to pack hi/low value.
35535 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35537         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
35538         for little-endian.
35539         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35540         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
35541         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35542         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35543         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35545 2013-10-04  Alan Modra  <amodra@gmail.com>
35547         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
35548         constants to usual value for .cst8 section, and remove redundant
35549         high address load.
35550         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
35551         constant for 0x1p52.  Load little-endian words of double from
35552         correct stack offsets.
35554 2013-10-04  Alan Modra  <amodra@gmail.com>
35556         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
35557         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
35558         words of double from correct stack offsets.
35559         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35560         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
35561         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35562         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35563         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35564         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35565         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35566         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35567         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35568         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35569         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35570         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35571         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35572         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35573         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35574         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
35575         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35577 2013-10-04  Alan Modra  <amodra@gmail.com>
35579         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
35580         64-bit int/double union.
35581         (_FPU_SETCW): Likewise.
35582         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
35583         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
35585 2013-10-04  Alan Modra  <amodra@gmail.com>
35587         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
35588         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
35590 2013-10-04  Alan Modra  <amodra@gmail.com>
35592         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
35593         use vector int constants.
35594         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
35596 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35598         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
35599         array with long long.
35600         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
35601         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
35602         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
35603         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
35604         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
35605         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
35606         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
35607         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
35608         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
35609         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
35610         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
35611         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
35612         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
35614 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35616         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
35617         (__signbit): Likewise.  Correct for little-endian.
35618         (__signbitl): Call __signbit.
35619         (lrint): Correct for little-endian.
35620         (lrintf): Call lrint.
35622 2013-10-04  Alan Modra  <amodra@gmail.com>
35624         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
35625         union 32-bit int array member with 64-bit int array.
35626         (t515, tm256): Double rather than long double.
35627         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
35629 2013-10-04  Alan Modra  <amodra@gmail.com>
35631         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
35632         Delete.
35633         (IEEE854_LONG_DOUBLE_BIAS): Delete.
35634         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
35635         version of math_ldbl.h.
35637 2013-10-04  Alan Modra  <amodra@gmail.com>
35639         [BZ #15734], [BZ #15735]
35640         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
35641         all uses of ieee875 long double macros and unions.  Simplify test
35642         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
35643         ldbl_extract_mantissa value for ix,iy exponents.  Properly
35644         normalize after ldbl_extract_mantissa, and don't add hidden bit
35645         already handled.  Don't treat low word of ieee854 mantissa like
35646         low word of IBM long double and mask off bit when testing for
35647         zero.
35648         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
35649         all uses of ieee875 long double macros and unions.  Simplify tests
35650         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
35651         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
35652         two1022, instead use their values.  Recognise that tests for large
35653         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
35654         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
35655         Rewrite all uses of ieee875 long double macros and unions.  Simplify
35656         test for 0.0L and nan.  Correct negation.
35657         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
35658         ieee875 long double macros and unions.  Correct output for large
35659         magnitude x.  Correct absolute value calculation.
35660         (__erfcl): Likewise.
35661         * math/libm-test.inc: Add tests for errors discovered in IBM long
35662         double versions of fmodl, remainderl, erfl and erfcl.
35664 2013-10-04  Alan Modra  <amodra@gmail.com>
35666         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
35667         all uses of ieee854 long double macros and unions.  Simplify tests
35668         for long doubles that are fully specified by the high double.
35669         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35670         Likewise.
35671         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
35672         Remove dead code too.
35673         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35674         (__ieee754_ynl): Likewise.
35675         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
35676         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
35677         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35678         Remove dead code too.
35679         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
35680         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
35681         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
35682         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
35683         Simplify.
35684         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
35685         Simplify.
35686         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
35687         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35688         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
35689         Comment on variable precision.
35690         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
35691         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35692         Likewise.
35693         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35694         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35695         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35696         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
35697         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
35699 2013-10-04  Alan Modra  <amodra@gmail.com>
35701         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
35702         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
35703         all uses of ieee854 long double macros and unions.
35704         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
35705         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35706         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
35707         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
35708         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
35709         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35710         Likewise.
35711         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
35712         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35713         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
35714         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35715         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
35716         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
35717         Simplify sign and nan test too.
35718         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
35719         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35720         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
35721         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35722         Likewise.
35723         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35724         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
35725         Likewise.
35726         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35727         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
35728         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
35729         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
35730         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
35731         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
35733 2013-10-04  Alan Modra  <amodra@gmail.com>
35735         * stdio-common/printf_size.c (__printf_size): Don't use
35736         union ieee854_long_double in fpnum union.
35737         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
35738         signbit macro to retrieve sign from long double.
35739         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
35740         retrieve sign from long double.
35741         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
35742         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
35743         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
35744         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35745         * math/test-misc.c (main): Don't use union ieee854_long_double.
35747 2013-10-04  Alan Modra  <amodra@gmail.com>
35749         [BZ #15680]
35750         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
35751         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
35752         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
35753         calculation.  Remove unnecessary test for denormal exponent.
35754         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
35755         Correct handling of denormals.  Avoid undefined shift behaviour.
35756         Correct normalisation of low mantissa when low double is denormal.
35757         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
35758         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
35759         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
35760         Correct normalisation of low mantissa.  Test for overflow of high
35761         mantissa and normalise.
35762         (ldbl_nearbyint): Use more readable constant for two52.
35763         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
35764         (__mpn_construct_long_double): Fix test for overflow of high
35765         mantissa and correct normalisation.  Avoid undefined shift.
35767 2013-10-04  Alan Modra  <amodra@gmail.com>
35769         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
35770         (union ibm_extended_long_double): Define as an array of ieee754_double.
35771         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
35772         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
35773         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
35774         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35775         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35776         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
35777         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35778         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35779         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35780         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
35781         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35783 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
35785         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
35786         page size instead of calling getpagesize.
35788         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
35789         (LOCFILE_ALIGN_MASK): Likewise.
35790         (LOCFILE_ALIGN_UP): Likewise.
35791         (LOCFILE_ALIGNED_P): Likewise.
35792         * locale/programs/ld-collate.c (collate_output): Use the new
35793         macros instead of __alignof__ (int32_t).
35794         * locale/weight.h (findidx): Likewise.
35796 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
35798         [BZ #431]
35799         * manual/string.texi: Fix strncat and wcsncat.
35801 2013-10-03  Brooks Moses  <bmoses@google.com>
35803         [BZ #15915]
35804         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
35805         * Makerules: ...here, and adjust associated comments.
35807 2013-10-02  Will Newton  <will.newton@linaro.org>
35809         * malloc/Makefile: Add tst-pvalloc.
35810         * malloc/tst-pvalloc.c: New file.
35812 2013-10-02  Will Newton  <will.newton@linaro.org>
35814         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
35815         improve test coverage.
35817 2013-10-02  Will Newton  <will.newton@linaro.org>
35819         * malloc/Makefile: Add tst-posix_memalign.
35820         * malloc/tst-posix_memalign.c: New file.
35822 2013-10-01  Eric Blake  <eblake@redhat.com>
35824         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
35825         Use __THROWNL rather than __THROW on static functions.
35827 2013-09-30  Petr Machata  <pmachata@redhat.com>
35829         * elf/elf.h (R_AARCH64_ABS16): New macro.
35830         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
35831         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
35832         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
35833         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
35834         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
35835         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
35836         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
35837         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
35838         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
35839         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
35840         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
35841         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
35842         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
35843         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
35844         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
35845         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
35846         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
35847         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
35848         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
35849         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
35850         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
35851         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
35852         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
35853         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
35854         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
35855         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
35856         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
35857         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
35858         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
35859         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
35860         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
35861         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
35862         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
35863         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
35864         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
35865         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
35866         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
35867         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
35868         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
35869         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
35870         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
35871         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
35872         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
35873         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
35874         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
35875         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
35876         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
35877         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
35878         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
35879         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
35880         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
35881         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
35882         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
35883         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
35884         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
35885         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
35886         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
35887         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
35888         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
35889         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
35890         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
35891         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
35892         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
35893         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
35894         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
35895         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
35896         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
35897         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
35898         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
35899         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
35900         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
35901         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
35902         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
35903         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
35904         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
35905         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
35906         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
35907         (R_AARCH64_TLSDESC_LDR): Likewise.
35908         (R_AARCH64_TLSDESC_ADD): Likewise.
35909         (R_AARCH64_TLSDESC_CALL): Likewise.
35911 2013-09-30  Andreas Schwab  <schwab@suse.de>
35913         [BZ #15048]
35914         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
35915         the nss database lookup.
35916         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35917         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35919 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
35921         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
35923 2013-09-28  P. J. McDermott  <pj@pehjota.net>
35925         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
35926         ${Bash-specific parameter/pattern/string} parameter expansion.
35927         * sysdeps/unix/make-syscalls.sh: Likewise.
35929 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35931         * sysdeps/sh/stackguard-macros.h: New file.
35933 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
35935         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35936         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
35937         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
35938         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
35939         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35940         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
35942 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35944         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
35945         Fix thread ID register.
35947 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
35949         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
35950         [POSIX || UNIX98]: Require rather than permitting all symbols from
35951         <time.h>.
35952         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
35953         element of struct sched_param.
35954         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
35955         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
35956         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
35957         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
35958         constant.
35960 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
35962         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
35963         argument calculation.
35965 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35967         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
35968         Expect macro.
35969         [POSIX] (pthread_attr_t): Do not require type.
35970         [POSIX] (pthread_cond_t): Likewise.
35971         [POSIX] (pthread_condattr_t): Likewise.
35972         [POSIX] (pthread_key_t): Likewise.
35973         [POSIX] (pthread_mutex_t): Likewise.
35974         [POSIX] (pthread_mutexattr_t): Likewise.
35975         [POSIX] (pthread_once_t): Likewise.
35976         [POSIX] (pthread_t): Likewise.
35977         [POSIX-based standards] (pthread_atfork): Expect function.
35979 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35980             Richard Sandiford  <richard@codesourcery.com>
35982         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
35983         (swap_endianness_p): New extern variable.
35984         (set_big_endian): New inline function.
35985         (maybe_swap_uint32): Likewise.
35986         (maybe_swap_uint32_array): Likewise.
35987         (maybe_swap_uint32_obstack): Likewise.
35988         * locale/programs/locfile.c: Include <stdbool.h>.
35989         (swap_endianness_p): New variable.
35990         (add_locale_uint32): Call maybe_swap_uint32.
35991         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
35992         (write_locale_data): Call maybe_swap_uint32_array.
35993         * locale/programs/ld-collate.c (obstack_int32_grow): Call
35994         maybe_swap_uint32.
35995         (obstack_int32_grow_fast): Likewise.
35996         (output_weightwc): Call maybe_swap_uint32_obstack.
35997         (collate_output): Likewise.
35998         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
35999         (OPT_LITTLE_ENDIAN): Likewise.
36000         (options): Add --little-endian and --big-endian options.
36001         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
36002         * locale/programs/locarchive.c: Include "locfile.h".
36003         (GET): New macro.
36004         (SET): Likewise.
36005         (INC): Likewise.
36006         (create_archive): Use the new macros to access fields of
36007         structures directly mapped from or written to locale archives.
36008         (oldlocrecentcmp): Likewise.
36009         (enlarge_archive): Likewise.
36010         (insert_name): Likewise.
36011         (add_alias): Likewise.
36012         (add_locale): Likewise.
36013         (delete_locales_from_archive): Likewise.
36014         (show_archive_content): Likewise.
36015         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
36016         locale data.
36018 2013-09-24  Roland McGrath  <roland@hack.frob.com>
36020         * manual/freemanuals.texi: Updated from (newly) canonical copy at
36021         http://www.gnu.org/doc/freemanuals.texi.
36022         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
36024 2013-09-24  Will Newton  <will.newton@linaro.org>
36026         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
36027         macro.
36029 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
36031         * locale/hashval.h (compute_hashval): Interpret bytes of key as
36032         unsigned char.
36034 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
36036         * manual/threads.texi (POSIX Threads): Fix a typo.
36038 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36040         [BZ #14547]
36041         * string/tst-strcoll-overflow.c: New test case.
36042         * string/Makefile (xtests): Add tst-strcoll-overflow.
36043         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
36044         cache if string sizes may cause integer overflow.
36046         [BZ #14547]
36047         * string/strcoll_l.c (coll_seq): New members rule, idx,
36048         save_idx and back_us.
36049         (get_next_seq_nocache): New function.
36050         (do_compare_nocache): New function.
36051         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
36052         when malloc fails.
36054 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
36056         [BZ #15754]
36057         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
36058         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
36059         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
36061         [BZ #15754]
36062         * elf/Makefile (tests): Add tst-ptrguard1.
36063         (tests-static): Add tst-ptrguard1-static.
36064         (tst-ptrguard1-ARGS): Define.
36065         (tst-ptrguard1-static-ARGS): Define.
36066         * elf/tst-ptrguard1.c: New file.
36067         * elf/tst-ptrguard1-static.c: New file.
36068         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
36069         * sysdeps/i386/stackguard-macros.h: Likewise.
36070         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36071         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36072         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36073         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36074         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36075         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36077 2013-09-23  Hector Marco  <hecmargi@upv.es>
36078             Ismael Ripoll  <iripoll@disca.upv.es>
36079             Carlos O'Donell  <carlos@redhat.com>
36081         [BZ #15754]
36082         * sysdeps/generic/stackguard-macros.h: Define
36083         __pointer_chk_guard_local and POINTER_CHK_GUARD.
36084         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
36085         Define __pointer_chk_guard_local.
36086         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
36087         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
36089 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
36091         [BZ #15859]
36092         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
36094 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
36096         * include/string.h (__ffs): Declare as hidden.
36097         * string/ffs.c (__ffs): Define as hidden.
36098         * sysdeps/i386/ffs.c (__ffs): Likewise.
36099         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
36100         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
36101         * sysdeps/s390/ffs.c (__ffs): Likewise.
36102         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
36104 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
36106         * NEWS: Mention malloc probes.
36108         * malloc/arena.c (new_heap): New memory_heap_new probe.
36109         (grow_heap): New memory_heap_more probe.
36110         (shrink_heap): New memory_heap_less probe.
36111         (heap_trim): New memory_heap_free probe.
36112         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
36113         (systrim): New memory_sbrk_less probe.
36114         * manual/probes.texi: Document them.
36116         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
36117         * manual/probes.texi: Document it.
36119         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
36120         (__libc_realloc): Add memory_realloc_retry probe.
36121         (__libc_memalign): Add memory_memalign_retry probe.
36122         (__libc_valloc): Add memory_valloc_retry probe.
36123         (__libc_pvalloc): Add memory_pvalloc_retry probe.
36124         (__libc_calloc): Add memory_calloc_retry probe.
36125         * manual/probes.texi: Document them.
36127         * malloc/arena.c (get_free_list): Add probe
36128         memory_arena_reuse_free_list.
36129         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
36130         and memory_arena_reuse.
36131         (arena_get2) [!PER_THREAD]: Likewise.
36132         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
36133         memory_arena_reuse_realloc.
36134         * manual/probes.texi: Document them.
36136         * malloc/malloc.c (__libc_free): Add
36137         memory_mallopt_free_dyn_thresholds probe.
36138         (__libc_mallopt): Add multiple memory_mallopt probes.
36139         * manual/probes.texi: Document them.
36141         * malloc/malloc.c: Include stap-probe.h.
36142         (__libc_mallopt): Add memory_mallopt probe.
36143         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
36144         * manual/probes.texi: New.
36145         * manual/Makefile (chapters): Add probes.
36146         * manual/threads.texi: Set next node.
36148 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
36150         [BZ #15963, #13985]
36151         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
36152         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
36153         Add `Chinese' to `nan' entry name.
36155 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36157         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
36158         (POLYNOMIAL): Likewise.
36159         (TAYLOR_SINCOS): Likewise.
36160         (TAYLOR_SLOW): Likewise.
36161         (__sin): Use TAYLOR_SINCOS.
36162         (__cos): Likewise.
36163         (slow): Use TAYLOR_SLOW.
36164         (sloww): Likewise.
36165         (bsloww): Likewise.
36166         (csloww): Likewise.
36168 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36170         * stdlib/strtod_l.c: Fix buffer overrun.
36172 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36174         * benchtests/Makefile (bench): Add sincos.
36175         * benchtests/bench-sincos.c: New file.
36177         * math/libm-test.inc (cos_test_data): New test inputs.
36178         (sin_test_data): Likewise.
36180         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
36181         macro.
36182         (__sin): Use it.
36183         (__cos): Likewise.
36184         (slow1): Likewise.
36185         (slow2): Likewise.
36186         (sloww1): Likewise.
36187         (sloww2): Likewise.
36188         (bsloww1): Likewise.
36189         (bsloww2): Likewise.
36190         (cslow2): Likewise.
36191         (csloww1): Likewise.
36192         (csloww2): Likewise.
36194         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
36195         function.
36196         (__sin): Use it.
36197         (__cos): Likewise.
36199         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
36200         gotos.
36201         (__cos): Likewise.
36203 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
36205         * config.h.in (HAVE_MIPS_NAN2008): New macro.
36206         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
36207         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
36208         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
36209         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
36210         * elf/cache.c (print_entry): Handle the new cache flags.
36212 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
36213             Aldy Hernandez  <aldyh@redhat.com>
36215         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
36216         Change condition to [_SOFT_FLOAT].
36217         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
36218         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
36219         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
36220         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
36221         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
36222         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
36223         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
36224         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
36225         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
36226         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
36227         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
36228         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
36229         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
36230         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
36231         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
36232         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
36233         declaration.
36235 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
36237         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
36238         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
36239         (__longjmp): Use LOAD_GP to load saved GPRs.
36240         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
36241         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
36242         (__sigsetjmp): Use SAVE_GP to save GPRs.
36244         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
36245         Do not append -msoft-float.
36246         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
36248 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36250         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
36252 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
36254         [BZ #15966]
36255         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
36256         (_FPU_GETCW): Use initial "__" on variable and field names but not
36257         on macro parameter name.
36258         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
36259         parentheses around reference to macro parameter.
36261 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
36263         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
36264         prototype.
36265         (ctype_startup): Use uint32_t in cast and sizeof for
36266         ctype->charnames.
36268 2013-09-11  Jia Liu  <proljc@gmail.com>
36270         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
36271         __daddr_t_defined.
36272         [__FreeBSD__]: Likewise.
36274 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
36276         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36277         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
36278         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
36279         (strchr): Remove __strchr_sse42 ifunc selection.
36280         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
36281         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
36283 2013-09-11  Will Newton  <will.newton@linaro.org>
36285         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
36286         parameter to RES. Remove hardcoded 1000 value.
36287         * benchtests/bench-skeleton.c (main): Pass RES parameter
36288         to TIMING_INIT and multiply result by 1000.
36290 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36294 2013-09-11  Andreas Schwab  <schwab@suse.de>
36296         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
36297         if not defined.
36298         (O_TMPFILE) [__USE_GNU]: Define.
36299         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
36300         Define.
36302 2013-09-11  Will Newton  <will.newton@linaro.org>
36304         [BZ #15857]
36305         * malloc/malloc.c (__libc_memalign): Check the value of bytes
36306         does not overflow.
36308 2013-09-11  Will Newton  <will.newton@linaro.org>
36310         [BZ #15856]
36311         * malloc/malloc.c (__libc_valloc): Check the value of bytes
36312         does not overflow.
36314 2013-09-11  Will Newton  <will.newton@linaro.org>
36316         [BZ #15855]
36317         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
36318         does not overflow.
36320 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
36322         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
36323         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36324         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36325         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36326         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36328 2013-09-10  Allan McRae  <allan@archlinux.org>
36330         [BZ #15748]
36331         * manual/arith.texi (Parsing of Floats): Clarify
36332         cross-reference.
36334         [BZ #15849]
36335         * manual/install.texi (Running make install): Mention
36336         --enable-pt-chown.
36337         * INSTALL: Regenerated.
36339 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
36341         * csu/init-first.c (_init): Remove the !SHARED condition around
36342         FPU control word initialization.
36343         * elf/dl-support.c (_dl_fpu_control): New variable.
36344         (_dl_aux_init) <AT_FPUCW>: Initialize it.
36345         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
36346         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
36347         * math/test-fpucw-static.c: New file.
36348         * math/test-fpucw-ieee.c: New file.
36349         * math/test-fpucw-ieee-static.c: New file.
36350         * math/Makefile (tests): Add `test-fpucw-ieee' and
36351         `$(tests-static)'.
36352         (tests-static): New variable.
36353         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
36354         dependency to...
36355         [($(build-shared),yes)]
36356         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36357         ... this.
36358         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
36359         New dependency.
36361 2013-09-09  Allan McRae  <allan@archlinux.org>
36363         [BZ #15939]
36364         * manual/string.texi (Collation Functions): Fix typo in
36365         strcoll example.
36366         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
36368         [BZ #15893]
36369         * stdlib/isomac.c (get_null_defines): Fix memory leak.
36371         [BZ #15892]
36372         * libio/memstream.c (open_memstream): Fix memory leak.
36373         * libio/wmemstream.c (open_wmemstream): Likewise.
36375         [BZ #15895]
36376         * nscd/netgroupcache.c: Fix nesting of ifdefs.
36378 2013-09-09  Will Newton  <will.newton@linaro.org>
36380         * malloc/Makefile: Add tst-realloc to tests.
36381         * malloc/tst-realloc.c: New file.
36383 2013-09-09  Allan McRae  <allan@archlinux.org>
36385         [BZ #15844]
36386         * COPYING: Update from GNU website to fix FSF address.
36387         * COPYING.LIB: Likewise.
36389 2013-09-06  David S. Miller  <davem@davemloft.net>
36391         * po/zh_TW.po: Update Chinese (traditional) translation from
36392         translation project.
36394 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
36395             Joseph Myers  <joseph@codesourcery.com>
36397         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
36398         "localeinfo.h".
36399         (obstack_chunk_alloc): New macro.
36400         (obstack_chunk_free): Likewise.
36401         (record_offset): New function.
36402         (init_locale_data): Likewise.
36403         (align_locale_data): Likewise.
36404         (add_locale_empty): Likewise.
36405         (add_locale_raw_data): Likewise.
36406         (add_locale_raw_obstack): Likewise.
36407         (add_locale_string): Likewise.
36408         (add_locale_wstring): Likewise.
36409         (add_locale_uint32): Likewise.
36410         (add_locale_uint32_array): Likewise.
36411         (add_locale_char): Likewise.
36412         (start_locale_structure): Likewise.
36413         (end_locale_structure): Likewise.
36414         (start_locale_prelude): Likewise.
36415         (end_locale_prelude): Likewise.
36416         (write_locale_data): Take locale_file structure rather than an
36417         iovec.
36418         * locale/programs/locfile.h: Include "obstack.h".
36419         (struct locale_file): Change to store locale file contents instead
36420         of header.
36421         (init_locale_data): New prototype.
36422         (align_locale_data): Likewise.
36423         (add_locale_empty): Likewise.
36424         (add_locale_raw_data): Likewise.
36425         (add_locale_raw_obstack): Likewise.
36426         (add_locale_string): Likewise.
36427         (add_locale_wstring): Likewise.
36428         (add_locale_uint32): Likewise.
36429         (add_locale_uint32_array): Likewise.
36430         (add_locale_char): Likewise.
36431         (start_locale_structure): Likewise.
36432         (end_locale_structure): Likewise.
36433         (start_locale_prelude): Likewise.
36434         (end_locale_prelude): Likewise.
36435         (write_locale_data): Update prototype.
36436         * locale/programs/3level.h (struct TABLE): Remove result field.
36437         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
36438         Use new locale_file interface.
36439         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
36440         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
36441         * locale/programs/ld-address.c (address_output): Use new
36442         locale_file interface.
36443         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
36444         NO_ADD_LOCALE.
36445         (collate_finish): Don't call collseq_table_finalize.
36446         (collate_output): Use new locale_file interface.
36447         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
36448         in file.
36449         (NO_FINALIZE): Change to NO_ADD_LOCALE.
36450         (TABLE): Move defines earlier in file.
36451         (ELEMENT): Likewise.
36452         (DEFAULT): Likewise.
36453         (wctrans_table_add): Move macro and inline function earlier in
36454         file.
36455         (struct wctype_table): Move type earlier in file.
36456         (add_locale_wctype_table): New static prototype.
36457         (struct locale_ctype_t): Use logical types instead of struct iovec
36458         pointers for members.
36459         (ctype_output): Use new locale_file interface.
36460         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
36461         new locale_file interface.
36462         (allocate_arrays): Update for use of new locale_file interface.
36463         * locale/programs/ld-identification.c (identification_output): Use
36464         new locale_file interface.
36465         * locale/programs/ld-measurement.c (measurement_output): Likewise.
36466         * locale/programs/ld-messages.c (messages_output): Likewise.
36467         * locale/programs/ld-monetary.c (monetary_output): Likewise.
36468         * locale/programs/ld-name.c (name_output): Likewise.
36469         * locale/programs/ld-numeric.c (numeric_output): Likewise.
36470         * locale/programs/ld-paper.c (paper_output): Likewise.
36471         * locale/programs/ld-telephone.c (telephone_output): Likewise.
36472         * locale/programs/ld-time.c (time_output): Likewise.
36474 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36476         * benchtests/Makefile: Add memrchr benchmark.
36477         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
36478         benchmark as memrchr.
36479         * benchtests/bench-memrchr-ifunc.c: New file.
36480         * benchtests/bench-memrchr.c: New file.
36482 2013-09-06   Will Newton  <will.newton@linaro.org>
36484         * benchtests/Makefile (string-bench): Add memcpy.
36486 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
36487             Cong Wang  <amwang@redhat.com>
36489         [BZ #15850]
36490         * sysdeps/unix/sysv/linux/bits/in.h
36491         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
36492         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
36493         before __USE_KERNEL_IPV6_DEFS uses.
36494         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
36495         IPPROTO_BEETPH.
36496         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
36497         sockaddr_in6, or ipv6_mreq.
36499 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36501         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
36502         memory access for final bytes in some large inputs.
36503         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
36505 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36507         * string/test-memrchr.c: New file.
36508         * string/test-memrchr-ifunc.c: New file.
36509         * string/Makefile: Add new memrchr testcase.
36511 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
36513         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
36514         fanotify_init returns EPERM.
36516 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
36518         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
36519         errors.
36520         (top level): Treat second token from macro or constant entries for
36521         allowed headers as allowed.
36522         * include/complex.h: Condition internal declarations on
36523         [!_ISOMAC].
36524         * include/fenv.h: Condition include of <stdbool.h> and internal
36525         declarations on [!_ISOMAC].
36527 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
36529         [BZ #15923]
36530         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
36532 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
36534         * configure.in (--enable-versioning): Remove configure option.
36535         (libc_cv_asm_symver_directive): Remove configure test.
36536         (libc_cv_ld_version_script_option): Likewise.
36537         (VERSIONING): Remove variable and AC_SUBST.
36538         (DO_VERSIONING): Remove AC_DEFINE.
36539         * configure: Regenerated.
36540         * config.h.in (DO_VERSIONING): Remove macro.
36541         * Makerules [$(versioning) = yes]: Change conditionals to
36542         [$(build-shared) = yes].
36543         * config.make.in (versioning): Remove variable.
36544         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
36545         [$(build-shared) = yes].
36546         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
36547         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
36548         * elf/Makefile [$(versioning) = yes]: Change conditionals to
36549         [$(build-shared) = yes].
36550         * extra-lib.mk [$(versioning) = yes]: Likewise.
36551         * hurd/Makefile [$(versioning) = yes]: Likewise.
36552         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
36553         [SHARED].
36554         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
36555         [SHARED].
36556         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36557         [SHARED && !NO_HIDDEN].
36558         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
36559         [SHARED].
36560         [SHARED && DO_VERSIONING]: Likewise..
36561         * libio/Makefile [$(versioning) = yes]: Change conditionals to
36562         [$(build-shared) = yes].
36563         * manual/install.texi (--disable-versioning): Remove
36564         documentation.
36565         * INSTALL: Regenerated.
36566         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
36567         to [SHARED].
36568         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
36569         [$(build-shared) = yes].
36570         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
36571         * sysdeps/i386/i686/multiarch/strstr-c.c
36572         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36573         [SHARED && !NO_HIDDEN].
36574         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
36575         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
36576         * sysdeps/powerpc/powerpc32/dl-machine.c
36577         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
36578         * sysdeps/powerpc/powerpc32/sysdep.h
36579         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
36580         to [SHARED && PIC && !NO_HIDDEN].
36581         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
36582         conditional to [SHARED].
36584 2013-09-04   Will Newton  <will.newton@linaro.org>
36586         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
36587         * benchtests/bench-string.h: Include bench-timing.h instead
36588         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
36589         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
36590         call to HP_TIMING_DIFF_INIT.
36591         * benchtests/bench-memccpy.c: Use bench-timing.h macros
36592         instead of hp-timing.h macros.
36593         * benchtests/bench-memchr.c: Likewise.
36594         * benchtests/bench-memcmp.c: Likewise.
36595         * benchtests/bench-memcpy.c: Likewise.
36596         * benchtests/bench-memmem.c: Likewise.
36597         * benchtests/bench-memmove.c: Likewise.
36598         * benchtests/bench-memset.c: Likewise.
36599         * benchtests/bench-rawmemchr.c: Likewise.
36600         * benchtests/bench-strcasecmp.c: Likewise.
36601         * benchtests/bench-strcasestr.c: Likewise.
36602         * benchtests/bench-strcat.c: Likewise.
36603         * benchtests/bench-strchr.c: Likewise.
36604         * benchtests/bench-strcmp.c: Likewise.
36605         * benchtests/bench-strcpy.c: Likewise.
36606         * benchtests/bench-strcpy_chk.c: Likewise.
36607         * benchtests/bench-strlen.c: Likewise.
36608         * benchtests/bench-strncasecmp.c: Likewise.
36609         * benchtests/bench-strncat.c: Likewise.
36610         * benchtests/bench-strncmp.c: Likewise.
36611         * benchtests/bench-strncpy.c: Likewise.
36612         * benchtests/bench-strnlen.c: Likewise.
36613         * benchtests/bench-strpbrk.c: Likewise.
36614         * benchtests/bench-strrchr.c: Likewise.
36615         * benchtests/bench-strspn.c: Likewise.
36616         * benchtests/bench-strstr.c: Likewise.
36618 2013-09-04  Will Newton  <will.newton@linaro.org>
36620         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
36622 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
36624         [BZ #15427]
36625         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36626         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
36627         * math/libm-test.inc (lgamma_test_data): Add more tests.
36628         * sysdeps/i386/fpu/libm-test-ulps: Update.
36629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36631 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
36633         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
36634         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36635         Add ifunc.
36636         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36637         Add strcmp-sse2-unaligned
36638         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
36640 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36642         * Versions.def (libc): Add GLIBC_2.19.
36644 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36646         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
36647         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
36649 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
36651         [BZ #14155]
36652         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
36653         intermediate calculations in recurrence.
36654         (__ieee754_ynf): Likewise.
36655         * math/libm-test.inc (jn_test_data): Do not allow spurious
36656         underflow exception.  Add more tests.
36657         (yn_test_data): Add more tests.
36658         * sysdeps/i386/fpu/libm-test-ulps: Update.
36659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36661 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
36663         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
36665 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36667         * csu/init-first.c: Fix then/than typos.
36668         * locale/programs/ld-collate.c: Likewise.
36669         * locale/programs/linereader.h: Likewise.
36670         * manual/charset.texi: Likewise.
36671         * manual/filesys.texi: Likewise.
36672         * manual/stdio.texi: Likewise.
36673         * manual/string.texi: Likewise.
36674         * stdlib/fmtmsg.c: Likewise.
36675         * sysdeps/i386/stpncpy.S: Likewise.
36676         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36677         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36678         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36679         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36681 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36683         * elf/dl-open.c: Fix typos.
36684         * iconvdata/gbbig5.c: Likewise.
36685         * iconvdata/iso-2022-jp.c: Likewise.
36686         * iconv/gconv_int.h: Likewise.
36687         * iconv/loop.c: Likewise.
36688         * nis/rpcsvc/nis.h: Likewise.
36689         * resolv/ns_name.c: Likewise.
36690         * stdio-common/vfscanf.c: Likewise.
36691         * streams/stropts.h: Likewise.
36692         * sunrpc/rpc_thread.c: Likewise.
36693         * sysdeps/i386/strpbrk.S: Likewise.
36694         * sysdeps/ieee754/k_standard.c: Likewise.
36695         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36696         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36697         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
36698         * sysdeps/mach/hurd/profil.c: Likewise.
36699         * sysdeps/s390/dl-procinfo.h: Likewise.
36700         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
36701         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36702         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
36703         * sysdeps/x86_64/dl-trampoline.S: Likewise.
36704         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36706 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
36708         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
36709         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
36711 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
36713         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
36714         aix specific files.
36715         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
36716         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
36717         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
36718         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
36719         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
36720         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
36721         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
36722         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
36724 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36725             Roland McGrath  <roland@hack.frob.com>
36727         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
36728         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
36730 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36732         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
36733         __executable_start symbol instead of _start.
36735 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36737         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
36738         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
36739         Move macros to...
36740         * sysdeps/gnu/ldsodefs.h: ... this new file.
36742         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
36743         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
36744         instead of ELFOSABI_LINUX.
36746         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
36747         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
36748         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
36749         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
36750         Likewise.
36751         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
36752         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
36753         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
36754         Likewise.
36755         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
36756         (ibm_extended_long_double): Add ieee_nan member.
36757         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
36758         (do_test): New function.
36760         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
36761         TEST_TRUNC.
36762         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
36763         functions, renamed from truncdfsf_test, trunctfsf_test,
36764         trunctfdf_test.
36765         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
36766         functions.
36767         (do_test): Run all these.
36769 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
36771         * argp/argp-help.c: Fix typos.
36772         * argp/argp-parse.c: Likewise.
36773         * debug/backtracesyms.c: Likewise.
36774         * elf/elf.h: Likewise.
36775         * malloc/malloc.c: Likewise.
36776         * nis/nis_print.c: Likewise.
36777         * resolv/res_comp.c: Likewise.
36778         * stdlib/stdlib.h: Likewise.
36779         * sunrpc/clnt_tcp.c: Likewise.
36780         * sunrpc/clnt_udp.c: Likewise.
36781         * sunrpc/clnt_unix.c: Likewise.
36782         * sysdeps/unix/bsd/ptsname.c: Likewise.
36783         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
36784         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
36785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
36786         Likewise.
36787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
36788         Likewise.
36789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
36790         Likewise.
36791         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36793 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36795         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
36796         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36798 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
36800         [BZ #15897]
36801         * dlfcn/Makefile (tests): Add bug-dl-leaf.
36802         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
36803         ($(objpfx)bug-dl-leaf): New rule.
36804         ($(objpfx)bug-dl-leaf.so): Likewise.
36805         ($(objpfx)bug-dl-leaf.out): Likewise.
36806         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
36807         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
36808         * dlfcn/bug-dl-leaf.c: New test.
36809         * dlfcn/bug-dl-leaf-lib.c: Likewise.
36810         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
36811         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
36812         (dlclose): Likewise.
36813         (dlmopen): Likewise.
36815 2013-08-27  Roland McGrath  <roland@hack.frob.com>
36817         * include/netdb.h [!_ISOMAC]:
36818         Don't include <tls.h>.
36819         (h_errno, __libc_h_errno): Move declaration and macros out of
36820         [_LIBC_REENTRANT].
36822         * include/resolv.h [_RESOLV_H_]:
36823         Don't include <tls.h>.
36824         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
36825         * resolv/res_libc.c: Don't include <tls.h>.
36826         (_res): Use __attribute__ ((nocommon)) in place of
36827         __attribute__ ((section (".bss"))).
36829         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
36830         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
36832         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
36834         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
36835         only under [SIOCGIFCONF && SIOCGIFNETMASK].
36837         * resolv/res_mkquery.c: Include <sys/time.h>.
36839         * inet/ifreq.c: Moved to ...
36840         * sysdeps/unix/ifreq.c: ... here.
36841         * inet/ifreq.c: New file, true stub version.
36843         * socket/sa_len.c: New file.
36844         * socket/Makefile (aux): Add it.
36845         * sysdeps/unix/sysv/linux/Makefile
36846         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
36847         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
36848         and #include <socket/sa_len.c>.
36849         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
36850         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
36852         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
36853         * bits/socket.h: ... here.
36855         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
36856         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
36857         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
36859 2013-08-27  Andreas Schwab  <schwab@suse.de>
36861         [BZ #15736]
36862         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
36863         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
36864         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
36865         * string/test-strcasecmp.c (test_main): Run tests in several
36866         locales.
36867         * string/test-strncasecmp.c (test_main): Likewise.
36869         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
36870         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
36871         to __strcasecmp_nonascii and __strncasecmp_nonascii.
36872         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
36873         (__strncasecmp_ssse3) [PIC]: Likewise.
36875 2013-08-26  Roland McGrath  <roland@hack.frob.com>
36877         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
36879         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
36880         instead of explicitly declaring xdecrypt.
36881         * nis/nss_nis/nis-publickey.c: Likewise.
36883 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36885         [BZ #15890]
36886         * nscd/aicache.c: Include res_hconf.h.
36887         (addhstaiX): Initialize res_hconf.
36889 2013-08-26  Andreas Schwab  <schwab@suse.de>
36891         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
36892         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
36894 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36896         * nscd/aicache.c (addhstaiX): Fix indentation.
36898 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
36900         * configure.ac: Quote $build_pt_chown test.
36901         * configure: Regenerated.
36903 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
36905         [BZ #15532]
36906         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
36907         * math/s_cexpf.c (__cexpf): Likewise.
36908         * math/s_cexpl.c (__cexpl): Likewise.
36909         * math/libm-test.inc (cexp_test_data): Correct expected return
36910         value for NaN + i0.  Add another test.
36912 2013-08-22  David S. Miller  <davem@davemloft.net>
36914         * po/ca.po: Update Catalan translation from translation project.
36915         * po/uk.po: Add Ukrainian translations from translation project.
36917 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
36919         [BZ #15797]
36920         * math/s_fdim.c (__fdim): Check for infinite arguments if result
36921         is infinite, not alongside NaN test.
36922         * math/s_fdimf.c (__fdimf): Likewise.
36923         * math/s_fdiml.c (__fdiml): Likewise.
36924         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
36925         errno is unchanged.
36927 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
36929         * argp/argp-help.c: Fix typos.
36930         * crypt/speeds.c: Likewise.
36931         * csu/check_fds.c: Likewise.
36932         * elf/dl-load.c: Likewise.
36933         * elf/dl-open.c: Likewise.
36934         * elf/reldep3.c: Likewise.
36935         * elf/reldep.c: Likewise.
36936         * elf/sprof.c: Likewise.
36937         * iconv/iconv_charmap.c: Likewise.
36938         * iconv/skeleton.c: Likewise.
36939         * iconv/strtab.c: Likewise.
36940         * io/lockf64.c: Likewise.
36941         * libio/libioP.h: Likewise.
36942         * resolv/gai_notify.c: Likewise.
36943         * resolv/ns_name.c: Likewise.
36944         * resolv/ns_samedomain.c: Likewise.
36945         * resolv/res_send.c: Likewise.
36946         * stdlib/random.c: Likewise.
36947         * sunrpc/rpc/xdr.h: Likewise.
36948         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
36949         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36950         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36951         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36952         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36953         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36954         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36955         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36956         * sysdeps/mach/hurd/check_fds.c: Likewise.
36957         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36958         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36959         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36960         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36961         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36962         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36963         * sysdeps/pthread/aio_notify.c: Likewise.
36964         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
36965         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
36966         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
36967         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36968         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36970 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36972         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
36973         version if bit_Slow_SSE4_2 is set.
36974         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36975         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36977 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36979         [BZ #15867]
36980         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
36981         trampoline stack frame information.
36982         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
36983         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
36984         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
36985         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
36986         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
36987         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36988         (_libc_vdso_platform_setup): Initialize the signal trampolines.
36989         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
36990         sa_flags value.
36991         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
36992         interrupting a syscall and set with option SA_SIGINFO.
36994 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
36996         [BZ #15531]
36997         * math/s_cproj.c (__cproj): Only return an infinity if one part of
36998         argument is infinite.
36999         * math/s_cprojf.c (__cprojf): Likewise.
37000         * math/s_cprojl.c (__cprojl): Likewise.
37001         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
37002         * math/libm-test.inc (cproj_test_data): Add more tests.
37004         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
37006         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
37007         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
37008         size.  Use __ffs to determine corresponding shift.
37010 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
37011             Roland McGrath  <roland@hack.frob.com>
37013         * Makefile (INSTALL): Remove trailing blank lines from output of
37014         makeinfo.
37016 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37018         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
37019         Align 32 bit compat elf_greg to 8 bytes.
37021 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
37023         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
37025 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37027         * string/strcoll_l.c (coll_seq): New structure.
37028         (get_next_seq_cached): New function.
37029         (get_next_seq): New function.
37030         (do_compare): New function.
37031         (STRCOLL): Use GNU style definition.  Simplify implementation
37032         by using get_next_seq, get_next_seq_cached and do_compare.
37034 2013-08-16  Florian Weimer  <fweimer@redhat.com>
37036         [BZ #14699]
37037         CVE-2013-4237
37038         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
37039         member.
37040         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
37041         member.
37042         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
37043         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
37044         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
37045         conditional.
37046         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
37047         GETDENTS_64BIT_ALIGNED.
37048         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37049         * manual/filesys.texi (Reading/Closing Directory): Document
37050         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
37051         strongly.
37052         * manual/conf.texi (Limits for Files): Add portability note to
37053         NAME_MAX, PATH_MAX.
37054         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
37056 2013-08-13  Andreas Schwab  <schwab@suse.de>
37058         [BZ #15749]
37059         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
37060         of fabs.
37061         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
37062         LDBL_MAX_EXP >= 16384]: Add tests for it.
37064 2013-08-12  David S. Miller  <davem@davemloft.net>
37066         * version.h (RELEASE): Set to "development".
37067         (VERSION): Set to "2.18.90".
37068         * NEWS: Add 2.19 section.
37070 2013-08-03  David S. Miller  <davem@davemloft.net>
37072         * po/ko.po: Update Korean translation from translation project.
37074 2013-08-01  David S. Miller  <davem@davemloft.net>
37076         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
37077         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
37078         Bilka.
37080 2013-07-30  David S. Miller  <davem@davemloft.net>
37082         * po/fr.po: Update French translation from translation project.
37084 2013-07-28  David S. Miller  <davem@davemloft.net>
37086         * po/cs.po: Update Czech translation from translation project.
37088         * po/sv.po: Update Swedish translation from translation project.
37090 2013-07-27  David S. Miller  <davem@davemloft.net>
37092         * po/eo.po: Update Esperanto translation from translation project.
37094         * po/vi.po: Update Vietnamese translation from translation project.
37096         * po/de.po: Update German translation from translation project.
37098 2013-07-26  David S. Miller  <davem@davemloft.net>
37100         * po/bg.po: Update Bulgarian translation from translation project.
37102         * po/nl.po: Update Dutch translation from translation project.
37103         * po/pl.po: Update Polish translation from translation project.
37104         * po/ru.po: Update Russian translation from translation project.
37106 2013-07-24  David S. Miller  <davem@davemloft.net>
37108         * po/libc.pot: Update.
37110 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37112         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
37113         variable page size.
37114         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
37115         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
37116         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
37118 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37120         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
37122 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37123             Andreas Schwab  <schwab@suse.de>
37124             Roland McGrath  <roland@hack.frob.com>
37125             Joseph Myers  <joseph@codesourcery.com>
37126             Carlos O'Donell  <carlos@redhat.com>
37128         [BZ #15755]
37129         * config.h.in: Define HAVE_PT_CHOWN.
37130         * config.make.in (build-pt-chown): New variable.
37131         * configure.in (--enable-pt_chown): New configure option.
37132         * configure: Regenerate.
37133         * login/Makefile: Include Makeconfig.  Build pt_chown only if
37134         build-pt-chown is enabled.
37135         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
37136         pt_chown to fix pty ownership.
37137         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
37138         CLOSE_ALL_FDS.
37139         * manual/install.texi (Configuring and compiling): Mention
37140         --enable-pt_chown. Add @findex for grantpt.
37141         * INSTALL: Regenerate.
37143 2013-07-20  David S. Miller  <davem@davemloft.net>
37145         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
37146         difference between 32-bit and 64-bit.
37148 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
37150         [BZ #15711]
37151         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
37152         Avoid system header dependency with -ffreestanding.
37153         ($(objpfx)bits/syscall%d): Likewise.
37155 2013-07-13  David S. Miller  <davem@davemloft.net>
37157         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
37158         underflows from atanl/atan2l due to bug 15319.
37159         (casinh_test_data): Likewise.
37161 2013-07-07  David S. Miller  <davem@davemloft.net>
37163         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
37165 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
37167         * sysdeps/i386/fpu/libm-test-ulps: Update.
37168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37170 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37172         * configure.in (--enable-lock-elision): Fix message text.
37173         * INSTALL: Regenerate.
37174         * configure: Regenerate.
37176 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37180 2013-07-03  Andreas Jaeger  <aj@suse.de>
37182         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
37183         define.
37184         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
37185         (ptrace_peeksiginfo_args): Add.
37186         (__ptrace_peeksiginfo_flags): Add.
37187         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37188         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37189         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37191 2013-07-03  Allan McRae  <allan@archlinux.org>
37193         * sysdeps/i386/fpu/libm-test-ulps: Update.
37195 2013-07-02  David S. Miller  <davem@davemloft.net>
37197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37199 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
37201         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37203 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
37205         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37208 2013-07-02  Andi Kleen <ak@linux.intel.com>
37210         * config.h.in (ENABLE_LOCK_ELISION): Add.
37211         * configure.in (--enable-lock-elision): Add option.
37212         * manual/install.texi: Document --enable lock elision.
37213         * configure: Regenerate
37214         * INSTALL: Regenerate.
37216 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
37218         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
37219         SSE4.2 strcasecmp for libc.a.
37220         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37222 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
37224         [BZ #13304]
37225         * soft-fp/op-common.h (_FP_FMA): New macro.
37226         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
37227         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
37228         (_FP_MUL_MEAT_1_imm): ... here.
37229         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
37230         (_FP_MUL_MEAT_1_wide): ... here.
37231         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
37232         (_FP_MUL_MEAT_1_hard): ... here.
37233         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
37234         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
37235         (_FP_MUL_MEAT_2_wide): ... here.
37236         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
37237         (_FP_MUL_MEAT_2_wide_3mul): ... here.
37238         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
37239         (_FP_MUL_MEAT_2_gmp): ... here.
37240         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
37241         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
37242         (_FP_MUL_MEAT_4_wide): ... here.
37243         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
37244         (_FP_MUL_MEAT_4_gmp): ... here.
37245         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
37246         (_FP_WFRACBITS_DW_S): Likewise.
37247         (_FP_WFRACXBITS_DW_S): Likewise.
37248         (_FP_HIGHBIT_DW_S): Likewise.
37249         (FP_FMA_S): Likewise.
37250         (_FP_FRAC_HIGH_DW_S): Likewise.
37251         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
37252         (_FP_WFRACBITS_DW_D): Likewise.
37253         (_FP_WFRACXBITS_DW_D): Likewise.
37254         (_FP_HIGHBIT_DW_D): Likewise.
37255         (FP_FMA_D): Likewise.
37256         (_FP_FRAC_HIGH_DW_D): Likewise.
37257         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
37258         (_FP_WFRACBITS_DW_E): Likewise.
37259         (_FP_WFRACXBITS_DW_E): Likewise.
37260         (_FP_HIGHBIT_DW_E): Likewise.
37261         (FP_FMA_E): Likewise.
37262         (_FP_FRAC_HIGH_DW_E): Likewise.
37263         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
37264         (_FP_WFRACBITS_DW_Q): Likewise.
37265         (_FP_WFRACXBITS_DW_Q): Likewise.
37266         (_FP_HIGHBIT_DW_Q): Likewise.
37267         (FP_FMA_Q): Likewise.
37268         (_FP_FRAC_HIGH_DW_Q): Likewise.
37269         * soft-fp/fmasf4.c: New file.
37270         * soft-fp/fmadf4.c: Likewise.
37271         * soft-fp/fmatf4.c: Likewise.
37273 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37275         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37276         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
37277         Silvermont.
37278         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
37279         macro.
37280         (index_Slow_SSE4_2): Likewise.
37281         (index_Prefer_PMINUB_for_stringop): Likewise.
37282         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
37283         bit_Slow_SSE4_2 is set.
37284         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37285         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37287 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37289         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
37290         rtld_global._dl_hwcap2.
37291         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
37292         POWER8.
37293         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
37294         POWER8 feature descriptions defined in _dl_hwcap2.
37295         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
37296         string handling for POWER8 feature bits.
37297         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
37298         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
37299         _dl_powerpc_cap_flags.
37300         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
37301         * sysdeps/powerpc/rtld-global-offsets.sym
37302         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
37303         _dl_hwcap2 in the rtld_global_ro structure.
37305 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37307         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
37308         hardware capabilities in support of AT_HWCAP2.
37309         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
37310         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
37311         GLRO(dl_hwcap2).
37312         (_dl_show_auxv): Add support for calling _dl_procinfo to display
37313         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
37314         explicitly the unknown a_type display mechanism is used.
37315         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
37316         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
37317         struct member.
37318         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
37319         to macro prototype for AT_HWCAP2 support.
37320         * sysdeps/i386/dl-procinfo.h: Likewise.
37321         * sysdeps/s390/dl-procinfo.h: Likewise.
37322         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
37323         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
37324         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
37325         return -1 for unknown a_type display fallback.
37326         * sysdeps/sparc/dl-procinfo.h: Likewise.
37327         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
37328         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
37330 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
37332         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
37333         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
37335 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
37337         [BZ #12492]
37338         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
37339         mprotect making __stack_prot writable.
37341 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
37342             Joseph Myers  <joseph@codesourcery.com>
37344         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
37345         as being properly aligned.
37347 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
37349         * dlfcn/modstatic5.c: New file.
37350         * dlfcn/tststatic5.c: New file.
37351         * dlfcn/Makefile (tests): Add tststatic5.
37352         (tests-static): Likewise.
37353         (modules-names): Add modstatic5.
37354         (tststatic5-ENV): New variable.
37355         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
37357         [BZ #15022]
37358         * elf/dl-support.c (_dl_main_map): New variable.
37359         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
37360         (_dl_nns, _dl_load_adds): Set to 1.
37361         (_dl_initial_searchlist): Refer to _dl_main_map.
37362         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
37363         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
37364         call to _dl_get_origin.
37365         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
37366         around call_map.
37367         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
37368         * dlfcn/modstatic3.c: New file.
37369         * dlfcn/tststatic3.c: New file.
37370         * dlfcn/tststatic4.c: New file.
37371         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
37372         (tests-static): Likewise.
37373         (modules-names): Add modstatic3.
37374         (tststatic3-ENV, tststatic4-ENV): New variables.
37375         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
37376         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
37378 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
37380         * configure.in (CC): Require GCC version 4.4 or later.
37381         * configure: Regenerated.
37382         * manual/install.texi (Tools for Compilation): Update GCC version
37383         requirement.
37384         * INSTALL: Regenerated.
37386 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37388         [BZ #15674]
37389         * string/test-memcmp.c (check2): New.
37390         (main): Call check2.
37392         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
37394 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
37396         [BZ #15022]
37397         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
37398         over to...
37399         (dl_open_worker) [!SHARED]: ... here.
37401 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37403         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
37405 2013-06-25  Richard Henderson  <rth@redhat.com>
37407         * locale/programs/locarchive.c: Include <libc-internal.h>
37409 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
37411         * manual/texinfo.tex: Update to version 2013-06-21.17, with
37412         trailing whitespace removed.
37414 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
37416         [BZ #10283]
37417         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
37418         * locale/programs/locarchive.c: Include libc-mmap.h.
37419         (prepare_address_space): Take two new outputs (the mmap base and len).
37420         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
37421         values.
37422         (create_archive): Declare new mmap base and len values for
37423         prepare_address_space, and store the result in ah.
37424         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
37425         (enlarge_archive): If ah->mmap_base is not NULL, use that and
37426         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
37427         Declare new mmap base and len values for
37428         prepare_address_space, and store the result in new_ah.
37429         (open_archive): Declare new mmap base and len values for
37430         prepare_address_space, and store the result in ah.
37431         (close_archive): If ah->mmap_base is not NULL, use that and
37432         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
37433         * sysdeps/generic/libc-mmap.h: New file.
37435 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
37437         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
37438         (ALIGN_UP): Likewise.
37439         (PTR_ALIGN_DOWN): Likewise.
37440         (PTR_ALIGN_UP): Likewise.
37442 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37444         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
37445         entry mapped to PPC_PLATFORM_POWER8.
37446         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
37447         POWER8.
37448         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
37449         (_dl_string_platform): Add case for exporting platform position for
37450         POWER8.
37451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
37452         search path to sysdeps/powerpc/powerpc32/power8 directory.
37453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
37454         search path to sysdeps/powerpc/powerpc64/power8 directory.
37455         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
37456         power7 directories.
37457         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
37458         power7 directories.
37460 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37462         * INSTALL: Regenerate.
37464         * nscd/connections.c (nscd_init): Fix comment.
37466 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
37468         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
37470         [BZ #15667]
37471         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
37472         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
37474 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
37476         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
37477         DL_DST_REQ_STATIC.
37478         (DL_DST_REQ_STATIC): Remove macro.
37480 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
37482         [BZ #7006]
37483         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
37484         with a shift of 0 bits.
37486 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
37488         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
37489         $(tststatic-ENV).
37491 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37493         [BZ #15655]
37494         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
37496 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37498         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
37499         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
37500         accepts -fno-tree-loop-distribute-patterns.
37501         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
37502         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
37503         recursive call.
37504         * string/memset.c (memset): Likewise.
37505         * string/test-memmove.c (simple_memmove): Disable loop transformation
37506         to library calls.
37507         * string/test-memset.c (simple_memset): Likewise.
37508         * benchtests/bench-memmove.c (simple_memmove): Likewise.
37509         * benchtests/bench-memset.c (simple_memset): Likewise.
37510         * configure: Regenerated.
37512 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
37514         * math/test-misc.c (main): Ignore fesetround failure when failures
37515         of subsequent rounding tests would be ignored.
37517         [BZ #15654]
37518         * math/fedisblxcpt.c (fedisableexcept): Return 0.
37519         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
37520         * math/fegetenv.c (__fegetenv): Return 0.
37521         * math/fegetexcept.c (fegetexcept): Return 0.
37522         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
37523         FE_TONEAREST.
37524         * math/feholdexcpt.c (feholdexcept): Return 0.
37525         * math/fesetenv.c (__fesetenv): Return 0.
37526         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
37527         argument FE_TONEAREST.
37528         * math/feupdateenv.c (__feupdateenv): Return 0.
37529         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
37531 2013-06-18  Roland McGrath  <roland@hack.frob.com>
37533         * elf/rtld-Rules (rtld-compile-command.S): New variable.
37534         (rtld-compile-command.s, rtld-compile-command.c): New variables.
37535         ($(objpfx)rtld-%.os rules): Use them.
37537 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37539         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
37540         fields.
37542 2013-06-17  Roland McGrath  <roland@hack.frob.com>
37544         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
37545         length of target pattern, then descending length of dependency pattern.
37546         * configure.in (AWK): Require gawk 3.1.2 or newer.
37547         * manual/install.texi (Tools for Compilation): Say that we do.
37548         * configure: Regenerated.
37550         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
37551         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
37552         * scripts/sysd-rules.awk: ... this new script.
37553         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
37554         than a glob-style pattern.
37556 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
37558         * math/test-misc.c (main): Do not treat incorrectly rounded
37559         conversions as failure unless ROUNDING_TESTS passes.
37561 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
37563         [BZ #15631]
37564         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
37565         restore exception state around main square root computation, then
37566         check for inexactness explicitly.
37568         * math/libm-test.inc (fma_test_data): Add another test.
37570 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37572         * manual/threads.texi (Non-POSIX Extensions): New document
37573         node.  Document pthread_getattr_default_np and
37574         pthread_setattr_default_np.
37576         * Versions.def (libpthread): Add GLIBC_2.18.
37577         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
37578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37579         Likewise.
37580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37581         Likewise.
37582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37583         Likewise.
37584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37585         Likewise.
37586         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
37587         Likewise.
37588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37589         Likewise.
37590         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37591         Likewise.
37592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37593         Likewise.
37594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37595         Likewise.
37597 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37599         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37600         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
37602 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37603             H.J. Lu  <hjl.tools@gmail.com>
37605         [BZ #15627]
37606         * sysdeps/x86_64/rtld-memset.c: Remove file.
37607         * sysdeps/x86_64/rtld-memset.S: New file.
37609 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
37611         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
37612         (test_in_one_mode): Take arguments for whether the rounding mode
37613         is supported for each floating-point type.
37614         (do_test): Pass new arguments to test_in_one_mode using
37615         ROUNDING_TESTS.
37617 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37619         * posix/tst-waitid.c (do_test): Distinguish different instances of
37620         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
37621         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
37622         before entering the kernel for waitpid.
37624 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37626         * NEWS: Fix note on clock function precision.  Text by Roland
37627         McGrath.
37629 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37631         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
37632         it into place only when and if the sanity check passes.
37634 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
37636         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
37637         output for whether conversion result is exact.  Take argument
37638         indicating whether type is IBM long double.
37639         (round_for_all): Change need_exact field to ibm_ld.
37640         * stdlib/tst-strtod-round.c (struct exactness): New type.
37641         (struct test): Change bool ld_ok field to struct exactness exact.
37642         (TEST): Update all definitions for change to field.
37643         (tests): Regenerate array contents.
37644         (test_in_one_mode): Take pointer to new field instead of old ld_ok
37645         field value.  Check for IBM long double here.
37646         (do_test): Update calls to test_in_one_mode.
37648 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37650         [BZ #12515]
37651         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
37652         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
37654 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37656         [BZ #15605]
37657         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
37658         generated by the compiler on loop optimizations.
37659         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
37660         general definitions.
37662 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
37664         * math/bug-nextafter.c: Include <math-tests.h>.
37665         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37666         the relevant type.
37667         * math/bug-nexttoward.c: Include <math-tests.h>.
37668         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37669         the relevant type.
37670         * math/test-misc.c: Include <math-tests.h>.
37671         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37672         the relevant type.
37674 2013-06-12  Andreas Jaeger  <aj@suse.de>
37676         * po/ia.po: Update Interlingua translation from translation
37677         project.
37679 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37681         * include/fenv.h: Include stdbool.h.
37682         (struct rm_ctx): New structure.
37683         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
37684         Define macro.
37685         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
37686         (SET_RESTORE_ROUNDF): Likewise.
37687         (SET_RESTORE_ROUNDL): Likewise.
37688         (SET_RESTORE_ROUND_NOEX): Likewise.
37689         (SET_RESTORE_ROUND_NOEXF): Likewise.
37690         (SET_RESTORE_ROUND_NOEXL): Likewise.
37691         (SET_RESTORE_ROUND_53BIT): Likewise.
37692         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
37693         (libc_feresetround_noexf_ctx): Likewise.
37694         (libc_feresetround_noexl_ctx): Likewise.
37695         (libc_feholdsetround_53bit_ctx): Likewise.
37696         (libc_feresetround_53bit_ctx): Likewise.
37697         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
37698         (libc_feholdexcept_setround_sse_ctx): New function.
37699         (libc_fesetenv_sse_ctx): Likewise.
37700         (libc_feupdateenv_sse_ctx): Likewise.
37701         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
37702         (libc_feholdexcept_setround_387_ctx): Likewise.
37703         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
37704         (libc_feholdsetround_387_prec_ctx): Likewise.
37705         (libc_feholdsetround_387_ctx): Likewise.
37706         (libc_feholdsetround_387_53bit_ctx): Likewise.
37707         (libc_feholdsetround_sse_ctx): Likewise.
37708         (libc_feresetround_sse_ctx): Likewise.
37709         (libc_feresetround_387_ctx): Likewise.
37710         (libc_feupdateenv_387_ctx): Likewise.
37711         (libc_feholdexcept_setroundf_ctx): Define macro.
37712         (libc_fesetenvf_ctx): Likewise.
37713         (libc_feupdateenvf_ctx): Likewise.
37714         (libc_feholdsetroundf_ctx): Likewise.
37715         (libc_feresetroundf_ctx): Likewise.
37716         (libc_feholdexcept_setround_ctx): Likewise.
37717         (libc_fesetenv_ctx): Likewise.
37718         (libc_feupdateenv_ctx): Likewise.
37719         (libc_feholdsetround_ctx): Likewise.
37720         (libc_feresetround_ctx): Likewise.
37721         (libc_feholdexcept_setroundl_ctx): Likewise.
37722         (libc_feupdateenvl_ctx): Likewise.
37723         (libc_feholdsetroundl_ctx): Likewise.
37724         (libc_feresetroundl_ctx): Likewise.
37725         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
37726         (libc_feresetround_53bit_ctx): Likewise.
37728 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37730         * locale/iso-639.def: Convert to UTF-8.
37732 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
37734         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
37735         (EXCEPTION_TESTS_double): Likewise.
37736         (EXCEPTION_TESTS_long_double): Likewise.
37737         (EXCEPTION_TESTS): Likewise.
37738         * math/libm-test.inc (test_exceptions): Only test exceptions if
37739         EXCEPTION_TESTS (FLOAT).
37741 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37743         * benchtests/Makefile (string-bench): Add strcpy_chk and
37744         stpcpy_chk.
37745         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
37746         * benchtests/bench-stpcpy_chk.c: New file.
37747         * benchtests/bench-strcpy_chk-ifunc.c: New file.
37748         * benchtests/bench-strcpy_chk.c: New file.
37749         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
37750         code.
37751         (do_test): Likewise.
37753 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37755         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
37756         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
37757         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
37758         with tabs where appropriate.
37759         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
37760         dl-procinfo.h.
37761         [PPC_PLATFORM_PPC440]: Likewise.
37762         [PPC_PLATFORM_PPC464]: Likewise.
37763         [PPC_PLATFORM_PPC476]: Likewise.
37764         (_dl_string_platform): Add support for detecting ppc405, ppc440,
37765         ppc464, and ppc476 platform strings merging from ports/
37766         dl-procinfo.h.
37768 2013-06-11  Andreas Schwab  <schwab@suse.de>
37770         [BZ #14991]
37771         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
37772         (from_ucs4_idx): Regenerate.
37773         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
37774         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
37775         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
37776         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
37777         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
37778         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
37779         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
37780         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
37781         from FROM_LOOP and TO_LOOP specific macros.
37782         (BODY): Handle combining characters.
37783         * iconvdata/BIG5HKSCS.irreversible: Update.
37784         * iconvdata/BIG5HKSCS.precomposed: New file.
37785         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
37786         characters.
37787         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
37789 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37791         * include/sys/time.h: Fix indentation and add copyright header.
37793         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
37794         (do_test): Likewise.
37795         * string/test-memchr.c (do_one_test): Likewise.
37796         (do_test): Likewise.
37797         * string/test-memcmp.c (do_one_test): Likewise.
37798         (do_test): Likewise.
37799         * string/test-memcpy.c (do_one_test): Likewise.
37800         (do_test): Likewise.
37801         * string/test-memmem.c (do_one_test): Likewise.
37802         (do_test): Likewise.
37803         (do_random_tests): Likewise.
37804         * string/test-memmove.c (do_one_test): Likewise.
37805         (do_test): Likewise.
37806         * string/test-memset.c (do_one_test): Likewise.
37807         (do_test): Likewise.
37808         * string/test-rawmemchr.c (do_one_test): Likewise.
37809         (do_test): Likewise.
37810         * string/test-strcasecmp.c (do_one_test): Likewise.
37811         (do_test): Likewise.
37812         * string/test-strcasestr.c (do_one_test): Likewise.
37813         (do_test): Likewise.
37814         * string/test-strcat.c (do_one_test): Likewise.
37815         (do_test): Likewise.
37816         * string/test-strchr.c (do_one_test): Likewise.
37817         (do_test): Likewise.
37818         * string/test-strcmp.c (do_one_test): Likewise.
37819         (do_test): Likewise.
37820         * string/test-strcpy.c (do_one_test): Likewise.
37821         (do_test): Likewise.
37822         * string/test-string.h: Likewise.
37823         (test_init): Likewise.
37824         * string/test-strlen.c (do_one_test): Likewise.
37825         (do_test): Likewise.
37826         * string/test-strncasecmp.c (do_one_test): Likewise.
37827         (do_test): Likewise.
37828         * string/test-strncat.c (do_one_test): Likewise.
37829         (do_test): Likewise.
37830         * string/test-strncmp.c (do_one_test): Likewise.
37831         (do_test_limit): Likewise.
37832         (do_test): Likewise.
37833         * string/test-strncpy.c (do_one_test): Likewise.
37834         (do_test): Likewise.
37835         * string/test-strnlen.c (do_one_test): Likewise.
37836         (do_test): Likewise.
37837         * string/test-strpbrk.c (do_one_test): Likewise.
37838         (do_test): Likewise.
37839         * string/test-strrchr.c (do_one_test): Likewise.
37840         (do_test): Likewise.
37841         * string/test-strspn.c (do_one_test): Likewise.
37842         (do_test): Likewise.
37843         * string/test-strstr.c (do_one_test): Likewise.
37844         (do_test): Likewise.
37846         * benchtests/Makefile (string-bench): Add string benchmarks.
37847         * benchtests/bench-bcopy-ifunc.c: New file.
37848         * benchtests/bench-bcopy.c: New file.
37849         * benchtests/bench-bzero-ifunc.c: New file.
37850         * benchtests/bench-bzero.c: New file.
37851         * benchtests/bench-memccpy-ifunc.c: New file.
37852         * benchtests/bench-memccpy.c: New file.
37853         * benchtests/bench-memchr-ifunc.c: New file.
37854         * benchtests/bench-memchr.c: New file.
37855         * benchtests/bench-memcmp-ifunc.c: New file.
37856         * benchtests/bench-memcmp.c: New file.
37857         * benchtests/bench-memmem-ifunc.c: New file.
37858         * benchtests/bench-memmem.c: New file.
37859         * benchtests/bench-memmove-ifunc.c: New file.
37860         * benchtests/bench-memmove.c: New file.
37861         * benchtests/bench-mempcpy-ifunc.c: New file.
37862         * benchtests/bench-mempcpy.c: New file.
37863         * benchtests/bench-memset-ifunc.c: New file.
37864         * benchtests/bench-memset.c: New file.
37865         * benchtests/bench-rawmemchr-ifunc.c: New file.
37866         * benchtests/bench-rawmemchr.c: New file.
37867         * benchtests/bench-stpcpy-ifunc.c: New file.
37868         * benchtests/bench-stpcpy.c: New file.
37869         * benchtests/bench-stpncpy-ifunc.c: New file.
37870         * benchtests/bench-stpncpy.c: New file.
37871         * benchtests/bench-strcasecmp-ifunc.c: New file.
37872         * benchtests/bench-strcasecmp.c: New file.
37873         * benchtests/bench-strcasestr-ifunc.c: New file.
37874         * benchtests/bench-strcasestr.c: New file.
37875         * benchtests/bench-strcat-ifunc.c: New file.
37876         * benchtests/bench-strcat.c: New file.
37877         * benchtests/bench-strchr-ifunc.c: New file.
37878         * benchtests/bench-strchr.c: New file.
37879         * benchtests/bench-strchrnul-ifunc.c: New file.
37880         * benchtests/bench-strchrnul.c: New file.
37881         * benchtests/bench-strcmp-ifunc.c: New file.
37882         * benchtests/bench-strcmp.c: New file.
37883         * benchtests/bench-strcpy-ifunc.c: New file.
37884         * benchtests/bench-strcpy.c: New file.
37885         * benchtests/bench-strcspn-ifunc.c: New file.
37886         * benchtests/bench-strcspn.c: New file.
37887         * benchtests/bench-strlen-ifunc.c: New file.
37888         * benchtests/bench-strlen.c: New file.
37889         * benchtests/bench-strncasecmp-ifunc.c: New file.
37890         * benchtests/bench-strncasecmp.c: New file.
37891         * benchtests/bench-strncat-ifunc.c: New file.
37892         * benchtests/bench-strncat.c: New file.
37893         * benchtests/bench-strncmp-ifunc.c: New file.
37894         * benchtests/bench-strncmp.c: New file.
37895         * benchtests/bench-strncpy-ifunc.c: New file.
37896         * benchtests/bench-strncpy.c: New file.
37897         * benchtests/bench-strnlen-ifunc.c: New file.
37898         * benchtests/bench-strnlen.c: New file.
37899         * benchtests/bench-strpbrk-ifunc.c: New file.
37900         * benchtests/bench-strpbrk.c: New file.
37901         * benchtests/bench-strrchr-ifunc.c: New file.
37902         * benchtests/bench-strrchr.c: New file.
37903         * benchtests/bench-strspn-ifunc.c: New file.
37904         * benchtests/bench-strspn.c: New file.
37905         * benchtests/bench-strstr-ifunc.c: New file.
37906         * benchtests/bench-strstr.c: New file.
37908         * benchtests/Makefile: Disable parallel execution of targets.
37909         (string-bench): Add memcpy.
37910         (benchset): New variable to store a list of benchmark sets.
37911         (bench-func): Renamed from bench.
37912         (bench-set): New target.
37913         (bench): Depend on bench-func and bench-set.
37914         * benchtests/README: Add section on benchmark sets.
37915         * benchtests/bench-memcpy-ifunc.c: New file.
37916         * benchtests/bench-memcpy.c: New file.
37917         * benchtests/bench-string.h: New file.
37919 2013-06-11  Andreas Schwab  <schwab@suse.de>
37921         [BZ #15577]
37922         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
37923         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
37924         values in the triple.
37925         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
37926         terminator in the group key.
37928 2013-06-11  Andreas Jaeger  <aj@suse.de>
37930         * po/zh_TW.po: Update Chinese (traditional) translation from
37931         translation project.
37933 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37935         * include/time.h (__clock_gettime): Add libc_hidden_proto.
37936         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
37937         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
37938         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37939         (clock_getcpuclockid): Likewise.
37940         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
37941         Add weak_alias and libc_hidden_def.
37942         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
37943         * rt/clock_gettime.c (clock_gettime): Rename to
37944         __clock_gettime.  Add weak_alias and libc_hidden_def.
37945         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
37946         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
37947         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
37948         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
37949         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
37950         Likewise.
37951         * rt/clock_settime.c (clock_settime): Rename to
37952         __clock_settime.  Add weak_alias and libc_hidden_def.
37953         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
37955 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
37957         * mach/err_boot.sub: Remove trailing whitespace.
37958         * mach/err_ipc.sub: Likewise.
37959         * mach/err_mach.sub: Likewise.
37961         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
37962         (ROUNDING_TESTS_double): Likewise.
37963         (ROUNDING_TESTS_long_double): Likewise.
37964         (ROUNDING_TESTS): Likewise.
37965         * math/libm-test.inc: Include <math-tests.h>.
37966         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
37967         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37968         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37969         (IF_ROUND_INIT_FE_UPWARD): Likewise.
37971 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37973         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
37974         of assigning.
37976 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
37978         * sysdeps/gnu/errlist.awk: Do not generate space at end of
37979         otherwise empty TRANS lines.
37980         * sysdeps/gnu/errlist.c: Regenerated.
37982         * catgets/gencat.c (error_print): Use (void) in function
37983         definition.
37984         * crypt/crypt_util.c (__init_des): Likewise.
37985         * crypt/speeds.c (Stop): Likewise.
37986         (main): Likewise.
37987         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
37988         * inet/ruserpass.c (token): Likewise.
37989         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
37990         * intl/localealias.c (extend_alias_table): Likewise.
37991         * intl/plural-exp.c (init_germanic_plural): Likewise.
37992         * libio/fcloseall.c (__fcloseall): Likewise.
37993         * libio/genops.c (_IO_flush_all): Likewise.
37994         (_IO_flush_all_linebuffered): Likewise.
37995         (_IO_cleanup): Likewise.
37996         (_IO_iter_begin): Likewise.
37997         (_IO_iter_end): Likewise.
37998         (_IO_list_lock): Likewise.
37999         (_IO_list_unlock): Likewise.
38000         (_IO_list_resetlock): Likewise.
38001         * libio/getchar.c (getchar): Likewise.
38002         * libio/getchar_u.c (getchar_unlocked): Likewise.
38003         * libio/getwchar.c (getwchar): Likewise.
38004         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
38005         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
38006         * login/getpt.c (__getpt): Likewise.
38007         * login/tst-utmp.c (main): Likewise.
38008         * malloc/hooks.c (__malloc_check_init): Likewise.
38009         * malloc/malloc.c (__malloc_stats): Likewise.
38010         * malloc/mtrace.c (tr_break): Likewise.
38011         (mtrace): Likewise.
38012         (muntrace): Likewise.
38013         * misc/fstab.c (endfsent): Likewise.
38014         * misc/getclktck.c (__getclktck): Likewise.
38015         * misc/getdtsz.c (__getdtablesize): Likewise.
38016         * misc/gethostid.c (gethostid): Likewise.
38017         * misc/getpagesize.c (__getpagesize): Likewise.
38018         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
38019         (__get_nprocs): Likewise.
38020         (__get_phys_pages): Likewise.
38021         (__get_avphys_pages): Likewise.
38022         * misc/getttyent.c (getttyent): Likewise.
38023         (setttyent): Likewise.
38024         (endttyent): Likewise.
38025         * misc/getusershell.c (getusershell): Likewise.
38026         (endusershell): Likewise.
38027         (setusershell): Likewise.
38028         (initshells): Likewise.
38029         * misc/hsearch.c (__hdestroy): Likewise.
38030         * misc/sync.c (sync): Likewise.
38031         * misc/syslog.c (closelog_internal): Likewise.
38032         (closelog): Likewise.
38033         * misc/ttyslot.c (ttyslot): Likewise.
38034         * misc/vhangup.c (vhangup): Likewise.
38035         * posix/fork.c (__fork): Likewise.
38036         * posix/getegid.c (__getegid): Likewise.
38037         * posix/geteuid.c (__geteuid): Likewise.
38038         * posix/getgid.c (__getgid): Likewise.
38039         * posix/getpid.c (__getpid): Likewise.
38040         * posix/getppid.c (__getppid): Likewise.
38041         * posix/getuid.c (__getuid): Likewise.
38042         * posix/pause.c (pause): Likewise.
38043         * posix/setpgrp.c (setpgrp): Likewise.
38044         * posix/setsid.c (__setsid): Likewise.
38045         * posix/test-vfork.c (noop): Likewise.
38046         * resolv/gethnamaddr.c (_endhtent): Likewise.
38047         (_gethtent): Likewise.
38048         (ht_endhostent): Likewise.
38049         (gethostent): Likewise.
38050         (dns_service): Likewise.
38051         * stdlib/drand48.c (drand48): Likewise.
38052         * stdlib/lrand48.c (lrand48): Likewise.
38053         * stdlib/mrand48.c (mrand48): Likewise.
38054         * stdlib/rand.c (rand): Likewise.
38055         * stdlib/random.c (__random): Likewise.
38056         * stdlib/setenv.c (clearenv): Likewise.
38057         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
38058         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
38059         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
38060         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
38061         (__get_nprocs): Likewise.
38062         (__get_phys_pages): Likewise.
38063         (__get_avphys_pages): Likewise.
38064         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
38065         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
38066         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
38067         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
38068         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
38069         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
38070         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
38071         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
38072         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
38073         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
38074         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
38075         * sysdeps/mach/hurd/sync.c (sync): Likewise.
38076         * sysdeps/posix/clock.c (clock): Likewise.
38077         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
38078         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
38079         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
38080         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
38081         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
38082         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
38083         (__get_nprocs_conf): Likewise.
38084         (__get_phys_pages): Likewise.
38085         (__get_avphys_pages): Likewise.
38086         * time/clock.c (clock): Likewise.
38087         * time/tzset.c (__tzname_max): Likewise.
38089 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
38091         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
38092         (__bswap_32): Do not use "register".
38093         * crypt/crypt.c (_ufc_doit_r): Likewise.
38094         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38095         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38096         * gmon/gmon.c (__monstartup): Likewise.
38097         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
38098         * hurd/hurdmalloc.c (more_memory): Likewise.
38099         (malloc): Likewise.
38100         (free): Likewise.
38101         (realloc): Likewise.
38102         (malloc_fork_prepare): Likewise.
38103         (malloc_fork_parent): Likewise.
38104         (malloc_fork_child): Likewise.
38105         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
38106         (_svcauth_des): Likewise.
38107         * inet/inet_lnaof.c (inet_lnaof): Likewise.
38108         * inet/inet_net.c (inet_network): Likewise.
38109         * inet/inet_netof.c (inet_netof): Likewise.
38110         * inet/rcmd.c (__validuser2_sa): Likewise.
38111         * io/fts.c (fts_open): Likewise.
38112         (fts_load): Likewise.
38113         (fts_close): Likewise.
38114         (fts_read): Likewise.
38115         (fts_children): Likewise.
38116         (fts_build): Likewise.
38117         (fts_stat): Likewise.
38118         (fts_sort): Likewise.
38119         (fts_alloc): Likewise.
38120         (fts_lfree): Likewise.
38121         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
38122         (_IO_file_xsgetn): Likewise.
38123         (_IO_file_xsgetn_mmap): Likewise.
38124         * libio/iofopncook.c (_IO_cookie_read): Likewise.
38125         (_IO_cookie_write): Likewise.
38126         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
38127         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
38128         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
38129         * malloc/obstack.c (_obstack_begin): Likewise.
38130         (_obstack_begin_1): Likewise.
38131         (_obstack_newchunk): Likewise.
38132         (_obstack_allocated_p): Likewise.
38133         (obstack_free): Likewise.
38134         (_obstack_memory_used): Likewise.
38135         * misc/getttyent.c (getttynam): Likewise.
38136         (getttyent): Likewise.
38137         (skip): Likewise.
38138         (value): Likewise.
38139         * misc/getusershell.c (initshells): Likewise.
38140         * misc/syslog.c (__vsyslog_chk): Likewise.
38141         * misc/ttyslot.c (ttyslot): Likewise.
38142         * nis/nis_hash.c (__nis_hash): Likewise.
38143         * posix/fnmatch_loop.c (FCT): Likewise.
38144         * posix/getconf.c (print_all): Likewise.
38145         (main): Likewise.
38146         * posix/getopt.c (exchange): Likewise.
38147         * posix/glob.c (globfree): Likewise.
38148         (prefix_array): Likewise.
38149         (__glob_pattern_type): Likewise.
38150         * resolv/arpa/nameser.h (NS_GET16): Likewise.
38151         (NS_GET32): Likewise.
38152         (NS_PUT16): Likewise.
38153         (NS_PUT32): Likewise.
38154         * resolv/gethnamaddr.c (getanswer): Likewise.
38155         (gethostbyname2): Likewise.
38156         (gethostbyaddr): Likewise.
38157         (_gethtent): Likewise.
38158         (_gethtbyname2): Likewise.
38159         (_gethtbyaddr): Likewise.
38160         * resolv/ns_print.c (dst_s_get_int16): Likewise.
38161         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
38162         * resolv/res_init.c (__res_vinit): Likewise.
38163         (net_mask): Likewise.
38164         * resolv/res_mkquery.c (outchar): Likewise.
38165         (PRINT): Likewise.
38166         * stdio-common/printf_fp.c (outchar): Likewise.
38167         (PRINT): Likewise.
38168         * stdio-common/printf_fphex.c (outchar): Likewise.
38169         (PRINT): Likewise.
38170         * stdio-common/printf_size.c (outchar): Likewise.
38171         (PRINT): Likewise.
38172         * stdio-common/test_rdwr.c (main): Likewise.
38173         * stdio-common/tfformat.c (matches): Likewise.
38174         * stdio-common/vfprintf.c (outchar): Likewise.
38175         (printf_unknown): Likewise.
38176         (buffered_vfprintf): Likewise.
38177         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38178         * stdio-common/xbug.c (AppendToBuffer): Likewise.
38179         (ReadFile): Likewise.
38180         * stdlib/qsort.c (SWAP): Likewise.
38181         (_quicksort): Likewise.
38182         * stdlib/setenv.c (__add_to_environ): Likewise.
38183         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38184         * stdlib/strtol_l.c (__strtol_l): Likewise.
38185         * stdlib/tst-strtod.c (main): Likewise.
38186         * stdlib/tst-strtol.c (main): Likewise.
38187         * stdlib/tst-strtoll.c (main): Likewise.
38188         * string/bits/string2.h (__strcmp_cc): Likewise.
38189         (__strcmp_cg): Likewise.
38190         (__strcspn_c1): Likewise.
38191         (__strcspn_c2): Likewise.
38192         (__strcspn_c3): Likewise.
38193         (__strspn_c1): Likewise.
38194         (__strspn_c2): Likewise.
38195         (__strspn_c3): Likewise.
38196         (__strsep_1c): Likewise.
38197         (__strsep_2c): Likewise.
38198         (__strsep_3c): Likewise.
38199         * string/memccpy.c (__memccpy): Likewise.
38200         * string/stpcpy.c (__stpcpy): Likewise.
38201         * string/strcmp.c (strcmp): Likewise.
38202         * string/strrchr.c (strrchr): Likewise.
38203         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
38204         Likewise.
38205         * sysdeps/mach/hurd/getcwd.c
38206         (_hurd_canonicalize_directory_name_internal): Likewise.
38207         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
38208         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
38209         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
38210         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
38211         Likewise, in both definitions.
38212         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
38213         definitions.
38214         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
38215         64] (__bswap_64): Likewise.
38216         * time/test_time.c (main): Likewise.
38217         * time/tzfile.c (__tzfile_read): Likewise.
38218         (__tzfile_compute): Likewise.
38219         * time/tzset.c (__tzset_parse_tz): Likewise.
38220         (tzset_internal): Likewise.
38221         (compute_change): Likewise.
38222         * wcsmbs/wcscat.c (__wcscat): Likewise.
38223         * wcsmbs/wcschr.c (wcschr): Likewise.
38224         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
38225         * wcsmbs/wcscspn.c (wcscspn): Likewise.
38226         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
38227         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
38228         * wcsmbs/wcsspn.c (wcsspn): Likewise.
38229         * wcsmbs/wcsstr.c (wcsstr): Likewise.
38230         * wcsmbs/wmemchr.c (wmemchr): Likewise.
38231         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38232         * wcsmbs/wmemset.c (wmemset): Likewise.
38234 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
38236         * scripts/config.guess: Update to version 2013-05-16.
38237         * scripts/config.sub: Update to version 2013-04-24.
38238         * scripts/install-sh: Update to version 2011-11-20.07.
38239         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
38240         * scripts/move-if-change: Update to version 2012-01-06 07:23.
38242 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
38244         * debug/fgetws_u_chk.c: Fix leading whitespaces.
38245         * elf/sln.c: Likewise.
38246         * hurd/hurd/ioctl.h: Likewise.
38247         * hurd/hurdmalloc.c: Likewise.
38248         * hurd/xattr.c: Likewise.
38249         * include/shlib-compat.h: Likewise.
38250         * inet/ruserpass.c: Likewise.
38251         * libio/iofgets_u.c: Likewise.
38252         * libio/iofgetws_u.c: Likewise.
38253         * locale/programs/ld-identification.c: Likewise.
38254         * locale/programs/ld-time.c: Likewise.
38255         * mach/msg-destroy.c: Likewise.
38256         * nss/nss_files/files-netgrp.c: Likewise.
38257         * resolv/res_data.c: Likewise.
38258         * soft-fp/op-1.h: Likewise.
38259         * soft-fp/op-2.h: Likewise.
38260         * soft-fp/op-4.h: Likewise.
38261         * soft-fp/op-common.h: Likewise.
38262         * stdio-common/printf_fphex.c: Likewise.
38263         * stdlib/strtod_l.c: Likewise.
38264         * sunrpc/rpc/clnt.h: Likewise.
38265         * sysdeps/generic/framestate.c: Likewise.
38266         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38267         * sysdeps/i386/bsd-setjmp.S: Likewise.
38268         * sysdeps/i386/__longjmp.S: Likewise.
38269         * sysdeps/i386/setjmp.S: Likewise.
38270         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38271         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38272         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38273         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38274         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38275         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38276         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38277         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38278         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38279         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38280         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38281         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38282         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38283         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38284         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38285         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38286         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38287         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
38288         * sysdeps/ieee754/support.c: Likewise.
38289         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38290         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
38291         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
38292         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
38293         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
38294         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
38295         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
38296         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
38297         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
38298         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
38299         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
38300         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
38301         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
38302         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
38303         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
38304         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
38305         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38308 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
38310         * posix/transbug.c: Remove executable mode.
38312 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
38314         * crypt/speeds.c: Remove trailing whitespace.
38315         * dlfcn/default.c: Likewise.
38316         * elf/ifuncdep2.c: Likewise.
38317         * elf/ifuncmain1.c: Likewise.
38318         * elf/ifuncmain1vis.c: Likewise.
38319         * elf/testobj.h: Likewise.
38320         * elf/tst-stackguard1.c: Likewise.
38321         * gmon/sys/gmon.h: Likewise.
38322         * hurd/hurdmsg.c: Likewise.
38323         * hurd/new-fd.c: Likewise.
38324         * hurd/ports-get.c: Likewise.
38325         * iconvdata/ibm1008_420.c: Likewise.
38326         * inet/tst-getni1.c: Likewise.
38327         * inet/tst-getni2.c: Likewise.
38328         * libio/ioungetc.c: Likewise.
38329         * libio/wfiledoalloc.c: Likewise.
38330         * manual/libm-err-tab.pl: Likewise.
38331         * math/w_dremf.c: Likewise.
38332         * misc/ftruncate.c: Likewise.
38333         * posix/bug-glob2.c: Likewise.
38334         * posix/tst-pcre.c: Likewise.
38335         * posix/wait4.c: Likewise.
38336         * resolv/README: Likewise.
38337         * resolv/res_debug.h: Likewise.
38338         * resolv/tst-inet_ntop.c: Likewise.
38339         * setjmp/bug269-setjmp.c: Likewise.
38340         * soft-fp/extended.h: Likewise.
38341         * soft-fp/op-1.h: Likewise.
38342         * soft-fp/op-2.h: Likewise.
38343         * soft-fp/op-4.h: Likewise.
38344         * soft-fp/op-8.h: Likewise.
38345         * soft-fp/testit.c: Likewise.
38346         * stdio-common/bug16.c: Likewise.
38347         * stdlib/random.c: Likewise.
38348         * sunrpc/rpcsvc/rquota.x: Likewise.
38349         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
38350         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38351         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38352         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38353         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38354         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38355         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38356         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38357         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38358         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38359         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38360         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38361         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38362         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38363         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38364         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38365         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38366         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38367         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38368         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38369         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38370         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38371         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
38372         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38373         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38374         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38375         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38376         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38377         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38378         * sysdeps/ieee754/s_lib_version.c: Likewise.
38379         * sysdeps/mach/hurd/check_fds.c: Likewise.
38380         * sysdeps/mach/hurd/getsockname.c: Likewise.
38381         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
38382         * sysdeps/mach/hurd/recvfrom.c: Likewise.
38383         * sysdeps/powerpc/bits/link.h: Likewise.
38384         * sysdeps/powerpc/dl-procinfo.c: Likewise.
38385         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
38386         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
38387         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
38388         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38389         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38390         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
38391         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38392         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
38393         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38394         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
38395         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38396         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
38397         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38398         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38399         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38400         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38401         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38402         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38403         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38404         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38405         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
38406         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38407         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38408         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
38409         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38410         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38411         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38412         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38413         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38414         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38415         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38416         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38417         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38418         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
38419         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38420         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
38421         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38422         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
38423         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
38424         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
38425         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
38426         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
38427         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
38428         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38429         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
38430         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
38431         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38432         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
38433         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
38434         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38435         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38436         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38437         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38438         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
38439         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
38440         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
38441         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38442         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
38443         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
38444         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
38445         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
38446         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
38447         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38448         * sysdeps/powerpc/sysdep.h: Likewise.
38449         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38450         * sysdeps/s390/s390-64/sub_n.S: Likewise.
38451         * sysdeps/sh/dl-trampoline.S: Likewise.
38452         * sysdeps/sh/memset.S: Likewise.
38453         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
38454         * sysdeps/sh/strlen.S: Likewise.
38455         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
38456         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
38457         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
38458         * sysdeps/sparc/sparc32/rem.S: Likewise.
38459         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
38460         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
38461         * sysdeps/sparc/sparc32/strchr.S: Likewise.
38462         * sysdeps/sparc/sparc32/udiv.S: Likewise.
38463         * sysdeps/sparc/sparc32/urem.S: Likewise.
38464         * sysdeps/sparc/sparc64/add_n.S: Likewise.
38465         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38466         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
38467         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
38468         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
38469         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
38470         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38471         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
38472         * sysdeps/unix/bsd/times.c: Likewise.
38473         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
38474         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
38475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38478         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
38479         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38480         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
38481         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
38482         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
38483         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
38484         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38485         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
38486         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38487         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38488         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
38489         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38490         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
38491         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
38492         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
38493         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
38494         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
38495         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38496         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
38497         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
38498         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
38499         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
38500         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38501         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
38502         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
38503         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
38504         * sysdeps/x86_64/strcspn.S: Likewise.
38506 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38508         * locale/C-translit.h: Revert #include <stdint.h> because this is a
38509         generated file.  Regenerate properly from gen-translit.pl.
38510         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
38511         locale/C-translit.h.
38513 2013-06-05  Andreas Schwab  <schwab@suse.de>
38515         [BZ #15100]
38516         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
38517         week as 6 instead of -1.
38518         * time/tst-strptime.c (day_tests): Add test case.
38520 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38522         * sysdeps/generic/math_private.h
38523         (libc_feholdexcept_setround_53bit): Replace with
38524         libc_feholdsetround_53bit.
38525         (libc_feupdateenv_53bit): Replace with
38526         libc_feresetround_53bit.
38527         (SET_RESTORE_ROUND_53BIT): Adjust.
38529 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38531         * string/test-strchrnul.c: Add copyright header.
38533         * posix/tst-getaddrinfo4.c: Increase test timeout.
38535 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
38537         [BZ #15536]
38538         * math/libm-test.inc (MAX_EXP): Remove
38539         (MIN_EXP): Define.
38540         (ulp): Use MIN_EXP - MANT_DIG.
38541         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
38543 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
38545         * po/be.po: Revert last change.
38546         * po/zh_CN.po: Likewise.
38547         * po/header.pot: Likewise.
38549 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
38551         * Makefile ($(common-objpfx)linkobj/libc.so): Define
38552         link-libc-deps to empty as target-specific variable.
38553         * Makerules (link-libc-args): New variable.
38554         (libc-for-link): Likewise.
38555         (link-libc-deps): Likewise.
38556         (lib%.so): Depend on $(link-libc-deps).  Link with
38557         $(link-libc-args).
38558         (build-module): Link with $(link-libc-args).
38559         (build-module-asneeded): Likewise.
38560         (build-module-helper-objlist): Filter out $(link-libc-deps) from
38561         list of objects.
38562         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
38563         target-specific variable.
38564         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
38565         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
38566         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
38567         libc.
38568         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
38569         libc and ld.so.
38570         ($(objpfx)libpcprofile.so): Likewise.
38571         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
38572         libc_nonshared.a.
38573         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
38574         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
38575         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
38576         $(link-libc-deps).
38577         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
38578         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
38579         * login/Makefile ($(objpfx)libutil.so): Likewise.
38580         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
38581         * math/Makefile ($(objpfx)libm.so): Likewise.
38582         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
38583         $(objpfx)libnsl.so): Define libc-for-link as target-specific
38584         variable instead of depending directly on libc.
38585         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
38586         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
38587         $(link-libc-deps).
38588         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
38589         libc.
38590         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
38591         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
38592         ($(objpfx)libanl.so): Likewise.
38593         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
38594         ld.so.
38595         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
38596         $(link-libc-deps).
38597         * sysdeps/i386/fpu/Makefile: Remove file.
38598         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
38599         ($(objpfx)libm.so): Remove dependency on ld.so.
38601 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
38603         [BZ # 15553]
38604         * nis/yp_xdr.c (XDRMAXNAME): Define.
38605         (XDRMAXRECORD): Define.
38606         (xdr_domainname): Use XDRMAXNAME.
38607         (xdr_mapname): Likewise.
38608         (xdr_peername): Likewise.
38609         (xdr_keydat): Use XDRMAXRECORD.
38610         (xdr_valdat): Likewise.
38612 2013-05-30  Jeff Law  <law@redhat.com>
38614         [BZ #14256]
38615         * manual/errno.texi (ESTALE): Update to account for more than
38616         just NFS file systems.
38617         * sysdeps/gnu/errlist.c: Regenerated.
38619 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38621         [BZ #15465]
38622         * elf/Makefile (tests): Add tst-null-argv.
38623         (modules-names):  Add tst-null-argv-lib.
38624         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
38625         (tst-null-argv-ENV): Set environment for tst-null-argv.
38626         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
38627         (RTLD_PROGNAME): New macro.
38628         * elf/tst-null-argv.c: New test case.
38629         * elf/tst-null-argv-lib.c: Library for test case.
38630         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
38631         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
38632         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
38633         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
38634         * elf/dl-init.c (call_init): Likewise.
38635         (_dl_init): Likewise.
38636         * elf/dl-load.c (print_search_path): Likewise.
38637         (_dl_map_object): Likewise.
38638         * elf/dl-lookup.c (do_lookup_x): Likewise.
38639         (add_dependency): Likewise.
38640         (_dl_lookup_symbol_x): Likewise.
38641         (_dl_debug_bindings): Likewise.
38642         * elf/dl-open.c (_dl_show_scope): Likewise.
38643         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38644         * elf/dl-version.c (match_symbol): Likewise.
38645         (_dl_check_map_versions): Likewise.
38646         * elf/rtld.c (dl_main): Likewise.
38647         (print_unresolved): Use RTLD_PROGNAME.
38648         (print_missing_version): Likewise.
38649         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
38650         (elf_machine_rela): Likewise.
38651         * sysdeps/powerpc/powerpc32/dl-machine.c
38652         (__process_machine_rela): Likewise.
38653         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38654         Likewise.
38655         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38656         Likewise.
38657         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38658         Likewise.
38659         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38660         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
38661         Likewise.
38662         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
38663         Likewise.
38664         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38666 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
38668         * po/be.po: Add descriptive title.
38669         * po/zh_CN.po: Likewise.
38670         * po/header.pot: Likewise.
38672 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
38674         * locale/programs/locarchive.c (create_archive): Inlucde fname in
38675         error message.
38676         (enlarge_archive): Likewise.
38678 2013-05-28  Ben North  <ben@redfrontdoor.org>
38680         * manual/arith.texi (frexp): It is the magnitude of the return
38681         value which lies in [0.5, 1), not the return value itself.
38683 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38687 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
38689         * stdio-common/bug26.c (main): Correct fscanf template.
38691         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
38692         declare _dl_skip_args.
38694         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
38695         Don't declare.
38697         * manual/platform.texi: Add missing @end deftypefun.
38699 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38701         [BZ #15529]
38702         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
38703         bit of mantissa of 2^16382.
38704         * math/libm-test.inc (hypot_test_data): Add more tests.
38706         * math/libm-test.inc: Add drem and pow10 to list of tested
38707         functions.
38708         (pow10_test): New function.
38709         (drem_test): Likewise.
38710         (drem_test_tonearest): Likewise.
38711         (drem_test_towardzero): Likewise.
38712         (drem_test_downward): Likewise.
38713         (drem_test_upward): Likewise.
38714         (main): Call the new functions.
38716         * math/libm-test.inc (finite_test_data): Remove.
38717         (finite_test): Run tests from isfinite_test_data.
38718         (gamma_test_data): Remove.
38719         (gamma_test): Run tests from lgamma_test_data.
38720         * sysdeps/i386/fpu/libm-test-ulps: Update.
38721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38723 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38725         * manual/platform.texi: Add PowerPC PPR function set documentation.
38726         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
38727         implementation.
38729 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
38731         * math/libm-test.inc (MAX_EXP): Define.
38732         (ULPDIFF): Define.
38733         (ulp): New function.
38734         (check_float_internal): Use ULPDIFF.
38735         (cpow_test): Disable failing test.
38736         (check_ulp): Test ulp() implemetnation.
38737         (main): Call check_ulp before starting tests.
38739 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38741         * math/gen-libm-test.pl (generate_testfile): Do not handle
38742         START_DATA and END_DATA.
38743         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
38744         END_DATA.
38745         (acos_tonearest_test_data): Likewise.
38746         (acos_towardzero_test_data): Likewise.
38747         (acos_downward_test_data): Likewise.
38748         (acos_upward_test_data): Likewise.
38749         (acosh_test_data): Likewise.
38750         (asin_test_data): Likewise.
38751         (asin_tonearest_test_data): Likewise.
38752         (asin_towardzero_test_data): Likewise.
38753         (asin_downward_test_data): Likewise.
38754         (asin_upward_test_data): Likewise.
38755         (asinh_test_data): Likewise.
38756         (atan_test_data): Likewise.
38757         (atanh_test_data): Likewise.
38758         (atan2_test_data): Likewise.
38759         (cabs_test_data): Likewise.
38760         (cacos_test_data): Likewise.
38761         (cacosh_test_data): Likewise.
38762         (carg_test_data): Likewise.
38763         (casin_test_data): Likewise.
38764         (casinh_test_data): Likewise.
38765         (catan_test_data): Likewise.
38766         (catanh_test_data): Likewise.
38767         (cbrt_test_data): Likewise.
38768         (ccos_test_data): Likewise.
38769         (ccosh_test_data): Likewise.
38770         (ceil_test_data): Likewise.
38771         (cexp_test_data): Likewise.
38772         (cimag_test_data): Likewise.
38773         (clog_test_data): Likewise.
38774         (clog10_test_data): Likewise.
38775         (conj_test_data): Likewise.
38776         (copysign_test_data): Likewise.
38777         (cos_test_data): Likewise.
38778         (cos_tonearest_test_data): Likewise.
38779         (cos_towardzero_test_data): Likewise.
38780         (cos_downward_test_data): Likewise.
38781         (cos_upward_test_data): Likewise.
38782         (cosh_test_data): Likewise.
38783         (cosh_tonearest_test_data): Likewise.
38784         (cosh_towardzero_test_data): Likewise.
38785         (cosh_downward_test_data): Likewise.
38786         (cosh_upward_test_data): Likewise.
38787         (cpow_test_data): Likewise.
38788         (cproj_test_data): Likewise.
38789         (creal_test_data): Likewise.
38790         (csin_test_data): Likewise.
38791         (csinh_test_data): Likewise.
38792         (csqrt_test_data): Likewise.
38793         (ctan_test_data): Likewise.
38794         (ctan_tonearest_test_data): Likewise.
38795         (ctan_towardzero_test_data): Likewise.
38796         (ctan_downward_test_data): Likewise.
38797         (ctan_upward_test_data): Likewise.
38798         (ctanh_test_data): Likewise.
38799         (ctanh_tonearest_test_data): Likewise.
38800         (ctanh_towardzero_test_data): Likewise.
38801         (ctanh_downward_test_data): Likewise.
38802         (ctanh_upward_test_data): Likewise.
38803         (erf_test_data): Likewise.
38804         (erfc_test_data): Likewise.
38805         (exp_test_data): Likewise.
38806         (exp_tonearest_test_data): Likewise.
38807         (exp_towardzero_test_data): Likewise.
38808         (exp_downward_test_data): Likewise.
38809         (exp_upward_test_data): Likewise.
38810         (exp10_test_data): Likewise.
38811         (exp2_test_data): Likewise.
38812         (expm1_test_data): Likewise.
38813         (fabs_test_data): Likewise.
38814         (fdim_test_data): Likewise.
38815         (finite_test_data): Likewise.
38816         (floor_test_data): Likewise.
38817         (fma_test_data): Likewise.
38818         (fma_towardzero_test_data): Likewise.
38819         (fma_downward_test_data): Likewise.
38820         (fma_upward_test_data): Likewise.
38821         (fmax_test_data): Likewise.
38822         (fmin_test_data): Likewise.
38823         (fmod_test_data): Likewise.
38824         (fpclassify_test_data): Likewise.
38825         (frexp_test_data): Likewise.
38826         (gamma_test_data): Likewise.
38827         (hypot_test_data): Likewise.
38828         (ilogb_test_data): Likewise.
38829         (isfinite_test_data): Likewise.
38830         (isgreater_test_data): Likewise.
38831         (isgreaterequal_test_data): Likewise.
38832         (isinf_test_data): Likewise.
38833         (isless_test_data): Likewise.
38834         (islessequal_test_data): Likewise.
38835         (islessgreater_test_data): Likewise.
38836         (isnan_test_data): Likewise.
38837         (isnormal_test_data): Likewise.
38838         (issignaling_test_data): Likewise.
38839         (isunordered_test_data): Likewise.
38840         (j0_test_data): Likewise.
38841         (j1_test_data): Likewise.
38842         (jn_test_data): Likewise.
38843         (ldexp_test_data): Likewise.
38844         (lgamma_test_data): Likewise.
38845         (lrint_test_data): Likewise.
38846         (lrint_tonearest_test_data): Likewise.
38847         (lrint_towardzero_test_data): Likewise.
38848         (lrint_downward_test_data): Likewise.
38849         (lrint_upward_test_data): Likewise.
38850         (llrint_test_data): Likewise.
38851         (llrint_tonearest_test_data): Likewise.
38852         (llrint_towardzero_test_data): Likewise.
38853         (llrint_downward_test_data): Likewise.
38854         (llrint_upward_test_data): Likewise.
38855         (log_test_data): Likewise.
38856         (log10_test_data): Likewise.
38857         (log1p_test_data): Likewise.
38858         (log2_test_data): Likewise.
38859         (logb_test_data): Likewise.
38860         (logb_downward_test_data): Likewise.
38861         (lround_test_data): Likewise.
38862         (llround_test_data): Likewise.
38863         (modf_test_data): Likewise.
38864         (nearbyint_test_data): Likewise.
38865         (nextafter_test_data): Likewise.
38866         (nexttoward_test_data): Likewise.
38867         (pow_test_data): Likewise.
38868         (pow_tonearest_test_data): Likewise.
38869         (pow_towardzero_test_data): Likewise.
38870         (pow_downward_test_data): Likewise.
38871         (pow_upward_test_data): Likewise.
38872         (remainder_test_data): Likewise.
38873         (remainder_tonearest_test_data): Likewise.
38874         (remainder_towardzero_test_data): Likewise.
38875         (remainder_downward_test_data): Likewise.
38876         (remainder_upward_test_data): Likewise.
38877         (remquo_test_data): Likewise.
38878         (rint_test_data): Likewise.
38879         (rint_tonearest_test_data): Likewise.
38880         (rint_towardzero_test_data): Likewise.
38881         (rint_downward_test_data): Likewise.
38882         (rint_upward_test_data): Likewise.
38883         (round_test_data): Likewise.
38884         (scalb_test_data): Likewise.
38885         (scalbn_test_data): Likewise.
38886         (scalbln_test_data): Likewise.
38887         (signbit_test_data): Likewise.
38888         (sin_test_data): Likewise.
38889         (sin_tonearest_test_data): Likewise.
38890         (sin_towardzero_test_data): Likewise.
38891         (sin_downward_test_data): Likewise.
38892         (sin_upward_test_data): Likewise.
38893         (sincos_test_data): Likewise.
38894         (sinh_test_data): Likewise.
38895         (sinh_tonearest_test_data): Likewise.
38896         (sinh_towardzero_test_data): Likewise.
38897         (sinh_downward_test_data): Likewise.
38898         (sinh_upward_test_data): Likewise.
38899         (sqrt_test_data): Likewise.
38900         (tan_test_data): Likewise.
38901         (tan_tonearest_test_data): Likewise.
38902         (tan_towardzero_test_data): Likewise.
38903         (tan_downward_test_data): Likewise.
38904         (tan_upward_test_data): Likewise.
38905         (tanh_test_data): Likewise.
38906         (tgamma_test_data): Likewise.
38907         (trunc_test_data): Likewise.
38908         (y0_test_data): Likewise.
38909         (y1_test_data): Likewise.
38910         (yn_test_data): Likewise.
38911         (significand_test_data): Likewise.
38913         * math/gen-libm-test.pl (@functions): Remove variable.
38914         (generate_testfile): Don't handle START and END lines.
38915         * math/libm-test.inc (START): New macro.
38916         (END): Likewise.
38917         (END_COMPLEX): Likewise.
38918         (acos_test): Use END macro without arguments.
38919         (acos_test_tonearest): Likewise.
38920         (acos_test_towardzero): Likewise.
38921         (acos_test_downward): Likewise.
38922         (acos_test_upward): Likewise.
38923         (acosh_test): Likewise.
38924         (asin_test): Likewise.
38925         (asin_test_tonearest): Likewise.
38926         (asin_test_towardzero): Likewise.
38927         (asin_test_downward): Likewise.
38928         (asin_test_upward): Likewise.
38929         (asinh_test): Likewise.
38930         (atan_test): Likewise.
38931         (atanh_test): Likewise.
38932         (atan2_test): Likewise.
38933         (cabs_test): Likewise.
38934         (cacos_test): Use END_COMPLEX macro without arguments.
38935         (cacosh_test): Likewise.
38936         (carg_test): Use END macro without arguments.
38937         (casin_test): Use END_COMPLEX macro without arguments.
38938         (casinh_test): Likewise.
38939         (catan_test): Likewise.
38940         (catanh_test): Likewise.
38941         (cbrt_test): Use END macro without arguments.
38942         (ccos_test): Use END_COMPLEX macro without arguments.
38943         (ccosh_test): Likewise.
38944         (ceil_test): Use END macro without arguments.
38945         (cexp_test): Use END_COMPLEX macro without arguments.
38946         (cimag_test): Use END macro without arguments.
38947         (clog_test): Use END_COMPLEX macro without arguments.
38948         (clog10_test): Likewise.
38949         (conj_test): Likewise.
38950         (copysign_test): Use END macro without arguments.
38951         (cos_test): Likewise.
38952         (cos_test_tonearest): Likewise.
38953         (cos_test_towardzero): Likewise.
38954         (cos_test_downward): Likewise.
38955         (cos_test_upward): Likewise.
38956         (cosh_test): Likewise.
38957         (cosh_test_tonearest): Likewise.
38958         (cosh_test_towardzero): Likewise.
38959         (cosh_test_downward): Likewise.
38960         (cosh_test_upward): Likewise.
38961         (cpow_test): Use END_COMPLEX macro without arguments.
38962         (cproj_test): Likewise.
38963         (creal_test): Use END macro without arguments.
38964         (csin_test): Use END_COMPLEX macro without arguments.
38965         (csinh_test): Likewise.
38966         (csqrt_test): Likewise.
38967         (ctan_test): Likewise.
38968         (ctan_test_tonearest): Likewise.
38969         (ctan_test_towardzero): Likewise.
38970         (ctan_test_downward): Likewise.
38971         (ctan_test_upward): Likewise.
38972         (ctanh_test): Likewise.
38973         (ctanh_test_tonearest): Likewise.
38974         (ctanh_test_towardzero): Likewise.
38975         (ctanh_test_downward): Likewise.
38976         (ctanh_test_upward): Likewise.
38977         (erf_test): Use END macro without arguments.
38978         (erfc_test): Likewise.
38979         (exp_test): Likewise.
38980         (exp_test_tonearest): Likewise.
38981         (exp_test_towardzero): Likewise.
38982         (exp_test_downward): Likewise.
38983         (exp_test_upward): Likewise.
38984         (exp10_test): Likewise.
38985         (exp2_test): Likewise.
38986         (expm1_test): Likewise.
38987         (fabs_test): Likewise.
38988         (fdim_test): Likewise.
38989         (finite_test): Likewise.
38990         (floor_test): Likewise.
38991         (fma_test): Likewise.
38992         (fma_test_towardzero): Likewise.
38993         (fma_test_downward): Likewise.
38994         (fma_test_upward): Likewise.
38995         (fmax_test): Likewise.
38996         (fmin_test): Likewise.
38997         (fmod_test): Likewise.
38998         (fpclassify_test): Likewise.
38999         (frexp_test): Likewise.
39000         (gamma_test): Likewise.
39001         (hypot_test): Likewise.
39002         (ilogb_test): Likewise.
39003         (isfinite_test): Likewise.
39004         (isgreater_test): Likewise.
39005         (isgreaterequal_test): Likewise.
39006         (isinf_test): Likewise.
39007         (isless_test): Likewise.
39008         (islessequal_test): Likewise.
39009         (islessgreater_test): Likewise.
39010         (isnan_test): Likewise.
39011         (isnormal_test): Likewise.
39012         (issignaling_test): Likewise.
39013         (isunordered_test): Likewise.
39014         (j0_test): Likewise.
39015         (j1_test): Likewise.
39016         (jn_test): Likewise.
39017         (ldexp_test): Likewise.
39018         (lgamma_test): Likewise.
39019         (lrint_test): Likewise.
39020         (lrint_test_tonearest): Likewise.
39021         (lrint_test_towardzero): Likewise.
39022         (lrint_test_downward): Likewise.
39023         (lrint_test_upward): Likewise.
39024         (llrint_test): Likewise.
39025         (llrint_test_tonearest): Likewise.
39026         (llrint_test_towardzero): Likewise.
39027         (llrint_test_downward): Likewise.
39028         (llrint_test_upward): Likewise.
39029         (log_test): Likewise.
39030         (log10_test): Likewise.
39031         (log1p_test): Likewise.
39032         (log2_test): Likewise.
39033         (logb_test): Likewise.
39034         (logb_test_downward): Likewise.
39035         (lround_test): Likewise.
39036         (llround_test): Likewise.
39037         (modf_test): Likewise.
39038         (nearbyint_test): Likewise.
39039         (nextafter_test): Likewise.
39040         (nexttoward_test): Likewise.
39041         (pow_test): Likewise.
39042         (pow_test_tonearest): Likewise.
39043         (pow_test_towardzero): Likewise.
39044         (pow_test_downward): Likewise.
39045         (pow_test_upward): Likewise.
39046         (remainder_test): Likewise.
39047         (remainder_test_tonearest): Likewise.
39048         (remainder_test_towardzero): Likewise.
39049         (remainder_test_downward): Likewise.
39050         (remainder_test_upward): Likewise.
39051         (remquo_test): Likewise.
39052         (rint_test): Likewise.
39053         (rint_test_tonearest): Likewise.
39054         (rint_test_towardzero): Likewise.
39055         (rint_test_downward): Likewise.
39056         (rint_test_upward): Likewise.
39057         (round_test): Likewise.
39058         (scalb_test): Likewise.
39059         (scalbn_test): Likewise.
39060         (scalbln_test): Likewise.
39061         (signbit_test): Likewise.
39062         (sin_test): Likewise.
39063         (sin_test_tonearest): Likewise.
39064         (sin_test_towardzero): Likewise.
39065         (sin_test_downward): Likewise.
39066         (sin_test_upward): Likewise.
39067         (sincos_test): Likewise.
39068         (sinh_test): Likewise.
39069         (sinh_test_tonearest): Likewise.
39070         (sinh_test_towardzero): Likewise.
39071         (sinh_test_downward): Likewise.
39072         (sinh_test_upward): Likewise.
39073         (sqrt_test): Likewise.
39074         (tan_test): Likewise.
39075         (tan_test_tonearest): Likewise.
39076         (tan_test_towardzero): Likewise.
39077         (tan_test_downward): Likewise.
39078         (tan_test_upward): Likewise.
39079         (tanh_test): Likewise.
39080         (tgamma_test): Likewise.
39081         (trunc_test): Likewise.
39082         (y0_test): Likewise.
39083         (y1_test): Likewise.
39084         (yn_test): Likewise.
39085         (significand_test): Likewise.
39087 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
39089         [BZ #15381]
39090         * libio/genops.c (_IO_no_init): Initialize wide struct info.
39092 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
39094         [BZ #14894]
39095         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
39096         __ppc_mdoio and __ppc_mdoom.
39097         * manual/platform.texi: Document new functions __ppc_yield,
39098         __ppc_mdoio and __ppc_mdoom.
39100 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
39102         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
39103         (main): Mention "tls" pseudo-hwcap is legacy.
39104         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
39106 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
39108         * math/gen-libm-test.pl (parse_args): Output only string of
39109         arguments as text for test name, not full call or descriptions of
39110         tests for extra outputs.
39111         (generate_testfile): Do not pass function name to parse_args.
39112         Generate this_func variable from START.
39113         * math/libm-test.inc (struct test_f_f_data): Rename test_name
39114         field to arg_str.
39115         (struct test_ff_f_data): Likewise.
39116         (test_ff_f_data_nexttoward): Likewise.
39117         (struct test_fi_f_data): Likewise.
39118         (struct test_fl_f_data): Likewise.
39119         (struct test_if_f_data): Likewise.
39120         (struct test_fff_f_data): Likewise.
39121         (struct test_c_f_data): Likewise.
39122         (struct test_f_f1_data): Likewise.  Remove field extra_name.
39123         (struct test_fF_f1_data): Likewise.
39124         (struct test_ffI_f1_data): Likewise.
39125         (struct test_c_c_data): Rename test_name field to arg_str.
39126         (struct test_cc_c_data): Likewise.
39127         (struct test_f_i_data): Likewise.
39128         (struct test_ff_i_data): Likewise.
39129         (struct test_f_l_data): Likewise.
39130         (struct test_f_L_data): Likewise.
39131         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
39132         and extra2_name.
39133         (COMMON_TEST_SETUP): New macro.
39134         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
39135         (COMMON_TEST_CLEANUP): Likewise.
39136         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
39137         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
39138         macros.
39139         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
39140         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
39141         macros.
39142         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
39143         (RUN_TEST_fff_f): Take argument string.  Call new setup and
39144         cleanup macros.
39145         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
39146         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
39147         macros.
39148         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
39149         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
39150         macros.
39151         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
39152         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
39153         cleanup macros.
39154         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
39155         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
39156         cleanup macros.
39157         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
39158         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
39159         cleanup macros.
39160         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
39161         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
39162         macros.
39163         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
39164         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
39165         macros.
39166         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
39167         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
39168         macros.
39169         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
39170         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
39171         cleanup macros.
39172         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
39173         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
39174         cleanup macros.
39175         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
39176         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
39177         macros.
39178         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
39179         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
39180         cleanup macros.
39181         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
39182         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
39183         macros.
39184         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
39185         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
39186         macros.
39187         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
39188         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
39189         cleanup macros.
39190         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
39192 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
39194         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
39195         to _sifields.sigfault.
39196         (si_addr_lsb): Define new macro.
39197         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
39198         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39199         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
39201 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
39203         [BZ #15441]
39204         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
39205         returns -1.
39206         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
39207         null return -1.
39208         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
39209         loading the domain.
39211 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
39213         * math/gen-libm-test.pl (parse_args): Do not include expected
39214         result in test name.
39215         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
39216         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39217         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39218         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39219         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39222 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39224         * benchtests/Makefile: Sort function entries.
39226         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
39227         tanh, asinh, acosh, atanh.
39228         * benchtests/acos-inputs: New file.
39229         * benchtests/acosh-inputs: New file.
39230         * benchtests/asin-inputs: New file.
39231         * benchtests/asinh-inputs: New file.
39232         * benchtests/atanh-inputs: New file.
39233         * benchtests/cosh-inputs: New file.
39234         * benchtests/log-inputs: New file.
39235         * benchtests/sinh-inputs: New file.
39236         * benchtests/tanh-inputs: New file.
39238 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
39240         [BZ #15339]
39241         * posix/tst-getaddrinfo4.c: New test.
39242         * posix/Makefile (tests): Add it.
39244 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39246         [BZ #15339]
39247         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
39248         when no services were used.
39249         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
39250         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
39252 2013-05-21  Andreas Schwab  <schwab@suse.de>
39254         [BZ #15014]
39255         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
39256         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
39257         successful.
39258         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
39259         redundant variable declarations and reallocation of buffer when
39260         parsing as IPv6 address.  Always set NSS status when called from
39261         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
39262         buffer too small.  Correct computation of needed size.
39263         * nss/Makefile (tests): Add test-digits-dots.
39264         * nss/test-digits-dots.c: New test.
39266 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39268         * benchtests/Makefile: Remove instructions for adding
39269         benchmark tests.
39270         * benchtests/README: New file to explain how to execute and
39271         enhance the benchmark tests.
39273 2013-05-21  Andreas Schwab  <schwab@suse.de>
39275         [BZ #15493]
39276         * setjmp/Makefile (tests): Add tst-sigsetjmp.
39277         * setjmp/tst-sigsetjmp.c: New test.
39279 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
39281         * sysdeps/x86_64/memset.S (memset): New implementation.
39282         (__bzero): Likewise.
39283         (__memset_tail): New function.
39285 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
39287         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
39288         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
39289         __memcpy_sse2_unaligned ifunc selection.
39290         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39291         Add memcpy-sse2-unaligned.S.
39292         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39293         Add: __memcpy_sse2_unaligned.
39295 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
39297         [BZ #15490]
39298         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39299         math_force_eval before restoring floating-point envrionment.
39300         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
39301         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
39302         Likewise.
39303         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
39304         <math_private.h>.
39305         (__nearbyintl): Use math_force_eval before restoring
39306         floating-point environment.
39307         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
39309         * math/gen-libm-test.pl (special_functions): Remove.
39310         (parse_args): Don't handle TEST_extra.  Handle functions with no
39311         return value.
39312         * math/libm-test.inc (struct test_sincos_data): Replace with
39313         struct test_fFF_11_data.
39314         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
39315         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
39316         (sincos_test_data): Change element type to struct
39317         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
39318         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
39319         RUN_TEST_LOOP_sincos.
39320         * math/README.libm-test: Don't mention special handling of
39321         individual functions.
39322         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
39323         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39324         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39325         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39326         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39329         * math/gen-libm-test.pl (get_variable): Remove function.
39330         (parse_args): Don't show pointer parameters to call in test
39331         names.  Use "extra output N" in test names for extra outputs
39332         rather than naming variables.
39334 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
39336         [BZ #15488]
39337         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
39338         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
39339         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
39340         double tests.
39341         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
39342         disable.
39343         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
39344         check_long_double.
39346         * math/gen-libm-test.pl (@tests): Remove variable.
39347         ($count): Likewise.
39348         (new_test): Remove function.
39349         (show_exceptions): New function.
39350         (special_functions): Use show_exceptions instead of new_test.
39351         (parse_args): Likewise.
39352         (generate_testfile): Pass only function name in generated call to
39353         print_max_error or print_complex_max_error.
39354         (get_ulps): Do not handle complex tests specially.
39355         (output_test): Rename to ...
39356         (get_all_ulps_for_test): ... this.  Return a string rather than
39357         printing to a file.  Require ulps to be present.
39358         (output_ulps): Generate arrays rather than #defines.
39359         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
39360         (struct ulp_data): New type.
39361         (BUILD_COMPLEX_ULP): Remove macro.
39362         (compare_ulp_data): New function.
39363         (find_ulps): Likewise.
39364         (find_test_ulps): Likewise.
39365         (find_function_ulps): Likewise.
39366         (find_complex_function_ulps): Likewise.
39367         (print_max_error): Determine allowed ulps using
39368         find_function_ulps.
39369         (print_complex_max_error): Determine allowed ulps using
39370         find_complex_function_ulps.
39371         (check_float_internal): Determine max ulps using find_test_ulps.
39372         (check_float): Do not take max_ulp parameter.  Update call to
39373         check_float_internal.
39374         (check_complex): Likewise.
39375         (check_int): Do not take max_ulp parameter.
39376         (check_long): Likewise.
39377         (check_bool): Likewise.
39378         (check_longlong): Likewise.
39379         (struct test_f_f_data): Remove max_ulp field.
39380         (struct test_ff_f_data): Likewise.
39381         (struct test_ff_f_data_nexttoward): Likewise.
39382         (struct test_fi_f_data): Likewise.
39383         (struct test_fl_f_data): Likewise.
39384         (struct test_if_f_data): Likewise.
39385         (struct test_fff_f_data): Likewise.
39386         (struct test_c_f_data): Likewise.
39387         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
39388         (struct test_fF_f1_data): Likewise.
39389         (struct test_ffI_f1_data): Likewise.
39390         (struct test_c_c_data): Remove max_ulp field.
39391         (struct test_cc_c_data): Likewise.
39392         (struct test_f_i_data): Likewise.
39393         (struct test_ff_i_data): Likewise.
39394         (struct test_f_l_data): Likewise.
39395         (struct test_f_L_data): Likewise.
39396         (struct test_sincos_data): Likewise.
39397         (RUN_TEST_f_f): Do not handle ulps.
39398         (RUN_TEST_LOOP_f_f): Likewise.
39399         (RUN_TEST_2_f): Likewise.
39400         (RUN_TEST_LOOP_2_f): Likewise.
39401         (RUN_TEST_fff_f): Likewise.
39402         (RUN_TEST_LOOP_fff_f): Likewise.
39403         (RUN_TEST_c_f): Likewise.
39404         (RUN_TEST_LOOP_c_f): Likewise.
39405         (RUN_TEST_f_f1): Likewise.
39406         (RUN_TEST_LOOP_f_f1): Likewise.
39407         (RUN_TEST_fF_f1): Likewise.
39408         (RUN_TEST_LOOP_fF_f1): Likewise.
39409         (RUN_TEST_fI_f1): Likewise.
39410         (RUN_TEST_LOOP_fI_f1): Likewise.
39411         (RUN_TEST_ffI_f1): Likewise.
39412         (RUN_TEST_LOOP_ffI_f1): Likewise.
39413         (RUN_TEST_c_c): Likewise.
39414         (RUN_TEST_LOOP_c_c): Likewise.
39415         (RUN_TEST_cc_c): Likewise.
39416         (RUN_TEST_LOOP_cc_c): Likewise.
39417         (RUN_TEST_f_i): Likewise.
39418         (RUN_TEST_LOOP_f_i): Likewise.
39419         (RUN_TEST_f_i_tg): Likewise.
39420         (RUN_TEST_LOOP_f_i_tg): Likewise.
39421         (RUN_TEST_ff_i_tg): Likewise.
39422         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39423         (RUN_TEST_f_b): Likewise.
39424         (RUN_TEST_LOOP_f_b): Likewise.
39425         (RUN_TEST_f_b_tg): Likewise.
39426         (RUN_TEST_LOOP_f_b_tg): Likewise.
39427         (RUN_TEST_f_l): Likewise.
39428         (RUN_TEST_LOOP_f_l): Likewise.
39429         (RUN_TEST_f_L): Likewise.
39430         (RUN_TEST_LOOP_f_L): Likewise.
39431         (RUN_TEST_sincos): Likewise.
39432         (RUN_TEST_LOOP_sincos): Likewise.
39434 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
39436         [BZ #15480]
39437         [BZ #15485]
39438         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
39439         main case of finite arguments, set rounding mode to FE_TONEAREST
39440         and discard exceptions.
39441         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
39442         exceptions.
39443         (remainder_tonearest_test_data): New variable.
39444         (remainder_test_tonearest): New function.
39445         (remainder_towardzero_test_data): New variable.
39446         (remainder_test_towardzero): New function.
39447         (remainder_downward_test_data): New variable.
39448         (remainder_test_downward): New function.
39449         (remainder_upward_test_data): New variable.
39450         (remainder_test_upward): New function.
39451         (main): Call the new test functions.
39453         * math/libm-test.inc (struct test_f_f1_data): Remove field
39454         extra_init.
39455         (struct test_fF_f1_data): Likewise.
39456         (struct test_ffI_f1_data): Likewise.
39457         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
39458         based on value of EXTRA_EXPECTED.
39459         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
39460         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
39461         EXTRA_VAR based on value of EXTRA_EXPECTED.
39462         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
39463         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
39464         EXTRA_VAR based on value of EXTRA_EXPECTED.
39465         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
39466         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
39467         EXTRA_VAR based on value of EXTRA_EXPECTED.
39468         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
39469         * math/gen-libm-test.pl (parse_args): Don't output initializers
39470         for extra output values.
39472         * math/libm-test.inc (check_int): Expect result to be exactly
39473         equal to expected value and do not handle ulps.
39474         (check_long): Likewise.
39475         (check_longlong): Likewise.
39477         * math/libm-test.inc (ceil_test_data): Test for "inexact"
39478         exceptions.
39479         (cimag_test_data): Likewise.
39480         (conj_test_data): Likewise.
39481         (copysign_test_data): Likewise.
39482         (cproj_test_data): Likewise.
39483         (creal_test_data): Likewise.
39484         (fabs_test_data): Likewise.
39485         (fdim_test_data): Likewise.
39486         (finite_test_data): Likewise.
39487         (floor_test_data): Likewise.
39488         (fmax_test_data): Likewise.
39489         (fmin_test_data): Likewise.
39490         (fmod_test_data): Likewise.
39491         (fpclassify_test_data): Likewise.
39492         (frexp_test_data): Likewise.
39493         (ilogb_test_data): Likewise.
39494         (isfinite_test_data): Likewise.
39495         (isgreater_test_data): Likewise.
39496         (isgreaterequal_test_data): Likewise.
39497         (isinf_test_data): Likewise.
39498         (isless_test_data): Likewise.
39499         (islessequal_test_data): Likewise.
39500         (islessgreater_test_data): Likewise.
39501         (isnan_test_data): Likewise.
39502         (isnormal_test_data): Likewise.
39503         (issignaling_test_data): Likewise.
39504         (isunordered_test_data): Likewise.
39505         (ldexp_test_data): Likewise.
39506         (lrint_test_data): Likewise.
39507         (lrint_test_data) [TEST_FLOAT]: Disable one test.
39508         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
39509         (lrint_tonearest_test_data): Test for "inexact" exceptions.
39510         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
39511         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
39512         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
39513         test input.
39514         (lrint_towardzero_test_data): Test for "inexact" exceptions.
39515         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
39516         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
39517         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
39518         that test input.
39519         (lrint_downward_test_data): Test for "inexact" exceptions.
39520         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39521         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
39522         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
39523         test input.
39524         (lrint_upward_test_data): Test for "inexact" exceptions.
39525         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
39526         test input.
39527         (llrint_test_data): Test for "inexact" exceptions.
39528         (llrint_test_data) [TEST_FLOAT]: Disable one test.
39529         (llrint_tonearest_test_data): Test for "inexact" exceptions.
39530         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
39531         (llrint_towardzero_test_data): Test for "inexact" exceptions.
39532         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
39533         (llrint_downward_test_data): Test for "inexact" exceptions.
39534         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39535         (llrint_upward_test_data): Test for "inexact" exceptions.
39536         (logb_test_data): Likewise.
39537         (logb_downward_test_data): Likewise.
39538         (nextafter_test_data): Likewise.
39539         (nexttoward_test_data): Likewise.
39540         (remainder_test_data): Likewise.
39541         (remquo_test_data): Likewise.
39542         (scalbn_test_data): Likewise.
39543         (scalbln_test_data): Likewise.
39544         (signbit_test_data): Likewise.
39545         (sqrt_test_data): Likewise.
39546         (significand_test_data): Likewise.
39548 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39550         [BZ #15424]
39551         * benchtests/bench-modf.c (struct args): Mark arg0 as
39552         volatile.
39553         * scripts/bench.pl: Mark members of struct args as volatile.
39555 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39557         [BZ # 15497]
39558         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
39559         negative infinity on POWER6 or lower.
39560         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
39562 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
39564         [BZ #15442]
39565         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
39566         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
39567         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
39568         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
39569         (_FP_SETQNAN): New macro.
39570         (_FP_SETQNAN_SEMIRAW): Likewise.
39571         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
39572         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
39573         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
39574         (FP_EXTEND): Use _FP_FRAC_SNANP.
39575         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
39576         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
39577         into account.
39578         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39579         New macro.
39580         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39581         Likewise.
39583 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39585         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
39586         with DIVIDE_BY_ZERO_EXCEPTION.
39587         (gamma_test_data): Likewise.
39588         (lgamma_test_data): Likewise.
39589         (log_test_data): Likewise.
39590         (log10_test_data): Likewise.
39591         (log2_test_data): Likewise.
39592         (tgamma_test_data): Likewise.
39594         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
39595         (acos_test_tonearest): Likewise.
39596         (acos_test_towardzero): Likewise.
39597         (acos_test_downward): Likewise.
39598         (acos_test_upward): Likewise.
39599         (acosh_test): Likewise.
39600         (asin_test): Likewise.
39601         (asin_test_tonearest): Likewise.
39602         (asin_test_towardzero): Likewise.
39603         (asin_test_downward): Likewise.
39604         (asin_test_upward): Likewise.
39605         (asinh_test): Likewise.
39606         (atan_test): Likewise.
39607         (atanh_test): Likewise.
39608         (atan2_test): Likewise.
39609         (cabs_test): Likewise.
39610         (cacos_test): Likewise.
39611         (cacosh_test): Likewise.
39612         (casin_test): Likewise.
39613         (casinh_test): Likewise.
39614         (catan_test): Likewise.
39615         (catanh_test): Likewise.
39616         (cbrt_test): Likewise.
39617         (ccos_test): Likewise.
39618         (ccosh_test): Likewise.
39619         (cexp_test): Likewise.
39620         (clog_test): Likewise.
39621         (clog10_test): Likewise.
39622         (cos_test): Likewise.
39623         (cos_test_tonearest): Likewise.
39624         (cos_test_towardzero): Likewise.
39625         (cos_test_downward): Likewise.
39626         (cos_test_upward): Likewise.
39627         (cosh_test): Likewise.
39628         (cosh_test_tonearest): Likewise.
39629         (cosh_test_towardzero): Likewise.
39630         (cosh_test_downward): Likewise.
39631         (cosh_test_upward): Likewise.
39632         (cpow_test): Likewise.
39633         (csin_test): Likewise.
39634         (csinh_test): Likewise.
39635         (csqrt_test): Likewise.
39636         (ctan_test): Likewise.
39637         (ctan_test_tonearest): Likewise.
39638         (ctan_test_towardzero): Likewise.
39639         (ctan_test_downward): Likewise.
39640         (ctan_test_upward): Likewise.
39641         (ctanh_test): Likewise.
39642         (ctanh_test_tonearest): Likewise.
39643         (ctanh_test_towardzero): Likewise.
39644         (ctanh_test_downward): Likewise.
39645         (ctanh_test_upward): Likewise.
39646         (erf_test): Likewise.
39647         (erfc_test): Likewise.
39648         (exp_test): Likewise.
39649         (exp_test_tonearest): Likewise.
39650         (exp_test_towardzero): Likewise.
39651         (exp_test_downward): Likewise.
39652         (exp_test_upward): Likewise.
39653         (exp10_test): Likewise.
39654         (exp2_test): Likewise.
39655         (expm1_test): Likewise.
39656         (fmod_test): Likewise.
39657         (gamma_test): Likewise.
39658         (hypot_test): Likewise.
39659         (j0_test): Likewise.
39660         (j1_test): Likewise.
39661         (jn_test): Likewise.
39662         (lgamma_test): Likewise.
39663         (log_test): Likewise.
39664         (log10_test): Likewise.
39665         (log1p_test): Likewise.
39666         (log2_test): Likewise.
39667         (logb_test_downward): Likewise.
39668         (pow_test): Likewise.
39669         (pow_test_tonearest): Likewise.
39670         (pow_test_towardzero): Likewise.
39671         (pow_test_downward): Likewise.
39672         (pow_test_upward): Likewise.
39673         (remainder_test): Likewise.
39674         (remquo_test): Likewise.
39675         (sin_test): Likewise.
39676         (sin_test_tonearest): Likewise.
39677         (sin_test_towardzero): Likewise.
39678         (sin_test_downward): Likewise.
39679         (sin_test_upward): Likewise.
39680         (sincos_test): Likewise.
39681         (sinh_test): Likewise.
39682         (sinh_test_tonearest): Likewise.
39683         (sinh_test_towardzero): Likewise.
39684         (sinh_test_downward): Likewise.
39685         (sinh_test_upward): Likewise.
39686         (sqrt_test): Likewise.
39687         (tan_test): Likewise.
39688         (tan_test_tonearest): Likewise.
39689         (tan_test_towardzero): Likewise.
39690         (tan_test_downward): Likewise.
39691         (tan_test_upward): Likewise.
39692         (tanh_test): Likewise.
39693         (tgamma_test): Likewise.
39694         (y0_test): Likewise.
39695         (y1_test): Likewise.
39696         (yn_test): Likewise.
39698         * math/gen-libm-test.pl (adjust_arg): Remove function.
39699         (special_function): Remove argument $in_func.  Only handle
39700         generating output for tables of tests, not inside functions.
39701         (parse_args): Likewise.
39702         (generate_testfile): Remove variable $in_func.  Update call to
39703         parse_args.
39704         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
39705         (MINUS_ZERO_INIT): Rename macro to minus_zero.
39706         (PLUS_INFTY_INIT): Rename macro to plus_infty.
39707         (MINUS_INFTY_INIT): Rename macro to minus_infty.
39708         (QNAN_VALUE_INIT): Rename macro to qnan_value.
39709         (MAX_VALUE_INIT): Rename macro to max_value.
39710         (MIN_VALUE_INIT): Rename macro to min_value.
39711         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
39712         (plus_zero): Remove variable.
39713         (minus_zero): Likewise.
39714         (plus_infty): Likewise.
39715         (minus_infty): Likewise.
39716         (qnan_value): Likewise.
39717         (max_value): Likewise.
39718         (min_value): Likewise.
39719         (min_subnorm_value): Likewise.
39721 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39723         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
39724         uint64_t or uint32_t usage.
39725         * crypt/sha256-block.c: Likewise.
39726         * crypt/sha256-crypt.c: Likewise.
39727         * crypt/sha256.c: Likewise.
39728         * crypt/sha512-block.c: Likewise.
39729         * crypt/sha512-crypt.c: Likewise.
39730         * crypt/sha512.c: Likewise.
39731         * debug/backtrace-tst.c: Likewise.
39732         * debug/pcprofiledump.c: Likewise.
39733         * elf/cache.c: Likewise.
39734         * elf/dl-cache.c: Likewise.
39735         * elf/dl-misc.c: Likewise.
39736         * elf/dl-profile.c: Likewise.
39737         * elf/dl-support.c: Likewise.
39738         * elf/ldconfig.c: Likewise.
39739         * elf/sprof.c: Likewise.
39740         * iconv/dummy-repertoire.c: Likewise.
39741         * iconv/iconv_charmap.c: Likewise.
39742         * iconv/skeleton.c: Likewise.
39743         * iconvdata/8bit-generic.c: Likewise.
39744         * iconvdata/cp737.h: Likewise.
39745         * iconvdata/cp775.h: Likewise.
39746         * iconvdata/ibm1008.h: Likewise.
39747         * iconvdata/ibm1025.h: Likewise.
39748         * iconvdata/ibm1046.h: Likewise.
39749         * iconvdata/ibm1097.h: Likewise.
39750         * iconvdata/ibm1112.h: Likewise.
39751         * iconvdata/ibm1122.h: Likewise.
39752         * iconvdata/ibm1123.h: Likewise.
39753         * iconvdata/ibm1124.h: Likewise.
39754         * iconvdata/ibm1129.h: Likewise.
39755         * iconvdata/ibm1130.h: Likewise.
39756         * iconvdata/ibm1132.h: Likewise.
39757         * iconvdata/ibm1133.h: Likewise.
39758         * iconvdata/ibm1137.h: Likewise.
39759         * iconvdata/ibm1140.h: Likewise.
39760         * iconvdata/ibm1141.h: Likewise.
39761         * iconvdata/ibm1142.h: Likewise.
39762         * iconvdata/ibm1143.h: Likewise.
39763         * iconvdata/ibm1144.h: Likewise.
39764         * iconvdata/ibm1145.h: Likewise.
39765         * iconvdata/ibm1146.h: Likewise.
39766         * iconvdata/ibm1147.h: Likewise.
39767         * iconvdata/ibm1148.h: Likewise.
39768         * iconvdata/ibm1149.h: Likewise.
39769         * iconvdata/ibm1153.h: Likewise.
39770         * iconvdata/ibm1154.h: Likewise.
39771         * iconvdata/ibm1155.h: Likewise.
39772         * iconvdata/ibm1156.h: Likewise.
39773         * iconvdata/ibm1157.h: Likewise.
39774         * iconvdata/ibm1158.h: Likewise.
39775         * iconvdata/ibm1160.h: Likewise.
39776         * iconvdata/ibm1161.h: Likewise.
39777         * iconvdata/ibm1162.h: Likewise.
39778         * iconvdata/ibm1163.h: Likewise.
39779         * iconvdata/ibm1164.h: Likewise.
39780         * iconvdata/ibm1166.h: Likewise.
39781         * iconvdata/ibm1167.h: Likewise.
39782         * iconvdata/ibm12712.h: Likewise.
39783         * iconvdata/ibm1390.h: Likewise.
39784         * iconvdata/ibm1399.h: Likewise.
39785         * iconvdata/ibm16804.h: Likewise.
39786         * iconvdata/ibm4517.h: Likewise.
39787         * iconvdata/ibm4899.h: Likewise.
39788         * iconvdata/ibm4909.h: Likewise.
39789         * iconvdata/ibm4971.h: Likewise.
39790         * iconvdata/ibm5347.h: Likewise.
39791         * iconvdata/ibm803.h: Likewise.
39792         * iconvdata/ibm856.h: Likewise.
39793         * iconvdata/ibm901.h: Likewise.
39794         * iconvdata/ibm902.h: Likewise.
39795         * iconvdata/ibm9030.h: Likewise.
39796         * iconvdata/ibm9066.h: Likewise.
39797         * iconvdata/ibm921.h: Likewise.
39798         * iconvdata/ibm922.h: Likewise.
39799         * iconvdata/ibm9448.h: Likewise.
39800         * iconvdata/isiri-3342.h: Likewise.
39801         * iconvdata/jis0201.h: Likewise.
39802         * include/link.h: Likewise.
39803         * include/netdb.h: Likewise.
39804         * inet/check_native.c: Likewise.
39805         * inet/check_pf.c: Likewise.
39806         * inet/getipv4sourcefilter.c: Likewise.
39807         * inet/getnameinfo.c: Likewise.
39808         * inet/getsourcefilter.c: Likewise.
39809         * inet/htonl.c: Likewise.
39810         * inet/setipv4sourcefilter.c: Likewise.
39811         * inet/setsourcefilter.c: Likewise.
39812         * inet/test-inet6_opt.c: Likewise.
39813         * inet/tst-network.c: Likewise.
39814         * locale/C-collate.c: Likewise.
39815         * locale/C-ctype.c: Likewise.
39816         * locale/C-time.c: Likewise.
39817         * locale/C-translit.h: Likewise.
39818         * locale/loadarchive.c: Likewise.
39819         * locale/programs/3level.h: Likewise.
39820         * locale/programs/charmap.c: Likewise.
39821         * locale/programs/charmap.h: Likewise.
39822         * locale/programs/ld-address.c: Likewise.
39823         * locale/programs/ld-collate.c: Likewise.
39824         * locale/programs/ld-ctype.c: Likewise.
39825         * locale/programs/ld-identification.c: Likewise.
39826         * locale/programs/ld-measurement.c: Likewise.
39827         * locale/programs/ld-messages.c: Likewise.
39828         * locale/programs/ld-monetary.c: Likewise.
39829         * locale/programs/ld-name.c: Likewise.
39830         * locale/programs/ld-numeric.c: Likewise.
39831         * locale/programs/ld-paper.c: Likewise.
39832         * locale/programs/ld-telephone.c: Likewise.
39833         * locale/programs/ld-time.c: Likewise.
39834         * locale/programs/linereader.c: Likewise.
39835         * locale/programs/locale.c: Likewise.
39836         * locale/programs/locarchive.c: Likewise.
39837         * locale/programs/locfile.h: Likewise.
39838         * locale/programs/repertoire.c: Likewise.
39839         * locale/programs/simple-hash.c: Likewise.
39840         * locale/programs/simple-hash.h: Likewise.
39841         * malloc/memusage.c: Likewise.
39842         * malloc/memusagestat.c: Likewise.
39843         * nis/nis_defaults.c: Likewise.
39844         * nis/nis_hash.c: Likewise.
39845         * nis/nis_print.c: Likewise.
39846         * nis/nis_xdr.c: Likewise.
39847         * nscd/connections.c: Likewise.
39848         * nscd/hstcache.c: Likewise.
39849         * nscd/nscd_gethst_r.c: Likewise.
39850         * nscd/nscd_getserv_r.c: Likewise.
39851         * nscd/nscd_helper.c: Likewise.
39852         * nscd/servicescache.c: Likewise.
39853         * nss/makedb.c: Likewise.
39854         * nss/nss_db/db-XXX.c: Likewise.
39855         * nss/nss_db/db-initgroups.c: Likewise.
39856         * nss/nss_db/db-netgrp.c: Likewise.
39857         * nss/nss_files/files-network.c: Likewise.
39858         * nss/nss_files/files-parse.c: Likewise.
39859         * posix/bug-regex5.c: Likewise.
39860         * posix/fnmatch_loop.c: Likewise.
39861         * posix/regcomp.c: Likewise.
39862         * posix/regexec.c: Likewise.
39863         * posix/tst-rfc3484-2.c: Likewise.
39864         * posix/tst-rfc3484-3.c: Likewise.
39865         * posix/tst-rfc3484.c: Likewise.
39866         * resolv/nss_dns/dns-canon.c: Likewise.
39867         * resolv/nss_dns/dns-network.c: Likewise.
39868         * resolv/res_init.c: Likewise.
39869         * resolv/res_mkquery.c: Likewise.
39870         * resolv/tst-aton.c: Likewise.
39871         * stdlib/cxa_atexit.c: Likewise.
39872         * stdlib/cxa_finalize.c: Likewise.
39873         * stdlib/gen-fpioconst.c: Likewise.
39874         * stdlib/strtol_l.c: Likewise.
39875         * string/tst-endian.c: Likewise.
39876         * sunrpc/auth_des.c: Likewise.
39877         * sunrpc/clnt_udp.c: Likewise.
39878         * sunrpc/rtime.c: Likewise.
39879         * sunrpc/svcauth_des.c: Likewise.
39880         * sunrpc/xdr.c: Likewise.
39881         * sunrpc/xdr_intXX_t.c: Likewise.
39882         * sunrpc/xdr_rec.c: Likewise.
39883         * sysdeps/generic/ldconfig.h: Likewise.
39884         * sysdeps/generic/ldsodefs.h: Likewise.
39885         * sysdeps/generic/memusage.h: Likewise.
39886         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39887         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
39888         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
39889         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39890         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39891         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39892         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39893         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39894         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39895         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39896         * sysdeps/posix/getaddrinfo.c: Likewise.
39897         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39898         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39899         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39900         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39901         * sysdeps/powerpc/test-gettimebase.c: Likewise.
39902         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39903         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
39904         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
39905         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
39906         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
39907         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39908         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39909         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
39910         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
39911         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
39912         * sysdeps/x86_64/dl-tls.h: Likewise.
39913         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
39914         * time/alt_digit.c: Likewise.
39915         * time/era.c: Likewise.
39916         * wcsmbs/tst-c16c32-1.c: Likewise.
39918 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39920         * math/libm-test.inc (struct test_sincos_data): New type.
39921         (RUN_TEST_LOOP_sincos): New macro.
39922         (sincos_test_data): New variable.
39923         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
39925 2013-05-16  Richard Henderson  <rth@redhat.com>
39927         * math/atest-exp2.c (LIMB64): New macro.
39928         (CONSTSZ): New macro.
39929         (mp_exp1, mp_exp_m1, mp_log2): New variables.
39930         (hexdig): Move ...
39931         (print_mpn_fp): ... to function scope.
39932         (read_mpn_hex): Remove.
39933         (get_log2): Remove.
39934         (exp2_mpn): Use mp_log2.
39935         (main): Use mp_exp1.
39937 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39939         * math/libm-test.inc: Remove comment about not testing "inexact"
39940         exceptions.
39941         (INEXACT_EXCEPTION): New macro.
39942         (NO_INEXACT_EXCEPTION): Likewise.
39943         (INVALID_EXCEPTION_OK): Update value.
39944         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39945         (OVERFLOW_EXCEPTION_OK): Likewise.
39946         (UNDERFLOW_EXCEPTION_OK): Likewise.
39947         (IGNORE_ZERO_INF_SIGN): Likewise.
39948         (ERRNO_UNCHANGED): Likewise.
39949         (ERRNO_EDOM): Likewise.
39950         (ERRNO_ERANGE): Likewise.
39951         (test_exceptions): Handle testing "inexact" exceptions.
39952         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
39953         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
39954         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
39955         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
39956         INEXACT_EXCEPTION.
39957         (rint_towardzero_test_data): Likewise.
39958         (rint_downward_test_data): Likewise.
39959         (rint_upward_test_data): Likewise.
39961         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
39962         with OVERFLOW_EXCEPTION.
39963         (exp10_test_data): Likewise.
39964         (exp2_test_data): Likewise.
39965         (expm1_test_data): Likewise.
39966         (lgamma_test_data): Likewise.
39967         (pow_test_data): Likewise.
39968         (tgamma_test_data): Likewise.
39969         (yn_test_data): Remove duplicate test of overflow.
39971         * math/libm-test.inc (struct test_cc_c_data): New type.
39972         (RUN_TEST_LOOP_cc_c): New macro.
39973         (cpow_test_data): New variable.
39974         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
39976         * math/libm-test.inc (struct test_f_L_data): New type.
39977         (RUN_TEST_LOOP_f_L): New macro.
39978         (llrint_test_data): New variable.
39979         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
39980         (llrint_tonearest_test_data): New variable.
39981         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
39982         (llrint_towardzero_test_data): New variable.
39983         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
39984         (llrint_downward_test_data): New variable.
39985         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
39986         (llrint_upward_test_data): New variable.
39987         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
39988         (llround_test_data): New variable.
39989         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
39991 2013-05-13  Peter Collingbourne  <pcc@google.com>
39993         * math/atest-exp2.c (get_log2): Remove const attribute.
39995 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
39997         * math/libm-test.inc (struct test_f_l_data): New type.
39998         (RUN_TEST_LOOP_f_l): New macro.
39999         (lrint_test_data): New variable.
40000         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
40001         (lrint_tonearest_test_data): New variable.
40002         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
40003         (lrint_towardzero_test_data): New variable.
40004         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
40005         (lrint_downward_test_data): New variable.
40006         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
40007         (lrint_upward_test_data): New variable.
40008         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
40009         (lround_test_data): New variable.
40010         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
40012 2013-05-15  Peter Collingbourne  <pcc@google.com>
40014         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
40015         (EXTRACT_WORDS64) Use where appropriate.
40016         (INSERT_WORDS64) Likewise.
40018         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
40019         constraints with x constraints.
40020         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
40022         * malloc/obstack.c (_obstack_compat): Add initializer.
40024 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40026         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
40027         si_trapno and add si_addr_lsb to _sifields.sigfault.
40028         (si_trapno): Remove macro.
40029         (si_addr_lsb): Define new macro.
40030         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40032 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
40034         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
40035         instead of TEST_f_l.
40036         (llrint_test_tonearest): Likewise.
40037         (llrint_test_towardzero): Likewise.
40038         (llrint_test_downward): Likewise.
40039         (llrint_test_upward): Likewise.
40040         (llround_test): Likewise.
40042         * math/libm-test.inc (struct test_f_i_data): Add comment.
40043         (RUN_TEST_LOOP_f_b): New macro.
40044         (RUN_TEST_LOOP_f_b_tg): Likewise.
40045         (finite_test_data): New variable.
40046         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
40047         (isfinite_test_data): New variable.
40048         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40049         (isinf_test_data): New variable.
40050         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40051         (isnan_test_data): New variable.
40052         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40053         (isnormal_test_data): New variable.
40054         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40055         (issignaling_test_data): New variable.
40056         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40057         (signbit_test_data): New variable.
40058         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40060         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
40061         with INVALID_EXCEPTION.
40062         (acosh_test_data): Likewise.
40063         (asin_test_data): Likewise.
40064         (atanh_test_data): Likewise.
40065         (fmod_test_data): Likewise.
40066         (log_test_data): Likewise.
40067         (log10_test_data): Likewise.
40068         (log2_test_data): Likewise.
40069         (pow_test_data): Likewise.
40070         (sqrt_test_data): Likewise.
40071         (y0_test_data): Likewise.
40072         (y1_test_data): Likewise.
40073         (yn_test_data): Likewise.
40075         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
40076         function contents.
40078         * math/libm-test.inc (struct test_ff_i_data): New type.
40079         (RUN_TEST_LOOP_ff_i_tg): New macro.
40080         (isgreater_test_data): New variable.
40081         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40082         (isgreaterequal_test_data): New variable.
40083         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40084         (isless_test_data): New variable.
40085         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40086         (islessequal_test_data): New variable.
40087         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40088         (islessgreater_test_data): New variable.
40089         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40090         (isunordered_test_data): New variable.
40091         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40093 2013-05-14  David S. Miller  <davem@davemloft.net>
40095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40097 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
40099         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
40101         * math/libm-test.inc (struct test_fF_f1_data): Change type of
40102         extra_test to int.
40103         (struct test_f_i_data): Change type of max_ulp to int.
40105         * math/libm-test.inc (test_ffI_f1_data): New type.
40106         (RUN_TEST_LOOP_ffI_f1): New macro.
40107         (remquo_test_data): New variable.
40108         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
40110         * setjmp/tst-setjmp-fp.c: New file.
40111         * setjmp/Makefile (tests): Add tst-setjmp-fp.
40112         (link-libm): New variable.
40113         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
40115         * math/libm-test.inc (struct test_f_i_data): New type.
40116         (RUN_TEST_LOOP_f_i): New macro.
40117         (RUN_TEST_LOOP_f_i_tg): Likewise.
40118         (fpclassify_test_data): New variable.
40119         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
40120         (ilogb_test_data): New variable.
40121         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
40123         * math/libm-test.inc (scalbln_test): Correct function name in END
40124         call.
40126         * math/libm-test.inc (struct test_f_f1_data): Add comment.
40127         (RUN_TEST_LOOP_fI_f1): New macro.
40128         (frexp_test_data): New variable.
40129         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
40131         * math/libm-test.inc (struct test_fF_f1_data): New type.
40132         (RUN_TEST_LOOP_fF_f1): New macro.
40133         (modf_test_data): New variable.
40134         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
40136         * math/libm-test.inc (struct test_f_f1_data): New type.
40137         (RUN_TEST_LOOP_f_f1): New macro.
40138         (gamma_test_data): New variable.
40139         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
40140         (lgamma_test_data): New variable.
40141         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
40143 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
40145         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
40146         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
40147         (main): Comment "tls" pseudo-hwcap.
40149 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
40151         * math/libm-test.inc (struct test_fl_f_data): New type.
40152         (RUN_TEST_LOOP_fl_f): New variable.
40153         (scalbln_test_data): New variable.
40154         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
40156         * math/libm-test.inc (struct test_fi_f_data): New type.
40157         (RUN_TEST_LOOP_fi_f): New macro.
40158         (ldexp_test_data): New variable.
40159         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
40160         (scalbn_test_data): New variable.
40161         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
40163         * math/libm-test.inc (struct test_c_f_data): New type.
40164         (RUN_TEST_LOOP_c_f): New macro.
40165         (cabs_test_data): New variable.
40166         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
40167         (carg_test_data): New variable.
40168         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
40169         (cimag_test_data): New variable.
40170         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
40171         (creal_test_data): New variable.
40172         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
40174         * math/libm-test.inc (struct test_if_f_data): New type.
40175         (RUN_TEST_LOOP_if_f): New macro.
40176         (jn_test_data): New variable.
40177         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
40178         (yn_test_data): New variable.
40179         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
40181         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
40183 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40185         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
40186         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
40188 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40190         * benchtests/Makefile (CPPFLAGS-nonlib): Add
40191         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
40192         (bench-deps): Add bench-timing.h.
40193         * benchtests-bench-skeleton.c: Include bench-timing.h.
40194         (main): Use TIMING_* macros instead of clock_gettime.
40195         * benchtests/bench-timing.h: New file.
40197         [BZ #14582]
40198         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
40199         Renamed from _LIB_VERSION.
40200         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
40202 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
40204         * math/libm-test.inc (struct test_fff_f_data): New type.
40205         (RUN_TEST_LOOP_fff_f): New macro.
40206         (fma_test_data): New variable.
40207         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
40208         (fma_towardzero_test_data): New variable.
40209         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
40210         (fma_downward_test_data): New variable.
40211         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
40212         (fma_upward_test_data): New variable.
40213         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
40215         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
40216         (struct test_c_c_data): New type.
40217         (RUN_TEST_LOOP_c_c): New macro.
40218         (cacos_test_data): New variable.
40219         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
40220         (cacosh_test_data): New variable.
40221         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
40222         (casin_test_data): New variable.
40223         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
40224         (casinh_test_data): New variable.
40225         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
40226         (catan_test_data): New variable.
40227         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
40228         (catanh_test_data): New variable.
40229         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
40230         (ccos_test_data): New variable.
40231         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
40232         (ccosh_test_data): New variable.
40233         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
40234         (cexp_test_data): New variable.
40235         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
40236         (clog_test_data): New variable.
40237         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
40238         (clog10_test_data): New variable.
40239         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
40240         (conj_test_data): New variable.
40241         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
40242         (cproj_test_data): New variable.
40243         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
40244         (csin_test_data): New variable.
40245         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
40246         (csinh_test_data): New variable.
40247         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
40248         (csqrt_test_data): New variable.
40249         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
40250         (ctan_test_data): New variable.
40251         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
40252         (ctan_tonearest_test_data): New variable.
40253         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
40254         (ctan_towardzero_test_data): New variable.
40255         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
40256         (ctan_downward_test_data): New variable.
40257         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
40258         (ctan_upward_test_data): New variable.
40259         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
40260         (ctanh_test_data): New variable.
40261         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
40262         (ctanh_tonearest_test_data): New variable.
40263         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
40264         (ctanh_towardzero_test_data): New variable.
40265         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
40266         (ctanh_downward_test_data): New variable.
40267         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
40268         (ctanh_upward_test_data): New variable.
40269         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
40270         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
40271         of BUILD_COMPLEX.
40273         * math/libm-test.inc (struct test_ff_f_data): New type.
40274         (struct test_ff_f_data_nexttoward): Likewise.
40275         (RUN_TEST_LOOP_2_f): New macro.
40276         (RUN_TEST_LOOP_ff_f): Likewise.
40277         (atan2_test_data): New variable.
40278         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
40279         (copysign_test_data): New variable.
40280         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
40281         (fdim_test_data): New variable.
40282         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
40283         (fmax_test_data): New variable.
40284         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
40285         (fmin_test_data): New variable.
40286         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
40287         (fmod_test_data): New variable.
40288         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
40289         (hypot_test_data): New variable.
40290         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
40291         (nextafter_test_data): New variable.
40292         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
40293         (nexttoward_test_data): New variable.
40294         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
40295         (pow_test_data): New variable.
40296         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
40297         (pow_tonearest_test_data): New variable.
40298         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
40299         (pow_towardzero_test_data): New variable.
40300         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
40301         (pow_downward_test_data): New variable.
40302         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
40303         (pow_upward_test_data): New variable.
40304         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
40305         (remainder_test_data): New variable.
40306         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
40307         (scalb_test_data): New variable.
40308         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
40309         * sysdeps/i386/fpu/libm-test-ulps: Update.
40311 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
40313         * math/libm-test.inc (fma_test): Use max_value instead of local
40314         variable fltmax.
40315         (nextafter_test): Likewise.
40317         * math/libm-test.inc (acos_towardzero_test_data): New variable.
40318         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40319         (acos_downward_test_data): New variable.
40320         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40321         (acos_upward_test_data): New variable.
40322         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40323         (acosh_test_data): New variable.
40324         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
40325         (asin_test_data): New variable.
40326         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
40327         (asin_tonearest_test_data): New variable.
40328         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40329         (asin_towardzero_test_data): New variable.
40330         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40331         (asin_downward_test_data): New variable.
40332         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40333         (asin_upward_test_data): New variable.
40334         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40335         (asinh_test_data): New variable.
40336         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
40337         (atan_test_data): New variable.
40338         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
40339         (atanh_test_data): New variable.
40340         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
40341         (cbrt_test_data): New variable.
40342         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
40343         (ceil_test_data): New variable.
40344         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
40345         (cos_test_data): New variable.
40346         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
40347         (cos_tonearest_test_data): New variable.
40348         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40349         (cos_towardzero_test_data): New variable.
40350         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40351         (cos_downward_test_data): New variable.
40352         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40353         (cos_upward_test_data): New variable.
40354         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40355         (cosh_test_data): New variable.
40356         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
40357         (cosh_tonearest_test_data): New variable.
40358         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40359         (cosh_towardzero_test_data): New variable.
40360         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40361         (cosh_downward_test_data): New variable.
40362         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40363         (cosh_upward_test_data): New variable.
40364         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40365         (erf_test_data): New variable.
40366         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
40367         (erfc_test_data): New variable.
40368         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
40369         (exp_test_data): New variable.
40370         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
40371         (exp_tonearest_test_data): New variable.
40372         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40373         (exp_towardzero_test_data): New variable.
40374         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40375         (exp_downward_test_data): New variable.
40376         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40377         (exp_upward_test_data): New variable.
40378         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40379         (exp10_test_data): New variable.
40380         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
40381         (exp2_test_data): New variable.
40382         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
40383         (expm1_test_data): New variable.
40384         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
40385         (fabs_test_data): New variable.
40386         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
40387         (floor_test_data): New variable.
40388         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
40389         (j0_test_data): New variable.
40390         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
40391         (j1_test_data): New variable.
40392         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
40393         (log_test_data): New variable.
40394         (log_test): Run tests with RUN_TEST_LOOP_f_f.
40395         (log10_test_data): New variable.
40396         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
40397         (log1p_test_data): New variable.
40398         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
40399         (log2_test_data): New variable.
40400         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
40401         (logb_test_data): New variable.
40402         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
40403         (logb_downward_test_data): New variable.
40404         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40405         (nearbyint_test_data): New variable.
40406         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
40407         (rint_test_data): New variable.
40408         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
40409         (rint_tonearest_test_data): New variable.
40410         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40411         (rint_towardzero_test_data): New variable.
40412         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40413         (rint_downward_test_data): New variable.
40414         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40415         (rint_upward_test_data): New variable.
40416         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40417         (round_test_data): New variable.
40418         (round_test): Run tests with RUN_TEST_LOOP_f_f.
40419         (sin_test_data): New variable.
40420         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
40421         (sin_tonearest_test_data): New variable.
40422         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40423         (sin_towardzero_test_data): New variable.
40424         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40425         (sin_downward_test_data): New variable.
40426         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40427         (sin_upward_test_data): New variable.
40428         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40429         (sinh_test_data): New variable.
40430         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
40431         (sinh_tonearest_test_data): New variable.
40432         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40433         (sinh_towardzero_test_data): New variable.
40434         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40435         (sinh_downward_test_data): New variable.
40436         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40437         (sinh_upward_test_data): New variable.
40438         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40439         (sqrt_test_data): New variable.
40440         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
40441         (tan_test_data): New variable.
40442         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
40443         (tan_tonearest_test_data): New variable.
40444         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40445         (tan_towardzero_test_data): New variable.
40446         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40447         (tan_downward_test_data): New variable.
40448         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40449         (tan_upward_test_data): New variable.
40450         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40451         (tanh_test_data): New variable.
40452         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
40453         (tgamma_test_data): New variable.
40454         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
40455         (trunc_test_data): New variable.
40456         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
40457         (y0_test_data): New variable.
40458         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
40459         (y1_test_data): New variable.
40460         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
40461         (significand_test_data): New variable.
40462         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
40464 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
40466         [BZ #12387]
40467         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
40469 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40471         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
40473 2013-05-10  Andreas Jaeger  <aj@suse.de>
40475         [BZ #15448]
40476         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
40477         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
40479 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
40481         * math/gen-libm-test.pl (adjust_arg): New function.
40482         (special_functions): Handle generating output in both functions
40483         and arrays.
40484         (parse_args): Likewise.
40485         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
40486         $in_func argument to parse_args.
40487         * math/libm-test.inc (struct test_f_f_data): New type.
40488         (IF_ROUND_INIT_): New macro.
40489         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
40490         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40491         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40492         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40493         (ROUND_RESTORE_): Likewise.
40494         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
40495         (ROUND_RESTORE_FE_TONEAREST): Likewise.
40496         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
40497         (ROUND_RESTORE_FE_UPWARD): Likewise.
40498         (RUN_TEST_LOOP_f_f): New macro.
40499         (acos_test_data): New variable.
40500         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
40501         (acos_tonearest_test_data): New variable.
40502         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40504 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40506         * benchtests/bench-skeleton.c (startup): Fix coding style.
40508 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
40510         [BZ #6809]
40511         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
40512         negative infinity argument.
40513         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
40514         negative infinity argument.
40515         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
40516         negative infinity argument.
40517         * math/libm-test.inc (tgamma_test): Expect errno to be set for
40518         domain errors.
40520 2013-05-10  Florian Weimer  <fweimer@redhat.com>
40522         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
40523         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
40524         * iconv/iconv_prog.c (main): Likewise.
40525         * locale/programs/charmap-dir.c (charmap_readdir)
40526         (fopen_uncompressed): Likewise.
40527         * locale/programs/locfile.c (siblings_uncached)
40528         (write_locale_data): Use lstat64 instead of lstat.
40529         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
40530         stat.
40532 2013-05-10  Andreas Jaeger  <aj@suse.de>
40534         [BZ #15395]
40535         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
40536         localization.
40537         Include <locale.h>.
40539 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
40541         * elf/dl-close.c (_dl_close_worker): Add comments.
40543 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
40545         [BZ #15359]
40546         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
40547         high part of pi/2.
40548         (__ieee754_rem_pio2l): Update comments.
40550         [BZ #15429]
40551         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
40552         high part of pi/2.
40553         (__ieee754_rem_pio2l): Update comments.
40555         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
40556         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
40558         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
40559         M_PI_4l.
40561         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
40562         (M_PI_34_LOG10El): Likewise.
40563         (M_PI2_LOG10El): Likewise.
40564         (M_PI4_LOG10El): Likewise.
40565         (M_PI_LOG10El): Likewise.
40567 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40571 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
40573         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
40574         (MINUS_ZERO_INIT): Likewise.
40575         (PLUS_INFTY_INIT): Likewise.
40576         (MINUS_INFTY_INIT): Likewise.
40577         (QNAN_VALUE_INIT): Likewise.
40578         (MAX_VALUE_INIT): Likewise.
40579         (MIN_VALUE_INIT): Likewise.
40580         (MIN_SUBNORM_VALUE_INIT): Likewise.
40581         (plus_zero): Initialize with PLUS_ZERO_INIT.
40582         (minus_zero): Initialize with MINUS_ZERO_INIT.
40583         (plus_infty): Initialize with PLUS_INFTY_INIT.
40584         (minus_infty): Initialize with MINUS_INFTY_INIT.
40585         (qnan_value): Initialize with QNAN_VALUE_INIT.
40586         (max_value): Initialize with MAX_VALUE_INIT.
40587         (min_value): Initialize with MIN_VALUE_INIT.
40588         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
40590         * math/libm-test.inc (RUN_TEST_if_f): New macro.
40591         (jn_test): Use TEST_if_f instead of TEST_ff_f.
40592         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
40593         (yn_test): Use TEST_if_f instead of TEST_ff_f.
40595         * math/libm-test.inc (RUN_TEST_f_f): New macro.
40596         (RUN_TEST_2_f): Likewise.
40597         (RUN_TEST_ff_f): Likewise.
40598         (RUN_TEST_fi_f): Likewise.
40599         (RUN_TEST_fl_f): Likewise.
40600         (RUN_TEST_fff_f): Likewise.
40601         (RUN_TEST_c_f): Likewise.
40602         (RUN_TEST_f_f1): Likewise.
40603         (RUN_TEST_fF_f1): Likewise.
40604         (RUN_TEST_fI_f1): Likewise.
40605         (RUN_TEST_ffI_f1): Likewise.
40606         (RUN_TEST_c_c): Likewise.
40607         (RUN_TEST_cc_c): Likewise.
40608         (RUN_TEST_f_i): Likewise.
40609         (RUN_TEST_f_i_tg): Likewise.
40610         (RUN_TEST_ff_i_tg): Likewise.
40611         (RUN_TEST_f_b): Likewise.
40612         (RUN_TEST_f_b_tg): Likewise.
40613         (RUN_TEST_f_l): Likewise.
40614         (RUN_TEST_f_L): Likewise.
40615         (RUN_TEST_sincos): Likewise.
40616         * math/gen-libm-test.pl (new_test): Take new argument to indicate
40617         whether to show exceptions.  Do not include ");\n" in return
40618         value.
40619         (special_functions): Output call to RUN_TEST_sincos instead of
40620         check_float calls.  Update calls to new_test.
40621         (parse_args): Output call to single RUN_TEST_* macro instead of
40622         check_* calls and other assignments.  Update calls to new_test.
40624         [BZ #2546]
40625         [BZ #2560]
40626         [BZ #5159]
40627         [BZ #15426]
40628         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
40629         input to result for tgamma overflow.
40630         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
40631         (gamma_coeff): New variable.
40632         (NCOEFF): New macro.
40633         (gamma_positive): New function.
40634         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
40635         underflow here.  Use gamma_positive instead of exp (lgamma) for
40636         other arguments.
40637         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
40638         (gamma_coeff): New variable.
40639         (NCOEFF): New macro.
40640         (gammaf_positive): New function.
40641         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
40642         underflow here.  Use gamma_positive instead of exp (lgamma) for
40643         other arguments.
40644         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
40645         (gamma_coeff): New variable.
40646         (NCOEFF): New macro.
40647         (gammal_positive): New function.
40648         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
40649         underflow here.  Use gamma_positive instead of exp (lgamma) for
40650         other arguments.
40651         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
40652         (gamma_coeff): New variable.
40653         (NCOEFF): New macro.
40654         (gammal_positive): New function.
40655         (__ieee754_gammal_r): Handle positive infinity, overflow and
40656         underflow here.  Handle NaN the same as positive infinity.  Remove
40657         check x < 0xffffffff for negative integers.  Use gamma_positive
40658         instead of exp (lgamma) for other arguments.
40659         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
40660         (gamma_coeff): New variable.
40661         (NCOEFF): New macro.
40662         (gammal_positive): New function.
40663         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
40664         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
40665         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
40666         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
40667         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
40668         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
40669         * sysdeps/generic/math_private.h (__gamma_productf): New
40670         prototype.
40671         (__gamma_product): Likewise.
40672         (__gamma_productl): Likewise.
40673         * math/Makefile (libm-calls): Add gamma_product.
40674         * math/libm-test.inc (tgamma_test): Add more tests.
40675         * sysdeps/i386/fpu/libm-test-ulps: Update.
40676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40678 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
40680         * benchtests/bench-skeleton.c (main): Preheat CPU.
40682 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
40684         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
40686 2013-05-07  Roland McGrath  <roland@hack.frob.com>
40688         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
40689         and _dl_skip_args_internal.
40691 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
40693         * manual/message.texi (Message Translation): Talk about users.
40694         Message to key mapping impacts design.
40696 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40698         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
40700         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
40702         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
40703         * sysdeps/wordsize-64/glob64.c: ... here.
40705         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
40706         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
40707         New macros.
40709         * debug/getlogin_r_chk.c: Moved to ...
40710         * login/getlogin_r_chk.c: ... here.
40711         * debug/Makefile (routines): Move getlogin_r_chk to ...
40712         * login/Makefile (routines): ... here.
40713         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
40714         * login/Versions (libc: GLIBC_2.4): ... here.
40716         * io/poll.c (__poll): Renamed from poll.
40717         Add libc_hidden_def.
40718         (poll): Define as weak alias.
40720         * debug/ptsname_r_chk.c: Moved to ...
40721         * login/ptsname_r_chk.c: ... here.
40722         * debug/Makefile (routines): Move ptsname_r_chk to ...
40723         * login/Makefile (routines): ... here.
40724         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
40725         * login/Versions (libc: GLIBC_2.4): ... here.
40727         * posix/getlogin.c: Moved to ...
40728         * login/getlogin.c: ... here.
40729         * posix/getlogin_r.c: Moved to ...
40730         * login/getlogin_r.c: ... here.
40731         * posix/getlogin_r.c: Moved to ...
40732         * login/getlogin_r.c: ... here.
40733         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
40734         * login/Makefile (routines): ... here.
40735         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
40736         * login/Versions (libc: GLIBC_2.0): ... here.
40738         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
40739         (setrlimit): Define as weak alias.
40741         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
40742         Call __ names for open, ftruncate, and close.
40743         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
40744         (truncate): Define as weak alias.
40746 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
40748         * math/gen-libm-test.pl (parse_args): Initialize x before each
40749         test of frexp, modf and remquo.
40751         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
40752         test signgam value.
40754 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40756         [BZ #15418]
40757         [BZ #15419]
40758         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
40759         internal tests.
40760         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40762 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40764         * elf/dl-writev.h: New file.
40765         * elf/dl-misc.c: Include it.
40766         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
40767         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
40769 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
40771         * math/libm-test.inc (noXFails): Remove variable.
40772         (noXPasses): Likewise.
40773         (BUILD_COMPLEX_INT): Remove macro.
40774         (print_screen): Remove xfail argument.
40775         (print_screen_max_error): Likewise.
40776         (update_stats): Likewise.
40777         (print_max_error): Likewise.  Update calls to other affected
40778         functions.
40779         (print_complex_max_error): Likewise.
40780         (test_single_exception): Update calls to print_screen.
40781         (test_single_errno): Likewise.
40782         (check_float_internal): Remove xfail argument.  Update calls to
40783         other affected functions.
40784         (check_float): Likewise.
40785         (check_complex): Likewise.
40786         (check_int): Likewise.
40787         (check_long): Likewise.
40788         (check_bool): Likewise.
40789         (check_longlong): Likewise.
40790         (main): Don't print noXFails and noXPasses.
40791         * math/gen-libm-test.pl (top level): Don't mention expected
40792         failure handling in comment.
40793         (new_test): Don't handle expected failures.
40794         (parse_args): Don't mention expected failure handling in comment.
40795         (generate_testfile): Don't handle expected failures.
40796         (parse_ulps): Likewise.
40797         (print_ulps_file): Likewise.
40798         (get_failure): Remove function.
40799         (output_test): Don't handle expected failures.
40800         * make/README.libm-test: Don't mention expected failure handling.
40802         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
40803         (minus_zero): Likewise.
40804         (plus_infty): Likewise.
40805         (minus_infty): Likewise.
40806         (qnan_value): Likewise.
40807         (max_value): Likewise.
40808         (min_value): Likewise.
40809         (min_subnorm_value): Likewise.
40810         (initialize): Do not initialize those variables dynamically.
40812 2013-05-03  Roland McGrath  <roland@hack.frob.com>
40814         * io/open.c (__open_2): Moved to ...
40815         * io/open_2.c: ... this new file.
40816         * io/open64.c (__open64_2): Moved to ...
40817         * io/open64_2.c: ... this new file.
40818         * io/openat.c (__openat_2): Moved to ...
40819         * io/openat_2.c: ... this new file.
40820         * io/openat64.c (__openat64_2): Moved to ...
40821         * io/openat64_2.c: ... this new file.
40822         * io/Makefile (routines): Add them.
40823         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
40824         * sysdeps/unix/sysv/linux/open_2.c: File removed.
40825         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
40826         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
40827         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
40828         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
40829         (__openat64): Add hidden_ver.
40830         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
40831         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
40833         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
40834         Separately conditionalize setting of GLRO(dl_sysinfo) so
40835         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
40836         as well, but the actual setting is only under [NEED_DL_SYSINFO].
40838 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40840         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
40841         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
40842         definition.
40843         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
40844         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40845         (_libc_vdso_platform_setup): Add __vdso_time initialization.
40846         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
40847         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
40849 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
40851         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
40852         test signgam value.
40854         * math/libm-test.inc (hypot_test): Do not use
40855         IGNORE_ZERO_INF_SIGN.
40857 2013-05-03  Andreas Jaeger  <aj@suse.de>
40859         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
40860         Linux 3.9.
40861         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
40862         (PF_MAX): Adjust for VSOCK change.
40864 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40868 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
40870         [BZ #15264]
40871         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
40872         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
40873         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
40875 2013-05-02  David S. Miller  <davem@davemloft.net>
40877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40879 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
40881         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
40883 2013-05-01  Roland McGrath  <roland@hack.frob.com>
40885         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
40887 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
40889         [BZ #14952]
40890         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
40891         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40892         Use __attribute__ ((__gnu_inline__)).
40893         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40894         Don't use __attribute__ ((__gnu_inline__)).
40896 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
40898         [BZ #15423]
40899         * math/s_catan.c (__catan): Handle small real or imaginary part of
40900         input specially to avoid spurious underflow.
40901         * math/s_catanf.c (__catanf): Likewise.
40902         * math/s_catanh.c (__catanh): Likewise.
40903         * math/s_catanhf.c (__catanhf): Likewise.
40904         * math/s_catanhl.c (__catanhl): Likewise.
40905         * math/s_catanl.c (__catanl): Likewise.
40906         * math/libm-test.inc (catan_test): Add more tests.
40907         (catanh_test): Likewise.
40908         * sysdeps/i386/fpu/libm-test-ulps: Update.
40909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40911 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40915 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
40917         [BZ #15416]
40918         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
40919         accurately for denominator in atan2.
40920         * math/s_catanf.c (__catanf): Likewise.
40921         * math/s_catanh.c (__catanh): Likewise.
40922         * math/s_catanhf.c (__catanhf): Likewise.
40923         * math/s_catanhl.c (__catanhl): Likewise.
40924         * math/s_catanl.c (__catanl): Likewise.
40925         * math/libm-test.inc (catan_test): Add more tests.
40926         (catanh_test): Likewise.
40927         * sysdeps/i386/fpu/libm-test-ulps: Update.
40928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40930 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40932         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
40934         * benchtests/Makefile (bench): Remove slow benchmarks.
40935         * benchtests/atan-inputs: Add slow benchmark inputs.
40936         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
40937         (BENCH_FUNC): Accept variant offset.
40938         (VARIANT): Define.
40939         * benchtests/bench-skeleton.c (main): Run benchmark for each
40940         variant.
40941         * benchtests/cos-inputs: Add slow benchmark inputs.
40942         * benchtests/exp-inputs: Likewise.
40943         * benchtests/pow-inputs: Likewise.
40944         * benchtests/sin-inputs: Likewise.
40945         * benchtests/slowatan-inputs: Remove.
40946         * benchtests/slowatan.c: Remove.
40947         * benchtests/slowcos-inputs: Remove.
40948         * benchtests/slowcos.c: Remove.
40949         * benchtests/slowexp-inputs: Remove.
40950         * benchtests/slowexp.c: Remove.
40951         * benchtests/slowpow-inputs: Remove.
40952         * benchtests/slowpow.c: Remove.
40953         * benchtests/slowsin-inputs: Remove.
40954         * benchtests/slowsin.c: Remove.
40955         * benchtests/slowtan-inputs: Remove.
40956         * benchtests/slowtan.c: Remove.
40957         * benchtests/tan-inputs: Add slow benchmark inputs.
40958         * scripts/bench.pl: Parse comments and directives.
40960         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
40961         in CPPFLAGS.
40962         ($(objpfx)bench-%.c): Remove *-ITER.
40963         * benchtests/bench-modf.c: Remove definition of ITER.
40964         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
40965         (main): Loop for DURATION seconds instead of fixed number of
40966         iterations.
40967         * scripts/bench.pl: Don't expect iterations in parameters.
40969 2013-04-29  Roland McGrath  <roland@hack.frob.com>
40971         * io/fchdir.c (__fchdir): Renamed from fchdir.
40972         (fchdir): Define as weak alias.
40974 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
40976         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
40977         (ERRNO_EDOM): Likewise.
40978         (ERRNO_ERANGE): Likewise.
40979         (noErrnoTests): New variable.
40980         (init_max_error): Set errno to 0.
40981         (test_single_errno): New function.
40982         (test_errno): Likewise.
40983         (check_float_internal): Call test_errno.  Set errno to 0.
40984         (check_complex): Refer to errno tests in comment.
40985         (check_int): Call test_errno.  Set errno to 0.
40986         (check_long): Likewise.
40987         (check_bool): Likewise.
40988         (check_longlong): Likewise.
40989         (cos_test): Use ERRNO_* flags for errno tests instead of
40990         check_int.
40991         (expm1_test): Likewise.
40992         (fmod_test): Likewise.
40993         (ilogb_test): Likewise.
40994         (lgamma_test): Likewise.
40995         (pow_test): Likewise.
40996         (remainder_test): Likewise.
40997         (sin_test): Likewise.
40998         (tan_test): Likewise.
40999         (yn_test): Likewise.
41000         (initialize): Set errno to 0.
41001         (main): Print number of errno tests.
41002         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
41004 2013-04-29  Andreas Jaeger  <aj@suse.de>
41006         [BZ #15084]
41007         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
41008         and RES_USEVC.
41010         [BZ #15085]
41011         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
41012         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
41013         unimplemented.
41015         [BZ #15380]
41016         * stdlib/random.c (__initstate): Return NULL if
41017         __initstate fails.
41019         [BZ #15086]
41020         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
41021         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
41022         RES_SNGLKUPREOP.
41024 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41028 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
41030         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
41031         of individual tests.
41032         (casin_test): Likewise.
41033         (casinh_test): Likewise.
41035 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
41037         [BZ #15409]
41038         * math/s_catan.c (__catan): Handle arguments with large real or
41039         imaginary part separately without squaring.
41040         * math/s_catanf.c (__catanf): Likewise.
41041         * math/s_catanh.c (__catanh): Likewise.
41042         * math/s_catanhf.c (__catanhf): Likewise.
41043         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
41044         and redefine.
41045         (__catanhl): Handle arguments with large real or imaginary part
41046         separately without squaring.
41047         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
41048         and redefine.
41049         (__catanl): Handle arguments with large real or imaginary part
41050         separately without squaring.
41051         * math/libm-test.inc (catan_test): Add more tests.
41052         (catanh_test): Likewise.
41053         * sysdeps/i386/fpu/libm-test-ulps: Update.
41054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41056 2013-04-27  Andreas Jaeger  <aj@suse.de>
41058         [BZ #15007]
41059         * stdlib/stdlib.h: Update guards for qecvt.
41060         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
41061         <stdlib.h>.
41063 2013-04-27  Allan McRae  <allan@archlinux.org>
41065         * sysdeps/i386/fpu/libm-test-ulps: Update.
41067 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
41069         [BZ #15406]
41070         * math/s_catan.c: Include <float.h>.
41071         (__catan): Ensure underflow exception occurs for underflowed
41072         result.
41073         * math/s_catanf.c: Include <float.h>.
41074         (__catanf): Ensure underflow exception occurs for underflowed
41075         result.
41076         * math/s_catanh.c: Include <float.h>.
41077         (__catanh): Ensure underflow exception occurs for underflowed
41078         result.
41079         * math/s_catanhf.c: Include <float.h>.
41080         (__catanhf): Ensure underflow exception occurs for underflowed
41081         result.
41082         * math/s_catanhl.c: Include <float.h>.
41083         (__catanhl): Ensure underflow exception occurs for underflowed
41084         result.
41085         * math/s_catanl.c: Include <float.h>.
41086         (__catanl): Ensure underflow exception occurs for underflowed
41087         result.
41088         * math/libm-test.inc (catan_test): Add more tests.
41089         (catanh_test): Likewise.
41091         [BZ #15405]
41092         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
41093         underflowed result.
41094         * math/s_ccoshf.c (__ccoshf): Likewise.
41095         * math/s_ccoshl.c (__ccoshl): Likewise.
41096         * math/s_csin.c (__csin): Likewise.
41097         * math/s_csinf.c (__csinf): Likewise.
41098         * math/s_csinh.c (__csinh): Likewise.
41099         * math/s_csinhf.c (__csinhf): Likewise.
41100         * math/s_csinhl.c (__csinhl): Likewise.
41101         * math/s_csinl.c (__csinl): Likewise.
41102         * math/libm-test.inc (ccos_test): Add more tests.
41103         (ccosh_test): Likewise.
41104         (csin_test): Likewise.
41105         (csinh_test): Likewise.
41107 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41109         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
41110         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
41111         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
41112         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
41113         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
41114         powerpc/power5+/fpu folders.
41115         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
41118 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
41120         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41122 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
41124         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
41125         additions to variable.
41126         [$(config-machine) = x86_64] (modules-names): Likewise.
41127         ($(objpfx)tst-audit3): Remove dependency.
41128         ($(objpfx)tst-audit3.out): Likewise.
41129         ($(objpfx)tst-audit4): Likewise.
41130         ($(objpfx)tst-audit4.out): Likewise.
41131         ($(objpfx)tst-audit5): Likewise.
41132         ($(objpfx)tst-audit5.out): Likewise.
41133         ($(objpfx)tst-audit6): Likewise.
41134         ($(objpfx)tst-audit6.out): Likewise.
41135         ($(objpfx)tst-audit7): Likewise.
41136         ($(objpfx)tst-audit7.out): Likewise.
41137         (tst-audit3-ENV): Remove variable.
41138         (tst-audit4-ENV): Likewise.
41139         (tst-audit5-ENV): Likewise.
41140         (tst-audit6-ENV): Likewise.
41141         (tst-audit7-ENV): Likewise.
41142         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
41143         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
41144         addition to variable.
41145         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
41146         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
41147         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
41148         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
41149         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
41150         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
41151         tst-audit3, tst-audit4 and tst-audit5.
41152         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
41153         tst-audit6 and tst-audit7.
41154         [$(subdir) = elf] (modules-names): Add audit modules for those
41155         tests.
41156         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
41157         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
41158         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
41159         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
41160         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
41161         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
41162         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
41163         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
41164         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
41165         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
41166         [$(subdir) = elf] (tst-audit3-ENV): New variable.
41167         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
41168         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
41169         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
41170         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
41171         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
41172         Likewise.
41173         [$(subdir) = elf && $(config-cflags-avx) = yes]
41174         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
41175         [$(subdir) = elf && $(config-cflags-avx) = yes]
41176         (CFLAGS-tst-auditmod4a.c): Likewise.
41177         [$(subdir) = elf && $(config-cflags-avx) = yes]
41178         (CFLAGS-tst-auditmod4b.c): Likewise.
41179         [$(subdir) = elf && $(config-cflags-avx) = yes]
41180         (CFLAGS-tst-auditmod6b.c): Likewise.
41181         [$(subdir) = elf && $(config-cflags-avx) = yes]
41182         (CFLAGS-tst-auditmod6c.c): Likewise.
41183         [$(subdir) = elf && $(config-cflags-avx) = yes]
41184         (CFLAGS-tst-auditmod7b.c): Likewise.
41185         * elf/tst-audit3.c: Move to ...
41186         * sysdeps/x86_64/tst-audit3.c: ... here.
41187         * elf/tst-audit4.c: Move to ...
41188         * sysdeps/x86_64/tst-audit4.c: ... here.
41189         * elf/tst-audit5.c: Move to ...
41190         * sysdeps/x86_64/tst-audit5.c: ... here.
41191         * elf/tst-audit6.c: Move to ...
41192         * sysdeps/x86_64/tst-audit6.c: ... here.
41193         * elf/tst-audit7.c: Move to ...
41194         * sysdeps/x86_64/tst-audit7.c: ... here.
41195         * elf/tst-auditmod3a.c: Move to ...
41196         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
41197         * elf/tst-auditmod3b.c: Move to ...
41198         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
41199         * elf/tst-auditmod4a.c: Move to ...
41200         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
41201         * elf/tst-auditmod4b.c: Move to ...
41202         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
41203         * elf/tst-auditmod5a.c: Move to ...
41204         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
41205         * elf/tst-auditmod5b.c: Move to ...
41206         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
41207         * elf/tst-auditmod6a.c: Move to ...
41208         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
41209         * elf/tst-auditmod6b.c: Move to ...
41210         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
41211         * elf/tst-auditmod6c.c: Move to ...
41212         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
41213         * elf/tst-auditmod7a.c: Move to ...
41214         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
41215         * elf/tst-auditmod7b.c: Move to ...
41216         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
41218 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
41220         [BZ #15366]
41221         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
41222         define unconditionally.
41223         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
41224         define unconditionally.
41225         (INT8_C, INT16_C, etc.): Likewise.
41227 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
41229         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
41230         __ehdr_start with hidden visibility.
41232         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
41234 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
41236         * math/libm-test.inc (cos_test): Use accurate hex constants.
41237         (sincost_test): Likewise.
41239 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
41241         * math/libm-test.inc (catan_test): Add more tests.
41242         (catanh_test): Likewise.
41244         * math/s_catanf.c (__catanf): Use suffixed floating-point
41245         constants.
41246         * math/s_catanhf.c (__catanhf): Likewise.
41247         * math/s_catanhl.c (__catanhl): Likewise.
41248         * math/s_catanl.c (__catanl): Likewise.
41250         [BZ #15394]
41251         * math/s_catan.c (__catan): Calculate imaginary part of result
41252         with log1p not log unless computing log of number close to 0.
41253         * math/s_catanf.c (__catanf): Likewise.
41254         * math/s_catanl.c (__catanl): Likewise.
41255         * math/s_catanh.c (__catanh): Calculate real part of result with
41256         log1p not log unless computing log of number close to 0.
41257         * math/s_catanhf.c (__catanhf): Likewise.
41258         * math/s_catanhl.c (__catanhl): Likewise.
41259         * math/libm-test.inc (catan_test): Add more tests.
41260         (catanh_test): Likewise.
41261         * sysdeps/i386/fpu/libm-test-ulps: Update.
41262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41264 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41266         * benchtests/Makefile: Mention files in which fast and slow
41267         paths of math functions are implemented.
41269 2013-04-23  Roland McGrath  <roland@hack.frob.com>
41271         * sysdeps/posix/timespec_get.c: New file.
41273 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41275         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
41276         POWER.
41277         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
41278         for POWER.
41279         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
41280         powerpc/power5/fpu folders.
41281         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
41282         * benchtests/Makefile: Add modf testcase.
41283         * benchtests/bench-modf.c: New file: Benchmark test for mo
41285 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41287         [BZ #14888]
41288         * time/Makefile (tests): Add tst-strptime-whitespace.
41289         * time/strptime_l.c (get_number): Use ISSPACE.
41290         (__strptime_internal): Likewise.
41291         * time/tst-strptime-whitespace.c: New test case.
41293 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
41295         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
41296         member.
41297         (_nss_files_init): Set it here.
41299 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
41301         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
41302         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
41303         unsigned.
41305 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
41307         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
41309 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41311         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
41312         size just once.
41314 2013-04-21  David S. Miller  <davem@davemloft.net>
41316         * po/ru.po: Update Russion translation from translation project.
41318 2013-04-17  Adam Conrad  <adconrad@0c3.net>
41320         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
41321         and setfsgid.
41323 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
41325         * configure.in: Remove i386 configure warning. Remove i386 case.
41326         * configure: Regenerate.
41327         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
41328         Add example to error message.
41329         * sysdeps/i386/configure: Regenerate.
41331 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41333         * benchtests/Makefile (bench): Add cos, tan, slowcos and
41334         slowtan.
41335         * benchtests/cos-inputs: New file.
41336         * benchtests/slowcos-inputs: New file.
41337         * benchtests/slowcos.c: New file.
41338         * benchtests/slowtan-inputs: New file.
41339         * benchtests/slowtan.c: New file.
41340         * benchtests/tan-inputs: New file.
41342 2013-04-16  Roland McGrath  <roland@hack.frob.com>
41344         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
41345         considered kosher.
41347 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41349         * benchtests/Makefile: Include cppflags-iterator.mk to add
41350         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
41352         * Makefile.in (bench-clean): New target.
41353         * benchtests/Makefile (bench-clean): Likewise.
41355 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
41357         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
41359 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
41361         * stdio-common/tstdiomisc.c: Fix coding-style violation.
41363 2013-04-15  Andreas Schwab  <schwab@suse.de>
41365         * nscd/grpcache.c (cache_addgr): Properly check for short write.
41366         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41367         * nscd/pwdcache.c (cache_addpw): Likewise.
41368         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
41369         more than recsize.
41371 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41373         * benchtests/Makefile (bench): Write all output to
41374         bench-out.tmp together.
41376 2013-04-15  Andreas Schwab  <schwab@suse.de>
41378         * nscd/nscd.c (main): Don't fork again after closing files.
41380 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41382         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
41384         * benchtests/Rules (bench-deps): Collect dependencies into a
41385         single variable.  Add Makefile to dependencies.
41386         ($(objpfx)bench-%.c): Depend on bench-deps.
41388 2013-04-12  Roland McGrath  <roland@hack.frob.com>
41389             Xavier Roche  <roche+kml2@exalead.com>
41391         [BZ #15361]
41392         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
41393         just that it's a file descriptor.
41394         * manual/llio.texi (Synchronizing AIO Operations): Update description
41395         for EBADF error from aio_fsync.
41397 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41399         * Rules (bench): Move target definition...
41400         * benchtests/Makefile: ... here.
41402 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
41404         * math/libm-test.inc (cos_test): Fix PI/2 test.
41405         (sincos_test): Likewise.
41406         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41407         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
41409 2013-04-11  Andreas Schwab  <schwab@suse.de>
41411         [BZ #13988]
41412         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
41413         accept exponent character only when digits were seen.
41414         * stdio-common/Makefile (tests): Add bug26.
41415         * stdio-common/bug26.c: New file.
41417         [BZ #14293]
41418         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
41419         non-freeable.
41421 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41423         * Makeconfig (rtld-prefix): Define built linker prefix.
41424         * Rules (run-bench): Use it.
41425         * math/Makefile (run-regen-ulps): Likewise.
41427         * Rules (bench): Remove eval.
41429 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41430             Roland McGrath  <roland@hack.frob.com>
41431             Ondrej Bilka  <neleai@seznam.cz>
41433         [BZ #15346]
41434         * time/getdate.c: Include ctype.h and alloca.h.
41435         (__getdate_r): Trim leading and trailing spaces of input.
41436         * time/tst-getdate.c (tests): Add tests with leading and
41437         trailing spaces.
41439 2013-04-08  Roland McGrath  <roland@hack.frob.com>
41441         [BZ #14280]
41442         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
41443         when computing value.
41445 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41447         * math/README.libm-test (How can I generate "libm-test-ulps"?):
41448         Use testrun.sh to run libm tests.
41450         [BZ #15309]
41451         * elf/dl-open.c (dl_open_worker): memset all of seen array.
41453 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
41455         [BZ #15264]
41456         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
41458 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41460         * Makefile.in (regen-ulps): New target.
41461         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
41462         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
41463         [ifneq (no,$(PERL)] (regen-ulps): New target.
41464         [ifeq (no,$(PERL)] (regen-ulps): New target.
41465         * math/libm-test.inc (ulps_file_name): Define.
41466         (output_dir): New variable.
41467         (options): Add "output-dir" option.
41468         (parse_opt): Handle 'o' case.
41469         (main): If output_dir is non-NULL use it as a prefix
41470         otherwise use "".
41471         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
41473 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41475         [BZ #10060, #10062]
41476         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
41477         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
41478         fail configure if __sync_val_compare_and_swap is not inlined.
41479         * sysdeps/i386/configure: Regenerate.
41480         * configure.in: Build for i686 when configured for i386.
41481         * configure: Regenerate.
41482         * README: Remove i386 reference.
41484 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41486         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
41487         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41489 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
41491         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
41492         (lmsnanval): New variables.
41493         (F): Add conversion tests.
41494         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
41495         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
41497         * stdio-common/tstdiomisc.c (F): Properly collect individual
41498         tests' results.
41500         [BZ #14686, #15336]
41501         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
41502         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
41503         Instead, use input NaN values or generate a qNaN by arithmetic
41504         operation.  Also fix bugs to comply with the standard.
41505         * math/libm-test.inc (remainder_test): Add more tests.
41507         [BZ #15335, #15342]
41508         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
41509         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
41510         input NaN values or generate a qNaN by arithmetic operation.
41512         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
41513         unreachable code.
41515         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
41516         definitions.
41518 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
41520         [BZ #14478]
41521         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
41522         underflowed result.
41523         * math/s_cexpf.c (__cexpf): Likewise.
41524         * math/s_cexpl.c (__cexpl): Likewise.
41525         * math/libm-test.inc (cexp_test): Add more tests.
41527 2013-04-03  Andreas Schwab  <schwab@suse.de>
41529         [BZ #15330]
41530         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
41531         order arrays from heap if bigger than alloca cutoff.
41533 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
41535         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
41536         (SNAN_TESTS_double): Refer to GCC PR56831.
41537         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
41538         GCC PR56828.
41540 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41542         * Rules (bench): Move bench.out after the run is complete.
41544         * Rules (bench): Echo currently running benchmark.
41546         * benchtests/Makefile (bench): Add atan and slowatan.
41547         * benchtests/atan-inputs: New file.
41548         * benchtests/slowatan-inputs: New file.
41549         * benchtests/slowatan.c: New file.
41551         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
41552         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
41553         its value.
41555         [BZ #15305]
41556         * sysdeps/unix/sysv/linux/kernel-features.h
41557         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
41558         __ASSUME_XFS_RESTRICTED_CHOWN.
41559         * sysdeps/unix/sysv/linux/pathconf.c
41560         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41561         Save and restore errno.
41563 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
41565         [BZ #15327]
41566         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
41567         arguments using __kernel_casinh.
41568         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
41569         arguments using __kernel_casinhf.
41570         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
41571         arguments using __kernel_casinhl.
41572         * math/libm-test.inc (cacosh_test): Add more tests.
41573         * sysdeps/i386/fpu/libm-test-ulps: Update.
41574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41576 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41578         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
41579         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
41581         * bench/Makefile (bench): Add sin and slowsin.
41582         * benchtests/sin-inputs: New file.
41583         * benchtests/slowsin-inputs: New file.
41584         * benchtests/slowsin.c: New file.
41586         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
41587         (bench): Add slowexp and slowpow.
41588         (exp-ITER): Increase iterations.
41589         (pow-ITER): Likewise.
41590         * benchtests/exp-inputs: Change input.
41591         * benchtests/pow-inputs: Likewise.
41592         * benchtests/slowexp-inputs: New file.
41593         * benchtests/slowexp.c: New file.
41594         * benchtests/slowpow-inputs: New file.
41595         * benchtests/slowpow.c: New file.
41597 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41599         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
41600         instructions.
41601         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41602         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
41603         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41604         * benchtests/Makefile: Add rint benchtest.
41605         * benchtests/rint-inputs: Input for rint benchtest.
41607 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
41609         * Versions.def (libm): Add GLIBC_2.18.
41610         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
41611         hidden libm prototypes.
41612         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
41613         * math/Makefile (libm-calls): Add s_issignaling.
41614         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
41615         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
41616         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
41617         declaration.
41618         * math/math.h [__USE_GNU] (issignaling): New macro.
41619         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
41620         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
41621         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
41622         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
41623         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
41624         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
41625         * manual/arith.texi (issignaling): New section.
41626         * manual/libm-err-tab.pl (@all_functions): Update comment.
41627         * math/gen-libm-test.pl (parse_args): Apply special handling for
41628         issignaling.
41629         * math/libm-test.inc (print_float, issignaling_test): New
41630         functions.
41631         (check_float_internal): Add issignaling checks.
41632         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
41633         default definition.
41634         * sysdeps/powerpc/math-tests.h: New file.
41635         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
41636         tests.
41637         * math/test-snan.c (TEST_FUNC): Likewise.
41639 2013-03-30  David S. Miller  <davem@davemloft.net>
41641         * po/de.po: Update from translation team.
41643 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
41645         [BZ #10357]
41646         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41647         imaginary part less than 1.0 and real part less than 0.5
41648         specially.
41649         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41650         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41651         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
41652         (cacos_test): Add more tests.
41653         (casin_test): Likewise.
41654         (casinh_test): Likewise.
41655         * sysdeps/i386/fpu/libm-test-ulps: Update.
41656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41658 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41660         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
41661         ONE with its value.
41663         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
41664         (__pow_mp): Replace ONE and MONE with their values.
41665         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41666         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
41667         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41668         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
41669         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41670         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41672         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
41674         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
41675         (__pow_mp): Replace ZERO and MZERO with their values.
41676         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41677         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41678         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41679         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41680         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41681         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
41682         (__sqr): Likewise.
41684         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
41686         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
41688 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41690         * include/stdlib.h [!SHARED] (__call_tls_dtors):
41691         Declare with __attribute__ ((weak)).
41692         * stdlib/exit.c (__libc_atexit) [!SHARED]:
41693         Call __call_tls_dtors only if it's not NULL.
41695 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41697         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
41698         didn't do it already, then set _dl_phdr and _dl_phnum based on the
41699         magic __ehdr_start linker symbol if it's defined.
41700         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
41701         them up here if it was already done.
41703         * elf/dl-support.c (_dl_phdr): Make pointer to const.
41704         (_dl_aux_init): Use const in cast when setting it.
41705         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
41706         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
41707         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
41709         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
41710         Declare them here.
41711         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
41712         * csu/libc-tls.c: Nor here.
41713         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
41715         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
41716         (__libc_message): Never call vsyslog.
41718 2013-03-28  Alan Modra  <amodra@gmail.com>
41720         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
41721         Define as empty.
41722         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
41723         Likewise.
41725 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41727         [BZ #15214]
41728         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
41729         underflow.
41730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41732 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41734         [BZ #15304]
41735         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41736         Don't add gid passed as argument.
41738         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
41740 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
41742         [BZ #15307]
41743         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41744         imaginary part between 1.0 and 1.5 and real part less than 0.5
41745         specially.
41746         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41747         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41748         * math/libm-test.inc (cacos_test): Add more tests.
41749         (casin_test): Likewise.
41750         (casinh_test): Likewise.
41751         * sysdeps/i386/fpu/libm-test-ulps: Update.
41752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41754 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41756         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
41757         constants.
41758         (norm): Likewise.
41759         (denorm): Likewise.
41760         (__dbl_mp): Likewise.
41761         (add_magnitudes): Likewise.
41762         (sub_magnitudes): Likewise.
41763         (__add): Likewise.
41764         (__sub): Likewise.
41765         (__mul): Likewise.
41766         (__sqr): Likewise.
41767         (__inv): Likewise.
41768         (__dvd): Likewise.
41770         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
41771         commented code.
41772         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
41773         (__dubcos): Likewise.
41774         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
41775         (__ieee754_acos): Likewise.
41776         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41777         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
41778         (__exp1): Likewise.
41779         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41780         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41781         (log1): Likewise.
41782         (my_log2): Likewise.
41783         (checkint): Likewise.
41784         * sysdeps/ieee754/dbl-64/e_remainder.c
41785         (__ieee754_remainder): Likewise.
41786         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41787         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
41788         (bsloww): Likewise.
41789         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41791         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
41792         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
41793         MANTISSA_STORE_T to store computations on mantissa.  Use
41794         macros for rounding and division.
41795         (denorm): Likewise.
41796         (__dbl_mp): Likewise.
41797         (add_magnitudes): Likewise.
41798         (sub_magnitudes): Likewise.
41799         (__mul): Likewise.
41800         (__sqr): Likewise.
41801         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
41802         powers of two in terms of TWOPOW macro.
41803         (mp_no): Make type of mantissa as MANTISSA_T.
41804         [!RADIXI]: Define RADIXI.
41805         [!TWO52]: Define TWO52.
41806         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
41808 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41810         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
41811         llroundl symbol when building for PPC32.
41813 2013-03-24  Mark H Weaver  <mhw@netris.org>
41815         * manual/arith.texi (Normalization Functions): Fix prototypes for
41816         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
41818 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41820         [BZ #13889]
41821         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
41822         high value to check if expl overflow.
41823         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
41824         to check for underflow and overflow.
41825         * math/libm-test.inc: Add exp test.
41827 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
41829         [BZ #11120]
41830         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
41831         with NOT_IN_libc.
41833 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41835         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
41836         symbol.
41838 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41840         * math/gen-libm-test.pl (parse_args, special_functions): Properly
41841         wrap blocks consisting of several statements.
41843         * sysdeps/generic/math-tests.h: New file.
41844         * sysdeps/i386/fpu/math-tests.h: Likewise.
41845         * math/test-snan.c: Include it.
41846         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
41848 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41850         [BZ #15285]
41851         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
41852         (__ieee754_j0l): Do not improve calculations using cos of twice
41853         input for inputs above LDBL_MAX / 2.0L.
41854         (__ieee754_y0l): Likewise.
41855         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
41856         (__ieee754_j1l): Do not improve calculations using cos of twice
41857         input for inputs above LDBL_MAX / 2.0L.
41858         (__ieee754_y1l): Likewise.
41859         * math/libm-test.inc (j0_test): Add another test.
41860         (j1_test): Likewise.
41861         (y0_test): Likewise.
41862         (y1_test): Likewise.
41863         * sysdeps/i386/fpu/libm-test-ulps: Update.
41865 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41867         * Rules ($(objpfx)bench-%.c): Include code from a C source
41868         file.
41870 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41872         [BZ #15287]
41873         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41874         imaginary part 1.0 and real part less than 0.5 specially.
41875         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41876         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41877         * math/libm-test.inc (cacos_test): Add more tests.
41878         (casin_test): Likewise.
41879         (casinh_test): Likewise.
41880         * sysdeps/i386/fpu/libm-test-ulps: Update.
41881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41883 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41885         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
41886         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
41888 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
41890         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
41891         * config.make.in (config-cflags-sse4): Remove variable.
41892         (config-cflags-avx): Likewise.
41893         (config-cflags-sse2avx): Likewise.
41894         (config-cflags-novzeroupper): Likewise.
41895         (config-asflags-i686): Likewise.
41896         (have-mfma4): Likewise.
41897         (have-as-vis3): Likewise.
41898         (MIG): Likewise.
41899         * configure.in (MIG): Do not AC_SUBST.
41900         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
41901         (libc_cv_cc_sse4): Do not AC_SUBST.
41902         (libc_cv_cc_avx): Likewise.
41903         (libc_cv_cc_sse2avx): Likewise.
41904         (libc_cv_cc_novzeroupper): Likewise.
41905         (libc_cv_cc_fma4): Likewise.
41906         (libc_cv_as_i686): Likewise.
41907         (libc_cv_sparc_as_vis3): Likewise.
41908         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
41909         LIBC_CONFIG_VAR.
41910         (config-asflags-i686): Likewise.
41911         (config-cflags-avx): Likewise.
41912         (config-cflags-sse2avx): Likewise.
41913         (have-mfma4): Likewise.
41914         (config-cflags-novzeroupper): Likewise.
41915         * sysdeps/mach/configure.in (MIG): Likewise.
41916         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
41917         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
41918         LIBC_CONFIG_VAR.
41919         (config-cflags-avx): Likewise.
41920         (config-cflags-sse2avx): Likewise.
41921         (have-mfma4): Likewise.
41922         (config-cflags-novzeroupper): Likewise.
41923         * configure: Regenerated.
41924         * sysdeps/i386/configure: Likewise.
41925         * sysdeps/mach/configure: Likewise.
41926         * sysdeps/sparc/configure: Likewise.
41927         * sysdeps/x86_64/configure: Likewise.
41929 2013-03-20  Roland McGrath  <roland@hack.frob.com>
41931         [BZ #14812]
41932         * locale/programs/localedef.c (options): Put N_ translation marker
41933         on argument names, not just descriptions.
41935 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41937         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
41939 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
41941         [BZ #14176]
41942         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
41944 2013-03-19  Roland McGrath  <roland@hack.frob.com>
41946         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
41947         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
41948         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
41949         [!BEFORE_ABORT] (before_abort): New function.
41950         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
41951         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
41952         (writev_for_fatal): New function.
41953         (WRITEV_FOR_FATAL): New macro; call that.
41954         (backtrace_and_maps): New function.
41955         (BEFORE_ABORT): New macro; call that.
41956         (struct str_list): Type removed.
41957         (__libc_message, __libc_fatal): Functions removed.
41958         Include <sysdeps/posix/libc_fatal.c> instead.
41960 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
41962         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
41963         constants.
41964         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
41965         double constants.
41967 2013-03-19  Andreas Schwab  <schwab@suse.de>
41969         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
41970         * sysdeps/gnu/configure: Regenerate.
41972         * configure.in: Substitute libc_cv_rtlddir.
41973         * configure: Regenerate.
41974         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
41975         * Makeconfig (rtlddir, inst_rtlddir): New variables.
41976         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
41977         * elf/Makefile (install-others, CFLAGS-interp.c)
41978         (ldso_install, common-ldd-rewrite): Likewise.
41979         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
41980         $(inst_slibdir)/$(rtld-installed-name).
41981         * scripts/rellns-sh: Add -p option.
41982         * Makerules (make-shlib-link): Use rellns-sh to get relative name
41983         for source.
41985 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41987         * manual/nptl.texi: Renamed to ...
41988         * manual/threads.texi: ... this.
41989         * manual/Makefile (chapters): Update.
41991 2013-03-18  Roland McGrath  <roland@hack.frob.com>
41993         [BZ #14812]
41994         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
41995         on argument names, not just descriptions.
41996         * malloc/memusagestat.c (options): Likewise.
41997         * nss/getent.c (options): Likewise.
41999 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
42001         [BZ #14812]
42002         * iconv/iconv_prog.c (options): Put N_ translation marker
42003         on argument names, not just descriptions.
42004         * iconv/iconvconfig.c (options): Likewise.
42006 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
42008         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
42009         implementation which is faster on all x86_64 architectures.
42010         Tested on AMD, Intel Nehalem, SNB, IVB.
42011         * sysdeps/x86_64/strnlen.S: Likewise.
42013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42014         Remove all multiarch strlen and strnlen versions.
42015         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42016         Remove strlen and strnlen related parts.
42018         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
42019         Inline strlen part.
42020         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
42022         * sysdeps/x86_64/multiarch/strlen.S: Remove.
42023         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
42024         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
42025         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
42026         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42027         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
42029 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
42031         * manual/memory.texi (Malloc Tunable Parameters):
42032         Sort parameters alphabetically. Add comments for missing entries.
42034 2013-03-17  David S. Miller  <davem@davemloft.net>
42036         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42038 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
42040         [BZ #15283]
42041         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
42042         for arguments at most half maximum finite value.
42043         * math/libm-test.inc (j0_test): Add more tests.
42044         (j1_test): Likewise.
42045         (y0_test): Likewise.
42046         (y1_test): Likewise.
42047         * sysdeps/i386/fpu/libm-test-ulps: Update.
42048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42050         [BZ #14155]
42051         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
42052         1 / x and functions P and Q for arguments above 0x1p256L.
42053         (__ieee754_y0l): Likewise.
42054         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
42055         (__ieee754_y1l): Likewise.
42056         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
42057         (j1_test): Likewise.
42058         (y0_test): Likewise.
42059         (y1_test): Likewise.
42061 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
42063         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
42064         variable.
42066 2013-03-15  Roland McGrath  <roland@hack.frob.com>
42068         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
42069         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
42070         zero since it's initialized to EXEC_PAGESIZE.
42072         * sysdeps/unix/sysv/linux/ldsodefs.h
42073         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
42074         * sysdeps/generic/ldsodefs.h: ... here.
42076 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
42078         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
42080         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
42081         math/test-snan.c.
42082         * math/test-snan.c: Renamed from
42083         sysdeps/powerpc/fpu/test-powerpc-snan.c.
42084         * math/Makefile (tests): Add test-snan.
42085         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
42086         test-powerpc-snan.
42088         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
42089         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
42090         functions.
42091         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
42092         __builtin_nan family of functions.
42093         * math/libm-test.inc (initialize): Initialize qnan_value with
42094         __builtin_nan family of functions.
42095         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
42096         Remove variables.
42097         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
42098         Remove functions.
42099         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
42100         storage class.  Initialize qNaN_var and sNaN_var with
42101         __builtin_nan and __builtin_nans families of functions,
42102         respectively.
42104         * math/libm-test.inc (acosh_test): Also test with qNaN input.
42105         (sqrt_test): Remove duplicate test with qNaN input.
42106         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
42107         (round_test, signbit_test, significand_test): Note missing +/-Inf
42108         as well as qNaN tests.
42110         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
42111         qNaN_var.  Fix a few strings, too.
42112         * math/libm-test.inc (nan_value): Rename to qnan_value.
42113         * math/gen-libm-test.pl (%beautify): Adjust to that.
42114         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
42115         * math/test-misc.c (main): Likewise.
42116         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
42117         to __qnan_bytes, and __qnan_union, respectively.
42118         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
42119         Likewise.
42120         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
42121         and lqnanval, respectively.
42122         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
42123         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
42124         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
42125         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
42127         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
42128         * math/test-misc.c (main) [__x86_64__]: Enable test for long
42129         doubles.
42131         * math/test-misc.c (main): Fix copy'n'pastos.
42132         * misc/tst-efgcvt.c (special): Likewise.
42134         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
42135         Remove declarations.
42137 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42139         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
42140         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
42141         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
42142         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
42144 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42146         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
42147         macro to return vdso values correctly in IFUNC implementations.
42148         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42149         Optimization by using IFUNC.
42151 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42152             Richard Henderson  <rth@redhat.com>
42153             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42155         * Makefile.in (bench): New target.
42156         * NEWS: Mention the benchmark framework.
42157         * Rules (bench): Likewise.
42158         (binaries-bench): Generate binaries for functions to
42159         benchmark.
42160         * benchtests/Makefile: New makefile for benchmark tests.
42161         * benchtests/bench-skeleton.c: New skeleton file for benchmark
42162         programs.
42163         * benchtests/exp-inputs: New input file for EXP function.
42164         * benchtests/pow-inputs: New input file for POW function.
42165         * scripts/bench.pl: New script to generate source files for
42166         benchmark programs.
42168 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42170         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
42171         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
42172         computations on mantissa.  Use macros for rounding and
42173         division.
42174         (denorm): Likewise.
42175         (__dbl_mp): Likewise.
42176         (add_magnitudes): Likewise.
42177         (sub_magnitudes): Likewise.
42178         (__mul): Likewise.
42179         (__sqr): Likewise.
42180         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
42181         powers of two in terms of TWOPOW macro.
42182         (mp_no): Make type of mantissa as MANTISSA_T.
42183         [!RADIXI]: Define RADIXI.
42184         [!TWO52]: Define TWO52.
42185         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
42187         * manual/nptl.texi (cindex): Modify threads to pthreads.
42189 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
42191         * sysdeps/x86_64/preconfigure: Regenerated.
42193 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
42195         [BZ #14155]
42196         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
42197         0x1p28 and above.
42198         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
42199         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
42200         0x1p28 and above.
42201         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
42202         * math/libm-test.inc (j0_test): Do not allow one spurious
42203         underflow exception.
42204         (y1_test): Likewise.
42206 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42208         * manual/Makefile (chapters): Add nptl.
42209         * manual/debug.texi (Debugging Support): Add link to Threads
42210         chapter.
42211         * manual/nptl.texi: New file.
42213         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
42215 2013-03-14  Petr Baudis  <pasky@ucw.cz>
42217         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
42218         for non-NULL pointer before the memory validity test. Pointed
42219         out by Holger Brunck <holger.brunck@keymile.com>.
42221 2013-03-13  Andreas Schwab  <schwab@suse.de>
42223         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
42224         instead of .os.
42226 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
42228         * timezone/zic.c: Update from tzcode 2013b.
42230 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
42232         * manual/install.texi (Configuring and compiling):
42233         Mention i686 and i586.
42234         * INSTALL: Regenerate.
42236 2013-03-12  Roland McGrath  <roland@hack.frob.com>
42238         * sysdeps/init_array/elf-init.c: New file.
42239         * csu/elf-init.c
42240         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
42241         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
42243         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
42244         __gmon_start__ as global, but as static with a .preinit_array pointer.
42245         * sysdeps/init_array/gmon-start.c: New file.  Use that.
42246         * sysdeps/init_array/crti.S: New file, empty except for comments.
42247         * sysdeps/init_array/crtn.S: Likewise.
42249 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
42251         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
42252         definining bcopy.
42253         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42254         Remove Prefer_SSE_for_memop.
42255         * sysdeps/x86_64/multiarch/init-arch.h: Remove
42256         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
42257         HAS_PREFER_SSE_FOR_MEMOP.
42258         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
42259         memset-x86-64.
42260         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42261         Remove bzero, memset ifunc support.
42262         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
42263         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
42264         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42265         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42267 2013-03-11  Andreas Schwab  <schwab@suse.de>
42269         [BZ #15234]
42270         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
42271         by SHLIB_COMPAT.
42272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
42273         (GLIBC_2.16): Remove pthread_atfork.
42275 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
42277         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
42278         (ptestcases.h): Likewise.
42280 2013-03-08  Roland McGrath  <roland@hack.frob.com>
42282         * Makeconfig ($(common-objpfx)config.status): Depend on
42283         sysdeps/*/preconfigure{,.in} too.
42285 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
42287         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
42288         (__free_hook): Use void * instead of __malloc_ptr_t.
42289         (__malloc_hook): Likewise.
42290         (__realloc_hook): Likewise.
42291         (__memalign_hook): Likewise.
42292         (__after_morecore_hook): Likewise.
42293         * malloc/arena.c (save_malloc_hook): Likewise.
42294         (save_free_hook): Likewise.
42295         * malloc/hooks.c (malloc_hook_ini): Likewise.
42296         (realloc_hook_ini): Likewise.
42297         (memalign_hook_ini): Likewise.
42298         * malloc/malloc.c (malloc_hook_ini): Likewise.
42299         (realloc_hook_ini): Likewise.
42300         (memalign_hook_ini): Likewise.
42301         (__free_hook): Likewise.
42302         (__malloc_hook): Likewise.
42303         (__realloc_hook): Likewise.
42304         (__memalign_hook): Likewise.
42305         (__libc_malloc): Likewise.
42306         (__libc_free): Likewise.
42307         (__libc_realloc): Likewise.
42308         (__libc_memalign): Likewise.
42309         (__libc_valloc): Likewise.
42310         (__libc_pvalloc): Likewise.
42311         (__libc_calloc): Likewise.
42312         (__posix_memalign): Likewise.
42313         * malloc/morecore.c (__sbrk): Likewise.
42314         (__default_morecore): Likewise.
42316         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
42318         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
42319         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
42320         __malloc_ptrdiff_t.
42322         * malloc/malloc.h (__malloc_size_t): Remove macro.
42323         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
42324         __malloc_size_t.
42325         (old_memalign_hook): Likewise.
42326         (old_realloc_hook): Likewise.
42327         (struct hdr): Likewise.
42328         (flood): Likewise.
42329         (mallochook): Likewise.
42330         (memalignhook): Likewise.
42331         (reallochook): Likewise.
42332         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
42333         (tr_old_realloc_hook): Likewise.
42334         (tr_old_memalign_hook): Likewise.
42335         (tr_mallochook): Likewise.
42336         (tr_reallochook): Likewise.
42337         (tr_memalignhook): Likewise.
42339 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42341         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
42342         default_ldbl_pack and using as default implementation.
42343         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
42344         implementation.
42345         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
42346         redundant definition.
42347         (ldbl_insert_mantissa): Likewise.
42348         (ldbl_canonicalize): Likewise.
42349         (ldbl_nearbyint): Likewise.
42350         (ldbl_pack): Rename to ldbl_pack_ppc.
42351         (ldbl_unpack): Rename to ldbl_unpack_ppc.
42352         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
42353         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
42355 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42357         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
42358         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
42359         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
42360         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
42361         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
42362         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
42363         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
42364         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
42366 2013-03-07  Andreas Jaeger  <aj@suse.de>
42368         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42369         bits/mman-linux.h.
42371 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42373         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
42374         Include mpa.h and declare __MPEXP.
42375         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
42376         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
42377         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
42378         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
42379         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
42380         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
42381         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
42383         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
42384         (__slowpow): Use long double EXPL and LOGL functions to
42385         compute POW.
42386         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
42387         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
42388         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
42389         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
42390         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
42391         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
42393         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
42394         intermediate variable to calculate exponent.
42395         (__sqr): Likewise.
42396         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
42397         Likewise.
42398         (__sqr): Likewise.
42400         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
42401         [!NO__SQR]: Define __sqr.
42402         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
42403         and NO__SQR.  Remove all code except __mul and __sqr.  Include
42404         sysdeps/ieee754/dbl-64/mpa.c.
42405         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42407         [BZ #12723]
42408         * posix/Makefile (tests): Add tst-pathconf.
42409         * posix/tst-pathconf.c: New test case.
42410         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
42411         _PC_PIPE_BUF.
42412         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
42414 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
42416         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
42418 2013-03-06  Andreas Jaeger  <aj@suse.de>
42420         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
42421         definition via __MAP_ANONYMOUS.
42423         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
42424         it's not part of Linux headers.
42426         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
42427         (MAP_HUGE_MASK): Define.
42429         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42430         Define.
42431         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42432         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42433         Define.
42434         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42435         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42436         Define.
42437         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42438         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
42439         Define.
42440         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42442         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
42443         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
42444         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
42445         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
42446         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
42447         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
42449         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42450         Handle f2fs.
42452         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42453         Handle f2fs and efivarfs.
42455         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
42456         f2fs.
42458         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
42459         (EFIVARFS_MAGIC): Add.
42460         (F2FS_LINK_MAX): Add.
42462 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42464         * stdio-common/vfprintf.c: Replace __builtin_expect with
42465         __glibc_unlikely.
42467 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
42469         [BZ #13550]
42470         * sysdeps/generic/bp-sym.h: Remove file.
42471         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
42472         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
42473         <bp-sym.h> and <bp-asm.h>.
42474         (__longjmp): Don't use BP_SYM.
42475         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
42476         and <bp-asm.h>.
42477         (memcpy): Don't use BP_SYM.
42478         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
42479         <bp-sym.h> and <bp-asm.h>.
42480         (memcpy): Don't use BP_SYM.
42481         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
42482         <bp-asm.h>.
42483         (memcpy): Don't use BP_SYM.
42484         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
42485         <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/memcmp.S: Don't include
42493         <bp-sym.h> and <bp-asm.h>.
42494         (memcmp): Don't use BP_SYM.  Remove comment about bounded
42495         pointers.
42496         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
42497         <bp-sym.h> and <bp-asm.h>.
42498         (memcpy): Don't use BP_SYM.
42499         * sysdeps/powerpc/powerpc64/power4/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/power4/strncmp.S: Don't include
42508         <bp-sym.h> and <bp-asm.h>.
42509         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42510         pointers.
42511         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
42512         <bp-sym.h> and <bp-asm.h>.
42513         (memcpy): Don't use BP_SYM.
42514         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
42515         <bp-sym.h> and <bp-asm.h>.
42516         (memset): Don't use BP_SYM.
42517         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42518         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42519         (__bzero): Don't use BP_SYM.
42520         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42521         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42522         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
42523         <bp-sym.h> and <bp-asm.h>.
42524         (__memchr): Don't use BP_SYM.
42525         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
42526         <bp-sym.h> and <bp-asm.h>.
42527         (memcmp): Don't use BP_SYM.  Remove comment about bounded
42528         pointers.
42529         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
42530         <bp-sym.h> and <bp-asm.h>.
42531         (memcpy): Don't use BP_SYM.
42532         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
42533         <bp-sym.h> and <bp-asm.h>.
42534         (__mempcpy): Don't use BP_SYM.
42535         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
42536         <bp-sym.h> and <bp-asm.h>.
42537         (__memrchr): Don't use BP_SYM.
42538         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
42539         <bp-sym.h> and <bp-asm.h>.
42540         (memset): Don't use BP_SYM.
42541         (__bzero): Likewise.
42542         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
42543         <bp-sym.h> and <bp-asm.h>.
42544         (__rawmemchr): Don't use BP_SYM.
42545         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
42546         <bp-sym.h> and <bp-asm.h>.
42547         (__STRCMP): Don't use BP_SYM.
42548         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
42549         <bp-sym.h> and <bp-asm.h>.
42550         (strchr): Don't use BP_SYM.
42551         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
42552         <bp-sym.h> and <bp-asm.h>.
42553         (__strchrnul): Don't use BP_SYM.
42554         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
42555         <bp-sym.h> and <bp-asm.h>.
42556         (strlen): Don't use BP_SYM.
42557         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
42558         <bp-sym.h> and <bp-asm.h>.
42559         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42560         pointers.
42561         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
42562         <bp-sym.h> and <bp-asm.h>.
42563         (__strnlen): Don't use BP_SYM.
42564         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
42565         <bp-sym.h> and <bp-asm.h>.
42566         (__GI__setjmp): Don't use BP_SYM.
42567         (_setjmp): Likewise.
42568         (__sigsetjmp): Likewise.
42569         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
42570         (L(start_addresses)): Don't use BP_SYM.
42571         (_start): Likewise.
42572         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
42573         <bp-asm.h>.
42574         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
42575         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
42576         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42577         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42578         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
42579         <bp-asm.h>.
42580         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
42581         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
42582         about bounded pointers.
42583         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42584         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42585         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
42586         <bp-asm.h>.
42587         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42588         about bounded pointers.  Remove GKM FIXME comments.
42589         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42590         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
42591         <bp-asm.h>.
42592         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
42593         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
42594         Remove GKM FIXME comments.
42595         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42596         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42597         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
42598         <bp-asm.h>.
42599         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42600         about bounded pointers.  Remove GKM FIXME comment.
42601         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
42602         and <bp-asm.h>.
42603         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42604         pointers.
42605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
42606         <bp-sym.h> and <bp-asm.h>.
42607         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
42609         <bp-sym.h> and <bp-asm.h>.
42610         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42611         comment.
42613 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42615         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
42616         call free(NULL).
42618 2013-03-05  David S. Miller  <davem@davemloft.net>
42620         * po/es.po: Update from translation team.
42622 2013-03-05  Andreas Jaeger  <aj@suse.de>
42624         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
42625         <bits/mman-linux.h>.
42626         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42627         is fine.
42628         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
42629         <bits/mman-linux.h> to end of file.
42630         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42631         is fine.
42632         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
42633         <bits/mman-linux.h> to end of file.
42634         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42635         is fine.
42636         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
42637         <bits/mman-linux.h> to end of file.
42639         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
42640         (MCL_CURRENT, MCL_FUTURE): Define here.
42642 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42644         [BZ #15232]
42645         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
42646         attribute_hidden.
42647         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42649 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42651         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
42652         fourth parameter needed for rt_sigprocmask syscall.
42653         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
42654         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42655         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
42656         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42657         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42658         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
42660 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
42662         [BZ #13550]
42663         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
42664         comment about bounded pointers.
42665         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
42666         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
42668 2013-03-04  Andreas Jaeger  <aj@suse.de>
42670         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
42671         common definitions.
42673         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
42674         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
42675         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
42676         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42677         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42678         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42680 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42682         [BZ #15055]
42683         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
42684         __ieee754_sqrl instead of __sqrl.
42686 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
42688         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
42689         * sysdeps/powerpc/fpu_control.h: ... here.
42690         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
42691         * sysdeps/powerpc/bits/fenvinline.h: ... here.
42692         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
42693         * sysdeps/powerpc/bits/mathinline.h: ... here.
42695 2013-03-01  Roland McGrath  <roland@hack.frob.com>
42697         * elf/dl-hwcaps.c (_dl_important_hwcaps):
42698         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
42699         to just [NEED_DL_SYSINFO_DSO].
42700         * elf/dl-support.c: Likewise.
42701         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
42702         * elf/rtld.c (dl_main): Likewise.
42703         * elf/setup-vdso.h (setup_vdso): Likewise.
42704         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
42705         * sysdeps/unix/sysv/linux/dl-sysdep.c
42706         (_dl_discover_osversion): Likewise.
42708 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
42710         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
42711         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42713 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42715         * NEWS: Mention libm performance improvements and non-x86 PI
42716         futex support.
42718         * csu/libc-start.c (__pthread_initialize_minimal): Change
42719         function arguments.
42720         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42722 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
42724         [BZ #13550]
42725         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
42726         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
42727         <bp-sym.h> and <bp-asm.h>.
42728         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42729         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
42730         and <bp-asm.h>.
42731         (memcpy): Don't use BP_SYM.
42732         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
42733         <bp-asm.h>.
42734         (__mpn_add_n): Don't use BP_SYM.
42735         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
42736         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
42737         and <bp-asm.h>.
42738         (__mpn_addmul_1): Don't use BP_SYM.
42739         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42740         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
42741         <bp-sym.h>.
42742         (_setjmp): Don't use BP_SYM.
42743         (__novmx_setjmp): Likewise.
42744         (__GI__setjmp): Likewise.
42745         (__vmx_setjmp): Likewise.
42746         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
42747         <bp-sym.h>.
42748         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
42749         (__bzero): Don't use BP_SYM.
42750         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42751         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42752         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
42753         <bp-sym.h> and <bp-asm.h>.
42754         (memcpy): Don't use BP_SYM.
42755         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
42756         <bp-sym.h> and <bp-asm.h>.
42757         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42758         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
42759         <bp-sym.h> and <bp-asm.h>.
42760         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42761         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
42762         <bp-asm.h>.
42763         (__mpn_lshift): Don't use BP_SYM.
42764         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42765         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
42766         <bp-asm.h>.
42767         (memset): Don't use BP_SYM.
42768         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42769         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42770         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
42771         <bp-asm.h>.
42772         (__mpn_mul_1): Don't use BP_SYM.
42773         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42774         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
42775         <bp-sym.h> and <bp-asm.h>.
42776         (memcmp): Don't use BP_SYM.
42777         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
42778         <bp-sym.h> and <bp-asm.h>.
42779         (memcpy): Don't use BP_SYM.
42780         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
42781         <bp-sym.h> and <bp-asm.h>.
42782         (memset): Don't use BP_SYM.
42783         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
42784         <bp-sym.h> and <bp-asm.h>.
42785         (strncmp): Don't use BP_SYM.
42786         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
42787         <bp-sym.h> and <bp-asm.h>.
42788         (memcpy): Don't use BP_SYM.
42789         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
42790         <bp-sym.h> and <bp-asm.h>.
42791         (memset): Don't use BP_SYM.
42792         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
42793         <bp-sym.h> and <bp-asm.h>.
42794         (__memchr): Don't use BP_SYM.
42795         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
42796         <bp-sym.h> and <bp-asm.h>.
42797         (memcmp): Don't use BP_SYM.
42798         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
42799         <bp-sym.h> and <bp-asm.h>.
42800         (memcpy): Don't use BP_SYM.
42801         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
42802         <bp-sym.h> and <bp-asm.h>.
42803         (__mempcpy): Don't use BP_SYM.
42804         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
42805         <bp-sym.h> and <bp-asm.h>.
42806         (__memrchr): Don't use BP_SYM.
42807         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
42808         <bp-sym.h> and <bp-asm.h>.
42809         (memset): Don't use BP_SYM.
42810         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
42811         <bp-sym.h> and <bp-asm.h>.
42812         (__rawmemchr): Don't use BP_SYM.
42813         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
42814         <bp-sym.h> and <bp-asm.h>.
42815         (__STRCMP): Don't use BP_SYM.
42816         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
42817         <bp-sym.h> and <bp-asm.h>.
42818         (strchr): Don't use BP_SYM.
42819         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
42820         <bp-sym.h> and <bp-asm.h>.
42821         (__strchrnul): Don't use BP_SYM.
42822         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
42823         <bp-sym.h> and <bp-asm.h>.
42824         (strlen): Don't use BP_SYM.
42825         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
42826         <bp-sym.h> and <bp-asm.h>.
42827         (strncmp): Don't use BP_SYM.
42828         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
42829         <bp-sym.h> and <bp-asm.h>.
42830         (__strnlen): Don't use BP_SYM.
42831         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
42832         <bp-asm.h>.
42833         (__mpn_rshift): Don't use BP_SYM.
42834         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42835         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
42836         <bp-sym.h> and <bp-asm.h>.
42837         (__sigsetjmp): Don't use BP_SYM.
42838         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
42839         (L(start_addresses)): Don't use BP_SYM.
42840         (_start): Likewise.
42841         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
42842         <bp-asm.h>.
42843         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
42844         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42845         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42846         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
42847         <bp-asm.h>.
42848         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
42849         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42850         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42851         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
42852         <bp-asm.h>.
42853         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42854         comments.
42855         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42856         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
42857         <bp-asm.h>.
42858         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
42859         FIXME comments.
42860         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42861         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42862         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
42863         <bp-asm.h>.
42864         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42865         comment.
42866         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
42867         and <bp-asm.h>.
42868         (strncmp): Don't use BP_SYM,
42869         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
42870         <bp-asm.h>.
42871         (__mpn_sub_n): Don't use BP_SYM.
42872         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42873         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
42874         and <bp-asm.h>.
42875         (__mpn_submul_1): Don't use BP_SYM.
42876         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
42878         <bp-sym.h> and <bp-asm.h>.
42879         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
42881         <bp-sym.h> and <bp-asm.h>.
42882         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42883         comment.
42885 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
42888         Use ZK to minimize writes to Z.
42889         (sub_magnitudes): Simplify code a bit.
42890         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
42891         Use ZK to minimize writes to Z.
42892         (sub_magnitudes): Simplify code a bit.
42894 2013-02-27  Roland McGrath  <roland@hack.frob.com>
42896         * csu/gmon-start.c: Add special exception to license text.
42898 2013-02-27  Richard Henderson  <rth@redhat.com>
42900         * scripts/config.guess: Update from config.git.
42901         * scripts/config.sub: Likewise.
42903 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42905         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
42907         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
42909         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
42911         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
42913         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
42915 2013-02-26  Roland McGrath  <roland@hack.frob.com>
42917         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
42918         [$(build-shared = yes].
42920 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42922         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
42923         (__mul): Reduce iterations for calculating mantissa.
42925         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
42926         MPTWO.
42927         (__mpranred): Likewise.
42929         [BZ #15160]
42930         * malloc/memusagestat.c (main): Draw graphs for heap and stack
42931         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
42933 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
42935         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
42936         Define __attribute__.
42938 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42940         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
42941         unused.
42942         * posix/regex_internal.h (__attribute): Remove.
42943         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
42944         (re_string_context_at): Likewise.
42945         (bitset_not): Use __attribute__ and mark function as possibly
42946         unused.
42947         (bitset_merge): Likewise.
42948         (bitset_mask): Likewise.
42949         (re_string_char_size_at): Likewise.
42950         (re_string_wchar_at): Likewise.
42951         (re_string_elem_size_at): Likewise.
42953 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42955         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
42956         code.
42957         (cc32): Likewise.
42959         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
42960         (__acr): Likewise.
42961         (__cpy): Likewise.
42962         (norm): Likewise.
42963         (denorm): Likewise.
42964         (__dbl_mp): Likewise.
42965         (add_magnitudes): Likewise.
42966         (sub_magnitudes): Likewise.
42967         (__mul): Likewise.
42968         (__inv): Likewise.
42970         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
42971         style.
42973         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
42974         style.
42976         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
42977         code.
42979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
42980         up changes with default code.
42981         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
42982         Likewise.
42984 2013-02-24  Allan McRae  <allan@archlinux.org>
42986         * manual/socket.texi (The Internet Namespace): Order menu items
42987         to match that in the file.
42989         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
42990         node listing of the info page menu.
42992 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
42994         [BZ #13550]
42995         * sysdeps/i386/bp-asm.h: Remove file.
42996         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
42997         (PARMS): Do not use macros from bp-asm.h.
42998         (S1): Likewise.
42999         (S2): Likewise.
43000         (SIZE): Likewise.
43001         (__mpn_add_n): Do not use BP_SYM
43002         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
43003         "bp-asm.h".
43004         (PARMS): Do not use macros from bp-asm.h.
43005         (S1): Likewise.
43006         (SIZE): Likewise.
43007         (__mpn_addmul_1): Do not use BP_SYM
43008         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
43009         "bp-asm.h".
43010         (PARMS): Do not use macros from bp-asm.h.
43011         (SIGMSK): Likewise.
43012         (_setjmp): Likewise.  Do not use BP_SYM.
43013         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
43014         "bp-asm.h".
43015         (PARMS): Do not use macros from bp-asm.h.
43016         (SIGMSK): Likewise.
43017         (setjmp): Likewise.  Do not use BP_SYM.
43018         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
43019         "bp-asm.h".
43020         (PARMS): Do not use macros from bp-asm.h.
43021         (__frexp): Do not use BP_SYM.
43022         (frexp): Likewise.
43023         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
43024         "bp-asm.h".
43025         (PARMS): Do not use macros from bp-asm.h.
43026         (__frexpf): Do not use BP_SYM.
43027         (frexpf): Likewise.
43028         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
43029         "bp-asm.h".
43030         (PARMS): Do not use macros from bp-asm.h.
43031         (__frexpl): Do not use BP_SYM.
43032         (frexpl): Likewise.
43033         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
43034         "bp-asm.h".
43035         (PARMS): Do not use macros from bp-asm.h.
43036         (__remquo): Do not use BP_SYM.
43037         (remquo): Likewise.
43038         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
43039         "bp-asm.h".
43040         (PARMS): Do not use macros from bp-asm.h.
43041         (__remquof): Do not use BP_SYM.
43042         (remquof): Likewise.
43043         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
43044         "bp-asm.h".
43045         (PARMS): Do not use macros from bp-asm.h.
43046         (__remquol): Do not use BP_SYM.
43047         (remquol): Likewise.
43048         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
43049         "bp-asm.h".
43050         (PARMS): Do not use macros from bp-asm.h.
43051         (DEST): Likewise.
43052         (SRC): Likewise.
43053         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
43054         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
43055         "bp-asm.h".
43056         (PARMS): Do not use macros from bp-asm.h.
43057         (strlen): Do not use BP_SYM.
43058         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
43059         "bp-asm.h".
43060         (PARMS): Do not use macros from bp-asm.h.
43061         (S1): Likewise.
43062         (S2): Likewise.
43063         (SIZE): Likewise.
43064         (__mpn_add_n): Do not use BP_SYM.
43065         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
43066         "bp-asm.h".
43067         (PARMS): Do not use macros from bp-asm.h.
43068         (S1): Likewise.
43069         (SIZE): Likewise.
43070         (__mpn_addmul_1): Do not use BP_SYM.
43071         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
43072         weak_alias.
43073         (bzero): Likewise.
43074         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
43075         "bp-asm.h".
43076         (PARMS): Do not use macros from bp-asm.h.
43077         (S): Likewise.
43078         (SIZE): Likewise.
43079         (__mpn_lshift): Do not use BP_SYM.
43080         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
43081         "bp-asm.h".
43082         (PARMS): Do not use macros from bp-asm.h.
43083         (DEST): Likewise.
43084         (SRC): Likewise.
43085         (LEN): Likewise.
43086         (memcpy): Likewise.  Do not use BP_SYM.
43087         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
43088         libc_hidden_def and weak_alias.
43089         (mempcpy): Do not use BP_SYM in weak_alias.
43090         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
43091         "bp-asm.h".
43092         (PARMS): Do not use macros from bp-asm.h.
43093         (DEST): Likewise.
43094         (LEN): Likewise.
43095         [!BZERO_P] (CHR): Likewise.
43096         (memset): Likewise.  Do not use BP_SYM.
43097         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
43098         "bp-asm.h".
43099         (PARMS): Do not use macros from bp-asm.h.
43100         (S1): Likewise.
43101         (SIZE): Likewise.
43102         (__mpn_mul_1): Do not use BP_SYM.
43103         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
43104         "bp-asm.h".
43105         (PARMS): Do not use macros from bp-asm.h.
43106         (S): Likewise.
43107         (SIZE): Likewise.
43108         (__mpn_rshift): Do not use BP_SYM.
43109         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
43110         "bp-asm.h".
43111         (PARMS): Do not use macros from bp-asm.h.
43112         (STR): Likewise.
43113         (CHR): Likewise.
43114         (strchr): Likewise.  Do not use BP_SYM.
43115         (index): Do not use BP_SYM in weak_alias.
43116         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
43117         "bp-asm.h".
43118         (PARMS): Do not use macros from bp-asm.h.
43119         (DEST): Likewise.
43120         (SRC): Likewise.
43121         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
43122         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
43123         "bp-asm.h".
43124         (PARMS): Do not use macros from bp-asm.h.
43125         (strlen): Do not use BP_SYM.
43126         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
43127         "bp-asm.h".
43128         (PARMS): Do not use macros from bp-asm.h.
43129         (S1): Likewise.
43130         (S2): Likewise.
43131         (SIZE): Likewise.
43132         (__mpn_sub_n): Do not use BP_SYM.
43133         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
43134         "bp-asm.h".
43135         (PARMS): Do not use macros from bp-asm.h.
43136         (S1): Likewise.
43137         (SIZE): Likewise.
43138         (__mpn_submul_1): Do not use BP_SYM.
43139         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
43140         "bp-asm.h".
43141         (PARMS): Do not use macros from bp-asm.h.
43142         (S1): Likewise.
43143         (S2): Likewise.
43144         (SIZE): Likewise.
43145         (__mpn_add_n): Do not use BP_SYM.
43146         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
43147         weak_alias.
43148         (bzero): Likewise.
43149         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
43150         "bp-asm.h".
43151         (PARMS): Do not use macros from bp-asm.h.
43152         (BLK2): Likewise.
43153         (LEN): Likewise.
43154         (memcmp): Do not use BP_SYM.
43155         (bcmp): Do not use BP_SYM in weak_alias.
43156         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
43157         "bp-asm.h".
43158         (PARMS): Do not use macros from bp-asm.h.
43159         (DEST): Likewise.
43160         (SRC): Likewise.
43161         (LEN): Likewise.
43162         (memcpy): Likewise.  Do not use BP_SYM.
43163         * sysdeps/i386/i686/memmove.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         (SRC): Likewise.
43168         (LEN): Likewise.
43169         (memmove): Likewise.  Do not use BP_SYM.
43170         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
43171         "bp-asm.h".
43172         (PARMS): Do not use macros from bp-asm.h.
43173         (DEST): Likewise.
43174         (SRC): Likewise.
43175         (LEN): Likewise.
43176         (__mempcpy): Likewise.  Do not use BP_SYM.
43177         (mempcpy): Do not use BP_SYM in weak_alias.
43178         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
43179         "bp-asm.h".
43180         (PARMS): Do not use macros from bp-asm.h.
43181         (DEST): Likewise.
43182         (LEN): Likewise.
43183         [!BZERO_P] (CHR): Likewise.
43184         (memset): Likewise.  Do not use BP_SYM.
43185         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
43186         "bp-asm.h".
43187         (PARMS): Do not use macros from bp-asm.h.
43188         (STR2): Likewise.
43189         (strcmp): Do not use BP_SYM.
43190         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
43191         "bp-asm.h".
43192         (PARMS): Do not use macros from bp-asm.h.
43193         (STR): Likewise.
43194         (DELIM): Likewise.
43195         [USE_AS_STRTOK_R] (SAVE): Likewise.
43196         (FUNCTION): Likewise.  Do not use BP_SYM.
43197         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
43198         aliases.
43199         (strtok_r): Likewise.
43200         (__GI___strtok_r): Likewise.
43201         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
43202         (PARMS): Do not use macros from bp-asm.h.
43203         (S): Likewise.
43204         (SIZE): Likewise.
43205         (__mpn_lshift): Do not use BP_SYM.
43206         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
43207         (PARMS): Do not use macros from bp-asm.h.
43208         (STR): Likewise.
43209         (CHR): Likewise.
43210         (__memchr): Do not use BP_SYM.
43211         (memchr): Do not use BP_SYM in weak_alias.
43212         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
43213         (PARMS): Do not use macros from bp-asm.h.
43214         (BLK2): Likewise.
43215         (LEN): Likewise.
43216         (memcmp): Do not use BP_SYM.
43217         (bcmp): Do not use BP_SYM in weak_alias.
43218         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
43219         (PARMS): Do not use macros from bp-asm.h.
43220         (S1): Likewise.
43221         (SIZE): Likewise.
43222         (__mpn_mul_1): Do not use BP_SYM.
43223         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
43224         "bp-asm.h".
43225         (PARMS): Do not use macros from bp-asm.h.
43226         (STR): Likewise.
43227         (CHR): Likewise.
43228         (__rawmemchr): Do not use BP_SYM.
43229         (rawmemchr): Do not use BP_SYM in weak_alias.
43230         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
43231         (PARMS): Do not use macros from bp-asm.h.
43232         (S): Likewise.
43233         (SIZE): Likewise.
43234         (__mpn_rshift): Do not use BP_SYM.
43235         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
43236         (PARMS): Do not use macros from bp-asm.h.
43237         (SIGMSK): Likewise.
43238         (__sigsetjmp): Likewise.  Do not use BP_SYM.
43239         * sysdeps/i386/start.S: Do not include "bp-sym.h".
43240         (_start): Do not use BP_SYM.
43241         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
43242         (PARMS): Do not use macros from bp-asm.h.
43243         (DEST): Likewise.
43244         (SRC): Likewise.
43245         (__stpcpy): Likewise.  Do not use BP_SYM.
43246         (stpcpy): Do not use BP_SYM in weak_alias.
43247         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
43248         "bp-asm.h".
43249         (PARMS): Do not use macros from bp-asm.h.
43250         (DEST): Likewise.
43251         (SRC): Likewise.
43252         (LEN): Likewise.
43253         (__stpncpy): Likewise.  Do not use BP_SYM.
43254         (stpncpy): Do not use BP_SYM in weak_alias.
43255         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
43256         (PARMS): Do not use macros from bp-asm.h.
43257         (STR): Likewise.
43258         (CHR): Likewise.
43259         (strchr): Likewise.  Do not use BP_SYM.
43260         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
43261         "bp-asm.h".
43262         (PARMS): Do not use macros from bp-asm.h.
43263         (STR): Likewise.
43264         (CHR): Likewise.
43265         (__strchrnul): Likewise.  Do not use BP_SYM.
43266         (strchrnul): Do not use BP_SYM in weak_alias.
43267         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
43268         "bp-asm.h".
43269         (PARMS): Do not use macros from bp-asm.h.
43270         (STOP): Likewise.
43271         (strcspn): Do not use BP_SYM.
43272         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
43273         "bp-asm.h".
43274         (PARMS): Do not use macros from bp-asm.h.
43275         (STR): Likewise.
43276         (STOP): Likewise.
43277         (strpbrk): Likewise.  Do not use BP_SYM.
43278         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
43279         "bp-asm.h".
43280         (PARMS): Do not use macros from bp-asm.h.
43281         (STR): Likewise.
43282         (CHR): Likewise.
43283         (strrchr): Likewise.  Do not use BP_SYM.
43284         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
43285         (PARMS): Do not use macros from bp-asm.h.
43286         (SKIP): Likewise.
43287         (strspn): Do not use BP_SYM.
43288         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
43289         (PARMS): Do not use macros from bp-asm.h.
43290         (STR): Likewise.
43291         (DELIM): Likewise.
43292         (SAVE): Likewise.
43293         (FUNCTION): Likewise.  Do not use BP_SYM.
43294         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
43295         aliases.
43296         (strtok_r): Likewise.
43297         (__GI___strtok_r): Likewise.
43298         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
43299         (PARMS): Do not use macros from bp-asm.h.
43300         (S1): Likewise.
43301         (S2): Likewise.
43302         (SIZE): Likewise.
43303         (__mpn_sub_n): Do not use BP_SYM.
43304         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
43305         "bp-asm.h".
43306         (PARMS): Do not use macros from bp-asm.h.
43307         (S1): Likewise.
43308         (SIZE): Likewise.
43309         (__mpn_submul_1): Do not use BP_SYM.
43310         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
43311         <bp-sym.h>.
43312         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
43313         and <bp-asm.h>.
43314         (PARMS): Do not use macros from bp-asm.h.
43315         (FLAGS): Likewise.
43316         (PTID): Likewise.
43317         (TLS): Likewise.
43318         (CTID): Likewise.
43319         (__clone): Do not use BP_SYM.
43320         (clone): Do not use BP_SYM in weak_alias.
43321         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
43322         and <bp-asm.h>.
43323         (PARMS): Do not use macros from bp-asm.h.
43324         (LEN): Likewise.
43325         (__mmap64): Do not use BP_SYM.
43326         (mmap64): Do not use BP_SYM in weak_alias.
43327         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43328         <bp-sym.h> and <bp-asm.h>.
43329         (PARMS): Do not use macros from bp-asm.h.
43330         (__posix_fadvise64_l64): Do not use BP_SYM.
43331         * sysdeps/unix/sysv/linux/i386/semtimedop.S
43332         (PARMS): Do not use macros from bp-asm.h.
43333         (NSOPS): Likewise.
43334         (semtimedop): Do not use BP_SYM.
43335         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
43336         and <bp-asm.h>.
43338 2013-02-21  Allan McRae  <allan@archlinux.org>
43340         * manual/message.texi (Charset conversion in gettext):
43341         Move @end statement to beginning of line.
43343 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43345         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
43346         static.
43347         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
43348         Likewise.
43350         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
43351         (denorm): Likewise.
43352         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
43353         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
43355 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43357         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
43358         tail-call to the resolved function if pltexit isn't needed.
43360 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43362         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
43363         or Y being zero as being unlikely.
43364         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43365         Likewise.
43367 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
43369         * manual/nss.texi (System Databases and Name Service Switch):
43370         Remove frobnicate @pxref.
43372 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
43374         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
43375         __attribute__ ((unused)) to __attribute__ ((__unused__)).
43377 2013-02-20  Petr Machata  <pmachata@redhat.com>
43379         * elf/elf.h (R_ARM_TARGET1): New macro.
43380         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
43381         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
43382         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
43383         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
43384         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
43385         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
43386         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
43387         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
43388         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
43389         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
43390         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
43391         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
43392         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
43393         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
43394         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
43395         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
43396         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
43397         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
43398         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
43399         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
43400         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
43401         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
43402         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
43403         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
43404         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
43405         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
43406         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
43407         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
43408         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
43409         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
43410         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
43411         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
43412         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
43413         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
43414         (R_ARM_THM_GOT_BREL12): Likewise.
43415         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
43416         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
43417         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
43418         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
43419         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
43420         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
43421         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
43422         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
43423         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
43425 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
43427         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
43428         __attribute_used__ to __attribute__ ((unused)).
43430 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43432         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
43433         powerpc mpa.c.
43434         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
43435         comment formatting.
43436         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
43438 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
43440         [BZ #13550]
43441         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
43442         Remove macro.
43443         (ENTER): Remove both macro definitions.
43444         (LEAVE): Likewise.
43445         (CHECK_BOUNDS_LOW): Likewise.
43446         (CHECK_BOUNDS_HIGH): Likewise.
43447         (CHECK_BOUNDS_BOTH): Likewise.
43448         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
43449         (RETURN_BOUNDED_POINTER): Likewise.
43450         (RETURN_NULL_BOUNDED_POINTER): Likewise.
43451         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
43452         (POP_ERRNO_LOCATION_RETURN): Likewise.
43453         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
43454         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43455         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
43456         macros.
43457         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43458         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
43459         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
43460         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
43461         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
43462         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
43463         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
43464         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
43465         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
43466         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
43467         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
43468         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
43469         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43470         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
43471         removed macros.
43472         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43473         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
43474         macros.
43475         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43476         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
43477         * sysdeps/i386/i586/memset.S (memset): Likewise.
43478         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
43479         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43480         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
43481         macros.
43482         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43483         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
43484         Change uses of L(2) to L(out).
43485         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
43486         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
43487         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
43488         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43489         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
43490         removed macros.
43491         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43492         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
43493         macros.
43494         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43495         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
43496         (RETURN): Do not use macro LEAVE.
43497         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
43498         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
43499         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
43500         * sysdeps/i386/i686/memset.S (memset): Likewise.
43501         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
43502         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
43503         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43504         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
43505         Likewise.
43506         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43507         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
43508         L(1_2) and L(1_3) into L(1).
43509         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43510         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
43511         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43512         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
43513         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43514         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
43515         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
43516         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43517         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
43518         macros.
43519         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
43520         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43521         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
43522         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
43523         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
43524         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43525         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
43526         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
43527         * sysdeps/i386/strcspn.S (strcspn): Likewise.
43528         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
43529         * sysdeps/i386/strrchr.S (strrchr): Likewise.
43530         * sysdeps/i386/strspn.S (strspn): Likewise.
43531         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
43532         conditional code.
43533         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43534         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
43535         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43536         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
43537         L(1_3) into L(1_1).
43538         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
43539         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43540         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
43541         macros.
43542         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43544 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
43546         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
43547         macro.
43549 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43551         * math/atest-exp.c (exp_mpn): Remove ROUND.
43552         * math/atest-exp2.c (exp_mpn): Likewise.
43553         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
43555         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
43556         * stdlib/tst-tls-atexit-lib.c: Likewise.
43557         * stdlib/tst-tls-atexit.c: Likewise.
43559 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43561         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
43562         and __attribute_alloc_size__.
43564 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43566         * include/programs/xmalloc.h: Change __attribute_alloc_size to
43567         __attribute_alloc_size__.
43568         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
43569         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
43571 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43573         * include/programs/xmalloc.h: New file.
43574         * catgets/gencat.c: Include it.
43575         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
43576         * elf/pldd.c: Likewise.
43577         * iconv/iconv_charmap.c: Likewise.
43578         * iconv/iconvconfig.c: Likewise.
43579         * iconv/strtab.c: Likewise.
43580         * locale/programs/locale.c: Likewise.
43581         * locale/programs/localedef.h: Likewise.
43582         * locale/programs/simple-hash.c: Likewise.
43583         * nscd/nscd.h: Likewise.
43584         * nss/makedb.c: Likewise.
43585         * sysdeps/generic/ldconfig.h: Likewise.
43587 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43589         * Versions.def: Add GLIBC_2.18.
43590         * include/link.h (struct link_map): New member l_tls_dtor_count.
43591         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
43592         (__call_tls_dtors): Likewise.
43593         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
43594         __cxa_thread_atexit_impl.
43595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43596         Likewise.
43597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43598         Likewise.
43599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43600         Likewise.
43601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43602         Likewise.
43603         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
43605         Likewise.
43606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
43607         Likewise.
43608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43610         Likewise.
43611         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
43612         (tests): Add test case tst-tls-atexit.
43613         (modules-names): Add shared library for tst-tls-atexit.
43614         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
43615         (GLIBC_PRIVATE): Add __call_tls_dtors.
43616         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
43617         for libstdc++.
43618         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
43619         * stdlib/tst-tls-atexit.c: New test case.
43620         * stdlib/tst-tls-atexit-lib.c: New test case.
43622         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
43624         * elf/Versions (ld): Add _dl_find_dso_for_object.
43625         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
43626         * elf/dl-open.c (_dl_find_dso_for_object): New function.
43627         (dl_open_worker): Use _dl_find_dso_for_object.
43628         * elf/dl-sym.c (do_sym): Likewise.
43629         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
43631 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43633         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
43634         Syntactic changes only.
43635         (_dl_runtime_profile): Do a tail-call to the resolved function.
43637 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
43639         [BZ #13550]
43640         * sysdeps/x86_64/bp-asm.h: Remove file.
43641         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
43642         <bp-sym.h> and <bp-asm.h>.
43643         (__clone): Do not use BP_SYM.
43644         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
43645         <bp-sym.h> and <bp-asm.h>.
43646         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43647         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
43648         "bp-asm.h".
43649         (_setjmp): Do not use BP_SYM.
43650         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
43651         "bp-asm.h".
43652         (setjmp): Do not use BP_SYM.
43653         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
43654         libc_hidden_def.
43655         (mempcpy): Do not use BP_SYM in weak_alias.
43656         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
43657         "bp-asm.h".
43658         (strchr): Do not use BP_SYM.
43659         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
43660         "bp-asm.h".
43661         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
43662         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
43663         (_start): Do not use BP_SYM.
43664         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
43665         "bp-asm.h".
43666         (strcat): Do not use BP_SYM.
43667         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
43668         "bp-asm.h".
43669         (STRCMP): Do not use BP_SYM.
43670         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
43671         "bp-asm.h".
43672         (STRCPY): Do not use BP_SYM.
43673         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
43674         "bp-asm.h".
43675         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
43676         "bp-asm.h".
43677         (FUNCTION): Do not use BP_SYM.
43678         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
43679         weak_alias.
43680         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
43682 2013-02-17  Andreas Jaeger  <aj@suse.de>
43684         * time/Versions: Sort entries.
43685         * string/Versions: Likewise.
43686         * resolv/Versions: Likewise.
43687         * posix/Versions: Likewise.
43688         * iconv/Versions: Likewise.
43689         * elf/Versions: Likewise.
43690         * wcsmbs/Versions: Likewise.
43692 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43694         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
43695         loop termination condition.
43697         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
43698         variable to calculate EZ.
43699         (__sqr): Likewise.
43701         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
43702         the lower precision input.
43704 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
43706         [BZ #13550]
43707         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
43708         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
43709         (run-via-rtld-prefix): Do not handle %-bp tests.
43710         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
43711         (all-object-suffixes): Remove .ob.
43712         (bppfx): Remove variable.
43713         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
43714         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
43715         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
43716         [$(build-bounded) = yes] (libtype.ob): Likewise.
43717         * Makerules (elide-routines.ob): Remove variable.
43718         (do-tests-clean): Do not handle *-bp.out.
43719         (common-mostlyclean): Do not handle *-bp and *-bp.out.
43720         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
43721         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
43722         (tests): Do not include $(tests-bp.out).
43723         (xtests): Do not include $(xtests-bp.out).
43724         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
43725         [$(build-bounded) = yes] ($(addprefix
43726         $(objpfx),$(binaries-bounded))): Remove rule.
43727         ($(objpfx)%-bp.out): Remove rule.
43728         * config.make.in (build-bounded): Remove variable.
43729         * crypt/Makefile [$(build-bounded) = yes]
43730         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
43731         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
43732         append to variable.
43733         [$(build-bounded) = yes] (install-lib): Likewise.
43734         [$(build-bounded) = yes] (generated): Likewise.
43735         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
43736         Remove rule.
43737         * intl/Makefile [$(build-bounded) = yes]
43738         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
43739         * math/Makefile [$(build-bounded) = yes]
43740         ($(tests:%=$(objpfx)%-bp): Likewise.
43741         * misc/Makefile [$(build-bounded) = yes]
43742         ($(objpfx)tst-tsearch-bp): Likewise.
43743         * nptl/Makeconfig (bounded-thread-library): Remove variable.
43744         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
43745         Remove dependency.
43746         * string/Makefile (o-objects.ob): Remove variable.
43747         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
43748         (CFLAGS-.ob): Remove variable.
43749         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
43750         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
43751         both definitions of variable.
43752         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
43753         (ASFLAGS-.ob): Remove variable.
43755 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
43757         [BZ #13550]
43758         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
43759         Remove __BOUNDED_POINTERS__ from condition.
43760         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
43761         * string/bits/string2.h [!__NO_STRING_INLINES &&
43762         !__BOUNDED_POINTERS__]: Likewise.
43763         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
43764         Likewise.
43765         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
43766         Remove conditional code.
43767         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
43768         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
43769         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
43770         condition.
43772         [BZ #13550]
43773         * csu/libc-start.c: Do not include <bp-sym.h>.
43774         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
43775         * elf/dl-open.c: Do not include <bp-sym.h>.
43776         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
43777         * math/fegetenv.c: Do not include <bp-sym.h>.
43778         (fegetenv): Do not use BP_SYM in versioned symbols.
43779         * nptl/sysdeps/pthread/bits/libc-lockP.h
43780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
43781         <bp-sym.h>.
43782         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43783         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
43784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43785         (__pthread_mutex_destroy): Likewise.
43786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43787         (__pthread_mutex_lock): Likewise.
43788         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43789         (__pthread_mutex_trylock): Likewise.
43790         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43791         (__pthread_mutex_unlock): Likewise.
43792         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43793         (__pthread_mutexattr_init): Likewise.
43794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43795         (__pthread_mutexattr_destroy): Likewise.
43796         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43797         (__pthread_mutexattr_settype): Likewise.
43798         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43799         (__pthread_rwlock_init): Likewise.
43800         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43801         (__pthread_rwlock_destroy): Likewise.
43802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43803         (__pthread_rwlock_rdlock): Likewise.
43804         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43805         (__pthread_rwlock_tryrdlock): Likewise.
43806         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43807         (__pthread_rwlock_wrlock): Likewise.
43808         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43809         (__pthread_rwlock_trywrlock): Likewise.
43810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43811         (__pthread_rwlock_unlock): Likewise.
43812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43813         (__pthread_key_create): Likewise.
43814         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43815         (__pthread_setspecific): Likewise.
43816         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43817         (__pthread_getspecific): Likewise.
43818         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
43819         Likewise.
43820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43821         (_pthread_cleanup_push_defer): Likewise.
43822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43823         (_pthread_cleanup_pop_restore): Likewise.
43824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43825         (pthread_setcancelstate): Likewise.
43826         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
43827         <bp-sym.h>.
43828         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
43829         (memchr): Do not use BP_SYM in weak_alias.
43830         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
43831         (fegetenv): Do not use BP_SYM in versioned symbols.
43832         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
43833         (fesetenv): Do not use BP_SYM in versioned symbols.
43834         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43835         (feupdateenv): Do not use BP_SYM in versioned symbols.
43836         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43837         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43838         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
43839         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
43840         (open64): Do not use BP_SYM in weak_alias.
43841         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
43842         (fegetenv): Do not use BP_SYM in versioned symbols.
43843         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
43844         (fesetenv): Do not use BP_SYM in versioned symbols.
43845         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43846         (feupdateenv): Do not use BP_SYM in versioned symbols.
43847         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
43848         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
43849         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
43850         (feraiseexcept): Do not use BP_SYM in versioned symbols.
43851         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43852         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43853         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
43854         <bp-sym.h>.
43855         (__libc_start_main): Do not use BP_SYM.
43857 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43859         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
43860         redundant return line.
43861         (norm): Likewise.
43862         (denorm): Likewise.
43863         (dbl_mp): Likewise.
43864         (sub_magnitudes): Likewise.
43865         (__add): Likewise.
43866         (__sub): Likewise.
43867         (__mul): Likewise.
43868         (__inv): Likewise.
43869         (__dvd): Likewise.
43870         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
43871         (norm): Likewise.
43872         (denorm): Likewise.
43873         (dbl_mp): Likewise.
43874         (sub_magnitudes): Likewise.
43875         (__add): Likewise.
43876         (__sub): Likewise.
43877         (__mul): Likewise.
43878         (__inv): Likewise.
43879         (__dvd): Likewise.
43881         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
43882         instead of __mul.
43883         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43884         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
43885         (cc32): Likewise.
43887         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
43888         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
43889         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
43890         of __mul for squares.
43891         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
43892         function
43893         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
43894         Likewise.
43895         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
43896         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43898 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
43900         [BZ #13550]
43901         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
43902         code.
43903         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
43904         prototype or function definition.  Rename ubp_* variables and
43905         parameters.  Remove argv definitions conditional on
43906         [__BOUNDED_POINTERS__].
43907         * debug/backtrace.c (__backtrace): Do not use __unbounded.
43908         * elf/dl-runtime.c (_dl_fixup): Likewise.
43909         * include/set-hooks.h (RUN_HOOK): Likewise.
43910         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
43911         definition.
43912         * string/strcpy.c (strcpy): Do not use __unbounded.
43913         * sysdeps/generic/frame.h (struct layout): Likewise.
43914         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
43915         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
43916         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
43917         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
43918         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
43919         (__backtrace): Likewise.
43920         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
43921         use __ptrvalue.
43922         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
43923         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
43924         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
43925         Likewise.
43926         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
43927         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
43928         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43929         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
43930         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
43931         Do not use __unbounded.
43932         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
43933         Rename __unboundedrlimits parameter to rlimits in prototype.
43934         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
43935         Do not use __unbounded.
43936         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
43937         not use __ptrvalue.
43938         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
43939         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
43940         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
43941         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
43942         __ptrvalue or __unbounded.
43943         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
43944         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
43945         use __unbounded.
43946         (__new_msgctl): Do not use __ptrvalue.
43947         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
43948         __unbounded.
43949         (__libc_msgrcv): Do not use __ptrvalue.
43950         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
43951         startup_info): Do not use __unbounded.
43952         (__libc_start_main): Likewise.  Rename ubp_* variables and
43953         parameters.  Remove argv definitions conditional on
43954         [__BOUNDED_POINTERS__].
43955         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
43956         __ptrvalue.
43957         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
43958         use __unbounded.
43959         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
43960         or __ptrvalue.
43961         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
43962         use __unbounded.
43963         (__new_shmctl): Do not use __ptrvalue.
43964         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
43965         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
43966         Likewise.
43967         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
43968         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
43969         (__libc_sigaction): Likewise.
43970         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
43971         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
43972         Likewise.
43973         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
43975 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
43977         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
43979         * string/mempcpy.c: Implement by calling memcpy.
43981 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43983         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
43985         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
43986         evaluation.
43988         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
43989         values in the mantissa.
43991         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
43992         minimize writes to Z.
43993         (sub_magnitudes): Simplify code a bit.
43995 2013-02-12  Roland McGrath  <roland@hack.frob.com>
43997         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
43998         from the message.  The linker prefixes all warnings with that already.
44000 2013-02-12  Andreas Schwab  <schwab@suse.de>
44002         [BZ #15078]
44003         * posix/regexec.c (extend_buffers): Add parameter min_len.
44004         (check_matching): Pass minimum needed length.
44005         (clean_state_log_if_needed): Likewise.
44006         (get_subexp): Likewise.
44007         * posix/Makefile (tests): Add bug-regex34.
44008         (bug-regex34-ENV): Define.
44009         * posix/bug-regex34.c: New file.
44011         [BZ #11561]
44012         * posix/regcomp.c (parse_bracket_exp): When looking up collating
44013         elements compare against the byte sequence of it, not its name.
44014         * posix/Makefile (tests): Add bug-regex35.
44015         (bug-regex35-ENV): Define.
44016         * posix/bug-regex35.c: New file.
44018 2013-02-11  Tom de Vries  <tom@codesourcery.com>
44020         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
44021         comment.
44022         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
44023         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
44024         (CHECK_EOL): Add undef.
44026 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
44028         * bits/stdlib-bsearch.h: New file.
44029         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
44030         * stdlib/stdlib.h: Likewise.
44032 2013-02-11  Roland McGrath  <roland@hack.frob.com>
44034         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
44035         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
44036         declaration.
44037         * manual/search.texi (Array Search Function): Add missing const in
44038         lfind prototype.
44039         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
44040         declaration to use rlim_t.
44041         (Basic Scheduling Functions): Remove erroneous const from
44042         sched_getparam prototype.  Remove erroneous * from
44043         sched_get_priority_max and sched_get_priority_min prototypes.
44044         (Resource Usage): Fix summary @comment on vtimes to refer to
44045         sys/vtimes.h rather than vtimes.h.
44046         Add missing *s in vtimes prototype.
44047         (Limits on Resources): Fix ulimit prototype to return long int.
44048         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
44049         prototypes to use long int rather than double.
44050         (BSD Random): Fix initstate and setstate to use char *, not void *.
44051         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
44052         prototype to make second argument 'struct aiocb64 *const[]'.
44053         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
44054         (Status of AIO Operations): Remove erroneous const in aio_return and
44055         aio_return64 prototypes.
44056         (Synchronizing I/O): Fix sync prototype to return void.
44057         * manual/startup.texi (Suboptions): Remove an erroneous const in
44058         getsubopt prototype.
44059         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
44060         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
44061         use size_t rather than int.
44062         (Scanning All Users): Likewise for getpwent_r.
44063         (Setting Groups): Add missing const to setgroups prototype.
44064         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
44065         * manual/socket.texi (Host Names): Fix gethostbyaddr and
44066         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
44067         'const void *' rather than 'const char *'.
44068         (Host Address Functions): Likewise for inet_ntop.
44069         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
44070         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
44071         ssize_t for return value.
44072         (Sending Data): Likewise for send, sendto, sendmsg.
44073         (Socket Option Functions): Add a missing const in setsockopt prototype.
44074         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
44075         use wchar_t for the argument.
44076         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
44077         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
44078         take no arguments.
44079         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
44080         double/float/long double for second argument.
44081         Fix return types of significand, significandf, significandl.
44082         * manual/filesys.texi (Setting Permissions): Use mode_t for second
44083         argument in fchmod prototype.
44084         (File Owner): Use uid_t and gid_t in fchown prototype.
44085         (File Times): Add const to utimes, futimes, and lutimes prototypes.
44086         (Making Special Files): Use mode_t and dev_t in mknod prototype.
44087         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
44088         use 'const struct dirent **' as argument types to CMP function pointer
44089         argument.
44090         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
44091         (File Times): Fix summary magic @comment for struct utimbuf and utime
44092         to refer to utime.h, not time.h.
44093         * manual/string.texi (Argz Functions): Add missing const in
44094         argz_extract and argz_next prototypes.
44095         (Finding Tokens in a String): Likewise for basename.
44096         (String/Array Comparison): Fix typo in wcscasecmp prototype.
44097         (Copying and Concatenation): Fix typo in wmemmove prototype.
44098         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
44099         (Signal Stack): Remove erroneous const in sigstack prototype.
44100         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
44101         prototype.
44102         (Simple Calendar Time): Likewise for stime.
44103         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
44104         prototype.
44105         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
44106         say sys/sysctl.h instead.
44107         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
44108         and vsyslog prototypes.
44110 2013-02-11  Tom de Vries  <tom@codesourcery.com>
44112         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
44113         Remove.
44115 2013-02-11  Roland McGrath  <roland@hack.frob.com>
44117         * misc/sys/mman.h: Fix typo in mremap comment.
44119 2013-02-08  Roland McGrath  <roland@hack.frob.com>
44121         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
44122         the '\0' terminator.
44124 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
44126         [BZ #13550]
44127         * debug/segfault.c: Don't include <bp-checks.h>.
44128         * sysdeps/generic/bp-checks.h: Remove file.
44129         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
44130         (__GETDENTS): Don't use CHECK_N.
44131         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
44132         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
44133         (__getgroups): Don't use CHECK_N.
44134         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
44135         (setgroups): Don't use CHECK_N.
44136         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
44137         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
44138         (__libc_msgrcv): Don't use CHECK_N.
44139         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
44140         (__libc_msgsnd): Don't use CHECK_N.
44141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
44142         <bp-checks.h>.
44143         (__libc_pread): Don't use CHECK_N.
44144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
44145         include <bp-checks.h>.
44146         (__libc_pread64): Don't use CHECK_N.
44147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
44148         include <bp-checks.h>.
44149         (__libc_pwrite): Don't use CHECK_N.
44150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
44151         include <bp-checks.h>.
44152         (__libc_pwrite64): Don't use CHECK_N.
44153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
44154         <bp-checks.h>.
44155         (__libc_pread): Don't use CHECK_N.
44156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
44157         include <bp-checks.h>.
44158         (__libc_pread64): Don't use CHECK_N.
44159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
44160         include <bp-checks.h>.
44161         (__libc_pwrite): Don't use CHECK_N.
44162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
44163         include <bp-checks.h>.
44164         (__libc_pwrite64): Don't use CHECK_N.
44165         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
44166         (do_pread): Don't use CHECK_N.
44167         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
44168         (do_pread64): Don't use CHECK_N.
44169         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
44170         (do_pwrite): Don't use CHECK_N.
44171         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
44172         (do_pwrite64): Don't use CHECK_N.
44173         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
44174         (__libc_readv): Don't use CHECK_N.
44175         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
44176         (semop): Don't use CHECK_N.
44177         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
44178         <bp-checks.h>.
44179         (semtimedop): Don't use CHECK_N.
44180         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
44181         (__libc_pread): Don't use CHECK_N.
44182         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
44183         <bp-checks.h>.
44184         (__libc_pread64): Don't use CHECK_N.
44185         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
44186         <bp-checks.h>.
44187         (__libc_pwrite): Don't use CHECK_N.
44188         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
44189         <bp-checks.h>.
44190         (__libc_pwrite64): Don't use CHECK_N.
44191         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
44192         <bp-checks.h>.
44193         (__libc_msgrcv): Don't use CHECK_N.
44194         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
44195         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
44196         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
44197         (__libc_writev): Don't use CHECK_N.
44199 2013-02-08  Roland McGrath  <roland@hack.frob.com>
44201         * string/strcpy.c: Removed unused variable.
44203         * Makeconfig (+sysdep-includes): Define with := rather than =.
44204         Use an existing include/ subdir of each sysdeps dir before it.
44206 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44208         * nscd/connection.c (register_traced_file): Comment function.
44209         [HAVE_INOTIFY] (union __inev): Define.
44210         [HAVE_INOTIFY] (inotify_check_files): New function.
44211         [HAVE_INOTIFY] (clear_db_cache): Likewise.
44212         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
44213         clear_db_cache.
44214         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
44216 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44218         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
44219         loaded if not already and that a failure is permanent.
44221 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44223         [BZ #15006]
44224         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
44225         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
44227 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
44229         [BZ #13550]
44230         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
44231         (CHECK_1_NULL_OK): Likewise.
44232         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
44233         (__fxstat): Do not use CHECK_1.
44234         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
44235         <bp-checks.h>.
44236         (___fxstat64): Do not use CHECK_1.
44237         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
44238         <bp-checks.h>.
44239         (__fxstatat): Do not use CHECK_1.
44240         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
44241         <bp-checks.h>.
44242         (__fxstatat64): Do not use CHECK_1.
44243         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
44244         <bp-checks.h>.
44245         (__fxstat): Do not use CHECK_1.
44246         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
44247         <bp-checks.h>.
44248         (__fxstatat): Do not use CHECK_1.
44249         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44250         <bp-checks.h>.
44251         (__getresgid): Do not use CHECK_1.
44252         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44253         <bp-checks.h>.
44254         (__getresuid): Do not use CHECK_1.
44255         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
44256         <bp-checks.h>.
44257         (__lxstat): Do not use CHECK_1.
44258         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44259         <bp-checks.h>.
44260         (__old_msgctl): Do not use CHECK_1.
44261         (__new_msgctl): Likewise.
44262         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
44263         <bp-checks.h>.
44264         (__new_setrlimit): Do not use CHECK_1.
44265         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44266         <bp-checks.h>.
44267         (__old_shmctl): Do not use CHECK_1.
44268         (__new_shmctl): Likewise.
44269         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
44270         <bp-checks.h>.
44271         (__xstat): Do not use CHECK_1.
44272         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
44273         (__lxstat): Do not use CHECK_1.
44274         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
44275         <bp-checks.h>.
44276         (___lxstat64): Do not use CHECK_1.
44277         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
44278         (__old_msgctl): Do not use CHECK_1.
44279         (__new_msgctl): Likewise.
44280         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
44281         <bp-checks.h>.
44282         (__gettimeofday): Do not use CHECK_1.
44283         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
44284         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
44285         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
44286         <bp-checks.h>.
44287         (__gettimeofday): Do not use CHECK_1.
44288         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
44289         (__old_shmctl): Do not use CHECK_1_NULL_OK.
44290         (__new_shmctl): Do not use CHECK_1.
44291         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
44292         <bp-checks.h>.
44293         (do_sigtimedwait): Do not use CHECK_1.
44294         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
44295         <bp-checks.h>.
44296         (do_sigwaitinfo): Do not use CHECK_1.
44297         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
44298         <bp-checks.h>.
44299         (msgctl): Do not use CHECK_1.
44300         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
44301         <bp-checks.h>.
44302         (shmctl): Do not use CHECK_1.
44303         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
44304         (ustat): Do not use CHECK_1.
44305         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
44306         <bp-checks.h>.
44307         (__fxstat): Do not use CHECK_1.
44308         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
44309         <bp-checks.h>.
44310         (__fxstatat): Do not use CHECK_1.
44311         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
44312         <bp-checks.h>.
44313         (__lxstat): Do not use CHECK_1.
44314         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
44315         <bp-checks.h>.
44316         (__xstat): Do not use CHECK_1.
44317         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
44318         (__xstat): Do not use CHECK_1.
44319         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
44320         (___xstat64): Do not use CHECK_1.
44322         [BZ #13550]
44323         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
44324         definitions.
44325         (CHECK_BOUNDS_HIGH): Likewise.
44326         * string/strcpy.c: Do not include <bp-checks.h>.
44327         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
44329 2013-02-07  Roland McGrath  <roland@hack.frob.com>
44331         * nscd/nscd-client.h (__nscd_drop_map_ref):
44332         Add __attribute__ ((unused)).
44333         * nis/nss-nisplus.h (niserr2nss): Likewise.
44335         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
44336         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
44338         * csu/libc-tls.c (init_static_tls, init_slotinfo):
44339         Remove inline keyword.
44340         * include/rounding-mode.h (round_away): Likewise.
44341         * libio/wfileops.c (adjust_wide_data): Likewise.
44342         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
44343         (__m128i_strloadu_tolower): Likewise.
44344         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
44345         (__m128i_strloadu_tolower): Likewise.
44346         * time/mktime.c (ydhms_diff): Likewise.
44347         * locale/elem-hash.h (elem_hash): Likewise.
44348         * locale/setlocale.c (setdata): Likewise.
44349         * posix/regex_internal.h (re_string_char_size_at): Likewise.
44350         (re_string_wchar_at): Likewise.
44351         (bitset_not, bitset_merge, bitset_mask): Likewise.
44352         [!(__GNUC__ > 3)] (inline): Remove macro.
44353         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
44354         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
44355         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
44356         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
44357         * string/memcmp.c (memcmp_bytes): Likewise.
44358         * locale/programs/locarchive.c (compute_hashval): Likewise.
44359         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
44360         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
44361         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
44362         * nss/getent.c (print_rpc, print_protocols): Likewise.
44363         (print_passwd, print_group, print_aliases): Likewise.
44364         * nis/nss-nisplus.h (niserr2nss): Likewise.
44365         * nscd/connections.c (restart_p): Likewise.
44366         Change return type to bool.
44368 2013-02-05  Roland McGrath  <roland@hack.frob.com>
44370         * Makeconfig (all-Depend-files): Add existing
44371         $(sorted-subdirs:=/Depend) files.
44372         (all-subdirs): Remove nss.
44373         * sysdeps/unix/inet/Subdirs: Add it here instead.
44374         * hesiod/Depend: New file.
44376         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
44377         instead of calling alloca.
44379         * io/lseek.c (__lseek): Rename to __libc_lseek.
44380         Define __lseek as an alias.
44382         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
44384 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
44386         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
44387         else clause and remove check for non-standard endianness.
44389 2013-02-04  David S. Miller  <davem@davemloft.net>
44391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44393 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
44395         [BZ #13550]
44396         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
44397         (__ubp_memchr): Remove prototype.
44398         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
44399         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
44400         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
44401         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
44402         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
44403         Remove alias.
44404         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
44405         (__ubp_memchr): Likewise.
44406         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
44407         (__ubp_memchr): Likewise.
44408         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
44409         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
44410         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
44411         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
44412         CHECK_STRING.
44413         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44414         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
44415         (__getcwd): Do not use CHECK_STRING.
44416         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44417         <bp-checks.h>.
44418         (__real_chown): Do not use CHECK_STRING.
44419         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
44420         <bp-checks.h>.
44421         (fchownat): Do not use CHECK_STRING.
44422         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
44423         CHECK_STRING.
44424         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44425         <bp-checks.h>.
44426         (__lchown): Do not use CHECK_STRING.
44427         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
44428         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
44429         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
44430         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
44431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44432         include <bp-checks.h>.
44433         (truncate64): Do not use CHECK_STRING.
44434         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44435         <bp-checks.h>.
44436         (__real_chown): Do not use CHECK_STRING.
44437         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44438         <bp-checks.h>.
44439         (__lchown): Do not use CHECK_STRING.
44440         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44441         <bp-checks.h>.
44442         (__chown): Do not use CHECK_STRING.
44443         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
44444         <bp-checks.h>.
44445         (truncate64): Do not use CHECK_STRING.
44446         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
44447         Likewise.
44448         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
44449         (__xmknod): Do not use CHECK_STRING.
44450         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
44451         <bp-checks.h>.
44452         (__xmknodat): Do not use CHECK_STRING.
44453         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
44454         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
44456 2013-02-04  Andreas Schwab  <schwab@suse.de>
44458         [BZ #14142]
44459         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
44460         * include/netdb.h: Likewise for h_errno.
44461         * elf/tst-stackguard1.c: Include <tls.h>.
44463 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
44465         * elf/link.h (struct link_map): Extend the l_addr comment.
44466         * include/link.h (struct link_map): Likewise.
44468 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
44470         [BZ #13550]
44471         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
44472         (BOUNDED_1): Remove macro.
44473         * debug/backtrace.c: Don't include <bp-checks.h>.
44474         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
44475         (__backtrace): Likewise.
44476         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
44477         <bp-checks.h>.
44478         (__backtrace): Don't use BOUNDED_1.
44479         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
44480         <bp-checks.h>.
44481         (__backtrace): Don't use BOUNDED_1.
44482         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
44483         (__backtrace): Don't use BOUNDED_1.
44484         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
44485         (shmat): Don't use BOUNDED_N.
44487 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
44489         [BZ #13550]
44490         * sysdeps/generic/bp-start.h: Remove file.
44491         * csu/libc-start.c: Don't include <bp-start.h>.
44492         (LIBC_START_MAIN): Set up __environ directly instead of using
44493         INIT_ARGV_and_ENVIRON.
44494         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
44495         <bp-start.h>.
44497         [BZ #13550]
44498         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
44499         definitions.
44500         (CHECK_FCNTL): Likewise.
44501         (CHECK_N_PAGES): Likewise.
44503         [BZ #13550]
44504         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
44505         definitions.
44506         (CHECK_SIGSET_NULL_OK): Likewise.
44507         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
44508         <bp-checks.h>.
44509         (sigpending): Don't use CHECK_SIGSET.
44510         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
44511         <bp-checks.h>.
44512         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44513         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
44514         <bp-checks.h>.
44515         (do_sigsuspend): Don't use CHECK_SIGSET.
44516         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
44517         use CHECK_SIGSET.
44518         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
44519         (do_sigwait): Don't use CHECK_SIGSET.
44520         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
44521         use CHECK_SIGSET.
44522         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
44523         include <bp-checks.h>.
44524         (sigpending): Don't use CHECK_SIGSET.
44525         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
44526         include <bp-checks.h>.
44527         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44528         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
44529         <bp-checks.h>.
44530         (sigpending): Don't use CHECK_SIGSET.
44531         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
44532         <bp-checks.h>.
44533         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44535         [BZ #13550]
44536         * sysdeps/generic/bp-semctl.h: Remove file.
44537         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
44538         <bp-checks.h> and <bp-semctl.h>.
44539         (__old_semctl): Don't use CHECK_SEMCTL.
44540         (__new_semctl): Likewise.
44541         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
44542         and <bp-semctl.h>.
44543         (__old_semctl): Don't use CHECK_SEMCTL.
44544         (__new_semctl): Likewise.
44545         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
44546         <bp-checks.h> and <bp-semctl.h>.
44547         (__old_semctl): Don't use CHECK_SEMCTL.
44548         (__new_semctl): Likewise.
44549         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
44550         <bp-checks.h> and <bp-semctl.h>.
44551         (semctl): Don't use CHECK_SEMCTL.
44553         [BZ #13550]
44554         * Makerules (elide-bp-thunks): Remove variable.
44555         (elide-routines.oS): Don't use $(elide-bp-thunks).
44556         (elide-routines.os): Likewise.
44557         (elide-routines.o): Likewise.
44558         (elide-routines.op): Likewise.
44559         (elide-routines.og): Likewise.
44560         (objects): Don't use $(bp-thunks).
44561         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
44562         include.
44563         (common-generated): Do not add s-proto-bp.d.
44564         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
44565         (int): Likewise.
44566         (typ): Likewise.
44567         Do not generate makefile rules for bounded-pointer thunks.
44568         * sysdeps/generic/bp-thunks.h: Remove file.
44569         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
44570         * sysdeps/unix/s-proto-bp.S: Likewise.
44572         [BZ #15062]
44573         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
44574         parts of result separately when argument is not close to line from
44575         -i to i and one part of argument is small.
44576         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44577         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44578         * math/libm-test.inc (cacos_test): Add more tests.
44579         (casin_test): Likewise.
44580         (casinh_test): Likewise.
44581         * sysdeps/i386/fpu/libm-test-ulps: Update.
44582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44584 2013-01-31  David S. Miller  <davem@davemloft.net>
44586         * po/de.po: Update from translation team.
44588 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
44590         * time/tzfile.c: Include stdint.h for SIZE_MAX.
44592 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
44594         * configure.in (_AC_PROG_CC_C89): New definition.
44595         * configure: Regenerate.
44597         * configure.in (AC_PROG_CPP): New definition.
44598         * configure: Regenerate.
44600 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44602         * debug/tst-backtrace.h: New file.
44603         * debug/tst-backtrace2.c: Include tst-backtrace.h.
44604         (ret): Remove variable.
44605         (x): Likewise.
44606         (FAIL): Remove macro.
44607         (NO_INLINE): Likewise.
44608         (fn1): Use match function instead of strstr.
44609         * debug/tst-backtrace3.c: Include tst-backtrace.h.
44610         (ret): Remove variable.
44611         (x): Likewise.
44612         (FAIL): Remove macro.
44613         (NO_INLINE): Likewise.
44614         (fn): Use match function instead of strstr.
44615         * debug/tst-backtrace4.c: Include tst-backtrace.h.
44616         (ret): Remove variable.
44617         (x): Likewise.
44618         (FAIL): Remove macro.
44619         (NO_INLINE): Likewise.
44620         (handle_signal): Use match function instead of strstr.
44621         * debug/tst-backtrace5.c: Include tst-backtrace.h.
44622         (ret): Remove variable.
44623         (x): Likewise.
44624         (FAIL): Remove macro.
44625         (NO_INLINE): Likewise.
44626         (handle_signal): Use match function instead of strstr.
44628 2013-01-23  Roland McGrath  <roland@hack.frob.com>
44630         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
44632 2013-01-23  David S. Miller  <davem@davemloft.net>
44634         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
44635         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
44636         argument of CAS if possible.
44637         * sysdeps/sparc/sparc64/bits/atomic.h
44638         (__arch_compare_and_exchange_val_32_acq): Likewise.
44639         (__arch_compare_and_exchange_val_64_acq): Likewise.
44641 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
44643         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
44644         * sysdeps/posix/ulimit.c: ... this.
44645         Include <limits.h>.
44646         * sysdeps/unix/bsd/ulimit.c: Remove file.
44648 2013-01-23  Adam Conrad  <adconrad@0c3.net>
44650         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
44651         (LDFLAGS-tst-array5): Likewise.
44653 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44655         [BZ #15036]
44656         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
44657         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
44658         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
44659         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
44661 2013-01-21  David S. Miller  <davem@davemloft.net>
44663         * sysdeps/sparc/backtrace.c: New file.
44664         * sysdeps/sparc/sparc32/backtrace.h: New file.
44665         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
44666         * sysdeps/sparc/sparc64/backtrace.h: New file.
44667         * sysdeps/sparc/sparc64/backtrace.c: Delete.
44668         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
44669         -funwind-tables.
44671 2013-01-21  Andreas Schwab  <schwab@suse.de>
44673         [BZ #15020]
44674         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
44675         closed its stdout.
44677 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
44679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
44680         "mpa2.h".
44681         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44683 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
44684             Mark Mitchell  <mark@codesourcery.com>
44685             Tom de Vries  <tom@codesourcery.com>
44686             Paul Pluzhnikov  <ppluzhnikov@google.com>
44688         * debug/tst-backtrace2.c: New file.
44689         * debug/tst-backtrace3.c: Likewise.
44690         * debug/tst-backtrace4.c: Likewise.
44691         * debug/tst-backtrace5.c: Likewise.
44692         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
44693         (CFLAGS-tst-backtrace3.c): Likewise.
44694         (CFLAGS-tst-backtrace4.c): Likewise.
44695         (CFLAGS-tst-backtrace5.c): Likewise.
44696         (LDFLAGS-tst-backtrace2): Likewise.
44697         (LDFLAGS-tst-backtrace3): Likewise.
44698         (LDFLAGS-tst-backtrace4): Likewise.
44699         (LDFLAGS-tst-backtrace5): Likewise.
44700         (tests): Add new tests tst-backtrace2, tst-backtrace3,
44701         tst-backtrace4 and tst-backtrace5.
44703 2013-01-18  Anton Blanchard  <anton@samba.org>
44704             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44706         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
44707         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
44708         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
44709         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
44710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
44711         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
44712         "+r" and remove output regs list as redundant.  Add explicit inline
44713         asm to specify register of return val to work around compiler codegen
44714         bug.  Remove (int) cast on return value.  Add return type parameter to
44715         use in macro so that this macro does not truncate return value for
44716         64-bit values.
44717         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
44718         pass to INTERNAL_VSYSCALL_NCS.
44719         (INLINE_VSYSCALL): Add 'long int' as return type to
44720         INTERNAL_VSYSCALL_NCS macro invocation.
44721         (INTERNAL_VSYSCALL): Add 'long int' as return type to
44722         INTERNAL_VSYSCALL_NCS macro invocation.
44723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44725 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44727         [BZ #14496]
44728         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
44729         Fix application of SIMD FP exception mask.
44731         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
44732         mp_no from a power of two.
44733         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
44734         __mpexp_twomm1.  Use __pow_mp.
44736         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
44737         multiplication.
44739 2013-01-17  David S. Miller  <davem@davemloft.net>
44741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44743 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44745         [BZ #15023]
44746         * include/complex.h: Condition contents on [!_COMPLEX_H].
44747         (__kernel_casinhf): New prototype.
44748         (__kernel_casinh): Likewise.
44749         (__kernel_casinhl): Likewise.
44750         * math/Makefile (libm_calls): Add k_casinh.
44751         * math/k_casinh.c: New file.
44752         * math/k_casinhf.c: Likewise.
44753         * math/k_casinhl.c: Likewise.
44754         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
44755         finite nonzero arguments.
44756         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
44757         finite nonzero arguments.
44758         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
44759         finite nonzero arguments.
44760         * math/s_casinh.c: Do not include <float.h>.
44761         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
44762         * math/s_casinhf.c: Do not include <float.h>.
44763         (__casinhf): Move code for finite nonzero arguments to
44764         k_casinhf.c.
44765         * math/s_casinhl.c: Do not include <float.h>.
44766         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
44767         redefine.
44768         (__casinhl): Move code for finite nonzero arguments to
44769         k_casinhl.c.
44770         * math/libm-test.inc (cacos_test): Add more tests.
44771         * sysdeps/i386/fpu/libm-test-ulps: Update.
44772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44774 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
44776         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
44777         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
44778         [!HAVE_MREMAP]: Remove [defined linux] case.
44779         * malloc/arena.c: Do not include <malloc-sysdep.h>.
44781 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44783         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
44785 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
44787         * elf/elf.h (R_386_SIZE32): New relocation.
44788         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
44789         R_386_SIZE32.
44790         (elf_machine_rela): Likewise.
44791         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44792         R_X86_64_SIZE64 and R_X86_64_SIZE32.
44794 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44796         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
44797         (FP_FAST_FMA): Do not define.
44798         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
44799         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
44800         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
44801         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
44802         !_SOFT_FLOAT]: Likewise.
44803         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
44804         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
44805         value.
44806         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
44807         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
44808         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
44809         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
44810         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
44811         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
44812         file.
44814 2013-01-16  Andreas Schwab  <schwab@suse.de>
44816         [BZ #14327]
44817         * include/stdlib.h (__mktemp): Add declaration.
44818         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
44819         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
44821 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44823         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
44824         definitions.
44825         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
44826         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
44827         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
44828         definitions here.
44829         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
44830         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
44831         definitions.
44832         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
44833         and ONE.
44834         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
44835         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
44836         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
44837         definitions.
44838         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
44839         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
44840         definitions.
44841         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
44843         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
44845 2013-01-15  David S. Miller  <davem@davemloft.net>
44847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44848         trunc{,f} to libm-sysdep_routes.
44849         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
44851         file.
44852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
44853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
44854         file.
44855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
44856         file.
44857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
44858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
44859         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
44860         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
44861         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
44862         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
44863         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
44864         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
44866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44867         nearbyint{,f} to libm-sysdep_routes.
44868         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
44870         New file.
44871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
44872         file.
44873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
44874         New file.
44875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
44876         file.
44877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
44878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
44879         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
44880         file.
44881         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
44882         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
44883         file.
44884         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
44885         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
44886         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
44888         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
44889         libc_feholdexcept and libc_fesetenv.
44891 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
44893         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
44895 2013-01-14  David S. Miller  <davem@davemloft.net>
44897         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
44898         (SPARC_ASM_VIS2_IFUNC): Likewise.
44899         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
44900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
44901         use of 'siam' instruction.
44902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
44903         Likewise.
44904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
44905         Likewise.
44906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
44907         Likewise.
44908         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
44909         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
44910         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
44911         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
44912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
44913         file.
44914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
44915         file.
44916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
44917         file.
44918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
44919         file.
44920         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
44921         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
44922         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
44923         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
44924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
44925         new VIS2 routines.
44926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44929         Likewise.
44930         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44931         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44932         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44933         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
44935         routines to libm-sysdep_routines.
44936         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44939         fdim/fdimf to libm-sysdep_routines.
44940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
44941         file.
44942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
44943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
44944         file.
44945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
44946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
44947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
44948         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
44949         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
44950         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
44951         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
44953 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44955         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
44956         to optimize copies.
44958         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
44959         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
44960         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44962         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
44963         local variable MPTWO.
44964         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44965         Likewise.
44967 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44969         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
44970         GLOB_NOESCAPE.
44972 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44974         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
44976 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44978         * manual/pattern.texi (glob_t): Document gl_flags.
44979         (glob64_t): Likewise.
44981 2013-01-11  David S. Miller  <davem@davemloft.net>
44983         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
44984         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
44985         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
44986         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
44987         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
44988         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
44989         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
44990         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
44991         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
44992         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
44993         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
44994         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
44995         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
44997         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
44998         sparc V9 rather than using V8 code.
44999         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45000         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45002         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45003         Move to...
45004         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
45005         Here.
45007 2013-01-11  Roland McGrath  <roland@hack.frob.com>
45009         [BZ #14941]
45010         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
45011         not in the main loop.
45012         * configure: Regenerated.
45014 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
45016         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
45017         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
45018         to just #else.
45019         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
45020         [!__GLIBC_HAVE_LONG_LONG] case.
45021         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
45022         condition to just #else.
45023         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
45024         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
45025         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
45026         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
45027         unconditional.
45028         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
45029         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
45030         #elif condition to just #else.
45031         * sysdeps/unix/sysv/linux/sys/sysmacros.h
45032         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
45033         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
45034         #elif condition to just #else.
45036 2013-01-11  Steve Ellcey  <sellcey@mips.com>
45038         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
45039         (EF_MIPS_ARCH_64): Fix value.
45040         (EF_MIPS_ARCH_32R2): New.
45041         (EF_MIPS_ARCH_64R2): New.
45043 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
45045         * Makeconfig (+link-pie-before-libc): New.
45046         (+link-pie-after-libc): Likewise.
45047         (+link-pie-tests): Likewise.
45048         (+link-pie): Rewritten.
45049         (link-before-libc): Remove $(config-LDFLAGS).
45050         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
45051         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
45052         (config-LDFLAGS): Renamed to ...
45053         (rtld-LDFLAGS): This.
45054         (rtld-tests-LDFLAGS): New macro.
45055         (link-libc-rpath-link): Likewise.
45056         (link-libc-tests-rpath-link): Likewise.
45057         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
45058         (link-libc): Prepand $(link-libc-rpath-link).
45059         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
45060         (test-program-prefix): New macro.
45061         (test-via-rtld-prefix): Likewise.
45062         (test-program-cmd): Likewise.
45063         (host-test-program-cmd): Likewise.
45064         * Makefile ($(common-objpfx)testrun.sh): Replace
45065         $(run-program-prefix) with $(test-program-prefix).
45066         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
45067         $(rtld-LDFLAGS).
45068         ($(common-objpfx)shlib.lds): Likewise.
45069         (build-module-helper): Likewise.
45070         ($(common-objpfx)format.lds): Likewise.
45071         * Rules (binaries-pie-tests): New.
45072         (binaries-pie-notests): Likewise.
45073         (binaries-pie): Rewritten.
45074         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
45075         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
45076         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
45077         (make-test-out): Replace $(host-built-program-cmd) with
45078         $(host-test-program-cmd).
45079         * config.make.in (build-hardcoded-path-in-tests): New variable.
45080         * configure.in (--enable-hardcoded-path-in-tests): New configure
45081         option.
45082         (hardcoded_path_in_tests): New AC_SUBST.
45083         * configure: Regenerated.
45084         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
45085         $(built-program-cmd) with $(test-program-cmd).
45086         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
45087         (test_program_cmd): This.
45088         * elf/Makefile ($(objpfx)order.out): Run test with
45089         $(test-program-prefix).
45090         ($(objpfx)order2.out): Likewise.
45091         ($(objpfx)tst-initorder.out): Likewise.
45092         ($(objpfx)tst-initorder2.out): Likewise.
45093         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
45094         $(test-program-cmd).
45095         ($(objpfx)tst-array1-static.out): Likewise.
45096         ($(objpfx)tst-array2.out): Likewise.
45097         ($(objpfx)tst-array3.out): Likewise.
45098         ($(objpfx)tst-array4.out): Likewise.
45099         ($(objpfx)tst-array5.out): Likewise.
45100         ($(objpfx)tst-array5-static.out): Likewise.
45101         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
45102         $(test-program-cmd).
45103         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
45104         $(run-program-prefix) with $(test-program-prefix).
45105         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
45106         (test_program_prefix): This.
45107         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
45108         $(run-program-prefix) with $(test-program-prefix).
45109         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
45110         (test_program_prefix): This.
45111         * iconvdata/tst-tables.sh: Likewise.
45112         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
45113         $(run-program-prefix) with $(test-program-prefix).
45114         ($(objpfx)tst-translit.out): Likewise.
45115         ($(objpfx)tst-gettext2.out): Likewise.
45116         ($(objpfx)tst-gettext4.out): Likewise.
45117         ($(objpfx)tst-gettext6.out): Likewise.
45118         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
45119         (test_program_prefix): This.
45120         * intl/tst-gettext2.sh: Likewise.
45121         * intl/tst-gettext4.sh  Likewise.
45122         * intl/tst-gettext6.sh: Likewise.
45123         * intl/tst-translit.sh: Likewise.
45124         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
45125         with $(test-program-cmd).
45126         * libio/Makefile ($(objpfx)test-freopen.out): Replace
45127         $(run-program-prefix) with $(test-program-prefix).
45128         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
45129         (test_program_prefix): This.
45130         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
45131         $(run-program-prefix) with $(test-program-prefix).
45132         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
45133         (test_program_prefix): This.
45134         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
45135         * posix/Makefile ($(objpfx)globtest.out): Replace
45136         $(run-via-rtld-prefix) and $(test-wrapper) with
45137         $(test-program-prefix) and $(test-via-rtld-prefix).
45138         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
45139         $(test-program-prefix).
45140         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
45141         $(host-test-program-cmd).
45142         (tst-spawn-ARGS): Likewise.
45143         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
45144         $(test-program-prefix).
45145         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
45146         (test_via_rtld_prefix): This.
45147         (test_wrapper): Renamed to ...
45148         (test_program_prefix): This.
45149         (run_program_prefix): Replaced by test_program_prefix.
45150         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
45151         (test_program_prefix): This.
45152         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
45153         with $(host-test-program-cmd).
45154         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
45155         $(run-program-prefix) with $(test-program-prefix).
45156         ($(objpfx)tst-printf.out): Likewise.
45157         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
45158         $(test-program-cmd).
45159         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
45160         (test_program_prefix): This.
45161         * stdio-common/tst-unbputc.sh: Likewise.
45162         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
45163         $(run-program-prefix) with $(test-program-prefix).
45164         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
45165         (test_program_prefix): This.
45166         * string/Makefile ($(objpfx)tst-svc.out):  Replace
45167         $(built-program-cmd) with $(test-program-cmd).
45169 2013-01-11  Andreas Jaeger  <aj@suse.de>
45171         [BZ #15003]
45172         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
45173         value. Sync with Linux 3.7.
45175 2013-01-10  David S. Miller  <davem@davemloft.net>
45177         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
45178         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45179         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45181 2013-01-10  Roland McGrath  <roland@hack.frob.com>
45183         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
45184         never set.
45185         * configure: Regenerated.
45187 2013-01-10  David S. Miller  <davem@davemloft.net>
45189         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
45190         sparc V9 rather than using V8 code.
45191         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45192         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45194 2013-01-10  Roland McGrath  <roland@hack.frob.com>
45196         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
45197         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
45198         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
45199         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
45200         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
45201         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
45202         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
45203         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
45204         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
45205         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
45206         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
45207         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
45208         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
45209         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
45210         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
45211         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
45212         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
45213         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
45214         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
45215         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
45216         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
45217         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
45218         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
45219         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
45220         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
45221         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
45222         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
45224 2013-01-10  David S. Miller  <davem@davemloft.net>
45226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45228 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
45230         * posix/Makefile (tests-static): New variable.
45231         (tests): Add $(tests-static).
45232         (tst-exec-static-ARGS): New variable.
45233         (tst-spawn-static-ARGS): Likewise.
45234         * posix/tst-exec-static.c: New file.
45235         * posix/tst-spawn-static.c: Likewise.
45236         * posix/tst-exec.c: Support run directly.
45237         * posix/tst-spawn.c: Likewise.
45239 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
45241         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
45242         long.
45243         * math/bits/mathcalls.h (llrint): Likewise.
45244         (llround): Likewise.
45245         * stdlib/stdlib.h (struct drand48_data): Likewise.
45246         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
45247         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
45248         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
45249         Likewise.
45250         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
45251         Likewise.
45252         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
45253         (elf_greg_t): Likewise.
45254         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
45255         (__jmp_buf): Likewise.
45256         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
45257         definitions.
45258         (llrint): Likewise, for all definitions.
45259         (llrintl): Likewise.
45261         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
45262         Remove [__GNUC__] condition.
45263         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
45264         condition to just [__USE_ISOC99].
45265         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
45267 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
45269         [BZ #14200]
45270         * sysdeps/unix/sysv/linux/x86/bits/environments.h
45271         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
45272         defined.
45273         (_POSIX_V6_ILP32_OFF32): Likewise.
45274         (_XBS5_ILP32_OFF32): Likewise.
45275         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
45276         (__ILP32_OFFBIG_LDFLAGS): Likewise.
45278 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45280         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
45282         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
45283         doubles __mpexp_twomm1.  Adjust usage.
45284         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
45285         Remove.
45287 2013-01-10  Andreas Schwab  <schwab@suse.de>
45289         [BZ #14964]
45290         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
45291         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
45293 2013-01-09  David S. Miller  <davem@davemloft.net>
45295         [BZ #15003]
45296         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
45297         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
45298         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
45299         (TCP_FASTOPEN): Define.
45300         (tcp_repair_opt): New structure.
45301         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
45302         enum values.
45303         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
45304         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
45305         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
45306         (tcp_cookie_transactions): New structure.
45308 2013-01-09  Anton Blanchard  <anton@samba.org>
45310         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
45311         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
45312         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
45313         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
45315 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
45317         * include/features.h (__USE_ANSI): Remove.
45319 2013-01-09  Roland McGrath  <roland@hack.frob.com>
45321         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
45323         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
45325 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
45327         * sysdeps/s390/fpu/libm-test-ulps: Update.
45329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45331         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
45332         (__acr): Likewise.
45333         (__cpy): Likewise.
45334         (norm): Likewise.
45335         (denorm): Likewise.
45336         (__mp_dbl): Likewise.
45337         (__dbl_mp): Likewise.
45338         (add_magnitudes): Likewise.
45339         (sub_magnitudes): Likewise.
45340         (__add): Likewise.
45341         (__sub): Likewise.
45342         (__mul): Likewise.
45343         (__inv): Likewise.
45344         (__dvd): Likewise.
45345         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
45346         (__acr): Likewise.
45347         (__cpy): Likewise.
45348         (norm): Likewise.
45349         (denorm): Likewise.
45350         (__mp_dbl): Likewise.
45351         (__dbl_mp): Likewise.
45352         (add_magnitudes): Likewise.
45353         (sub_magnitudes): Likewise.
45354         (__add): Likewise.
45355         (__sub): Likewise.
45356         (__mul): Likewise.
45357         (__inv): Likewise.
45358         (__dvd): Likewise.
45359         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
45360         (__acr): Likewise.
45361         (__cpy): Likewise.
45362         (norm): Likewise.
45363         (denorm): Likewise.
45364         (__mp_dbl): Likewise.
45365         (__dbl_mp): Likewise.
45366         (add_magnitudes): Likewise.
45367         (sub_magnitudes): Likewise.
45368         (__add): Likewise.
45369         (__sub): Likewise.
45370         (__mul): Likewise.
45371         (__inv): Likewise.
45372         (__dvd): Likewise.
45374 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
45376         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
45377         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
45378         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
45379         2 && __USE_EXTERN_INLINES]: Likewise.
45381 2013-01-08  Andreas Jaeger  <aj@suse.de>
45383         [BZ# 14985]
45384         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
45385         Remove.
45386         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
45387         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
45389 2013-01-07  Anton Blanchard  <anton@samba.org>
45391         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
45392         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45393         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
45394         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45395         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45396         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45397         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
45398         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
45399         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45400         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45401         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45402         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45403         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45404         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45405         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45406         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45407         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45408         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45409         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45410         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45411         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45412         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
45413         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45414         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45415         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
45416         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45417         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45418         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45419         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
45420         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45421         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45422         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45423         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45424         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45425         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45426         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45427         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45428         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45429         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
45430         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45431         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
45432         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45433         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45435 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
45437         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
45438         (__MALLOC_PMT): Likewise.
45439         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
45440         [__GNUC__], only on [_LIBC].
45441         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
45442         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
45443         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
45444         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
45445         forward declaration.
45446         (realloc_hook_ini): Likewise.
45447         (memalign_hook_ini): Likewise.
45448         (__libc_memalign): Do not use __MALLOC_PMT in variable
45449         declaration.
45450         (__libc_valloc): Likewise.
45451         (__libc_pvalloc): Likewise.
45452         (__libc_calloc): Likewise.
45453         (__posix_memalign): Likewise.
45455         [BZ #14996]
45456         * math/s_casinh.c: Include <float.h>.
45457         (__casinh): Do not do computation with squaring and square root
45458         for large arguments.
45459         * math/s_casinhf.c: Include <float.h>.
45460         (__casinhf): Do not do computation with squaring and square root
45461         for large arguments.
45462         * math/s_casinhl.c: Include <float.h>.
45463         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
45464         (__casinhl): Do not do computation with squaring and square root
45465         for large arguments.
45466         * math/libm-test.inc (casin_test): Add more tests.
45467         (casinh_test): Likewise.
45468         * sysdeps/i386/fpu/libm-test-ulps: Update.
45469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45471 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
45473         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
45474         (__x86_64_raw_data_cache_size): Likewise.
45475         (__x86_64_data_cache_size_half): Likewise.
45476         (__x86_64_raw_data_cache_size_half): Likewise.
45477         (__x86_64_shared_cache_size): Likewise.
45478         (__x86_64_raw_shared_cache_size): Likewise.
45479         (__x86_64_shared_cache_size_half): Likewise.
45480         (__x86_64_raw_shared_cache_size_half): Likewise.
45481         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
45482         to ...
45483         (__x86_data_cache_size): This.
45484         (__x86_64_raw_data_cache_size): Renamed to ...
45485         (__x86_raw_data_cache_size): This.
45486         (__x86_64_data_cache_size_half): Renamed to ...
45487         (__x86_data_cache_size_half): This.
45488         (__x86_64_raw_data_cache_size_half): Renamed to ...
45489         (__x86_raw_data_cache_size_half): This.
45490         (__x86_64_shared_cache_size): Renamed to ...
45491         (__x86_shared_cache_size): This.
45492         (__x86_64_raw_shared_cache_size): Renamed to ...
45493         (__x86_raw_shared_cache_size): This.
45494         (__x86_64_shared_cache_size_half): Renamed to ...
45495         (__x86_shared_cache_size_half): This.
45496         (__x86_64_raw_shared_cache_size_half): Renamed to ...
45497         (__x86_raw_shared_cache_size_half): This.
45498         * sysdeps/x86_64/memcpy.S: Updated.
45499         * sysdeps/x86_64/memset.S: Likewise.
45500         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45501         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45502         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45504 2013-01-04  David S. Miller  <davem@davemloft.net>
45506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45508 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
45510         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
45511         1 to avoid redefinition warning.
45512         (__USE_GNU): Don't define.
45513         (init_signaling_nan): Protoize.
45515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45517 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45519         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
45520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
45521         (__cpymn): Likewise.
45522         (norm): Remove commented code.
45523         (denorm): Likewise.
45524         (__mp_dbl): Likewise.
45525         (__inv): Likewise.
45526         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
45527         (__cpymn): Likewise.
45528         (norm): Remove commented code.
45529         (denorm): Likewise.
45530         (__mp_dbl): Likewise.
45531         (__inv): Likewise.
45533         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
45534         mp_no value for 1.0 and 2.0.
45535         (norm): Use RADIXI instead of radixi.d.
45536         (denorm): Likewise.
45537         (__mul): Use 0.0 instead of zero.d.
45538         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
45539         mp_no value for 1.0 and 2.0.
45540         (norm): Use RADIXI instead of radixi.d.
45541         (denorm): Likewise.
45542         (__mul): Use 0.0 instead of zero.d.
45544 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
45546         [BZ #14994]
45547         * math/s_casinh.c (__casinh): Reduce finite argument to first
45548         quadrant then set signs of results at the end.
45549         * math/s_casinhf.c (__casinhf): Likewise.
45550         * math/s_casinhl.c (__casinhl): Likewise.
45551         * math/libm-test.inc (casin_test): Add more tests.
45552         (casinh_test): Likewise.
45553         * sysdeps/i386/fpu/libm-test-ulps: Update.
45554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45556 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45558         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
45560         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
45562         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
45563         declarations.
45564         (denorm): Likewise.
45565         (__mp_dbl): Likewise.
45566         (__inv): Likewise.
45568         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
45569         and adjust the header comment.
45571         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
45572         variable name from declaration.
45574 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
45576         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45577         Initialize COMMON_CPUID_INDEX_7 element.
45578         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
45579         (CPUID_RTM): Likewise.
45580         (HAS_RTM): Likewise.
45581         (COMMON_CPUID_INDEX_7): New enum.
45583 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
45585         [BZ #14981]
45586         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
45587         size is zero, record memory as freed.
45589 2013-01-03  Andreas Jaeger  <aj@suse.de>
45591         * po/ia.po: Add new Interlingua translation.
45593 2012-01-03  Allan McRae  <allan@archlinux.org>
45595         * locale/programs/localedef.c: Fix description of '--posix' flag.
45597 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
45599         * NEWS: Update dates in second copyright notice.
45600         * README: Update copyright dates in example.
45601         * manual/libc.texinfo: Update copyright dates.
45602         * scripts/test-installation.pl: Update copyright date in --version
45603         output.
45605         * hurd/ctty-input.c: Fix copyright notice formatting.
45606         * hurd/ctty-output.c: Likewise.
45607         * hurd/dtable.c: Likewise.
45608         * hurd/hurd-raise.c: Likewise.
45609         * hurd/hurdprio.c: Likewise.
45610         * hurd/msgportdemux.c: Likewise.
45611         * misc/sys/file.h: Likewise.
45612         * misc/sys/ioctl.h: Likewise.
45613         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45614         * sysdeps/mach/hurd/chdir.c: Likewise.
45615         * sysdeps/mach/hurd/fchdir.c: Likewise.
45616         * sysdeps/mach/hurd/rename.c: Likewise.
45617         * sysdeps/mach/hurd/rmdir.c: Likewise.
45618         * sysdeps/mach/hurd/seekdir.c: Likewise.
45619         * sysdeps/mach/hurd/setsid.c: Likewise.
45620         * sysdeps/posix/wait3.c: Likewise.
45622         * All files with FSF copyright notices: Update copyright dates
45623         using scripts/update-copyrights.
45624         * intl/plural.c: Regenerated.
45625         * locale/programs/charmap-kw.h: Likewise.
45626         * locale/programs/locfile-kw.h: Likewise.
45628 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45630         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
45631         four values.
45633         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
45634         calculation loop and add branch prediction.
45636         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
45637         check access beyond bounds of m1np.
45639         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45640         MPTWO.
45641         (__inv): Remove local variable MPTWO to use the global
45642         constant.
45643         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
45644         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45645         variable MPTWO.
45646         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
45647         MP3HALFS static const.
45649 2013-01-01  David S. Miller  <davem@davemloft.net>
45651         * po/ca.po: Update from translation team.
45653 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
45655         * scripts/update-copyrights: New file.
45656         * Makeconfig: Reformat copyright notice.
45657         * ctype/ctype.h: Likewise.
45658         * debug/swprintf_chk.c: Likewise.
45659         * elf/dl-cache.c: Likewise.
45660         * elf/dl-debug.c: Likewise.
45661         * elf/dl-object.c: Likewise.
45662         * grp/initgroups.c: Likewise.
45663         * hurd/Makefile: Likewise.
45664         * hurd/hurd/signal.h: Likewise.
45665         * hurd/hurdfault.c: Likewise.
45666         * hurd/hurdioctl.c: Likewise.
45667         * hurd/hurdlookup.c: Likewise.
45668         * hurd/intr-msg.c: Likewise.
45669         * iconv/gconv_open.c: Likewise.
45670         * libio/swprintf.c: Likewise.
45671         * locale/lc-ctype.c: Likewise.
45672         * locale/nl_langinfo.c: Likewise.
45673         * mach/Machrules: Likewise.
45674         * mach/Makefile: Likewise.
45675         * malloc/obstack.h: Likewise.
45676         * manual/Makefile: Likewise.
45677         * manual/tsort.awk: Likewise.
45678         * misc/bits/stab.def: Likewise.
45679         * nis/nis_print_group_entry.c: Likewise.
45680         * nis/nis_table.c: Likewise.
45681         * nis/nss_compat/compat-pwd.c: Likewise.
45682         * nis/nss_compat/compat-spwd.c: Likewise.
45683         * po/Makefile: Likewise.
45684         * posix/fnmatch.c: Likewise.
45685         * posix/regex.h: Likewise.
45686         * resolv/Makefile: Likewise.
45687         * resolv/nss_dns/dns-network.c: Likewise.
45688         * resolv/res_hconf.c: Likewise.
45689         * scripts/gen-sorted.awk: Likewise.
45690         * soft-fp/soft-fp.h: Likewise.
45691         * stdio-common/printf.h: Likewise.
45692         * stdlib/monetary.h: Likewise.
45693         * stdlib/random.c: Likewise.
45694         * stdlib/random_r.c: Likewise.
45695         * sysdeps/generic/Makefile: Likewise.
45696         * sysdeps/gnu/Makefile: Likewise.
45697         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45698         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45699         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45700         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45701         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45702         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45703         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45704         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45705         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45706         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45707         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45708         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45709         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45710         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45711         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
45712         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45713         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45714         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45715         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45716         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45717         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45718         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45719         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45720         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45721         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
45722         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45723         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45724         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
45725         * sysdeps/mach/hurd/errnos.awk: Likewise.
45726         * sysdeps/mach/hurd/fork.c: Likewise.
45727         * sysdeps/mach/hurd/getcwd.c: Likewise.
45728         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
45729         * sysdeps/mach/hurd/mmap.c: Likewise.
45730         * sysdeps/mach/hurd/utimes.c: Likewise.
45731         * sysdeps/mach/hurd/xmknod.c: Likewise.
45732         * sysdeps/posix/profil.c: Likewise.
45733         * sysdeps/posix/readdir_r.c: Likewise.
45734         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45735         * sysdeps/powerpc/bits/setjmp.h: Likewise.
45736         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
45737         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
45738         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45739         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45740         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45741         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45742         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45743         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45744         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45745         * sysdeps/pthread/lio_listio.c: Likewise.
45746         * sysdeps/sparc/dl-procinfo.h: Likewise.
45747         * sysdeps/unix/i386/sysdep.S: Likewise.
45748         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
45749         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
45750         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
45751         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
45752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45753         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
45754         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
45755         * sysdeps/unix/sysv/linux/speed.c: Likewise.
45756         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45757         * sysdeps/wordsize-32/divdi3.c: Likewise.
45758         * time/sys/time.h: Likewise.
45759         * wcsmbs/Makefile: Likewise.
45761 2013-01-01  David S. Miller  <davem@davemloft.net>
45763         * po/fr.po: Update from translation team.
45765         * catgets/gencat.c: Update copyright year.
45766         * csu/version.c: Likewise.
45767         * debug/catchsegv.sh: Likewise.
45768         * debug/pcprofiledump.c: Likewise.
45769         * debug/xtrace.sh: Likewise.
45770         * elf/ldconfig.c: Likewise.
45771         * elf/ldd.bash.in: Likewise.
45772         * elf/pldd.c: Likewise.
45773         * elf/sotruss.ksh: Likewise.
45774         * elf/sprof.c: Likewise.
45775         * iconv/iconv_prog.c: Likewise.
45776         * iconv/iconvconfig.c: Likewise.
45777         * locale/programs/locale.c: Likewise.
45778         * locale/programs/localedef.c: Likewise.
45779         * login/programs/pt_chown.c: Likewise.
45780         * malloc/memusage.sh: Likewise.
45781         * malloc/memusagestat.c: Likewise.
45782         * malloc/mtrace.pl: Likewise.
45783         * nscd/nscd.c: Likewise.
45784         * nss/getent.c: Likewise.
45785         * nss/makedb.c: Likewise.
45786         * posix/getconf.c: Likewise.
45788 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45790         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
45791         numbers.
45793 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
45795         * math/bits/mathcalls.h (modf): Use __nonnull.
45797 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45799         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
45800         (split): Use macro CN instead of the bare value.
45801         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
45802         could be used.
45803         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
45804         instead of the bare value.
45805         (power1): Likewise.
45807 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45809         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
45810         __ATAN_TWOM.
45811         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45813         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
45814         their values.
45815         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
45816         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45817         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
45818         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
45820 2012-12-28  Andreas Jaeger  <aj@suse.de>
45822         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
45823         values are from Linux 3.7.
45825         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
45826         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
45828 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45830         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
45831         TRUE case.
45833         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
45834         (norm): Likewise.
45835         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
45836         variables with preprocessor constants.
45837         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45838         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45839         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45841 2012-12-27  Bruno Haible  <bruno@clisp.org>
45843         [BZ #14317]
45844         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
45845         only if needed.
45847 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45849         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
45850         and use variable directly.
45851         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
45853         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45854         MPONE.
45855         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
45856         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45857         variable MPONE.
45858         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45859         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45860         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
45861         include directive.  Remove local variable MPONE.
45862         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
45863         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
45864         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45866 2012-12-25  David S. Miller  <davem@davemloft.net>
45868         * version.h (RELEASE): Set to "development".
45869         (VERSION): Set to "2.17.90".
45870         * NEWS: Add 2.18 section.
45872 2012-12-21  David S. Miller  <davem@davemloft.net>
45874         * po/hr.po: Update from translation team.
45876 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45878         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
45880 2012-12-19  Steve Ellcey  <sellcey@mips.com>
45882         * NEWS:  Mention new memcpy for MIPS.
45884 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45886         * manual/contrib.texi (Contributors): Spelling correction.
45888 2012-12-15  David S. Miller  <davem@davemloft.net>
45890         * po/ru.po: Update from translation team.
45892 2012-12-13  David S. Miller  <davem@davemloft.net>
45894         * NEWS: Mention IFUNC testsuite enhancements.
45896         * po/pl.po: Update from translation team.
45897         * po/bg.po: Likewise.
45899         * manual/contrib.texi (Contributors): Update entries for Hongjiu
45900         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
45902 2012-12-11  David S. Miller  <davem@davemloft.net>
45904         * po/sv.po: Update from translation team.
45906         * po/vi.po: Update from translation team.
45908         * po/cs.po: Update from translation team.
45910         * po/de.po: Update from translation team.
45911         * po/eo.po: Likewise.
45912         * po/nl.po: Likewise.
45914 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45916         [BZ #14246]
45917         * manual/argp.texi (Argp Helper Functions): Move node to follow
45918         Argp Parsing State.
45920         [BZ #14872]
45921         * manual/conf.texi (Limits on File System Capacity): Mention if
45922         terminating null is included in the max size.
45924 2012-12-10  Andreas Jaeger  <aj@suse.de>
45926         * po/cs.po: Update from translation team.
45928 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45930         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
45931         void pointer and cast to uintptr_t.
45932         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
45933         path.
45934         * sysdeps/s390/s390-64/memcpy.S: Likewise.
45935         * sysdeps/s390/s390-64/memset.S: Likewise.
45937 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
45939         [BZ #14833]
45940         * menual/message.texi (Message Translation): Fix typos.
45941         (Helper programs for gettext): Likewise.
45943 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
45945         [BZ #14898]
45946         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
45947         Change to -1.
45949 2012-12-07  David S. Miller  <davem@davemloft.net>
45951         * po/libc.pot: Update.
45953 2012-12-07  Richard Henderson  <rth@redhat.com>
45955         [BZ #10114]
45956         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
45957         normal/normal case to before the switch.
45958         (_FP_DIV): Likewise.
45960 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
45961             Mike Frysinger  <vapier@gentoo.org>
45963         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
45964         check for __NR_fadvise64_64.
45966 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
45968         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
45969         0, not just to plain "0" as a statement.
45970         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
45971         with cw.
45973 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
45975         * NEWS: Use sourceware.org in Bugzilla URL.
45977 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
45980         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
45982         * stdio-common/tst-put-error.c (do_test): Add newline to the
45983         padded test to ensure flush.
45985 2012-12-05  Jeff Law  <law@redhat.com>
45987         * sunrpc/etc.rpc (fedfs_admin): Add entry.
45989 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
45991         * README: Don't refer to ports add-on as distributed separately.
45992         Mention AArch64 in list of systems supported in the ports add-on.
45994         * LICENSES: Add more non-FSF copyright and license notices.
45996         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
45997         ((unused)).
45999         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
46001         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
46002         10000 as width of padded output.
46004 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
46006         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
46008         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
46009         variable LX with __attribute__ ((unused)).
46010         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46011         Likewise.
46012         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46013         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46014         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
46015         with __attribute__ ((unused)).
46017 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
46019         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
46021 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
46023         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
46024         (CFLAGS-nldbl-acos.c): New variable.
46025         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
46026         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
46027         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
46028         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
46029         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
46030         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
46031         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
46032         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
46033         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
46034         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
46035         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
46036         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
46037         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
46038         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
46039         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
46040         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
46041         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
46042         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
46043         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
46044         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
46045         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
46046         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
46047         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
46048         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
46049         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
46050         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
46051         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
46052         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
46053         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
46054         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
46055         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
46056         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
46057         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
46058         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
46059         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
46060         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
46061         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
46062         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
46063         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
46064         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
46065         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
46066         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
46067         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
46068         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
46069         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
46070         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
46071         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
46072         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
46073         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
46074         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
46075         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
46076         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
46077         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
46078         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
46079         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
46080         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
46081         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
46082         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
46083         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
46084         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
46085         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
46086         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
46087         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
46088         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
46089         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
46090         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
46091         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
46092         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
46093         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
46094         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
46095         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
46096         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
46097         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
46098         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
46099         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
46100         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
46101         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
46102         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
46103         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
46104         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
46105         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
46106         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
46107         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
46108         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
46109         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
46110         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
46111         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
46112         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
46113         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
46114         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
46115         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
46116         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
46117         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
46118         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
46119         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
46120         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
46121         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
46123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46124         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
46126         [BZ #14914]
46127         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
46128         whole low double instead of just low 47 bits when splitting values
46129         into two parts.
46131 2012-12-03  Allan McRae  <allan@archlinux.org>
46133         * manual/stdio.texi (Predefined Printf Handlers): Remove
46134         @hsep and @vsep usage.
46136 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
46138         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
46139         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
46141 2012-12-03  Jeff Law  <law@redhat.com>
46143         * time/sys/time.h (settimeofday): Do not mark TV argument
46144         as __nonnull.
46146 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
46148         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
46149         when currently writing and seek to current position when not.
46150         * libio/Makefile (tests): Remove bug-fclose1.
46151         * libio/bug-fclose1.c: Delete.
46153 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
46155         * manual/arith.texi (feenableexcept): Fix typo.
46156         (fedisableexcept): Likewise.
46158 2012-11-30  Roland McGrath  <roland@hack.frob.com>
46160         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
46161         second, differently-typed declaration, rather than a cast.
46163 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46165         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
46166         * include/rpc/svc.h: ... here.
46168 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
46170         [BZ #13013]
46171         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
46172         depending n and resplen2 to catch cases where answer
46173         equals answerp2.
46175 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
46177         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
46178         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
46180 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
46182         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
46184 2012-11-29  Roland McGrath  <roland@hack.frob.com>
46186         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
46188 2012-11-28  Jeff Law  <law@redhat.com>
46190         [BZ #13761]
46191         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
46192         dataset_temporary.  Track alloca usage into alloca_used.
46193         If dataset is large allocate and release it via malloc/free.
46195 2012-06-04  Florian Weimer  <fweimer@redhat.com>
46197         [BZ #14197]
46198         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
46200 2012-11-28  David S. Miller  <davem@davemloft.net>
46202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46204 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
46206         [BZ #14803]
46207         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
46208         of pi/2 rounded to nearest to 64 bits.
46209         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
46210         nearest to 64 bits.
46211         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
46212         bits.
46214 2012-11-28  Jeff Law <law@redhat.com>
46215             Martin Osvald <mosvald@redhat.com>
46217         [BZ #14889]
46218         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
46219         * sunrpc/svc.c: Include time.h.
46220         (__svc_accept_failed): New function.
46221         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
46222         any reason other than EINTR, call __svc_accept_failed.
46223         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
46224         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
46226 2012-11-28  Andreas Schwab  <schwab@suse.de>
46228         * scripts/abilist.awk: Also handle indirect functions in .opd
46229         section.
46231 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
46233         [BZ #13881]
46234         * sysdeps/x86/fpu/powl_helper.c: New file.
46235         * sysdeps/x86/fpu/Makefile: Likewise.
46236         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
46237         (p3): New object.
46238         (__ieee754_powl): Use __powl_helper for finite arguments except
46239         integer exponents below 8.
46240         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
46241         (p3): New object.
46242         (__ieee754_powl): Use __powl_helper for finite arguments except
46243         integer exponents below 8.
46244         * math/libm-test.inc (pow_test): Add more tests and enable some
46245         previously disabled tests.
46246         * sysdeps/i386/fpu/libm-test-ulps: Update.
46247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46249 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46250             Carlos O'Donell  <carlos_odonell@mentor.com>
46252         * nss/makedb.c (is_prime): Assert that input is odd and greater
46253         than 4.  Note that fact in a comment too.
46254         (next_prime): Add 4 to input.
46256 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46258         [BZ #11741]
46259         * libio/Makefile (tests): Add test case tst-fwrite-error.
46260         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
46261         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
46262         * libio/tst-fwrite-error.c: New test case.
46264 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
46266         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
46267         before casting to void *.
46268         * include/libc-internal.h (__pointer_type): New macro.
46269         (__integer_if_pointer_type_sub): Likewise.
46270         (__integer_if_pointer_type): Likewise.
46271         (cast_to_integer): Likewise.
46272         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
46273         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
46274         before casting to atomic64_t.
46275         (atomic_exchange_acq): Likewise.
46276         (__arch_exchange_and_add_body): Likewise.
46277         (__arch_add_body): Likewise.
46278         (atomic_add_negative): Likewise.
46279         (atomic_add_zero): Likewise.
46281 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
46283         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
46284         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
46285         (add_fdes): Likewise.
46286         (linear_search_fdes): Likewise.
46287         (binary_search_unencoded_fdes): Likewise.
46289 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
46291         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
46293 2012-11-24  Adam Conrad  <adconrad@0c3.net>
46295         * configure.in: Autodetect C++ header directories.
46296         * configure: Regenerated.
46298 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
46300         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
46302 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
46304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46306 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
46308         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
46309         LDBL_MANT_DIG == 106]: Disable some tests.
46310         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
46311         Likewise.
46312         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
46313         Likewise.
46315         [BZ #14871]
46316         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
46317         input for small inputs.  Return +/- pi/2 for large inputs.
46318         * math/libm-test.inc (atan_test): Add more tests.
46320         * sysdeps/generic/unwind-dw2-fde-glibc.c
46321         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
46322         __attribute__ ((unused)).
46324         [BZ #14645]
46325         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
46326         x * y if x and y are nonzero and z is zero.
46328         [BZ #14811]
46329         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
46330         nonzero exponents with absolute value below 0x1p-117 to +/-
46331         0x1p-117.
46333         [BZ #14869]
46334         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
46335         up arguments below 2**-450, not just those below 2**-500.
46336         * math/libm-test.inc (hypot_test): Add another test.
46338         [BZ #14868]
46339         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
46340         Return a+b for ratio over 2**120, not 2**60.
46341         * math/libm-test.inc (hypot_test): Add another test.
46343         * math/libm-test.inc (clog_test): Use
46344         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
46345         (clog10_test): Likewise.
46347         [BZ #6778]
46348         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
46350 2012-11-22  Andreas Schwab  <schwab@suse.de>
46352         * sysdeps/i386/fpu/libm-test-ulps: Update.
46354 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
46356         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
46357         printf output with newline.
46359 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
46361         [BZ #14865]
46362         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
46363         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
46364         -z nodlopen, -z initfirst and -z execstack support.
46365         * configure: Regenerated.
46367         * elf/elf.h (DF_1_NODIRECT): New macro.
46368         (DF_1_IGNMULDEF): Likewise.
46369         (DF_1_NOKSYMS): Likewise.
46370         (DF_1_NOHDR): Likewise.
46371         (DF_1_EDITED): Likewise.
46372         (DF_1_NORELOC): Likewise.
46373         (DF_1_SYMINTPOSE): Likewise.
46374         (DF_1_GLOBAUDIT): Likewise.
46375         (DF_1_SINGLETON): Likewise.
46376         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
46377         DT_1_SUPPORTED_MASK bits.
46378         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
46380 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
46382         * sysdeps/unix/make-syscalls.sh: Document prefixes.
46384 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
46386         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
46387         macro.
46389         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
46390         (sendmmsg): Move declarations...
46391         * socket/sys/socket.h: ... here.
46392         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
46393         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
46394         include it from...
46395         * socket/recvmmsg.c: ... this new file.
46396         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
46397         (sendmmsg): Rename to __sendmmsg, create weak alias and make
46398         definition of __sendmmsg hidden.
46399         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
46400         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
46401         Move ENOSYS stub into and include it from...
46402         * socket/sendmmsg.c: ... this new file.
46403         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
46404         (sysdep_routines): Move recvmmsg and sendmmsg...
46405         * socket/Makefile (routines): ... here.
46406         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
46407         (GLIBC_PRIVATE): Add __sendmmsg.
46408         * include/sys/socket.h (__sendmmsg): Add declarations.
46409         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
46410         sendmmsg.
46412 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
46414         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
46415         variable I1 with __attribute__ ((unused)).
46416         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46418 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
46420         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
46421         DUMMY variables with __attribute__ ((unused)).
46423         * bits/byteswap.h: Include <bits/types.h>.
46424         (__bswap_64): Use __uint64_t instead of unsigned long long int.
46426 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
46428         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
46429         string_t.  Do not manually set errno.
46430         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
46431         length with __strnlen.  Make sure to both set errno and return it on
46432         failure.
46434 2012-11-19  David S. Miller  <davem@davemloft.net>
46436         With help from Joseph Myers.
46437         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
46438         very large arguments properly.
46439         * math/libm-test.inc (atan_test): New tests.
46440         (atan2_test): New tests.
46441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46442         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46444 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
46446         [BZ #14856]
46447         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
46448         Define to 3.
46450         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
46451         [POSIX] (EADDRNOTAVAIL): Likewise.
46452         [POSIX] (EAFNOSUPPORT): Likewise.
46453         [POSIX] (EALREADY): Likewise.
46454         [POSIX] (ECONNABORTED): Likewise.
46455         [POSIX] (ECONNREFUSED): Likewise.
46456         [POSIX] (ECONNRESET): Likewise.
46457         [POSIX] (EDESTADDRREQ): Likewise.
46458         [POSIX] (EDQUOT): Likewise.
46459         [POSIX] (EHOSTUNREACH): Likewise.
46460         [POSIX] (EIDRM): Likewise.
46461         [POSIX] (EISCONN): Likewise.
46462         [POSIX] (ELOOP): Likewise.
46463         [POSIX] (EMULTIHOP): Likewise.
46464         [POSIX] (ENETDOWN): Likewise.
46465         [POSIX] (ENETUNREACH): Likewise.
46466         [POSIX] (ENOBUFS): Likewise.
46467         [POSIX] (ENODATA): Likewise.
46468         [POSIX] (ENOLINK): Likewise.
46469         [POSIX] (ENOMSG): Likewise.
46470         [POSIX] (ENOPROTOOPT): Likewise.
46471         [POSIX] (ENOSR): Likewise.
46472         [POSIX] (ENOSTR): Likewise.
46473         [POSIX] (ENOTCONN): Likewise.
46474         [POSIX] (ENOTSOCK): Likewise.
46475         [POSIX] (EOPNOTSUPP): Likewise.
46476         [POSIX] (EOVERFLOW): Likewise.
46477         [POSIX] (EPROTO): Likewise.
46478         [POSIX] (EPROTONOSUPPORT): Likewise.
46479         [POSIX] (EPROTOTYPE): Likewise.
46480         [POSIX] (ESTALE): Likewise.
46481         [POSIX] (ETIME): Likewise.
46482         [POSIX] (ETXTBSY): Likewise.
46483         [POSIX] (EWOULDBLOCK): Likewise.
46484         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
46485         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
46486         [POSIX] (SEEK_CUR): Likewise.
46487         [POSIX] (SEEK_END): Likewise.
46488         [POSIX || UNIX98] (mode_t): Do not require.
46489         [POSIX] (off_t): Likewise.
46490         [POSIX] (pid_t): Likewise.
46491         [POSIX] (sys/stat.h): Do not allow header.
46492         [POSIX] (unistd.h): Likewise.
46493         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
46494         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
46495         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
46496         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
46497         require.
46498         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
46499         sigevent): Specify elements.
46500         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
46501         entry.
46502         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
46503         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
46505         * conform/data/cpio.h-data [POSIX]: Disable whole file.
46506         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
46507         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
46508         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
46509         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
46510         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
46511         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
46512         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
46513         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
46514         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
46515         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
46516         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
46517         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
46518         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
46519         Likewise.
46520         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
46521         Likewise.
46522         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
46523         Likewise.
46524         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
46525         Likewise.
46526         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
46527         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
46528         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
46529         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
46530         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
46531         Specify lower bound on value.
46532         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
46533         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
46534         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
46535         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
46536         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
46537         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
46538         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
46539         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
46540         value.
46541         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
46542         as optional.
46543         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
46544         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
46545         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
46546         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
46547         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
46548         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
46549         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
46550         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
46551         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
46552         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
46553         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
46554         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
46555         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
46556         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
46557         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
46558         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
46559         entry.
46560         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
46561         optional.
46562         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
46563         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
46564         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
46565         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
46566         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
46567         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
46568         Likewise.
46569         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
46570         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
46571         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
46572         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
46573         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
46574         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
46575         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
46576         as optional.
46577         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
46578         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
46579         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
46580         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
46581         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
46582         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
46583         specify as optional.
46584         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
46585         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
46586         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
46587         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
46588         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
46589         [XPG3] (NL_LANGMAX): Likewise.
46590         [POSIX || XPG3] (NL_MSGMAX): Likewise.
46591         [POSIX || XPG3] (NL_NMAX): Likewise.
46592         [POSIX || XPG3] (NL_SETMAX): Likewise.
46593         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
46594         [XPG3] (NZERO): Likewise.
46595         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
46596         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
46597         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
46598         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
46599         (REG_ERANGE): Expect.
46600         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
46601         optional-constant.
46602         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
46603         Use (void) in prototype.
46604         [POSIX] (*_t): Allow.
46605         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
46606         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
46607         (WRDE_BADVAL): Expect.
46609         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
46610         expect.
46611         [XPG3 || XPG4] (O_RSYNC): Likewise.
46612         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
46613         Likewise.
46614         [XPG3 || XPG4] (pthread_sigmask): Likewise.
46615         [XPG3 || XPG4] (sigqueue): Likewise.
46616         [XPG3 || XPG4] (sigtimedwait): Likewise.
46617         [XPG3 || XPG4] (sigwaitinfo): Likewise.
46618         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
46619         [XPG3 || XPG4] (vsnprintf): Likewise.
46620         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
46621         Likewise.
46622         [XPG3 || XPG4] (blksize_t): Likewise.
46623         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
46624         Likewise.
46625         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
46626         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
46627         [XPG3 || XPG4] (struct itimerspec): Likewise.
46628         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
46629         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
46630         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
46631         [XPG3 || XPG4] (clockid_t): Likewise.
46632         [XPG3 || XPG4] (timer_t): Likewise.
46633         [XPG3 || XPG4] (clock_getres): Likewise.
46634         [XPG3 || XPG4] (clock_gettime): Likewise.
46635         [XPG3 || XPG4] (clock_settime): Likewise.
46636         [XPG3 || XPG4] (nanosleep): Likewise.
46637         [XPG3 || XPG4] (timer_create): Likewise.
46638         [XPG3 || XPG4] (timer_delete): Likewise.
46639         [XPG3 || XPG4] (timer_gettime): Likewise.
46640         [XPG3 || XPG4] (timer_getoverrun): Likewise.
46641         [XPG3 || XPG4] (timer_settime): Likewise.
46642         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
46643         [XPG3 || XPG4] (getlogin_r): Likewise.
46644         [XPG3 || XPG4] (pread): Likewise.
46645         [XPG3 || XPG4] (pthread_atfork): Likewise.
46646         [XPG3 || XPG4] (pwrite): Likewise.
46648         [BZ #14835]
46649         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
46650         <bits/siginfo.h>.
46652 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
46654         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
46655         finalizing MALLSTREAM.
46657         * sysdeps/mach/hurd/syncfs.c: New file.
46659 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46661         [BZ #14719]
46662         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
46663         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
46664         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
46665         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
46666         (_nss_dns_gethostbyname4_r): Likewise.
46667         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
46668         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
46670 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
46672         [BZ #13763]
46673         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
46675 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
46677         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
46678         * elf/cache.c (print_entry): Print ",AArch64" for
46679         FLAG_AARCH64_LIB64
46681         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
46682         * elf/cache.c (print_entry): Print ",hard-float" for
46683         FLAG_ARM_LIBHF.
46685 2012-11-18  David S. Miller  <davem@davemloft.net>
46687         With help from Joseph Myers.
46688         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
46689         cutoff to 2**-13.
46690         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
46691         cutoff to 2**-25.
46692         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
46693         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
46694         small.
46695         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
46696         * math/libm-test.inc (y0_test): New tests.
46697         (y1_test): New tests.
46698         * sysdeps/i386/fpu/libm-test-ulps: Update.
46699         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46702 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
46704         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
46705         64-bit targets.
46706         * configure: Regenerated.
46708 2012-11-17  David S. Miller  <davem@davemloft.net>
46710         [BZ #14811]
46711         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
46712         nonzero exponents with absolute value below 0x1p-128 to +/-
46713         0x1p-128.
46715 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
46717         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
46719         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
46721         * posix/getconf-speclist.c: New file.
46722         * posix/posix-envs.def: Likewise.
46723         * posix/confstr.c (START_ENV_GROUP): New macro.
46724         (END_ENV_GROUP): Likewise.
46725         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46726         (KNOWN_PRESENT_ENV_STRING): Likewise.
46727         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46728         (UNKNOWN_ENVIRONMENT): Likewise.
46729         (confstr): Include posix-envs.def instead of handling
46730         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
46731         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
46732         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
46733         (END_ENV_GROUP): Likewise.
46734         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46735         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46736         (UNKNOWN_ENVIRONMENT): Likewise.
46737         (__sysconf): Include posix-envs.def instead of handling associated
46738         cases directly here.
46739         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
46740         preprocessing getconf-speclist.c rather than running getconf or
46741         generating empty file.
46743 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
46745         * scripts/check-local-headers.sh: Ignore 'mach' headers.
46747 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
46749         [BZ #14672]
46750         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
46752 2012-11-16  David S. Miller  <davem@davemloft.net>
46754         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
46755         smaller than LDBL_EPSILON/2.0L, just return xm1.
46757 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
46759         * elf/tst-array1.c (init): Set constructor priority to 1000.
46760         (fini): Set destructor priority to 1000.
46761         * elf/tst-array2dep.c: Likewise.
46763 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46765         [BZ #11741]
46766         * libio/fileops.c (_IO_new_file_write): Correctly return error.
46767         (_IO_new_file_xsputn): Also return EOF if none of the input
46768         data was written when overflow failed.
46769         * libio/iopadn.c (_IO_padn): Likewise.
46770         * libio/iowpadn.c (_IO_wpadn): Likewise.
46771         * stdio-common/tst-put-error.c: Add copyright notice.
46772         (do_test): Add case for printing padded string.
46773         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
46774         _IO_padn returned error.
46775         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
46776         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
46777         return EOF.
46779 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46781         * libio/libioP.h: Add comment note that the references to C++
46782         bits are now obsolete.
46784 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46786         * math/libm-test.inc (check_complex): Use asprintf.
46788 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
46790         * debug/pcprofiledump.c (print_version): Update copyright year.
46791         * malloc/memusagestat.c (print_version): Likewise.
46793 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
46795         [BZ #14831]
46796         * elf/Makefile (tests): Add tst-audit8.
46797         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
46798         ($(objpfx)tst-audit8.out): New target.
46799         (tst-audit8-ENV): New variable.
46800         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
46801         audit if l_reloc_result is NULL.
46802         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
46803         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
46804         * elf/tst-audit8.c: New file.
46806 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46808         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
46809         * misc/Makefile (CFLAGS-select.c): Define.
46810         * posix/Makefile (CFLAGS-pause.c): Define.
46812 2012-11-13  David S. Miller  <davem@davemloft.net>
46814         * crypt/Makefile: Move test targets after toplevel Rules
46815         inclusion.  Grab any necessary sysdep routines when linking.
46816         * crypt/md5.c (md5_process_block): Remove define, we will always
46817         name it __md5_process_block.
46818         (md5_finish_ctx): Update md5_process_block call.
46819         (md5_stream): Likewise.
46820         (md5_process_bytes): Likewise.
46821         (md5_process_block): Rename to __md5_process_block and move to ...
46822         * crypt/md5-block.c: ... here.
46823         * crypt/sha256.c (sha256_process_block): Move to ...
46824         * crypt/sha256-block.c: ... here.
46825         * crypt/sha512.c (sha512_process_block): Move to ...
46826         * crypt/sha512-block.c: ... here.
46827         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
46828         path.
46829         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
46830         * sysdeps/sparc/sparc64/multiarch/Makefile
46831         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
46832         crypt subdir.
46833         (localedef-aux): Add md5 crypto assembler when in locale subdir.
46834         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
46835         multiarch changes.
46836         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
46837         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
46838         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
46839         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
46840         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
46841         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
46842         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
46843         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
46844         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
46845         file.
46846         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
46847         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
46848         file.
46849         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
46851 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
46853         * timezone/tzselect.ksh: Update from tzcode git revision
46854         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
46855         * timezone/zdump.c: Likewise.
46856         * timezone/zic.c: Likewise.
46857         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
46858         in TZVERSION setting, not $(PKGVERSION).
46859         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
46860         REPORT_BUGS_TO settings.
46862         [BZ #14838]
46863         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
46864         macro.
46866 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46868         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
46869         detection to immediately after _FP_ROUND().
46870         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
46871         bits are 0.
46873 2012-11-11  David S. Miller  <davem@davemloft.net>
46875         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
46876         inttypes.h
46877         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
46878         __close rather than their public counterparts.
46880 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
46882         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
46883         file.
46884         [UNIX98] (sem_timedwait): Do not expect.
46885         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
46886         [XPG4 || UNIX98] (sockatmark): Do not expect.
46887         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
46888         (clock_getcpuclockid): Do not expect.
46889         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
46890         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
46891         Do not expect.
46892         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
46893         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
46894         [UNIX98] (vwscanf): Likewise.
46895         [UNIX98] (vswscanf): Likewise.
46897 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
46899         * timezone/version.h: Remove file.
46900         * timezone/README: Do not refer to version.h.
46901         * timezone/Makefile ($(objpfx)zic.o): New dependency on
46902         $(objpfx)version.h.
46903         ($(objpfx)zdump.o): Likewise.
46904         ($(objpfx)version.h): New target.
46906         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
46907         2012i.
46908         * timezone/README: Don't mention modification to tzselect.ksh.
46909         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
46910         work on unmodified tzselect.ksh.  Substitute version numbers in
46911         tzselect.ksh.
46913         * Makefile (format-me): Remove.
46914         (INSTALL): Adjust indentation.  Use commands directly instead of
46915         using $(format-me).
46917         * aclocal.m4 (ACX_PKGVERSION): New macro.
46918         (ACX_BUGURL): Likewise.
46919         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
46920         (PKGVERSION): New AC_DEFINE_UNQUOTED.
46921         (REPORT_BUGS_TO): Likewise.
46922         * configure: Regenerated.
46923         * config.h.in (PKGVERSION): New macro.
46924         (REPORT_BUGS_TO): Likewise.
46925         * config.make.in (PKGVERSION): New variable.
46926         (PKGVERSION_TEXI): Likewise.
46927         (REPORT_BUGS_TO): Likewise.
46928         (REPORT_BUGS_TEXI): Likewise.
46929         * Makefile (format-me): Use -I$(common-objpfx)manual.
46930         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
46931         ($(common-objpfx)manual/%): New target.
46932         (manual/%): Remove target.
46933         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
46934         (print_version): Use PKGVERSION.
46935         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
46936         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
46937         and REPORT_BUGS_TO.
46938         ($(objpfx)xtrace): Likewise.
46939         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
46940         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
46941         (print_version): Use PKGVERSION.
46942         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
46943         (do_version): Use PKGVERSION.
46944         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
46945         REPORT_BUGS_TO.
46946         (common-ldd-rewrite): Likewise.
46947         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
46948         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
46949         (print_version): Use PKGVERSION.
46950         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
46951         * elf/pldd.c (argp_program_bug_address): Remove variable.
46952         (more_help): New function.
46953         (argp): Use more_help.
46954         (print_version): Use PKGVERSION.
46955         * elf/sln.c (main): Use PKGVERSION.
46956         (usage): Use REPORT_BUGS_TO.
46957         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
46958         (top level): Use PKGVERSION.
46959         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
46960         (print_version): Use PKGVERSION.
46961         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
46962         (print_version): Use PKGVERSION.
46963         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
46964         (print_version): Use PKGVERSION.
46965         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
46966         (print_version): Use PKGVERSION.
46967         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
46968         (print_version): Use PKGVERSION.
46969         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
46970         (print_version): Use PKGVERSION.
46971         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
46972         and BUGURL.
46973         ($(objpfx)memusage): Likewise.
46974         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
46975         (do_version): Use PKGVERSION.
46976         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
46977         (print_version): Use PKGVERSION.
46978         * malloc/mtrace.pl ($PACKAGE): Remove variable.
46979         ($PKGVERSION): New variable.
46980         ($REPORT_BUGS_TO): Likewise.
46981         (usage): Use $REPORT_BUGS_TO.
46982         (top level): Use $PKGVERSION.
46983         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
46984         ($(objpfx)pkgvers.texi): New rule.
46985         ($(objpfx)stamp-pkgvers): Likewise.
46986         * manual/install.texi: Include pkgvers.texi.
46987         (--with-pkgversion): Document new configure option.
46988         (--with-bugurl): Likewise.
46989         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
46990         than necessarily for this particular distribution.  Use
46991         REPORT_BUGS_TO for where to report bugs.
46992         * INSTALL: Regenerated.
46993         * manual/libc.texinfo: Include pkgvers.texi.
46994         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
46995         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
46996         (print_version): Use PKGVERSION.
46997         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
46998         (print_version): Use PKGVERSION.
46999         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
47000         (print_version): Use PKGVERSION.
47001         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
47002         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
47003         macro.
47004         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
47005         (print_version): Use PKGVERSION.
47006         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
47007         (print_version): Use PKGVERSION.
47008         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
47009         and PKGVERSION.
47011         * timezone/checktab.awk: Update from tzcode 2012i.
47012         * timezone/ialloc.c: Likewise.
47013         * timezone/private.h: Likewise.
47014         * timezone/scheck.c: Likewise.
47015         * timezone/tzfile.h: Likewise.
47016         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
47017         (TZVERSION): Hardcode tzcode version number.
47018         * timezone/zdump.c: Update from tzcode 2012i.
47019         * timezone/zic.c: Likewise.
47020         * timezone/version.h: New file.
47021         * timezone/README: Describe version.h.  Update upstream location.
47023         [BZ #14824]
47024         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
47025         (mktemp): Enable declaration.
47026         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
47027         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
47028         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
47029         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
47030         Likewise.
47031         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
47032         Likewise.
47033         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
47034         Likewise.
47035         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
47036         Likewise.
47037         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
47038         Likewise.
47039         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
47040         Likewise.
47042         [BZ #14821]
47043         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
47044         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
47045         for copies of such integer values.
47046         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47047         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47049 2012-11-09  Andreas Jaeger  <aj@suse.de>
47051         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
47052         definitions and declarations that are provided by
47053         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
47055 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47057         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
47058         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
47059         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
47060         definition.
47062 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47064         * elf/elf.h: Update comment before AArch64 relocations.
47066 2012-11-07  David S. Miller  <davem@davemloft.net>
47068         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
47069         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47070         (__start_context): Declare.
47071         (__makecontext_ret): Delete.
47072         (__makecontext): Hook up __start_context instead of
47073         __makecontext_ret.
47074         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
47075         (sysdep_routines): Add __start_context when in stdlib.
47077 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47079         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
47080         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
47081         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
47082         hardcoded "nm".
47083         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
47084         (READELF): New variable.  Use it instead of hardcoded "readelf".
47086 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47088         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
47089         * sysdeps/x86/Makefile: Here.
47090         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
47091         * sysdeps/x86/tst-xmmymm.sh: This.
47093 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47095         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
47096         expectations.
47097         [UNIX98] (pthread_barrier_t): Do not expect.
47098         [UNIX98] (pthread_barrierattr_t): Likewise.
47099         [UNIX98] (pthread_spinlock_t): Likewise.
47100         [UNIX98] (pthread_barrier_destroy): Likewise.
47101         [UNIX98] (pthread_barrier_init): Likewise.
47102         [UNIX98] (pthread_barrier_wait): Likewise.
47103         [UNIX98] (pthread_barrierattr_destroy): Likewise.
47104         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
47105         [UNIX98] (pthread_barrierattr_init): Likewise.
47106         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
47107         [UNIX98] (pthread_getcpuclockid): Likewise.
47108         [UNIX98] (pthread_mutex_timedlock): Likewise.
47109         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
47110         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
47111         [UNIX98] (pthread_sigmask): Likewise.
47112         [UNIX98] (pthread_spin_destroy): Likewise.
47113         [UNIX98] (pthread_spin_init): Likewise.
47114         [UNIX98] (pthread_spin_lock): Likewise.
47115         [UNIX98] (pthread_spin_trylock): Likewise.
47116         [UNIX98] (pthread_spin_unlock): Likewise.
47117         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
47118         Do not expect.
47119         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
47120         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
47121         [XPG3 || XPG4] (pthread_cond_t): Likewise.
47122         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
47123         [XPG3 || XPG4] (pthread_key_t): Likewise.
47124         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
47125         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
47126         [XPG3 || XPG4] (pthread_once_t): Likewise.
47127         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
47128         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
47129         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
47130         [XPG3 || XPG4] (pthread_t): Likewise.
47132         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
47133         not expect.
47134         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
47136         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
47137         Change function return type to int.
47139         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
47140         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
47141         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
47142         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
47143         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
47144         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
47145         [!POSIX] (posix_madvise): Likewise.
47146         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
47147         && !UNIX98].
47148         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
47149         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
47150         (mode_t): Likewise.
47151         (posix_mem_offset): Likewise.
47152         (posix_typed_mem_get_info): Likewise.
47153         (posix_typed_mem_open): Likewise.
47155         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
47156         Change condition to [XOPEN2K8].
47158         * conform/conformtest.pl: Preprocess allow-header data with -x c
47159         instead of from stdin.
47160         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
47161         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
47162         [C99-based standards] (cerfc): Likewise.
47163         [C99-based standards] (cexp2): Likewise.
47164         [C99-based standards] (cexpm1): Likewise.
47165         [C99-based standards] (clog10): Likewise.
47166         [C99-based standards] (clog1p): Likewise.
47167         [C99-based standards] (clog2): Likewise.
47168         [C99-based standards] (clgamma): Likewise.
47169         [C99-based standards] (ctgamma): Likewise.
47170         [C99-based standards] (cerff): Likewise.
47171         [C99-based standards] (cerfcf): Likewise.
47172         [C99-based standards] (cexp2f): Likewise.
47173         [C99-based standards] (cexpm1f): Likewise.
47174         [C99-based standards] (clog10f): Likewise.
47175         [C99-based standards] (clog1pf): Likewise.
47176         [C99-based standards] (clog2f): Likewise.
47177         [C99-based standards] (clgammaf): Likewise.
47178         [C99-based standards] (ctgammaf): Likewise.
47179         [C99-based standards] (cerfl): Likewise.
47180         [C99-based standards] (cerfcl): Likewise.
47181         [C99-based standards] (cexp2l): Likewise.
47182         [C99-based standards] (cexpm1l): Likewise.
47183         [C99-based standards] (clog10l): Likewise.
47184         [C99-based standards] (clog1pl): Likewise.
47185         [C99-based standards] (clog2l): Likewise.
47186         [C99-based standards] (clgammal): Likewise.
47187         [C99-based standards] (ctgammal): Likewise.
47188         * conform/data/inttypes.h-data [C99-based standards]: Include
47189         stdint.h-data.  Remove all expectations for stdint.h contents.
47190         [C99-based standards] (PRI*): Do not allow.
47191         [C99-based standards] (SCN*): Likewise.
47192         [C99-based standards] (*_t): Likewise.
47193         [C99-based-standards] (PRId8): Expect macro.
47194         [C99-based-standards] (PRIi8): Likewise.
47195         [C99-based-standards] (PRIo8): Likewise.
47196         [C99-based-standards] (PRIu8): Likewise.
47197         [C99-based-standards] (PRIx8): Likewise.
47198         [C99-based-standards] (PRIX8): Likewise.
47199         [C99-based-standards] (SCNd8): Likewise.
47200         [C99-based-standards] (SCNi8): Likewise.
47201         [C99-based-standards] (SCNo8): Likewise.
47202         [C99-based-standards] (SCNu8): Likewise.
47203         [C99-based-standards] (SCNx8): Likewise.
47204         [C99-based-standards] (PRIdLEAST8): Likewise.
47205         [C99-based-standards] (PRIiLEAST8): Likewise.
47206         [C99-based-standards] (PRIoLEAST8): Likewise.
47207         [C99-based-standards] (PRIuLEAST8): Likewise.
47208         [C99-based-standards] (PRIxLEAST8): Likewise.
47209         [C99-based-standards] (PRIXLEAST8): Likewise.
47210         [C99-based-standards] (SCNdLEAST8): Likewise.
47211         [C99-based-standards] (SCNiLEAST8): Likewise.
47212         [C99-based-standards] (SCNoLEAST8): Likewise.
47213         [C99-based-standards] (SCNuLEAST8): Likewise.
47214         [C99-based-standards] (SCNxLEAST8): Likewise.
47215         [C99-based-standards] (PRIdFAST8): Likewise.
47216         [C99-based-standards] (PRIiFAST8): Likewise.
47217         [C99-based-standards] (PRIoFAST8): Likewise.
47218         [C99-based-standards] (PRIuFAST8): Likewise.
47219         [C99-based-standards] (PRIxFAST8): Likewise.
47220         [C99-based-standards] (PRIXFAST8): Likewise.
47221         [C99-based-standards] (SCNdFAST8): Likewise.
47222         [C99-based-standards] (SCNiFAST8): Likewise.
47223         [C99-based-standards] (SCNoFAST8): Likewise.
47224         [C99-based-standards] (SCNuFAST8): Likewise.
47225         [C99-based-standards] (SCNxFAST8): Likewise.
47226         [C99-based-standards] (PRId16): Likewise.
47227         [C99-based-standards] (PRIi16): Likewise.
47228         [C99-based-standards] (PRIo16): Likewise.
47229         [C99-based-standards] (PRIu16): Likewise.
47230         [C99-based-standards] (PRIx16): Likewise.
47231         [C99-based-standards] (PRIX16): Likewise.
47232         [C99-based-standards] (SCNd16): Likewise.
47233         [C99-based-standards] (SCNi16): Likewise.
47234         [C99-based-standards] (SCNo16): Likewise.
47235         [C99-based-standards] (SCNu16): Likewise.
47236         [C99-based-standards] (SCNx16): Likewise.
47237         [C99-based-standards] (PRIdLEAST16): Likewise.
47238         [C99-based-standards] (PRIiLEAST16): Likewise.
47239         [C99-based-standards] (PRIoLEAST16): Likewise.
47240         [C99-based-standards] (PRIuLEAST16): Likewise.
47241         [C99-based-standards] (PRIxLEAST16): Likewise.
47242         [C99-based-standards] (PRIXLEAST16): Likewise.
47243         [C99-based-standards] (SCNdLEAST16): Likewise.
47244         [C99-based-standards] (SCNiLEAST16): Likewise.
47245         [C99-based-standards] (SCNoLEAST16): Likewise.
47246         [C99-based-standards] (SCNuLEAST16): Likewise.
47247         [C99-based-standards] (SCNxLEAST16): Likewise.
47248         [C99-based-standards] (PRIdFAST16): Likewise.
47249         [C99-based-standards] (PRIiFAST16): Likewise.
47250         [C99-based-standards] (PRIoFAST16): Likewise.
47251         [C99-based-standards] (PRIuFAST16): Likewise.
47252         [C99-based-standards] (PRIxFAST16): Likewise.
47253         [C99-based-standards] (PRIXFAST16): Likewise.
47254         [C99-based-standards] (SCNdFAST16): Likewise.
47255         [C99-based-standards] (SCNiFAST16): Likewise.
47256         [C99-based-standards] (SCNoFAST16): Likewise.
47257         [C99-based-standards] (SCNuFAST16): Likewise.
47258         [C99-based-standards] (SCNxFAST16): Likewise.
47259         [C99-based-standards] (PRId32): Likewise.
47260         [C99-based-standards] (PRIi32): Likewise.
47261         [C99-based-standards] (PRIo32): Likewise.
47262         [C99-based-standards] (PRIu32): Likewise.
47263         [C99-based-standards] (PRIx32): Likewise.
47264         [C99-based-standards] (PRIX32): Likewise.
47265         [C99-based-standards] (SCNd32): Likewise.
47266         [C99-based-standards] (SCNi32): Likewise.
47267         [C99-based-standards] (SCNo32): Likewise.
47268         [C99-based-standards] (SCNu32): Likewise.
47269         [C99-based-standards] (SCNx32): Likewise.
47270         [C99-based-standards] (PRIdLEAST32): Likewise.
47271         [C99-based-standards] (PRIiLEAST32): Likewise.
47272         [C99-based-standards] (PRIoLEAST32): Likewise.
47273         [C99-based-standards] (PRIuLEAST32): Likewise.
47274         [C99-based-standards] (PRIxLEAST32): Likewise.
47275         [C99-based-standards] (PRIXLEAST32): Likewise.
47276         [C99-based-standards] (SCNdLEAST32): Likewise.
47277         [C99-based-standards] (SCNiLEAST32): Likewise.
47278         [C99-based-standards] (SCNoLEAST32): Likewise.
47279         [C99-based-standards] (SCNuLEAST32): Likewise.
47280         [C99-based-standards] (SCNxLEAST32): Likewise.
47281         [C99-based-standards] (PRIdFAST32): Likewise.
47282         [C99-based-standards] (PRIiFAST32): Likewise.
47283         [C99-based-standards] (PRIoFAST32): Likewise.
47284         [C99-based-standards] (PRIuFAST32): Likewise.
47285         [C99-based-standards] (PRIxFAST32): Likewise.
47286         [C99-based-standards] (PRIXFAST32): Likewise.
47287         [C99-based-standards] (SCNdFAST32): Likewise.
47288         [C99-based-standards] (SCNiFAST32): Likewise.
47289         [C99-based-standards] (SCNoFAST32): Likewise.
47290         [C99-based-standards] (SCNuFAST32): Likewise.
47291         [C99-based-standards] (SCNxFAST32): Likewise.
47292         [C99-based-standards] (PRId64): Likewise.
47293         [C99-based-standards] (PRIi64): Likewise.
47294         [C99-based-standards] (PRIo64): Likewise.
47295         [C99-based-standards] (PRIu64): Likewise.
47296         [C99-based-standards] (PRIx64): Likewise.
47297         [C99-based-standards] (PRIX64): Likewise.
47298         [C99-based-standards] (SCNd64): Likewise.
47299         [C99-based-standards] (SCNi64): Likewise.
47300         [C99-based-standards] (SCNo64): Likewise.
47301         [C99-based-standards] (SCNu64): Likewise.
47302         [C99-based-standards] (SCNx64): Likewise.
47303         [C99-based-standards] (PRIdLEAST64): Likewise.
47304         [C99-based-standards] (PRIiLEAST64): Likewise.
47305         [C99-based-standards] (PRIoLEAST64): Likewise.
47306         [C99-based-standards] (PRIuLEAST64): Likewise.
47307         [C99-based-standards] (PRIxLEAST64): Likewise.
47308         [C99-based-standards] (PRIXLEAST64): Likewise.
47309         [C99-based-standards] (SCNdLEAST64): Likewise.
47310         [C99-based-standards] (SCNiLEAST64): Likewise.
47311         [C99-based-standards] (SCNoLEAST64): Likewise.
47312         [C99-based-standards] (SCNuLEAST64): Likewise.
47313         [C99-based-standards] (SCNxLEAST64): Likewise.
47314         [C99-based-standards] (PRIdFAST64): Likewise.
47315         [C99-based-standards] (PRIiFAST64): Likewise.
47316         [C99-based-standards] (PRIoFAST64): Likewise.
47317         [C99-based-standards] (PRIuFAST64): Likewise.
47318         [C99-based-standards] (PRIxFAST64): Likewise.
47319         [C99-based-standards] (PRIXFAST64): Likewise.
47320         [C99-based-standards] (SCNdFAST64): Likewise.
47321         [C99-based-standards] (SCNiFAST64): Likewise.
47322         [C99-based-standards] (SCNoFAST64): Likewise.
47323         [C99-based-standards] (SCNuFAST64): Likewise.
47324         [C99-based-standards] (SCNxFAST64): Likewise.
47325         [C99-based-standards] (PRIdMAX): Likewise.
47326         [C99-based-standards] (PRIiMAX): Likewise.
47327         [C99-based-standards] (PRIoMAX): Likewise.
47328         [C99-based-standards] (PRIuMAX): Likewise.
47329         [C99-based-standards] (PRIxMAX): Likewise.
47330         [C99-based-standards] (PRIXMAX): Likewise.
47331         [C99-based-standards] (SCNdMAX): Likewise.
47332         [C99-based-standards] (SCNiMAX): Likewise.
47333         [C99-based-standards] (SCNoMAX): Likewise.
47334         [C99-based-standards] (SCNuMAX): Likewise.
47335         [C99-based-standards] (SCNxMAX): Likewise.
47336         [C99-based-standards] (PRIdPTR): Likewise.
47337         [C99-based-standards] (PRIiPTR): Likewise.
47338         [C99-based-standards] (PRIoPTR): Likewise.
47339         [C99-based-standards] (PRIuPTR): Likewise.
47340         [C99-based-standards] (PRIxPTR): Likewise.
47341         [C99-based-standards] (PRIXPTR): Likewise.
47342         [C99-based-standards] (SCNdPTR): Likewise.
47343         [C99-based-standards] (SCNiPTR): Likewise.
47344         [C99-based-standards] (SCNoPTR): Likewise.
47345         [C99-based-standards] (SCNuPTR): Likewise.
47346         [C99-based-standards] (SCNxPTR): Likewise.
47347         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
47348         allow.
47349         * conform/data/stdint.h-data: Update comments to clarify
47350         requirements.
47351         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
47352         type.
47353         [C99-based standards] (INT8_MAX): Likewise.
47354         [C99-based standards] (INT16_MIN): Likewise.
47355         [C99-based standards] (INT16_MAX): Likewise.
47356         [C99-based standards] (INT32_MIN): Likewise.
47357         [C99-based standards] (INT32_MAX): Likewise.
47358         [C99-based standards] (INT64_MIN): Likewise.
47359         [C99-based standards] (INT64_MAX): Likewise.
47360         [C99-based standards] (UINT8_MAX): Likewise.
47361         [C99-based standards] (UINT16_MAX): Likewise.
47362         [C99-based standards] (UINT32_MAX): Likewise.
47363         [C99-based standards] (UINT64_MAX): Likewise.
47364         [C99-based standards] (INT_LEAST8_MIN): Likewise.
47365         [C99-based standards] (INT_LEAST8_MAX): Likewise.
47366         [C99-based standards] (INT_LEAST16_MIN): Likewise.
47367         [C99-based standards] (INT_LEAST16_MAX): Likewise.
47368         [C99-based standards] (INT_LEAST32_MIN): Likewise.
47369         [C99-based standards] (INT_LEAST32_MAX): Likewise.
47370         [C99-based standards] (INT_LEAST64_MIN): Likewise.
47371         [C99-based standards] (INT_LEAST64_MAX): Likewise.
47372         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
47373         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
47374         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
47375         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
47376         [C99-based standards] (INT_FAST8_MIN): Likewise.
47377         [C99-based standards] (INT_FAST8_MAX): Likewise.
47378         [C99-based standards] (INT_FAST16_MIN): Likewise.
47379         [C99-based standards] (INT_FAST16_MAX): Likewise.
47380         [C99-based standards] (INT_FAST32_MIN): Likewise.
47381         [C99-based standards] (INT_FAST32_MAX): Likewise.
47382         [C99-based standards] (INT_FAST64_MIN): Likewise.
47383         [C99-based standards] (INT_FAST64_MAX): Likewise.
47384         [C99-based standards] (UINT_FAST8_MAX): Likewise.
47385         [C99-based standards] (UINT_FAST16_MAX): Likewise.
47386         [C99-based standards] (UINT_FAST32_MAX): Likewise.
47387         [C99-based standards] (UINT_FAST64_MAX): Likewise.
47388         [C99-based standards] (INTPTR_MIN): Likewise.
47389         [C99-based standards] (INTPTR_MAX): Likewise.
47390         [C99-based standards] (UINTPTR_MAX): Likewise.
47391         [C99-based standards] (INTMAX_MIN): Likewise.
47392         [C99-based standards] (INTMAX_MAX): Likewise.
47393         [C99-based standards] (UINTMAX_MAX): Likewise.
47394         [C99-based standards] (PTRDIFF_MIN): Likewise.
47395         [C99-based standards] (PTRDIFF_MAX): Likewise.
47396         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
47397         [C99-based standards] (SIZE_MAX): Likewise.
47398         [C99-based standards] (WCHAR_MAX): Likewise.
47399         [C99-based standards] (WINT_MAX): Likewise.
47400         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
47401         constraint on value.
47402         [C99-based standards] (WCHAR_MIN): Likewise.
47403         [C99-based standards] (WINT_MIN): Likewise.
47404         [C99-based standards] (*_t): Allow.
47405         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
47406         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
47407         Include math.h-data and complex.h-data.  Remove all expectations
47408         of math.h and complex.h contents.
47409         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
47410         at end of line.
47411         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
47412         (struct tm): Expect tag.
47413         [C99-based-standards] (wcstof): Expect function.
47414         [C99-based-standards] (wcstold): Likewise.
47415         [C99-based-standards] (wcstoll): Likewise.
47416         [C99-based-standards] (wcstoull): Likewise.
47417         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
47418         macro-int-constant.  Specify type.
47419         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
47420         constraint on value.
47421         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
47422         Specify type.
47423         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
47424         Specify value.
47425         [ISO C standards]: Do not allow headers.
47426         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
47427         wcs[abcdefghijklmnopqrstuvwxyz]*.
47428         [ISO C standards] (*_t): Do not allow.
47429         * conform/data/wctype.h-data [C99-based standards] (iswblank):
47430         Expect function.
47431         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
47432         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
47433         Specify type.
47434         [ISO C standards]: Do not allow headers.
47435         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
47436         is[abcdefghijklmnopqrstuvwxyz]*.
47437         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
47438         to[abcdefghijklmnopqrstuvwxyz]*.
47439         [ISO C standards] (*_t): Do not allow.
47440         * conform/data/stdalign.h-data: New file.
47441         * conform/data/stdbool.h-data: Likewise.
47442         * conform/data/stdnoreturn.h-data: Likewise.
47444 2012-11-07  Roland McGrath  <roland@hack.frob.com>
47446         [BZ #14815]
47447         * manual/filesys.texi (Directory Entries): Typo fix.
47448         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
47450 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47452         * elf/elf.h (EM_AARCH64): New macro.
47453         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
47454         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
47455         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
47456         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
47457         (R_AARCH64_TLSDESC): Likewise.
47458         (NT_ARM_TLS): Likewise.
47459         (NT_ARM_HW_BREAK): Likewise.
47460         (NT_ARM_HW_WATCH): Likewise.
47462 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47464         [BZ #14811]
47465         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
47466         (__ieee754_powl): Saturate nonzero exponents with absolute value
47467         below 0x1p-79 to +/- 0x1p-79.
47468         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
47469         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
47470         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
47471         nonzero exponents with absolute value below 0x1p-32 to +/-
47472         0x1p-32.
47473         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
47474         (__ieee754_powl): Saturate nonzero exponents with absolute value
47475         below 0x1p-79 to +/- 0x1p-79.
47476         * math/libm-test.inc (pow_test): Add more tests.
47478 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47480         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
47481         _dl_s390_cap_flags with kernel. Increase string length.
47482         (_dl_s390_platforms): Add z196 and zEC12.
47484 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47486         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
47487         Change XOPEN21K to XOPEN2K.
47489 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
47491         * string/memmove.c: Use memcpy when possible.
47493 2012-11-06  Andreas Jaeger  <aj@suse.de>
47495         * po/eo.po: Update from translation team.
47497 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
47499         [BZ #14793]
47500         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
47501         exponent and small x and y exponents, scale x or y up.  Increase
47502         by 2 the exponent used in scaling up.
47503         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47504         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47505         * math/libm-test.inc (fma_test): Add more tests.
47506         (fma_test_towardzero): Likewise.
47507         (fma_test_downward): Likewise.
47508         (fma_test_upward): Likewise.
47510 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
47512         [BZ #14805]
47513         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
47514         fenv_t *.
47516         [BZ #14801]
47517         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
47518         namespace for names of struct fields.
47519         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
47520         fenv_t fields.
47521         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
47522         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
47524 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47526         [BZ #3665]
47527         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
47529 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47531         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
47532         PTR_DEMANGLE.
47534         [BZ #5246]
47535         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
47536         PTR_DEMANGLE.
47538 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
47540         [BZ #14797]
47541         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
47542         definitely overflow as x * y not x * y + z.
47543         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47544         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47545         * math/libm-test.inc (fma_test): Add more tests.
47546         (fma_test_towardzero): Likewise.
47547         (fma_test_downward): Likewise.
47548         (fma_test_upward): Likewise.
47550 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47552         [BZ #157]
47554         * include/stub-tag.h: Remove file.
47555         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
47556         '#include' of it.
47557         * manual/maint.texi (Porting): Don't reference it.
47558         * Makerules ($(objpfx)stubs): Likewise.
47559         * dirent/closedir.c: Don't include <stub-tag.h>.
47560         * dirent/dirfd.c: Likewise.
47561         * dirent/fdopendir.c: Likewise.
47562         * dirent/getdents.c: Likewise.
47563         * dirent/getdents64.c: Likewise.
47564         * dirent/opendir.c: Likewise.
47565         * dirent/readdir.c: Likewise.
47566         * dirent/readdir64.c: Likewise.
47567         * dirent/readdir64_r.c: Likewise.
47568         * dirent/readdir_r.c: Likewise.
47569         * dirent/rewinddir.c: Likewise.
47570         * dirent/seekdir.c: Likewise.
47571         * dirent/telldir.c: Likewise.
47572         * gmon/profil.c: Likewise.
47573         * grp/setgroups.c: Likewise.
47574         * inet/if_index.c: Likewise.
47575         * io/access.c: Likewise.
47576         * io/chdir.c: Likewise.
47577         * io/chmod.c: Likewise.
47578         * io/chown.c: Likewise.
47579         * io/close.c: Likewise.
47580         * io/dup.c: Likewise.
47581         * io/dup2.c: Likewise.
47582         * io/dup3.c: Likewise.
47583         * io/euidaccess.c: Likewise.
47584         * io/faccessat.c: Likewise.
47585         * io/fchdir.c: Likewise.
47586         * io/fchmod.c: Likewise.
47587         * io/fchmodat.c: Likewise.
47588         * io/fchown.c: Likewise.
47589         * io/fchownat.c: Likewise.
47590         * io/fcntl.c: Likewise.
47591         * io/flock.c: Likewise.
47592         * io/fstatfs.c: Likewise.
47593         * io/fstatfs64.c: Likewise.
47594         * io/fstatvfs.c: Likewise.
47595         * io/fstatvfs64.c: Likewise.
47596         * io/futimens.c: Likewise.
47597         * io/fxstat.c: Likewise.
47598         * io/fxstat64.c: Likewise.
47599         * io/fxstatat.c: Likewise.
47600         * io/fxstatat64.c: Likewise.
47601         * io/getcwd.c: Likewise.
47602         * io/isatty.c: Likewise.
47603         * io/lchmod.c: Likewise.
47604         * io/lchown.c: Likewise.
47605         * io/link.c: Likewise.
47606         * io/linkat.c: Likewise.
47607         * io/lseek.c: Likewise.
47608         * io/lseek64.c: Likewise.
47609         * io/lxstat64.c: Likewise.
47610         * io/mkdir.c: Likewise.
47611         * io/mkdirat.c: Likewise.
47612         * io/mkfifo.c: Likewise.
47613         * io/mkfifoat.c: Likewise.
47614         * io/open.c: Likewise.
47615         * io/open64.c: Likewise.
47616         * io/openat.c: Likewise.
47617         * io/openat64.c: Likewise.
47618         * io/pipe.c: Likewise.
47619         * io/pipe2.c: Likewise.
47620         * io/poll.c: Likewise.
47621         * io/posix_fadvise.c: Likewise.
47622         * io/posix_fadvise64.c: Likewise.
47623         * io/posix_fallocate.c: Likewise.
47624         * io/posix_fallocate64.c: Likewise.
47625         * io/read.c: Likewise.
47626         * io/readlink.c: Likewise.
47627         * io/readlinkat.c: Likewise.
47628         * io/rmdir.c: Likewise.
47629         * io/sendfile.c: Likewise.
47630         * io/sendfile64.c: Likewise.
47631         * io/statfs.c: Likewise.
47632         * io/statfs64.c: Likewise.
47633         * io/statvfs.c: Likewise.
47634         * io/statvfs64.c: Likewise.
47635         * io/symlink.c: Likewise.
47636         * io/symlinkat.c: Likewise.
47637         * io/ttyname.c: Likewise.
47638         * io/ttyname_r.c: Likewise.
47639         * io/umask.c: Likewise.
47640         * io/unlink.c: Likewise.
47641         * io/unlinkat.c: Likewise.
47642         * io/utime.c: Likewise.
47643         * io/utimensat.c: Likewise.
47644         * io/write.c: Likewise.
47645         * io/xmknod.c: Likewise.
47646         * io/xmknodat.c: Likewise.
47647         * io/xstat.c: Likewise.
47648         * io/xstat64.c: Likewise.
47649         * login/getpt.c: Likewise.
47650         * login/grantpt.c: Likewise.
47651         * login/unlockpt.c: Likewise.
47652         * math/e_acoshl.c: Likewise.
47653         * math/e_acosl.c: Likewise.
47654         * math/e_asinl.c: Likewise.
47655         * math/e_atan2l.c: Likewise.
47656         * math/e_atanhl.c: Likewise.
47657         * math/e_coshl.c: Likewise.
47658         * math/e_expl.c: Likewise.
47659         * math/e_fmodl.c: Likewise.
47660         * math/e_gammal_r.c: Likewise.
47661         * math/e_hypotl.c: Likewise.
47662         * math/e_j0l.c: Likewise.
47663         * math/e_j1l.c: Likewise.
47664         * math/e_jnl.c: Likewise.
47665         * math/e_lgammal_r.c: Likewise.
47666         * math/e_log10l.c: Likewise.
47667         * math/e_log2l.c: Likewise.
47668         * math/e_logl.c: Likewise.
47669         * math/e_powl.c: Likewise.
47670         * math/e_rem_pio2l.c: Likewise.
47671         * math/e_sinhl.c: Likewise.
47672         * math/e_sqrtl.c: Likewise.
47673         * math/fclrexcpt.c: Likewise.
47674         * math/fedisblxcpt.c: Likewise.
47675         * math/feenablxcpt.c: Likewise.
47676         * math/fegetenv.c: Likewise.
47677         * math/fegetexcept.c: Likewise.
47678         * math/fegetround.c: Likewise.
47679         * math/feholdexcpt.c: Likewise.
47680         * math/fesetenv.c: Likewise.
47681         * math/fesetround.c: Likewise.
47682         * math/feupdateenv.c: Likewise.
47683         * math/fgetexcptflg.c: Likewise.
47684         * math/fraiseexcpt.c: Likewise.
47685         * math/fsetexcptflg.c: Likewise.
47686         * math/ftestexcept.c: Likewise.
47687         * math/k_cosl.c: Likewise.
47688         * math/k_rem_pio2l.c: Likewise.
47689         * math/k_sinl.c: Likewise.
47690         * math/k_tanl.c: Likewise.
47691         * math/s_asinhl.c: Likewise.
47692         * math/s_atanl.c: Likewise.
47693         * math/s_cbrtl.c: Likewise.
47694         * math/s_erfl.c: Likewise.
47695         * math/s_expm1l.c: Likewise.
47696         * math/s_log1pl.c: Likewise.
47697         * math/s_tanhl.c: Likewise.
47698         * misc/acct.c: Likewise.
47699         * misc/brk.c: Likewise.
47700         * misc/chflags.c: Likewise.
47701         * misc/chroot.c: Likewise.
47702         * misc/fchflags.c: Likewise.
47703         * misc/fgetxattr.c: Likewise.
47704         * misc/flistxattr.c: Likewise.
47705         * misc/fremovexattr.c: Likewise.
47706         * misc/fsetxattr.c: Likewise.
47707         * misc/fsync.c: Likewise.
47708         * misc/ftruncate.c: Likewise.
47709         * misc/futimes.c: Likewise.
47710         * misc/futimesat.c: Likewise.
47711         * misc/getdomain.c: Likewise.
47712         * misc/getdtsz.c: Likewise.
47713         * misc/gethostid.c: Likewise.
47714         * misc/gethostname.c: Likewise.
47715         * misc/getloadavg.c: Likewise.
47716         * misc/getpagesize.c: Likewise.
47717         * misc/getsysstats.c: Likewise.
47718         * misc/getxattr.c: Likewise.
47719         * misc/gtty.c: Likewise.
47720         * misc/ioctl.c: Likewise.
47721         * misc/lgetxattr.c: Likewise.
47722         * misc/listxattr.c: Likewise.
47723         * misc/llistxattr.c: Likewise.
47724         * misc/lremovexattr.c: Likewise.
47725         * misc/lsetxattr.c: Likewise.
47726         * misc/lutimes.c: Likewise.
47727         * misc/madvise.c: Likewise.
47728         * misc/mincore.c: Likewise.
47729         * misc/mlock.c: Likewise.
47730         * misc/mlockall.c: Likewise.
47731         * misc/mmap.c: Likewise.
47732         * misc/mprotect.c: Likewise.
47733         * misc/msync.c: Likewise.
47734         * misc/munlock.c: Likewise.
47735         * misc/munlockall.c: Likewise.
47736         * misc/munmap.c: Likewise.
47737         * misc/preadv.c: Likewise.
47738         * misc/preadv64.c: Likewise.
47739         * misc/ptrace.c: Likewise.
47740         * misc/pwritev.c: Likewise.
47741         * misc/pwritev64.c: Likewise.
47742         * misc/readv.c: Likewise.
47743         * misc/reboot.c: Likewise.
47744         * misc/remap_file_pages.c: Likewise.
47745         * misc/removexattr.c: Likewise.
47746         * misc/revoke.c: Likewise.
47747         * misc/select.c: Likewise.
47748         * misc/setdomain.c: Likewise.
47749         * misc/setegid.c: Likewise.
47750         * misc/seteuid.c: Likewise.
47751         * misc/sethostid.c: Likewise.
47752         * misc/sethostname.c: Likewise.
47753         * misc/setregid.c: Likewise.
47754         * misc/setreuid.c: Likewise.
47755         * misc/setxattr.c: Likewise.
47756         * misc/sstk.c: Likewise.
47757         * misc/stty.c: Likewise.
47758         * misc/swapoff.c: Likewise.
47759         * misc/swapon.c: Likewise.
47760         * misc/sync.c: Likewise.
47761         * misc/syncfs.c: Likewise.
47762         * misc/syscall.c: Likewise.
47763         * misc/truncate.c: Likewise.
47764         * misc/ualarm.c: Likewise.
47765         * misc/usleep.c: Likewise.
47766         * misc/ustat.c: Likewise.
47767         * misc/utimes.c: Likewise.
47768         * misc/vhangup.c: Likewise.
47769         * misc/writev.c: Likewise.
47770         * posix/_exit.c: Likewise.
47771         * posix/alarm.c: Likewise.
47772         * posix/execve.c: Likewise.
47773         * posix/fexecve.c: Likewise.
47774         * posix/fork.c: Likewise.
47775         * posix/fpathconf.c: Likewise.
47776         * posix/getaddrinfo.c: Likewise.
47777         * posix/getegid.c: Likewise.
47778         * posix/geteuid.c: Likewise.
47779         * posix/getgid.c: Likewise.
47780         * posix/getgroups.c: Likewise.
47781         * posix/getlogin.c: Likewise.
47782         * posix/getlogin_r.c: Likewise.
47783         * posix/getpgid.c: Likewise.
47784         * posix/getpid.c: Likewise.
47785         * posix/getppid.c: Likewise.
47786         * posix/getresgid.c: Likewise.
47787         * posix/getresuid.c: Likewise.
47788         * posix/getsid.c: Likewise.
47789         * posix/getuid.c: Likewise.
47790         * posix/glob64.c: Likewise.
47791         * posix/nanosleep.c: Likewise.
47792         * posix/pathconf.c: Likewise.
47793         * posix/pause.c: Likewise.
47794         * posix/posix_madvise.c: Likewise.
47795         * posix/pread.c: Likewise.
47796         * posix/pread64.c: Likewise.
47797         * posix/pwrite.c: Likewise.
47798         * posix/pwrite64.c: Likewise.
47799         * posix/sched_getaffinity.c: Likewise.
47800         * posix/sched_getp.c: Likewise.
47801         * posix/sched_gets.c: Likewise.
47802         * posix/sched_primax.c: Likewise.
47803         * posix/sched_primin.c: Likewise.
47804         * posix/sched_rr_gi.c: Likewise.
47805         * posix/sched_setaffinity.c: Likewise.
47806         * posix/sched_setp.c: Likewise.
47807         * posix/sched_sets.c: Likewise.
47808         * posix/sched_yield.c: Likewise.
47809         * posix/setgid.c: Likewise.
47810         * posix/setlogin.c: Likewise.
47811         * posix/setpgid.c: Likewise.
47812         * posix/setresgid.c: Likewise.
47813         * posix/setresuid.c: Likewise.
47814         * posix/setsid.c: Likewise.
47815         * posix/setuid.c: Likewise.
47816         * posix/sleep.c: Likewise.
47817         * posix/spawni.c: Likewise.
47818         * posix/sysconf.c: Likewise.
47819         * posix/times.c: Likewise.
47820         * posix/wait.c: Likewise.
47821         * posix/wait3.c: Likewise.
47822         * posix/wait4.c: Likewise.
47823         * posix/waitpid.c: Likewise.
47824         * resolv/gai_sigqueue.c: Likewise.
47825         * resource/getpriority.c: Likewise.
47826         * resource/getrlimit.c: Likewise.
47827         * resource/getrusage.c: Likewise.
47828         * resource/nice.c: Likewise.
47829         * resource/setpriority.c: Likewise.
47830         * resource/setrlimit.c: Likewise.
47831         * resource/ulimit.c: Likewise.
47832         * rt/aio_cancel.c: Likewise.
47833         * rt/aio_fsync.c: Likewise.
47834         * rt/aio_read.c: Likewise.
47835         * rt/aio_sigqueue.c: Likewise.
47836         * rt/aio_suspend.c: Likewise.
47837         * rt/aio_write.c: Likewise.
47838         * rt/clock_getres.c: Likewise.
47839         * rt/clock_gettime.c: Likewise.
47840         * rt/clock_nanosleep.c: Likewise.
47841         * rt/clock_settime.c: Likewise.
47842         * rt/lio_listio.c: Likewise.
47843         * rt/mq_close.c: Likewise.
47844         * rt/mq_getattr.c: Likewise.
47845         * rt/mq_notify.c: Likewise.
47846         * rt/mq_open.c: Likewise.
47847         * rt/mq_receive.c: Likewise.
47848         * rt/mq_send.c: Likewise.
47849         * rt/mq_setattr.c: Likewise.
47850         * rt/mq_timedreceive.c: Likewise.
47851         * rt/mq_timedsend.c: Likewise.
47852         * rt/mq_unlink.c: Likewise.
47853         * rt/shm_open.c: Likewise.
47854         * rt/shm_unlink.c: Likewise.
47855         * rt/timer_create.c: Likewise.
47856         * rt/timer_delete.c: Likewise.
47857         * rt/timer_getoverr.c: Likewise.
47858         * rt/timer_gettime.c: Likewise.
47859         * rt/timer_settime.c: Likewise.
47860         * setjmp/__longjmp.c: Likewise.
47861         * setjmp/setjmp.c: Likewise.
47862         * signal/kill.c: Likewise.
47863         * signal/killpg.c: Likewise.
47864         * signal/raise.c: Likewise.
47865         * signal/sigaction.c: Likewise.
47866         * signal/sigaltstack.c: Likewise.
47867         * signal/sigblock.c: Likewise.
47868         * signal/sigignore.c: Likewise.
47869         * signal/sigintr.c: Likewise.
47870         * signal/signal.c: Likewise.
47871         * signal/sigpause.c: Likewise.
47872         * signal/sigpending.c: Likewise.
47873         * signal/sigqueue.c: Likewise.
47874         * signal/sigreturn.c: Likewise.
47875         * signal/sigset.c: Likewise.
47876         * signal/sigsetmask.c: Likewise.
47877         * signal/sigstack.c: Likewise.
47878         * signal/sigsuspend.c: Likewise.
47879         * signal/sigtimedwait.c: Likewise.
47880         * signal/sigvec.c: Likewise.
47881         * signal/sigwait.c: Likewise.
47882         * signal/sigwaitinfo.c: Likewise.
47883         * signal/sysv_signal.c: Likewise.
47884         * socket/accept.c: Likewise.
47885         * socket/accept4.c: Likewise.
47886         * socket/bind.c: Likewise.
47887         * socket/connect.c: Likewise.
47888         * socket/getpeername.c: Likewise.
47889         * socket/getsockname.c: Likewise.
47890         * socket/getsockopt.c: Likewise.
47891         * socket/isfdtype.c: Likewise.
47892         * socket/listen.c: Likewise.
47893         * socket/recv.c: Likewise.
47894         * socket/recvfrom.c: Likewise.
47895         * socket/recvmsg.c: Likewise.
47896         * socket/send.c: Likewise.
47897         * socket/sendmsg.c: Likewise.
47898         * socket/sendto.c: Likewise.
47899         * socket/setsockopt.c: Likewise.
47900         * socket/shutdown.c: Likewise.
47901         * socket/sockatmark.c: Likewise.
47902         * socket/socket.c: Likewise.
47903         * socket/socketpair.c: Likewise.
47904         * stdio-common/ctermid.c: Likewise.
47905         * stdio-common/cuserid.c: Likewise.
47906         * stdio-common/remove.c: Likewise.
47907         * stdio-common/rename.c: Likewise.
47908         * stdio-common/renameat.c: Likewise.
47909         * stdio-common/tempname.c: Likewise.
47910         * stdlib/getcontext.c: Likewise.
47911         * stdlib/makecontext.c: Likewise.
47912         * stdlib/setcontext.c: Likewise.
47913         * stdlib/swapcontext.c: Likewise.
47914         * stdlib/system.c: Likewise.
47915         * streams/fattach.c: Likewise.
47916         * streams/fdetach.c: Likewise.
47917         * streams/getmsg.c: Likewise.
47918         * streams/getpmsg.c: Likewise.
47919         * streams/putmsg.c: Likewise.
47920         * streams/putpmsg.c: Likewise.
47921         * sysdeps/unix/bsd/getpt.c: Likewise.
47922         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
47923         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
47924         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47926         Likewise.
47927         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
47928         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47929         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47930         * sysvipc/msgctl.c: Likewise.
47931         * sysvipc/msgget.c: Likewise.
47932         * sysvipc/msgrcv.c: Likewise.
47933         * sysvipc/msgsnd.c: Likewise.
47934         * sysvipc/semctl.c: Likewise.
47935         * sysvipc/semget.c: Likewise.
47936         * sysvipc/semop.c: Likewise.
47937         * sysvipc/semtimedop.c: Likewise.
47938         * sysvipc/shmat.c: Likewise.
47939         * sysvipc/shmctl.c: Likewise.
47940         * sysvipc/shmdt.c: Likewise.
47941         * sysvipc/shmget.c: Likewise.
47942         * termios/tcdrain.c: Likewise.
47943         * termios/tcflow.c: Likewise.
47944         * termios/tcflush.c: Likewise.
47945         * termios/tcgetattr.c: Likewise.
47946         * termios/tcgetpgrp.c: Likewise.
47947         * termios/tcsendbrk.c: Likewise.
47948         * termios/tcsetattr.c: Likewise.
47949         * termios/tcsetpgrp.c: Likewise.
47950         * time/adjtime.c: Likewise.
47951         * time/clock.c: Likewise.
47952         * time/getitimer.c: Likewise.
47953         * time/gettimeofday.c: Likewise.
47954         * time/setitimer.c: Likewise.
47955         * time/settimeofday.c: Likewise.
47956         * time/stime.c: Likewise.
47957         * time/time.c: Likewise.
47959 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
47961         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
47962         /usr/old/bin.
47964         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
47965         instead of spaces.
47966         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
47968 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
47970         [BZ #14796]
47971         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
47972         FE_TONEAREST before applying Dekker multiplication and Knuth
47973         addition.  Clear inexact exceptions and check for exact zero
47974         results afterwards.
47975         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47976         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47977         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47978         * math/libm-test.inc (fma_test): Add more tests.
47979         (fma_test_towardzero): Likewise.
47980         (fma_test_downward): Likewise.
47981         (fma_test_upward): Likewise.
47982         * sysdeps/generic/math_private.h (default_libc_fesetround): New
47983         function.
47984         (libc_fesetround): New macro.
47985         (libc_fesetroundf): Likewise.
47986         (libc_fesetroundl): Likewise.
47987         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
47988         function.
47989         (libc_fesetround_387): Likewise.
47990         (libc_fesetroundf): New macro.
47991         (libc_fesetround): Likewise.
47992         (libc_fesetroundl): Likewise.
47993         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
47994         function.
47995         (libc_fesetroundf): New macro.
47996         (libc_fesetround): Likewise.
47997         (libc_fesetroundl): Likewise.
47998         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
47999         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
48000         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
48001         libm_hidden_ver.
48002         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
48003         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
48004         libm_hidden_def.
48005         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
48006         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
48007         libm_hidden_ver.
48008         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
48009         libm_hidden_def.
48011         [BZ #3439]
48012         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
48013         integer constant usable in #if and use that to give value to enum
48014         constant.
48015         (FE_DIVBYZERO): Likewise.
48016         (FE_UNDERFLOW): Likewise.
48017         (FE_OVERFLOW): Likewise.
48018         (FE_INVALID): Likewise.
48019         (FE_INVALID_SNAN): Likewise.
48020         (FE_INVALID_ISI): Likewise.
48021         (FE_INVALID_IDI): Likewise.
48022         (FE_INVALID_ZDZ): Likewise.
48023         (FE_INVALID_IMZ): Likewise.
48024         (FE_INVALID_COMPARE): Likewise.
48025         (FE_INVALID_SOFTWARE): Likewise.
48026         (FE_INVALID_SQRT): Likewise.
48027         (FE_INVALID_INTEGER_CONVERSION): Likewise.
48028         (FE_TONEAREST): Likewise.
48029         (FE_TOWARDZERO): Likewise.
48030         (FE_UPWARD): Likewise.
48031         (FE_DOWNWARD): Likewise.
48032         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
48033         (FE_DIVBYZERO): Likewise.
48034         (FE_OVERFLOW): Likewise.
48035         (FE_UNDERFLOW): Likewise.
48036         (FE_INEXACT): Likewise.
48037         (FE_TONEAREST): Likewise.
48038         (FE_DOWNWARD): Likewise.
48039         (FE_UPWARD): Likewise.
48040         (FE_TOWARDZERO): Likewise.
48041         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
48042         (FE_UNDERFLOW): Likewise.
48043         (FE_OVERFLOW): Likewise.
48044         (FE_DIVBYZERO): Likewise.
48045         (FE_INVALID): Likewise.
48046         (FE_TONEAREST): Likewise.
48047         (FE_TOWARDZERO): Likewise.
48048         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
48049         (FE_OVERFLOW): Likewise.
48050         (FE_UNDERFLOW): Likewise.
48051         (FE_DIVBYZERO): Likewise.
48052         (FE_INEXACT): Likewise.
48053         (FE_TONEAREST): Likewise.
48054         (FE_TOWARDZERO): Likewise.
48055         (FE_UPWARD): Likewise.
48056         (FE_DOWNWARD): Likewise.
48057         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
48058         (FE_DIVBYZERO): Likewise.
48059         (FE_OVERFLOW): Likewise.
48060         (FE_UNDERFLOW): Likewise.
48061         (FE_INEXACT): Likewise.
48062         (FE_TONEAREST): Likewise.
48063         (FE_DOWNWARD): Likewise.
48064         (FE_UPWARD): Likewise.
48065         (FE_TOWARDZERO): Likewise.
48067 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
48069         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
48071 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
48073         * scripts/cross-test-ssh.sh (command): Use newlines to separate
48074         commands.  Quote $PWD.
48075         (blacklist_exports): Don't use remove_newlines.  Replace "declare
48076         -x" by "export".
48077         (remove_newlines): Remove.
48079 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
48081         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
48082         * stdlib/stdlib.h (atof): Moved to ...
48083         * include/bits/stdlib-float.h: Here.  New file.
48084         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
48085         * stdlib/bits/stdlib-float.h: New file.
48086         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
48087         -mno-sse -mno-mmx.
48088         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
48089         <xmmintrin.h>.
48091 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
48093         * conform/conformtest.pl (@headers): Add fenv.h.
48094         * conform/data/fenv.h-data: New file.
48095         * include/fenv.h [_ISOMAC]: Disable all contents of file except
48096         include of <math/fenv.h>.
48098         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
48099         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
48100         && !UNIX98].  Enables tests for XOPEN2K8.
48101         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
48102         POSIX2008]: Likewise.
48104         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
48105         (struct rusage): Do not expect type or its members.
48107         [BZ #3439]
48108         * math/math.h (FP_NAN): Define macro to integer constant usable in
48109         #if and use that to give value to enum constant.
48110         (FP_INFINITE): Likewise.
48111         (FP_ZERO): Likewise.
48112         (FP_SUBNORMAL): Likewise.
48113         (FP_NORMAL): Likewise.
48115 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
48117         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
48118         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
48119         arguments.
48121 2012-11-02  Roland McGrath  <roland@hack.frob.com>
48123         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
48124         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
48125         autoconf-time if not.
48126         * configure.in: Remove AC_PREREQ.
48128 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48130         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
48131         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
48132         of the internal implementation.
48134 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
48136         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
48137         except include of <misc/sys/syslog.h>.
48139 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
48142         function returns with a NULL context exit with zero.
48144 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48146         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
48148 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
48150         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
48151         (run_program_cmd): This.
48152         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
48153         (tst_langinfo): New variable.  Use it.
48155 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
48157         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
48158         floating point opcodes.
48160 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48162         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
48163         variable.
48165         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
48167         * sysdeps/mach/hurd/powerpc: Remove directory.
48168         * sysdeps/mach/powerpc: Likewise.
48170 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48172         * scripts/check-local-headers.sh: Ignore c++ headers.
48174 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48176         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
48177         __libc_cleanup_region_start argument.
48179 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
48181         [BZ #14784]
48182         [BZ #14785]
48183         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
48184         x * y using scaling, not as x * y + z.
48185         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48186         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48187         * math/libm-test.inc (fma_test): Add more tests.
48188         (fma_test_towardzero): Likewise.
48189         (fma_test_downward): Likewise.
48190         (fma_test_upward): Likewise.
48192 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48194         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
48196 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
48198         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
48199         New variable.
48201 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
48203         * rt/tst-shm.c (worker): Correct checking for mmap failure.
48205 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
48207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48208         Fix sort order.
48209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48210         Likewise.
48212 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48215         Fix the order of the list for glibc 2.17.
48216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48217         Likewise.
48219 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
48221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48223 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
48225         [BZ #14610]
48226         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
48227         for low part of x being zero before using __atanl (y).
48228         * math/libm-test.inc (atan2_test): Add another test.
48230         * manual/install.texi (Configuring and compiling): Document
48231         general use of test-wrapper and test-wrapper-env.
48232         * INSTALL: Regenerated.
48234         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
48235         (__fma): Do not extract and scale down low bits on after-rounding
48236         systems when result rounded to normal precision would have normal
48237         exponent.
48238         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
48239         (__fmal): Do not extract and scale down low bits on after-rounding
48240         systems when result rounded to normal precision would have normal
48241         exponent.
48242         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
48243         (__fmal): Do not extract and scale down low bits on after-rounding
48244         systems when result rounded to normal precision would have normal
48245         exponent.
48246         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
48247         macro.
48248         (fma_test): Add more tests.
48249         (fma_test_towardzero): Likewise.
48250         (fma_test_downward): Likewise.
48251         (fma_test_upward): Likewise.
48253 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
48255         * sysdeps/i386/tininess.h: Renamed to ...
48256         * sysdeps/x86/tininess.h: This.
48257         * sysdeps/x86_64/tininess.h: Removed.
48259 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
48261         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
48262         input.  Use $(build-program-cmd).
48263         ($(objpfx)tst-array1-static.out): Likewise.
48264         ($(objpfx)tst-array2.out): Likewise.
48265         ($(objpfx)tst-array3.out): Likewise.
48266         ($(objpfx)tst-array4.out): Likewise.
48267         ($(objpfx)tst-array5.out): Likewise.
48268         ($(objpfx)tst-array5-static.out): Likewise.
48270 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
48272         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
48273         if defined.
48275         * nss/nsswitch.h (nss_interface_function): Provide new
48276         macro for use with NSS functions.
48277         * grp/initgroups.c: Use new macro.
48278         * nss/getXXbyYY.c: Likewise.
48279         * nss/getXXbyYY_r.c: Likewise.
48280         * nss/getXXent.c: Likewise.
48281         * nss/getXXent_r.c: Likewise.
48282         * sysdeps/posix/getaddrinfo.c: Likewise.
48284 2012-10-30  Andreas Jaeger  <aj@suse.de>
48286         * po/ru.po: Update Russion translation from translation project.
48288 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
48290         [BZ #14152]
48291         [BZ #14783]
48292         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
48293         result and shift together with sticky bit instead of replicating
48294         round-to-nearest rounding.
48295         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48296         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48297         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
48298         missing underflow exceptions.
48299         (fma_test_towardzero): Add more tests.
48300         (fma_test_downward): Likewise.
48301         (fma_test_upward): Likewise.
48303         [BZ #14047]
48304         * sysdeps/generic/tininess.h: New file.
48305         * sysdeps/i386/tininess.h: Likewise.
48306         * sysdeps/sh/tininess.h: Likewise.
48307         * sysdeps/x86_64/tininess.h: Likewise.
48308         * stdlib/tst-strtod-underflow.c: Likewise.
48309         * stdlib/tst-tininess.c: Likewise.
48310         * stdlib/strtod_l.c: Include <tininess.h>.
48311         (round_and_return): Do not set errno for exact underflow cases.
48312         Force an underflow exception when setting errno for underflow.
48313         Determine underflow based on rounding to normal precision if
48314         TININESS_AFTER_ROUNDING.
48315         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
48316         ERANGE for exact underflow cases.
48317         * stdlib/Makefile (tests): Add tst-tininess and
48318         tst-strtod-underflow.
48319         ($(objpfx)tst-tininess): Use $(link-libm).
48320         ($(objpfx)tst-strtod-underflow): Likewise.
48322 2012-10-30  Andreas Jaeger  <aj@suse.de>
48324         [BZ#14767]
48325         * elf/Makefile (tests): Remove conditional for have-initfini-array
48326         since this is now always required and the variable does not exist
48327         anymore.
48328         (tests-static): Likewise.
48329         (modules-names): Likewise.
48331         * po/eo.po: Add Esperanto translation from translation project.
48333         * elf/tst-array1.c (fini_array): Make writeable so that it can be
48334         merged with constructor/destructor.
48335         (init_array): Likewise.
48336         * elf/tst-array2dep.c (fini_array): Likewise.
48337         (init_array): Likewise.
48339 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
48341         * manual/message.texi: Delete @cartouche tags.
48343 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
48345         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
48346         EOPNOTSUPP.
48347         * sysdeps/mach/hurd/fsync.c: Likewise.
48349         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
48350         [_POSIX_REALTIME_SIGNALS]: Change condition to
48351         [_POSIX_REALTIME_SIGNALS > 0].
48353 2012-10-27  Andreas Jaeger  <aj@suse.de>
48355         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
48356         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
48357         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
48358         [__WORDSIZE != 64]: Likewise.
48360 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
48362         *  iconvdata/tst-table.sh: Remove ${SHELL}.
48363         *  iconvdata/tst-tables.sh: Likewise.
48365 2012-10-25  David S. Miller  <davem@davemloft.net>
48367         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48368         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
48369         of strtoull.
48371         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
48372         ifunc-impl-list.c
48373         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48374         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
48375         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
48376         file.
48378 2012-10-25  Roland McGrath  <roland@hack.frob.com>
48380         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48381         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
48382         __getdirentries.
48384 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
48385             Jim Blandy  <jimb@codesourcery.com>
48387         * scripts/cross-test-ssh.sh: New file.
48388         * manual/install.texi (Configuring and compiling): Document use of
48389         cross-test-ssh.sh.
48390         * INSTALL: Regenerated.
48392 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
48394         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
48395         EOPNOTSUPP.
48397 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
48399         * Makeconfig (run-program-prefix): Fix comment.
48401 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
48402             Jim Blandy  <jimb@codesourcery.com>
48404         * Makeconfig (test-wrapper): New variable,
48405         (test-wrapper-env): Likewise.
48406         [$(cross-compiling) = yes && $(test-wrapper) != ""]
48407         (run-built-tests): Define to yes.
48408         (run-program-prefix): Use $(test-wrapper).
48409         (built-program-cmd): Likewise.
48410         * Rules (make-test-out): Use $(test-wrapper-env) and
48411         $(host-built-program-cmd).
48412         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
48413         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
48414         tst-pathopt.sh.
48415         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
48416         $(test-wrapper-env) to tst-rtld-load-self.sh.
48417         ($(objpfx)order2.out): Use $(test-wrapper).
48418         ($(objpfx)tst-initorder.out): Likewise.
48419         ($(objpfx)tst-initorder2.out): Likewise.
48420         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
48421         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
48422         (test_wrapper_env): New variable.  Use it to run ld.so.
48423         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
48424         Use it to run ld.so.
48425         (test_wrapper_env): Likewise.
48426         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
48427         $(test-wrapper) to run-iconv-test.sh.
48428         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
48429         (ICONV): Use $test_wrapper.
48430         * posix/Makefile ($(objpfx)globtest.out): Pass
48431         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
48432         globtest.sh, not $(run-program-prefix).
48433         * posix/globtest.sh (run_via_rtld_prefix): New variable.
48434         (test_wrapper): Likewise.
48435         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
48436         set together with run_via_rtld_prefix.
48437         (run_program_prefix): Define in terms of test_wrapper and
48438         run_via_rtld_prefix.
48440 2012-10-24  Roland McGrath  <roland@hack.frob.com>
48442         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
48443         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
48444         Targets removed.
48446         [BZ #14743]
48447         * include/time.h: Remove librt_hidden_proto (clock_gettime).
48448         Declare __clock_getres, __clock_gettime, __clock_settime,
48449         __clock_nanosleep, and __clock_getcpuclockid.
48450         * rt/clock_gettime.c: Define __clock_gettime as an alias.
48451         Remove librt_hidden_def (clock_gettime).
48452         * sysdeps/unix/clock_gettime.c: Likewise.
48453         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
48454         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48455         * rt/clock_getres.c: Define __clock_getres as an alias.
48456         * sysdeps/posix/clock_getres.c: Likewise.
48457         * rt/clock_settime.c: Define __clock_settime as an alias.
48458         * sysdeps/unix/clock_settime.c: Likewise.
48459         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
48460         * sysdeps/unix/clock_nanosleep.c: Likewise.
48461         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48462         * rt/clock-compat.c: New file.
48463         * rt/Makefile (librt-routines): Add clock-compat and move
48464         $(clock-routines) to ...
48465         (routines): ... here, new variable.
48466         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
48467         Don't add get_clockfreq here.
48468         * rt/Versions (libc: GLIBC_2.17): New version set.
48469         Add clock_* symbols here.
48470         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
48471         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
48472         (GLIBC_2.17): Add clock_* symbols.
48473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48475         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48477         Likewise.
48478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48479         Likewise.
48480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48484         * NEWS: Mention the move.
48486         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
48487         Use __open, __read, __close rather than their public counterparts.
48488         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48489         (__get_clockfreq_via_cpuinfo): Likewise.
48490         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
48491         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
48493         * config.h.in (HAVE_IFUNC): New #undef.
48494         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
48495         was successful.
48496         * configure: Regenerated.
48498 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
48500         * configure.in: Move READELF check to start of file.
48501         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
48502         libc_cv_asm_gnu_indirect_function in the process.
48503         * configure: Regenerated.
48505 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
48507         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
48508         send the output to /dev/null.
48509         (libc_cv_cc_with_libunwind): Likewise.
48510         (libc_cv_as_noexecstack): Likewise.
48511         * configure: Regenerate.
48513 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
48515         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
48517         * posix/globtest.sh (TMPDIR): Do not set.
48518         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
48519         (testout): Likewise.
48521 2012-10-24  Andreas Jaeger  <aj@suse.de>
48523         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
48524         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
48525         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
48526         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
48527         posix_fadvise64, posix_fallocate64.
48529         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
48530         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
48531         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
48532         Likewise.
48533         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
48534         Likewise.
48535         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
48537         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
48538         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
48539         <bits/fcntl-linux.h>.
48540         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
48542         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
48543         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
48544         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
48545         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
48546         [__WORDSIZE != 64]: Likewise.
48548 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48550         * Makeconfig (run-built-tests): New variable.
48551         * Rules [$(cross-compiling) = yes]: Change condition to
48552         [$(run-built-tests) = no].
48553         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
48554         to [$(run-built-tests) = yes].
48555         * elf/Makefile [$(cross-compiling) = no]: Likewise
48556         * grp/Makefile [$(cross-compiling) = no]: Likewise.
48557         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
48558         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
48559         * intl/Makefile [$(cross-compiling) = no]: Likewise.
48560         * io/Makefile [$(cross-compiling) = no]: Likewise.
48561         * libio/Makefile [$(cross-compiling) = no]: Likewise.
48562         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
48563         * misc/Makefile [$(cross-compiling) = no]: Likewise.
48564         * posix/Makefile [$(cross-compiling) = no]: Likewise.
48565         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
48566         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
48567         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
48568         * string/Makefile [$(cross-compiling) = no]: Likewise.
48570         * posix/Makefile ($(objpfx)globtest.out): Pass
48571         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
48572         $(rtld-installed-name).
48573         * posix/globtest.sh (elf_objpfx): Remove variable.
48574         (rtld_installed_name): Likewise.
48575         (library_path): Likewise.
48576         (run_program_prefix): New variable.  Use for running globtest
48577         binary.
48579 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
48580             Joseph Myers  <joseph@codesourcery.com>
48582         * Makeconfig (host-built-program-cmd): New variable.
48583         * elf/Makefile (tst-stackguard1-ARGS): Use
48584         $(host-built-program-cmd).
48585         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
48586         (tst-spawn-ARGS): Likewise.
48587         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
48589 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48590             Jim Blandy  <jimb@codesourcery.com>
48592         * Makeconfig (run-via-rtld-prefix): New variable.
48593         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
48594         (built-program-cmd): Likewise.
48596 2012-10-22  Andreas Jaeger  <aj@suse.de>
48598         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
48599         __O_RSYNC if it exists, otherwise to O_SYNC.
48601 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
48602             Joseph Myers  <joseph@codesourcery.com>
48604         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
48605         /dev/null.
48606         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
48607         from /dev/null
48608         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
48609         /dev/null.
48611 2012-10-22  Andreas Jaeger  <aj@suse.de>
48613         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
48614         Define always.
48615         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
48617         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48618         bits/fcntl-linux.h.
48620         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
48621         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
48623         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
48624         to __O_LARGEFILE.
48625         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
48626         to __O_LARGEFILE.
48628 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
48629             Joseph Myers  <joseph@codesourcery.com>
48631         * config.make.in (NM): New variable.
48633 2012-10-21  Andreas Jaeger  <aj@suse.de>
48635         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
48636         definitions and declarations that are provided by
48637         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48639 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48641         [BZ #14683]
48642         * elf/Makefile (tests-static): Add tst-leaks1-static.
48643         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
48644         ($(objpfx)tst-leaks1-static): New rule.
48645         ($(objpfx)tst-leaks1-static-mem): Likewise.
48646         (tst-leaks1-static-ENV): New macro.
48647         * elf/dl-open.c (dl_open_worker): Check the main application
48648         only if SHARED is defined.
48649         * elf/tst-leaks1-static.c: New file.
48651 2012-10-20  Andreas Jaeger  <aj@suse.de>
48653         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
48654         generic values for Linux.
48655         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
48656         and declarations that are provided by <bits/fcntl-linux.h> and
48657         include <bits/fcntl-linux.h>.
48658         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48659         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48661 2012-10-20  Roland McGrath  <roland@hack.frob.com>
48663         * io/fcntl.h: Move include of <bits/types.h> to the top and
48664         include it unconditionally.
48666 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48668         * wcsmbs/Makefile (tests-ifunc): New variable.
48669         (tests): Add $(tests-ifunc).
48670         * wcsmbs/test-wcschr-ifunc.c: New file.
48671         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
48672         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
48673         * wcsmbs/test-wcslen-ifunc.c: Likewise.
48674         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
48675         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
48677         * string/Makefile (tests-ifunc): New variable.
48678         (tests): Add $(tests-ifunc).
48679         * string/test-memccpy.c (TEST_NAME): New macro.
48680         * string/test-memchr.c (TEST_NAME): Likewise.
48681         * string/test-memcmp.c (TEST_NAME): Likewise.
48682         * string/test-memcpy.c (TEST_NAME): Likewise.
48683         * string/test-memmem.c (TEST_NAME): Likewise.
48684         * string/test-memmove.c (TEST_NAME): Likewise.
48685         * string/test-memset.c (TEST_NAME): Likewise.
48686         * string/test-rawmemchr.c (TEST_NAME): Likewise.
48687         * string/test-stpcpy.c (TEST_NAME): Likewise.
48688         * string/test-stpncpy.c (TEST_NAME): Likewise.
48689         * string/test-strcasecmp.c (TEST_NAME): Likewise.
48690         * string/test-strcasestr.c (TEST_NAME): Likewise.
48691         * string/test-strcat.c (TEST_NAME): Likewise.
48692         * string/test-strchr.c (TEST_NAME): Likewise.
48693         * string/test-strcmp.c(TEST_NAME): Likewise.
48694         * string/test-strcpy.c (TEST_NAME): Likewise.
48695         * string/test-strcspn.c (TEST_NAME): Likewise.
48696         * string/test-strlen.c (TEST_NAME): Likewise.
48697         * string/test-strncasecmp.c (TEST_NAME): Likewise.
48698         * string/test-strncmp.c (TEST_NAME): Likewise.
48699         * string/test-strncpy.c (TEST_NAME): Likewise.
48700         * string/test-strnlen.c (TEST_NAME): Likewise.
48701         * string/test-strpbrk.c (TEST_NAME): Likewise.
48702         * string/test-strrchr.c (TEST_NAME): Likewise.
48703         * string/test-strspn.c (TEST_NAME): Likewise.
48704         * string/test-strstr.c (TEST_NAME): Likewise.
48705         * string/test-bcopy-ifunc.c: New file.
48706         * string/test-bzero-ifunc.c: Likewise.
48707         * string/test-memccpy-ifunc.c: Likewise.
48708         * string/test-memchr-ifunc.c: Likewise.
48709         * string/test-memcmp-ifunc.c: Likewise.
48710         * string/test-memcpy-ifunc.c: Likewise.
48711         * string/test-memmem-ifunc.c: Likewise.
48712         * string/test-memmove-ifunc.c: Likewise.
48713         * string/test-mempcpy-ifunc.c: Likewise.
48714         * string/test-memset-ifunc.c: Likewise.
48715         * string/test-rawmemchr-ifunc.c: Likewise.
48716         * string/test-stpcpy-ifunc.c: Likewise.
48717         * string/test-stpncpy-ifunc.c: Likewise.
48718         * string/test-strcasecmp-ifunc.c: Likewise.
48719         * string/test-strcasestr-ifunc.c: Likewise.
48720         * string/test-strcat-ifunc.c: Likewise.
48721         * string/test-strchr-ifunc.c: Likewise.
48722         * string/test-strchrnul-ifunc.c: Likewise.
48723         * string/test-strcmp-ifunc.c: Likewise.
48724         * string/test-strcpy-ifunc.c: Likewise.
48725         * string/test-strcspn-ifunc.c: Likewise.
48726         * string/test-strlen-ifunc.c: Likewise.
48727         * string/test-strncasecmp-ifunc.c: Likewise.
48728         * string/test-strncat-ifunc.c: Likewise.
48729         * string/test-strncmp-ifunc.c: Likewise.
48730         * string/test-strncpy-ifunc.c: Likewise.
48731         * string/test-strnlen-ifunc.c: Likewise.
48732         * string/test-strpbrk-ifunc.c: Likewise.
48733         * string/test-strrchr-ifunc.c: Likewise.
48734         * string/test-strspn-ifunc.c: Likewise.
48735         * string/test-strstr-ifunc.c: Likewise.
48737         * debug/Makefile (tests-ifunc): New variable.
48738         (tests): Add $(tests-ifunc).
48739         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
48740         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
48741         * debug/test-stpcpy_chk-ifunc.c: New file.
48742         * debug/test-strcpy_chk-ifunc.c: Likewise.
48744 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48746         [BZ #13601]
48747         * elf/dl-load.c (open_verify): Retry read if the entire ELF
48748         header is not read in.
48750 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
48752         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
48753         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
48754         directly.  Pass built executable to script as
48755         $(built-program-cmd).
48756         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
48757         $testprogram without using LD_LIBRARY_PATH and $ldso.
48759         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
48760         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
48761         $(rtld-installed-name).
48762         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
48763         (rtld_installed_name): Likewise.
48764         (library_path): Likewise.
48765         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
48766         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
48767         $(run-program-prefix) to tst-tables.sh.
48768         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
48769         it to run tst-table-from and tst-table-to.
48770         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
48771         Pass it to tst-table.sh.
48772         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
48773         $(run-program-prefix) to tst-gettext.sh.
48774         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
48775         tst-translit.sh.
48776         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
48777         tst-gettext2.sh.
48778         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
48779         to run tst-gettext.
48780         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
48781         to run tst-gettext2.
48782         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
48783         to run tst-translit.
48784         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
48785         $(run-program-prefix) to tst-mtrace.sh.
48786         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
48787         to run tst-mtrace.
48788         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
48789         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
48790         $(rtld-installed-name).
48791         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
48792         (rtld_installed_name): Likewise.
48793         (run_program_prefix): New variable.  Use it to run wordexp-test.
48795         * Makeconfig (ARCH): Remove all definitions.
48796         (machine): Likewise.
48797         [ARCH]: Remove conditional code.
48798         [!objdir]: Give error.
48799         [!objdir] (objpfx): Remove.
48800         [!objdir] (common-objpfx): Likewise.
48801         [!objdir] (common-objdir): Likewise.
48802         * configure.in (config_makefile): Remove.  Hardcode Makefile in
48803         AC_CONFIG_FILES call.
48804         * configure: Regenerated.
48806         [BZ #13888]
48807         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
48808         or TMPDIR.
48809         (testout): Likewise.
48811         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
48812         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
48813         $(rtld-installed-name).
48814         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
48815         (rtld_installed_name): Likwise.
48816         (runit): Remove function.
48817         (run_getconf): New variable,  Use it for running getconf binary.
48819 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
48821         [BZ #14716]
48822         * string/test-memmem.c (check_result): New function.
48823         (do_one_test): Use it.
48824         (check1): New function.
48825         (test_main): Use it.
48827 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
48829         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
48831 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
48833         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
48834         (_G_LSEEK64): Likewise.
48835         (_G_MMAP64): Likewise.
48836         (_G_FSTAT64): Likewise.
48837         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
48838         (_G_LSEEK64): Likewise.
48839         (_G_MMAP64): Likewise.
48840         (_G_FSTAT64): Likewise.
48841         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
48842         unconditional.  Call __mmap64 directly.
48843         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
48844         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
48845         __lseek64 directly.
48846         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
48847         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
48848         __mmap64 directly.
48849         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
48850         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48851         __lseek64 directly.
48852         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
48853         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48854         __lseek64 directly.
48855         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
48856         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
48857         __lseek64 directly.
48858         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
48859         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
48860         __fxstat64 directly.
48861         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
48862         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
48863         unconditional.
48864         (freopen64) [!_G_OPEN64]: Remove conditional code.
48865         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
48866         unconditional.
48867         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
48868         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
48869         unconditional.
48870         (ftello64) [!_G_LSEEK64]: Remove conditional code.
48871         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
48872         unconditional.
48873         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48874         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
48875         unconditional.
48876         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
48877         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
48878         unconditional.
48879         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48880         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
48881         unconditional.
48882         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48883         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
48884         unconditional.
48885         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48887 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48889         [BZ #12140]
48890         * manual/memory.texi (Malloc Tunable Parameters): Add note
48891         about free list pointers overwriting some perturb bytes.
48892         Wording suggested by Roland McGrath.
48894 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
48896         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
48897         (lgamma_test): Likewise.
48898         (tgamma_test): Likewise.
48900 2012-10-16  Florian Weimer  <fweimer@redhat.com>
48902         [BZ #14700]
48903         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
48904         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
48906 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
48908         * NEWS: Mention BZ #14716.
48909         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
48910         when removing AVAILABLE1_USES_J macro.
48912 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
48914         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
48915         (__bswap_64): __uint64_t for unsigned 64-bit int.
48917 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
48919         * include/string.h (memmem): Declare libc hidden alias.
48920         * string/memmem.c (memmem): Define libc hidden alias.
48921         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
48922         __read, __close instead of open, read, close.
48924 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
48926         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
48927         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
48928         global and hidden.
48929         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
48930         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
48931         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
48932         Likewise.
48933         (__rawmemchr_sse2): Likewise.
48934         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
48935         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
48936         (__strchr_sse2): Likewise.
48937         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
48938         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
48939         (__strcasecmp_sse2): Likewise.
48940         (__strncasecmp_sse2): Likewise.
48941         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
48942         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
48943         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
48944         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
48945         (__strrchr_sse2): Likewise.
48946         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
48947         ifunc-impl-list.c.
48948         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
48949         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
48950         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
48951         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48952         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
48953         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
48954         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48955         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48956         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
48957         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
48958         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
48959         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
48960         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
48961         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
48962         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
48963         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48964         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
48965         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
48966         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
48967         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
48968         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
48969         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
48970         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
48971         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48972         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
48973         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48974         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
48975         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48976         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
48977         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
48979         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
48980         global and hidden.
48981         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
48982         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
48983         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
48984         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
48985         Likewise.
48986         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
48987         Likewise.
48988         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
48989         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
48990         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
48991         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
48992         ifunc-impl-list.c.
48993         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48994         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48995         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48996         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48997         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48998         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48999         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49000         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49001         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49002         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49003         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49004         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49005         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49006         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
49007         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
49008         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49009         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
49010         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
49011         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49012         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49013         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49014         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49015         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49016         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49017         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49018         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
49019         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
49020         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
49021         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
49022         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49023         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
49024         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49025         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49026         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
49027         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49028         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49029         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49030         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49031         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49032         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49033         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
49035         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
49036         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
49037         * include/ifunc-impl-list.h: New file.
49038         * misc/ifunc-impl-list.c: Likewise.
49039         * misc/Makefile (routines): Add ifunc-impl-list.
49040         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
49041         * string/test-string.h: Include <ifunc-impl-list.h>.
49042         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
49043         TEST_NAME]: New variables.
49044         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
49045         are defined.
49046         (test_init): Call __libc_ifunc_impl_list to initialize
49047         func_list if TEST_IFUNC and TEST_NAME are defined.
49049         * string/Makefile (strop-tests): Add bcopy and bzero.
49050         * string/test-bcopy.c: New file.
49051         * string/test-bzero.c: Likewise.
49052         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
49053         defined.
49054         * string/test-memset.c: Support bzero test if TEST_BZERO is
49055         defined.
49056         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
49057         __libc_memmove.
49058         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
49059         __libc_memset.
49060         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
49061         of memset.
49063 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
49065         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
49066         * configure: Regenerated.
49068         * Makeconfig (+link-static-before-libc): Don't include
49069         $(link-static-libc).
49071         * libio/libio.h (_IO_pos_t): Remove.
49073 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49075         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
49076         McGrath.
49078 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49080         * crypt/crypt-entry.c: Include fips-private.h.
49081         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
49082         * crypt/md5c-test.c (main): Tolerate disabled MD5.
49083         * sysdeps/unix/sysv/linux/fips-private.h: New file.
49084         * sysdeps/generic/fips-private.h: New file, dummy fallback.
49086 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49088         * crypt/crypt-private.h: Include stdbool.h.
49089         (_ufc_setup_salt_r): Return bool.
49090         * crypt/crypt-entry.c: Include errno.h.
49091         (__crypt_r): Return NULL with EINVAL for bad salt.
49092         * crypt/crypt_util.c (bad_for_salt): New.
49093         (_ufc_setup_salt_r): Check that salt is long enough and within
49094         the specified alphabet.
49095         * crypt/badsalttest.c: New file.
49096         * crypt/Makefile (tests): Add it.
49097         ($(objpfx)badsalttest): New.
49099 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
49101         * NEWS: Add entry for BZ #14602.
49103 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
49105         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
49106         type-generic.
49107         * math/libm-test.inc: Update comment listing what functions and
49108         macros are tested.
49109         (isgreater_test): New function.
49110         (isgreaterequal_test): Likewise.
49111         (isless_test): Likewise.
49112         (islessequal_test): Likewise.
49113         (islessgreater_test): Likewise.
49114         (isunordered_test): Likewise.
49115         (main): Call the new functions.
49117 2012-10-09  Roland McGrath  <roland@hack.frob.com>
49119         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
49120         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
49121         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
49122         * sysdeps/i386/configure: Regenerated.
49123         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
49124         * sysdeps/mach/configure: Regenerated.
49125         * sysdeps/mach/hurd/configure: Regenerated.
49126         * sysdeps/powerpc/configure: Regenerated.
49127         * sysdeps/powerpc/powerpc32/configure: Regenerated.
49128         * sysdeps/powerpc/powerpc64/configure: Regenerated.
49129         * sysdeps/s390/s390-32/configure: Regenerated.
49130         * sysdeps/s390/s390-64/configure: Regenerated.
49131         * sysdeps/sh/configure: Regenerated.
49132         * sysdeps/sparc/configure: Regenerated.
49133         * sysdeps/unix/sysv/linux/configure: Regenerated.
49134         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49135         * sysdeps/x86_64/configure: Regenerated.
49137         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
49138         defined.  Don't check if MAP is NULL.
49140 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
49142         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
49143         (_G_stat64): Likewise.
49144         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
49145         (_G_stat64): Likewise.
49146         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
49147         instead of struct _G_stat64.
49148         * libio/fileops.c (mmap_remap_check): Likewise.
49149         (decide_maybe_mmap): Likewise.
49150         (_IO_new_file_seekoff): Likewise.
49151         (_IO_file_stat): Likewise.
49152         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
49153         _G_off64_t.
49154         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
49155         instead of struct _G_stat64.
49156         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
49158 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
49160         [BZ #14602]
49161         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49162         Replace with ...
49163         (CHECK_EOL): New macro.
49164         (two_way_short_needle): Check beginning of haystack for EOL.  Use
49165         CHECK_EOL.
49166         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49167         Replace with CHECK_EOL.
49168         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49169         Replace with CHECK_EOL.
49171 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
49173         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
49174         type-generic.
49175         * math/libm-test.inc: Update comment listing what functions and
49176         macros are tested.
49177         (finite_test): New function.
49178         (isinf_test): Likewise.
49179         (isnan_test): Likewise.
49180         (fpclassify_test): Test subnormal input.
49181         (isfinite_test): Likewise.
49182         (isnormal_test): Likewise.
49183         (main): Call the new functions.
49185 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
49187         [BZ #14660]
49188         * Makerules (%.dynsym): Force C locale when running
49189         $(OBJDUMP) --dynamic-syms.
49191 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
49193         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
49194         <stdint.h>.
49196 2012-10-06  David S. Miller  <davem@davemloft.net>
49198         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
49199         upper 32-bits of the length value in %o2 since we use branch-on-register
49200         tests which consider the entire 64-bit register.
49202 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
49204         * string/test-strstr.c (check2): Add a test for page boundary.
49206 2012-10-05  David S. Miller  <davem@davemloft.net>
49208         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
49209         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
49210         file.
49211         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
49212         sysdep_routines.
49213         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
49214         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
49215         and bzero when HWCAP_SPARC_CRYPTO is present.
49217 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
49219         [BZ #14602]
49220         * string/test-strstr.c (check2): New function.
49221         (test_main): Call check2.
49223         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
49224         and bug-strchr1.
49225         * string/bug-strcasestr1.c (do_test): Moved to ...
49226         * string/test-strcasestr.c (check1): Here.  New function.
49227         (do_one_test): Break out result checking code into ...
49228         (check_result): This.  New function.
49229         (do_one_test): Call check_result.
49230         (test_main): Call check1.
49231         * string/bug-strchr1.c (do_test): Moved to ...
49232         * string/test-strchr.c (check1): Here.  New function.
49233         (do_one_test): Break out result checking code into ...
49234         (check_result): This.  New function.
49235         (do_one_test): Call check_result.
49236         (test_main): Call check1.
49237         * string/bug-strstr1.c (main): Moved to ...
49238         * string/test-strstr.c (check1): Here.  New function.
49239         (do_one_test): Break out result checking code into ...
49240         (check_result): This.  New function.
49241         (do_one_test): Call check_result.
49242         (test_main): Call check1.
49243         * string/bug-strcasestr1.c: Removed.
49244         * string/bug-strchr1.c: Likewise.
49245         * string/bug-strstr1.c: Likewise.
49247         * elf/Makefile (dl-routines): Add hwcaps.
49248         * elf/dl-support.c (_dl_important_hwcaps): Removed.
49249         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
49250         (_dl_important_hwcaps): Moved to ...
49251         * elf/dl-hwcaps.c: Here.  New file.
49252         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
49254         [BZ #14557]
49255         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
49256         if IS_IN_rtld isn't defined.
49258         * elf/dl-support.c (_dl_sysinfo_map): New.
49259         Include "get-dynamic-info.h" and "setup-vdso.h".
49260         (_dl_non_dynamic_init): Call setup_vdso.
49261         * elf/dynamic-link.h: Don't include <assert.h>.
49262         (elf_get_dynamic_info): Moved to ...
49263         * elf/get-dynamic-info.h: Here.  New file.
49264         * elf/dynamic-link.h: Include "get-dynamic-info.h".
49265         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
49266         * elf/setup-vdso.h: Here.  New file.
49267         * elf/rtld.c: Include "setup-vdso.h".
49268         (dl_main): Call setup_vdso.
49270 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
49272         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
49273         creal in comment listing functions tested.  List finite, isinf,
49274         isnan, isless, islessequal, isgreater, isgreaterequal,
49275         islessgreater, isunordered, lgamma_r and pow10 as functions and
49276         macros not tested.  Mention which functions not tested are aliases
49277         for other functions.  Fix typo.  Note that signs of NaNs are not
49278         tested.
49280         * scripts/config.guess: Update from config.git.
49281         * scripts/config.sub: Likewise.
49283 2012-10-04  Roland McGrath  <roland@hack.frob.com>
49285         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
49286         * misc/madvise.c (madvise): Renamed to __madvise.
49287         Make madvise a weak alias.
49288         * include/sys/mman.h: Declare __madvise.
49289         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
49290         * sysdeps/unix/syscalls.list
49291         (madvise): Make __madvise the strong name, and madvise a weak alias.
49292         * sysdeps/unix/sysv/linux/syscalls.list
49293         (madvise, mmap): Remove redundant entries.
49294         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
49295         * malloc/malloc.c (mtrim): Likewise.
49296         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
49298 2012-10-03  Roland McGrath  <roland@hack.frob.com>
49300         * sysdeps/mach/hurd/dl-cache.c: File removed.
49301         * config.h.in (USE_LDCONFIG): New #undef.
49302         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
49303         * configure: Regenerated.
49304         * elf/Makefile (dl-routines): Add dl-cache only under
49305         [$(use-ldconfig) = yes].
49306         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
49307         cache on [USE_LDCONFIG].
49308         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
49309         [USE_LDCONFIG].
49310         * elf/rtld.c (dl_main): Likewise.
49312 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
49314         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
49315         _SC_LEVEL4_CACHE_LINESIZE.
49317 2012-10-03  Roland McGrath  <roland@hack.frob.com>
49319         * sysdeps/unix/bsd/confstr.h: File removed.
49321 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
49323         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
49324         sys/sdt-config.h.
49326 2012-10-02  Roland McGrath  <roland@hack.frob.com>
49328         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
49329         Make 'mapoff' field ElfW(Off) rather than off_t.
49331 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
49333         * nscd/Makefile: Remove nscd-cflags and all its users.
49334         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
49335         (CFLAGS-nonlib): Add compiler flags for nscd modules.
49337         [BZ #10631]
49338         * malloc.c (malloc_printerr): Clarify error message.
49340 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
49342         [BZ #14648]
49343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49344         Set bit_FMA_Usable if FMA is supported.
49345         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
49346         macro.
49347         (bit_FMA4_Usable): Updated.
49348         (index_FMA_Usable): New macro.
49349         (CPUID_FMA): Likewise
49350         (HAS_FMA): Defined with bit_FMA_Usable.
49352 2012-10-01  Roland McGrath  <roland@hack.frob.com>
49354         * bits/types.h (__swblk_t): Type removed.
49355         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
49356         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
49357         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49358         (__SWBLK_T_TYPE): Likewise.
49359         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
49360         (__SWBLK_T_TYPE): Likewise.
49361         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49362         (__SWBLK_T_TYPE): Likewise.
49363         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49364         (__SWBLK_T_TYPE): Likewise.
49366 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
49367             Honza Horak <hhorak@redhat.com>
49369         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
49370         (xdr_mapname): Use YPMAXMAP as maxsize.
49371         (xdr_peername): Use YPMAXPEER as maxsize.
49372         (xdr_keydat): Use YPAXRECORD as maxsize.
49373         (xdr_valdat): Use YPMAXRECORD as maxsize.
49375 2012-10-01  Roland McGrath  <roland@hack.frob.com>
49377         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
49379         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
49380         * csu/init-first.c: ... here.
49381         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
49382         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
49383         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
49384         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
49385         * sysdeps/i386/init-first.c: File removed.
49386         * sysdeps/sh/init-first.c: File removed.
49388 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
49390         [BZ #14645]
49391         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
49392         if x * y might underflow to zero and z is zero.
49393         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49394         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49395         * math/libm-test.inc (min_subnorm_value): New variable.
49396         (fma_test): Add more tests.
49397         (fma_test_towardzero): Likewise.
49398         (fma_test_downward): Likewise
49399         (fma_test_upward): Likewise.
49400         (initialize): Set min_subnorm_value.
49402 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
49404         [BZ #14638]
49405         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
49406         0 + 0.
49407         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
49408         mode for addition resulting in exact zero.
49409         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
49410         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
49411         exact 0 + 0.
49412         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49413         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49414         * math/libm-test.inc (fma_test): Add more tests.
49415         (fma_test_towardzero): New function.
49416         (fma_test_downward): Likewise.
49417         (fma_test_upward): Likewise.
49418         (main): Call the new functions.
49420 2012-09-28  David S. Miller  <davem@davemloft.net>
49422         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
49424 2012-09-28  Roland McGrath  <roland@hack.frob.com>
49426         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
49427         instead of SIGALRM.
49429         * sysdeps/gnu/_G_config.h: Moved to ...
49430         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
49431         * sysdeps/mach/hurd/_G_config.h: Moved to ...
49432         * sysdeps/generic/_G_config.h: ... here.
49434         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
49436         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
49438         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
49439         Conditionalize target on [libnss_test1.so-version].
49441         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
49443         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
49444         (elfobjdir): Move out of conditionals.
49446         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
49447         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
49448         (__nss_lookup_function): Conditionalize label remove_from_tree on
49449         [!DO_STATIC_NSS || SHARED], matching its only use.
49451 2012-09-28  David S. Miller  <davem@davemloft.net>
49453         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
49454         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
49455         file.
49456         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
49457         sysdep_routines.
49458         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
49459         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
49460         when HWCAP_SPARC_CRYPTO is present.
49462 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49464         * io/tst-mknodat.c: Create a FIFO instead of a socket.
49466 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
49468         [BZ #6530]
49469         * stdio-common/vfprintf.c (process_string_arg): Revert
49470         2000-07-22 change.
49472 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
49474         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
49475         for testcase.
49476         * stdio-common/tst-sprintf.c: Include <locale.h>
49477         (main): Test sprintf's handling of incomplete multibyte
49478         characters.
49480 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
49482         * elf/dl-runtime.c (VERSYMIDX): Removed.
49483         * elf/dl-version.c (VERSYMIDX): Likewise.
49484         * elf/do-rel.h (VERSYMIDX): Likewise.
49485         (VALIDX): Likewise.
49486         * elf/dynamic-link.h (VERSYMIDX): Likewise.
49487         * elf/rtld.c (VALIDX): Likewise.
49488         (ADDRIDX): Likewise.
49489         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
49490         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
49491         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
49492         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
49493         (VALIDX): Likewise.
49494         (ADDRIDX): Likewise.
49496 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49498         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
49500 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
49502         [BZ #11438]
49503         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
49504         to global scope.
49505         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
49506         addresses are in the same scope as 192.0.2/24.
49507         * posix/gai.conf: Document new scope table defaults.
49509 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49511         [BZ #5298]
49512         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
49513         for ftell.  Compute offsets from write pointers instead.
49514         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
49516 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49518         [BZ #14543]
49519         * libio/Makefile (tests): New test case tst-fseek.
49520         * libio/tst-fseek.c: New test case to verify that fseek/ftell
49521         combination works in wide mode.
49522         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
49523         state when the external buffer state changes.
49525 2012-09-27  David S. Miller  <davem@davemloft.net>
49527         [BZ #14376]
49528         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
49529         pass reloc->r_addend in as the 'high' argument to
49530         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
49532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49534 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49536         * rt/tst-aio2.c: Include <pthread.h>.
49537         * rt/tst-aio3.c: Likewise.
49539 2012-09-27  Steve Ellcey  <sellcey@mips.com>
49541         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
49543 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
49545         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
49546         contents on [SHARED].
49548 2012-09-26  Marek Polacek  <polacek@redhat.com>
49550         [BZ #14530]
49551         [BZ #13741]
49552         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
49553         for C++ and GCC <4.3 as well as for non GCC compilers.
49555 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49557         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49559 2012-09-25  Roland McGrath  <roland@hack.frob.com>
49561         * Makefile.in (all, install): Declare with .PHONY.
49562         Reported by Michael Hope <michael.hope@linaro.org>.
49564 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49566         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
49567         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
49568         system header.
49569         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
49570         Likewise.
49571         (sydep_routines): Add the new and the internal functions.
49572         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
49573         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
49574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
49575         (GLIBC_2.17): Add the new function.
49576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49577         (GLIBC_2.17): Likewise.
49578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
49579         (GLIBC_2.17): Likewise.
49580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
49581         (GLIBC_2.17): Likewise.
49582         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
49584 2012-09-25  Alan Modra  <amodra@gmail.com>
49586         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
49587         Add release barrier before setting once_control to say
49588         initialisation is done.  Add hints on lwarx.  Use macro in
49589         place of isync.
49590         (clear_once_control): Add release barrier.
49592 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49594         [BZ #13629]
49595         * math/s_clog.c (__clog): Handle more values close to |z| = 1
49596         specially.
49597         * math/s_clog10.c (__clog10): Likewise.
49598         * math/s_clog10f.c (__clog10f): Likewise.
49599         * math/s_clog10l.c (__clog10l): Likewise.
49600         * math/s_clogf.c (__clogf): Likewise.
49601         * math/s_clogl.c (__clogl): Likewise.
49602         * math/Makefile (libm-calls): Add x2y2m1.
49603         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
49604         (__x2y2m1): Likewise.
49605         (__x2y2m1l): Likewise.
49606         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
49607         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
49608         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
49609         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49610         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
49611         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
49612         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
49613         * sysdeps/i386/fpu/libm-test-ulps: Update.
49614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49616         [BZ #14621]
49617         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
49618         int as type of variable DEPTH.
49619         (glob): Use size_t instead of int as type of variables NEWCOUNT
49620         and OLD_PATHC.
49622 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49624         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49625         Add s_sincosf-sse2.
49626         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
49627         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
49628         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
49629         macros for using routine as __sincosf_ia32.
49630         Use macro for function declaration and weak_alias.
49631         * sysdeps/i386/fpu/libm-test-ulps: Update.
49633         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
49634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49636         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
49637         subnormal argument.
49638         * math/s_cexpf.c (__cexpf): Likewise.
49639         * math/s_csinf.c (__csinf): Likewise.
49640         * math/s_csinhf.c (__csinhf): Likewise.
49641         * math/s_ctanf.c (__ctanf): Likewise.
49642         * math/s_ctanhf.c (__ctanhf): Likewise.
49643         * math/s_ccosh.c (__ccoshf): Likewise.
49644         * math/s_cexp.c (__cexpl): Likewise.
49645         * math/s_csin.c (__csin): Likewise.
49646         * math/s_csinh.c (__csinh): Likewise.
49647         * math/s_ctan.c (__ctan): Likewise.
49648         * math/s_ctanh.c (ctanh): Likewise.
49649         * math/s_ccoshl.c (__ccoshl): Likewise.
49650         * math/s_cexpl.c (__cexpl): Likewise.
49651         * math/s_csinl.c (__csinl): Likewise.
49652         * math/s_csinhl.c (__csinhl): Likewise.
49653         * math/s_ctanl.c (__ctanl): Likewise.
49654         * math/s_ctanhl.c (__ctanhl): Likewise.
49656 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49658         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
49659         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
49660         (_IO_off_t): Define to __off_t, not _G_off_t.
49661         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
49662         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
49663         (_IO_wint_t): Define to wint_t, not _G_wint_t.
49664         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
49665         type of __dummy and __dummy2 fields.
49666         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
49667         (_G_ssize_t): Likewise.
49668         (_G_off_t): Likewise.
49669         (_G_pid_t): Likewise.
49670         (_G_uid_t): Likewise.
49671         (_G_wchar_t): Likewise.
49672         (_G_wint_t): Likewise.
49673         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
49674         (_G_ssize_t): Likewise.
49675         (_G_off_t): Likewise.
49676         (_G_pid_t): Likewise.
49677         (_G_uid_t): Likewise.
49678         (_G_wchar_t): Likewise.
49679         (_G_wint_t): Likewise.
49680         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
49681         (_G_ssize_t): Likewise.
49682         (_G_off_t): Likewise.
49683         (_G_pid_t): Likewise.
49684         (_G_uid_t): Likewise.
49685         (_G_wchar_t): Likewise.
49686         (_G_wint_t): Likewise.
49688 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49690         * malloc/arena.c: Include malloc-sysdep.h.
49691         (shrink_heap): Use check_may_shrink_heap to decide if madvise
49692         is sufficient to shrink the heap or an unmap is needed.
49693         * sysdeps/generic/malloc-sysdep.h: New file.  Define
49694         new function check_may_shrink_heap.
49695         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
49696         new function check_may_shrink_heap.
49698 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49700         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
49701         comments.
49703 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
49705         * catgets/test-gencat.sh: Add "set -e".
49706         * elf/tst-pathopt.sh: Likewise.
49707         * grp/tst_fgetgrent.sh: Likewise.
49708         * iconvdata/run-iconv-test.sh: Likewise.
49709         * intl/tst-gettext.sh: Likewise.
49710         * intl/tst-gettext2.sh: Likewise.
49711         * intl/tst-gettext4.sh: Likewise.
49712         * intl/tst-gettext6.sh: Likewise.
49713         * intl/tst-translit.sh: Likewise.
49714         * io/ftwtest-sh: Likewise.
49715         * libio/test-freopen.sh: Likewise.
49716         * malloc/tst-mtrace.sh: Likewise.
49717         * posix/globtest.sh: Likewise.
49718         * posix/tst-getconf.sh: Likewise.
49719         * posix/wordexp-tst.sh: Likewise.
49720         * stdio-common/tst-printf.sh: Likewise.
49721         * stdio-common/tst-unbputc.sh: Likewise.
49722         * stdlib/tst-fmtmsg.sh: Likewise.
49723         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49724         * catgets/Makefile: Do not specify -e option when running
49725         testsuite shell scripts.
49726         * elf/Makefile: Likewise.
49727         * grp/Makefile: Likewise.
49728         * iconvdata/Makefile: Likewise.
49729         * intl/Makefile: Likewise.
49730         * io/Makefile: Likewise.
49731         * libio/Makefile: Likewise.
49732         * malloc/Makefile: Likewise.
49733         * posix/Makefile: Likewise.
49734         * stdio-common/Makefile: Likewise.
49735         * stdlib/Makefile: Likewise.
49736         * sysdeps/x86_64/Makefile: Likewise.
49738         * io/ftwtest-sh: Add copyright header.
49739         * posix/globtest.sh: Likewise.
49740         * posix/tst-getconf.sh: Likewise.
49741         * posix/wordexp-tst.sh: Likewise.
49742         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49744 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
49746         [BZ #13679]
49747         * Makeconfig (+link): Defined as $(+link-static) if
49748         $(build-shared) isn't yes.
49749         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
49750         isn't yes.
49751         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
49753         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
49755         [BZ #14562]
49756         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
49757         new chunk size with MALLOC_ALIGN_MASK.
49759 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
49761         [BZ #5044]
49762         * stdio-common/printf_fphex.c: Include <stdbool.h> and
49763         <rounding-mode.h>.
49764         (__printf_fphex): Determine rounding using get_rounding_mode and
49765         round_away.
49766         * stdio-common/tst-printf-round.c (struct hex_test): New
49767         structure.
49768         (hex_tests): New variable.
49769         (test_hex_in_one_mode): New function.
49770         (do_test): Also run tests for hex float output.
49772 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
49774         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49775         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49776         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
49777         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49778         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49779         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
49780         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49781         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49783 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
49785         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
49786         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
49787         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
49788         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
49790 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
49792         [BZ #14579]
49793         * elf/rtld.c (dl_main): Limit the check for self loading to normal
49794         mode only.
49795         * elf/tst-rtld-load-self.sh: New test.
49796         * elf/Makefile: Run it.
49798 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
49800         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
49801         (tst-writev-ENV): Remove.
49802         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
49804 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
49806         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
49808 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
49810         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
49811         unconditional.
49812         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
49813         Likewise.
49814         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
49815         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
49816         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
49817         Likewise.
49819 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
49821         [BZ #14587]
49822         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
49823         * config.make.in (have-cpp-asm-debuginfo): Removed.
49824         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
49825         * configure: Regenerated.
49827 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
49829         [BZ #5044]
49830         * stdio-common/printf_fp.c: Include <stdbool.h> and
49831         <rounding-mode.h>.
49832         (___printf_fp): Determine rounding using get_rounding_mode and
49833         round_away.
49834         * stdio-common/tst-printf-round.c: New file.
49835         * stdio-common/Makefile (tests): Add tst-printf-round.
49836         (link-libm): New variable.
49837         ($(objpfx)tst-printf-round): Depend in $(link-libm).
49839 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
49841         [BZ #14576]
49842         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
49843         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
49844         Likewise.
49845         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
49846         Likewise.
49848 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
49850         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
49851         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49852         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49853         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49855 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
49857         [BZ #14518]
49858         * include/rounding-mode.h: New file.
49859         * sysdeps/generic/get-rounding-mode.h: Likewise.
49860         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
49861         * stdlib/strtod_l.c: Include <rounding-mode.h>.
49862         (MAX_VALUE): New macro.
49863         (MIN_VALUE): Likewise.
49864         (overflow_value): New function.
49865         (underflow_value): Likewise.
49866         (round_and_return): Use overflow_value and underflow_value to
49867         determine return values in overflow and underflow cases.  Use
49868         round_away to determine rounding depending on rounding mode.
49869         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
49870         determine return values in overflow and underflow cases.
49871         * stdlib/tst-strtod-round.c: Include <fenv.h>.
49872         (struct test_results): New structure.
49873         (struct test): Use struct test_results to store expected results
49874         for all rounding modes.
49875         (TEST): Include expected results for all rounding modes.
49876         (test_in_one_mode): New function.
49877         (do_test): Use test_in_one_mode to compute and check results.
49878         Check results for all rounding modes.
49879         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
49880         $(link-libm).
49882 2012-12-09  Allan McRae  <allan@archlinux.org>
49884         * sysdeps/i386/fpu/libm-test-ulps: Update
49886 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
49888         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
49889         (_G_int32_t): Likewise.
49890         (_G_uint16_t): Likewise.
49891         (_G_uint32_t): Likewise.
49892         (_G_HAVE_BOOL): Likewise.
49893         (_G_HAVE_ATEXIT): Likewise.
49894         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49895         (_G_HAVE_IO_FILE_OPEN): Likewise.
49896         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
49897         (_G_int32_t): Likewise.
49898         (_G_uint16_t): Likewise.
49899         (_G_uint32_t): Likewise.
49900         (_G_HAVE_BOOL): Likewise.
49901         (_G_HAVE_ATEXIT): Likewise.
49902         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49903         (_G_HAVE_IO_FILE_OPEN): Likewise.
49904         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
49905         (_G_int32_t): Likewise.
49906         (_G_uint16_t): Likewise.
49907         (_G_uint32_t): Likewise.
49908         (_G_HAVE_BOOL): Likewise.
49909         (_G_HAVE_ATEXIT): Likewise.
49910         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49911         (_G_HAVE_IO_FILE_OPEN): Likewise.
49913 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
49915         * csu/libc-tls.c: Update copyright years.
49917 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
49919         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
49920         [!_G_USING_THUNKS]: Remove conditional code.
49921         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
49922         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
49924         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
49925         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
49926         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49927         (_G_VTABLE_LABEL_PREFIX): Likewise.
49928         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49929         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49930         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49931         (_G_VTABLE_LABEL_PREFIX): Likewise.
49932         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49933         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49934         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49935         (_G_VTABLE_LABEL_PREFIX): Likewise.
49936         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49938 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
49940         * libio/Makefile: Include ../Makeconfig before tests.
49941         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
49942         only if $(build-shared) is yes.
49944         * iconv/gconv_db.c: Update copyright years.
49946 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49948         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
49949         unwind info if defined PIC. Fix special cases description.
49950         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
49952         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
49953         DP_HI_MASK entry.
49954         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
49956 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
49958         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
49960         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
49961         is NULL.
49963         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
49964         (LDLIBS-tst-chk4): This.
49965         (LDFLAGS-tst-chk5): Renamed to ...
49966         (LDLIBS-tst-chk5): This.
49967         (LDFLAGS-tst-chk6): Renamed to ...
49968         (LDLIBS-tst-chk6): This.
49969         (LDFLAGS-tst-lfschk4): Renamed to ...
49970         (LDLIBS-tst-lfschk4): This.
49971         (LDFLAGS-tst-lfschk5): Renamed to ...
49972         (LDLIBS-tst-lfschk5): This.
49973         (LDFLAGS-tst-lfschk6): Renamed to ...
49974         (LDLIBS-tst-lfschk6): This.
49976         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
49977         on $(common-objpfx)soversions.mk.
49979 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
49981         [BZ #10014]
49982         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
49983         example host name.
49985 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49987         * malloc/arena.c (arena_get_retry): New function that gets
49988         another arena for the caller to try its request on.
49989         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
49990         current arena cannot fulfill the request.
49991         (__libc_memalign): Likewise.
49992         (__libc_memalign): Likewise.
49993         (__libc_pvalloc): Likewise.
49994         (__libc_calloc): Likewise.
49996 2012-09-05  John Tobey  <john.tobey@gmail.com>
49998         [BZ #13542]
49999         * manual/arith.texi (Operations on Complex): Fix description
50000         of carg branch cut.
50002 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
50004         [BZ #10014]
50005         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
50006         host name.
50008         [BZ #10038]
50009         * manual/memory.texi (Memory): Make order of menu items match
50010         order of sections.
50012 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50014         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
50015         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
50016         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
50018 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50020         * csu/libc-tls.c (static_dtv): Renamed to ...
50021         (_dl_static_dtv): This.  Make it global.
50022         (_dl_initial_dtv): Removed.
50023         (__libc_setup_tls): Updated.
50024         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
50025         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
50026         DL_INITIAL_DTV.
50028 2012-09-06  Petr Machata  <pmachata@redhat.com>
50030         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
50031         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
50032         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
50033         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
50035 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50037         [BZ #14545]
50038         * csu/libc-tls.c (_dl_initial_dtv): New variable.
50039         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
50040         freeing dtv[-1].
50042 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50044         [BZ #14544]
50045         * Makeconfig (link-static-before-libc): Replace $(+prector)
50046         with $(+prectorT).
50047         (link-static-after-libc): Replace $(+postctor) with
50048         $(+postctorT).
50049         (link-bounded): Replace $(+prector)/$(+postctor) with
50050         $(+prectorT)/$(+postctorT).
50051         (+prectorT): New macro.
50052         (+postctorT): Likewise.
50054 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
50056         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
50057         (round_str): Handle values above the maximum for IBM long double
50058         as inexact.
50059         * stdlib/tst-strtod-round.c (tests): Regenerated.
50061 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50063         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
50064         assembler flag.
50065         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
50066         zarch_nohighgprs around the zarch optimized routines.
50067         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
50068         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
50069         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
50070         for zarch.
50072 2012-09-05  David S. Miller  <davem@davemloft.net>
50074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50076         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
50077         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
50078         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
50079         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50080         entries.
50082 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50084         * malloc/arena.c: Fold copyright years.
50085         * malloc/mcheck.c, malloc/memusage.c: Likewise.
50087 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50089         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
50091 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50093         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
50095 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50097         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
50098         change internal state upon failure.
50100 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50102         * malloc/mcheck.c (mcheck_check_all): Fix typo.
50103         * malloc/memusage.c (mmap): Likewise.
50104         (mmap64, mremap): Likewise.  Adjust name in comment.
50106 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50108         * libio/fileops.c: Fix typos in comments.
50109         * libio/oldfileops.c: Likewise.
50110         * libio/wfileops.c: Likewise.
50112 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50114         [BZ #1349]
50115         * malloc/Makefile (tests): Add tst-malloc-usable test case.
50116         (tst-malloc-usable-ENV): Set environment for test case.
50117         * malloc/hooks.c (malloc_check_get_size): New function to get
50118         requested size.
50119         * malloc/malloc.c (musable): Use malloc_check_get_size.
50120         * malloc/tst-malloc-usable.c: New test case.
50122 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50124         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
50126 2012-09-05  Allan McRae  <allan@archlinux.org>
50128         [BZ #13966]
50129         * configure.in (CXX_SYSINCLUDES): Use compiler output to
50130         determine header location.
50131         * configure: Regenerated.
50133 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50135         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
50136         float format.
50137         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
50138         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
50139         format.
50140         (test): Regenerate.
50142 2012-09-04  David S. Miller  <davem@davemloft.net>
50144         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
50145         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
50146         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
50148 2012-09-04  Florian Weimer  <fweimer@redhat.com>
50150         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
50151         failures.
50153         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
50155 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
50157         [BZ #9914]
50158         * libio/iogetdelim.c: Include <limits.h>.
50159         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
50160         + len + 1 would overflow.
50162 2012-09-03  Andreas Jaeger  <aj@suse.de>
50164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50165         * sysdeps/i386/fpu/libm-test-ulps: Update.
50167 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50169         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
50170         Add s_sinf-sse2, s_conf-sse2.
50172         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
50173         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
50174         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
50175         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
50177         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
50178         for using routine as __sinf_ia32.
50179         Use macro for function declaration and weak_alias.
50180         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
50181         for using routine as __cosf_ia32.
50182         Use macro for function declaration and weak_alias.
50184         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
50185         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
50187         * sysdeps/x86_64/fpu/s_sinf.S: New file.
50188         * sysdeps/x86_64/fpu/s_cosf.S: New file.
50189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50191         * math/libm-test.inc (cos_test): Add more test cases.
50192         (sin_test): Likewise.
50193         (sincos_test): Likewise.
50195 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50197         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
50198         (IFUNC_RESOLVE): Make pointers to the specialized implementations
50199         hidden.
50200         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50202 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
50204         [BZ #14538]
50205         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
50206         first element of the GOT.
50207         (elf_machine_load_address): Return the difference between
50208         the runtime address of _DYNAMIC and elf_machine_dynamic ().
50210 2012-09-01  Allan McRae  <allan@archlinux.org>
50212         [BZ #13412]
50213         * configure.in (AWK): Require gawk version 3.0 or later.
50214         * configure: Regenerated.
50216 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
50218         * sysdeps/unix/sysv/linux/kernel-features.h
50219         (__ASSUME_POSIX_CPU_TIMERS): Remove.
50220         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50221         [__NR_clock_getres]: Make code unconditional.
50222         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
50223         (clock_getcpuclockid): Remove code left unreachable by removal of
50224         conditionals.
50225         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
50226         code unconditional.
50227         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
50228         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50229         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
50230         Make code unconditional.
50231         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
50232         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50233         * sysdeps/unix/sysv/linux/clock_settime.c
50234         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
50235         conditional code.
50236         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
50237         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50239 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
50241         [BZ #14476]
50242         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
50243         scripts/test-installation.pl.
50245         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
50246         and $ld_so_version if it is set.
50248 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50250         [BZ #14516]
50251         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
50252         failure if reading from procfs failed.
50253         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
50255 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
50257         * sysdeps/unix/sysv/linux/kernel-features.h
50258         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
50259         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
50260         Remove conditional code.
50261         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50262         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
50263         Remove conditional code.
50264         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50265         * sysdeps/unix/sysv/linux/i386/fxstat.c
50266         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50267         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50268         * sysdeps/unix/sysv/linux/i386/fxstatat.c
50269         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50270         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50271         * sysdeps/unix/sysv/linux/i386/lxstat.c
50272         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50273         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50274         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
50275         Remove conditional code.
50276         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50277         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
50278         Remove conditional code.
50279         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50280         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
50281         <kernel-features.h>.
50282         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
50283         Remove.
50284         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
50285         Remove conditional code.
50286         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50287         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
50288         Remove conditional.
50290 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
50292         [BZ #5400]
50293         * NEWS: Add fixed bug number.
50295 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
50297         [BZ #14519]
50298         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
50299         underflowing exponent in case of negative sign.
50300         * stdlib/tst-strtod-round-data: Add more tests.
50301         * stdlib/tst-strtod-round.c (tests): Regenerated.
50303         [BZ #3479]
50304         * stdlib/strtod_l.c (NDIG): Remove.
50305         (HEXNDIG): Likewise.
50306         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
50307         smallest representable value.
50308         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
50309         lie within an exact representation of 1/2 ulp of the result.
50310         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
50311         unconditionally.
50312         (TENS_P9_IDX): Define unconditionally.
50313         (TENS_P9_SIZE): Likewise.
50314         (TENS_P10_IDX): Likewise.
50315         (TENS_P10_SIZE): Likewise.
50316         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
50317         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
50318         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
50319         entries for 10^2^13 and 10^2^14.
50320         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
50321         (TENS_P13_IDX): Define.
50322         (TENS_P13_SIZE): Likewise.
50323         (TENS_P14_IDX): Likewise.
50324         (TENS_P14_SIZE): Likewise.
50325         (_fpioconst_pow10): Change array size to
50326         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
50327         unconditional.
50328         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
50329         1024]: Add entries for 10^2^13 and 10^2^14.
50330         [LAST_POW10 > _LAST_POW10]: Remove #error.
50331         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
50332         (_fpioconst_pow10): Change array size to
50333         FPIOCONST_POW10_ARRAY_SIZE.
50334         * stdlib/gen-fpioconst.c: New file.
50335         * stdlib/gen-tst-strtod-round.c: Likewise.
50336         * stdlib/tst-strtod-round-data: Likewise.
50337         * stdlib/tst-strtod-round.c: Likewise.
50338         * stdlib/Makefile (tests): Add tst-strtod-round.
50340         [BZ #14459]
50341         * stdlib/strtod_l.c: Include <stdint.h>.
50342         (NDEBUG): Do not define.
50343         (round_and_return): Change EXPONENT parameter to type intmax_t.
50344         Rearrange calculations to avoid internal overflow possibilities.
50345         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
50346         Rearrange calculations to avoid internal overflow possibilities.
50347         Assert that number fits inside MPNSIZE limbs.
50348         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
50349         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
50350         calculations and add assertions to avoid internal overflow
50351         possibilities.  Add casts to avoid signed/unsigned operations.
50352         * stdlib/tst-strtod-overflow.c: New file.
50353         * stdlib/Makefile (tests): Add tst-strtod-overflow.
50355 2012-08-25  Marek Polacek  <polacek@redhat.com>
50357         * time/time.h: Fix some typos in comments.
50359 2012-08-23  Roland McGrath  <roland@hack.frob.com>
50361         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
50362         * posix/tst-rfc3484-2.c: Likewise.
50363         * posix/tst-rfc3484-3.c: Likewise.
50365 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
50367         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
50368         (EF_ARM_ABI_FLOAT_HARD): Likewise.
50370 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
50372         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
50373         #include of fxstatat64.c.
50375 2012-08-22  Roland McGrath  <roland@hack.frob.com>
50377         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
50378         * shadow/getspent_r.c: Likewise.
50379         * shadow/getspnam.c: Likewise.
50380         * shadow/getspnam_r.c: Likewise.
50381         * gshadow/getsgent.c: Likewise.
50382         * gshadow/getsgent_r.c: Likewise.
50383         * gshadow/getsgnam.c: Likewise.
50384         * gshadow/getsgnam_r.c: Likewise.
50385         * inet/getnetbyad.c: Likewise.
50386         * inet/getnetbyad_r.c: Likewise.
50387         * inet/getnetbynm.c: Likewise.
50388         * inet/getnetbynm_r.c: Likewise.
50389         * inet/getnetent.c: Likewise.
50390         * inet/getnetent_r.c: Likewise.
50391         * inet/getproto.c: Likewise.
50392         * inet/getproto_r.c: Likewise.
50393         * inet/getprtent.c: Likewise.
50394         * inet/getprtent_r.c: Likewise.
50395         * inet/getprtname.c: Likewise.
50396         * inet/getprtname_r.c: Likewise.
50397         * inet/getrpcbyname.c: Likewise.
50398         * inet/getrpcbyname_r.c: Likewise.
50399         * inet/getrpcbynumber.c: Likewise.
50400         * inet/getrpcbynumber_r.c: Likewise.
50401         * inet/getrpcent.c: Likewise.
50402         * inet/getrpcent_r.c: Likewise.
50403         * inet/getaliasent.c: Likewise.
50404         * inet/getaliasent_r.c: Likewise.
50405         * inet/getaliasname.c: Likewise.
50406         * inet/getaliasname_r.c: Likewise.
50407         * nscd/getgrgid_r.c: Likewise.
50408         * nscd/getgrnam_r.c: Likewise.
50409         * nscd/gethstbyad_r.c: Likewise.
50410         * nscd/gethstbynm3_r.c: Likewise.
50411         * nscd/getpwnam_r.c: Likewise.
50412         * nscd/getpwuid_r.c: Likewise.
50413         * nscd/getsrvbynm_r.c: Likewise.
50414         * nscd/getsrvbypt_r.c: Likewise.
50415         * nscd/gai.c: Likewise.
50417         * configure.in (build_nscd): New substituted variable, set
50418         by --disable-build-nscd and defaults to $use_nscd.
50419         * configure: Regenerated.
50420         * config.make.in (build-nscd): New substituted variable.
50421         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
50422         Change conditional to require [$(build-nscd) = yes] as well.
50423         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
50425         [BZ# 13696]
50426         * configure.in (use_nscd): New substituted variable, set by
50427         --disable-nscd.  If enabled, define USE_NSCD.
50428         * configure: Regenerated.
50429         * config.h.in: Add USE_NSCD.
50430         * config.make.in (use-nscd): New substituted variable.
50431         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
50432         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
50433         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
50434         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
50435         (CFLAGS-getgrnam_r.c): Likewise.
50436         (CFLAGS-initgroups.c): Likewise.
50437         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
50438         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
50439         Variables removed.
50440         * inet/getnetgrent_r.c
50441         (nscd_setnetgrent): New function, broken out of ...
50442         (setnetgrent): ... here.  Call it.
50443         (innetgr): Conditionalize nscd bits on [USE_NSCD].
50444         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
50445         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
50446         * nscd/Makefile (routines, aux): Move definitions after include of
50447         Makeconfig.  Conditionalize on [$(use-nscd) != no].
50448         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
50449         Conditionalize on [USE_NSCD].
50450         (is_nscd, nscd_init_cb): Likewise.
50451         (nss_load_library): Conditionalize init callback on [USE_NSCD].
50452         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
50453         * nss/nss_db/db-init.c: Likewise.
50454         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
50455         [USE_NSCD].
50456         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
50457         (make_request): Use it.
50458         (cache_valid_p): New function.
50459         (__check_pf): Use it.
50460         * NEWS: Add item for --disable-nscd.
50462 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
50464         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
50465         to support sed >= 4.2.1-20-ga9bf076.
50466         * configure: Regenerated.
50468 2012-08-22  Roland McGrath  <roland@hack.frob.com>
50470         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
50471         Conditionalize whole body on [IREL].
50473 2012-08-22  Jeff Law <law@redhat.com>
50475         [BZ #14505]
50476         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
50477         if the family is PF_UNSPEC.
50479 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
50481         * Makerules (lib-version): Rename from V.
50482         (install-lib-nosubdir): Change V to lib-version.
50484 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
50486         [BZ #14252]
50487         * powerpc32/power6/wcschr.c: New file.
50488         * powerpc32/power6/wcscpy.c: New file.
50489         * powerpc32/power6/wcsrchr.c: New file.
50490         * powerpc64/power6/wcschr.c: New file.
50491         * powerpc64/power6/wcscpy.c: New file.
50492         * powerpc64/power6/wcsrchr.c: New file.
50494 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
50496         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
50497         (two_way_short_needle): Use it.
50498         * string/strstr.c (AVAILABLE1_USES_J): Define.
50499         * string/strcasestr.c: Likewise.
50501         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
50502         array references.
50503         * string/strcasestr.c (TOLOWER): Make side-effect safe.
50505         [BZ #11607]
50506         * NEWS: Add an entry.
50507         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
50508         define their defaults.
50509         (two_way_short_needle): Detect end-of-string on-the-fly.
50510         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
50511         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
50512         * string/bug-strcasestr1.c: New test.
50513         * string/Makefile: Run it.
50515 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
50517         [BZ #11607]
50518         * string/str-two-way.h (two_way_short_needle): Optimize matching of
50519         the first character.
50521 2012-08-21  Roland McGrath  <roland@hack.frob.com>
50523         * csu/elf-init.c (__libc_csu_irel): Function removed.
50524         * csu/libc-start.c (apply_irel): New function.
50525         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
50527 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
50529         * sysdeps/unix/sysv/linux/kernel-features.h
50530         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
50531         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50532         <kernel-features.h>.
50533         [__NR_fadvise64_64]: Make code unconditional.
50534         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
50535         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50536         !__NR_fadvise64_64)]: Likewise.
50537         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50538         !__NR_fadvise64_64))]: Likewise.
50539         [__NR_fadvise64]: Make code unconditional.
50540         [!__NR_fadvise64]: Remove conditional code.
50541         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
50542         <kernel-features.h>.
50543         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50544         unconditional.
50545         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50546         conditional code.
50547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
50548         not include <kernel-features.h>.
50549         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50550         unconditional.
50551         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50552         conditional code.
50553         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
50554         include <kernel-features.h>.
50555         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50556         unconditional.
50557         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50558         conditional code.
50560 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50562         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
50563         slight instruction rearrangements per scrollpipe analysis.
50564         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
50566 2012-08-20  Roland McGrath  <roland@hack.frob.com>
50568         * manual/syslog.texi (syslog; vsyslog, closelog):
50569         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
50570         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
50572         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
50573         DSOCAPS to match condition on defining it.
50575 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
50577         * sysdeps/unix/sysv/linux/kernel-features.h
50578         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
50579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
50580         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50581         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
50583         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50584         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
50586         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50587         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50589         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
50590         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
50592         * sysdeps/unix/sysv/linux/kernel-features.h
50593         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
50594         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
50595         unconditional.
50596         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50597         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
50598         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50599         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50600         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
50601         Make code unconditional.
50602         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50603         (__mmap64) [!__NR_mmap2]: Likewise.
50604         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
50605         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50606         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50607         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
50608         [__NR_mmap2]: Make code unconditional.
50609         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50610         (__mmap64) [!__NR_mmap2]: Likewise.
50612 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50614         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
50616 2012-08-18  Andreas Jaeger  <aj@suse.de>
50618         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
50620 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50622         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
50623         * include/unistd.h (__have_sock_cloexec): Likewise.
50624         (__have_pipe2): Likewise.
50625         (__have_dup3): Likewise.
50627 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50629         [BZ #9685]
50630         * include/unistd.h (__have_pipe2): Change define into an extern int.
50631         (__have_dup3): Likewise.
50632         * socket/have_sock_cloexec.c: Include fcntl.h.
50633         (__have_pipe2): New variable.
50634         (__have_dup3): Likewise.
50636 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
50638         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
50640 2012-08-17  Marek Polacek  <polacek@redhat.com>
50642         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
50643         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
50645 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50647         * configure.in: Add AC_SUBST for sysheaders.
50648         * configure: Regenerated.
50649         * config.make.in (sysheaders): New substituted variable.
50651         * sysdeps/unix/mkfifo.c: Moved ...
50652         * sysdeps/posix/mkfifo.c: ... here.
50653         * sysdeps/unix/mkfifoat.c: Moved ...
50654         * sysdeps/posix/mkfifoat.c: ... here.
50656         * sysdeps/unix/utime.c: Moved ...
50657         * sysdeps/posix/utime.c: ... here.
50659         * sysdeps/unix/time.c: Moved ...
50660         * sysdeps/posix/time.c: ... here.
50661         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
50662         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
50664         * sysdeps/unix/nice.c: Moved ...
50665         * sysdeps/posix/nice.c: ... here.
50667         * sysdeps/unix/alarm.c: Moved ...
50668         * sysdeps/posix/alarm.c: ... here.
50670         * intl/Makefile ($(codeset_mo)): Depend on the input file.
50672 2012-08-17  Jeff Law <law@redhat.com>
50674         * intl/Makefile (codeset_mo): New variable.
50675         ($(codeset_mo)): New target.
50676         (tst-codeset.out): Depend on that.  Remove explicit rule.
50677         (tst-gettext3.out, tst-gettext5.out): Likewise.
50678         (LOCPATH-ENV, tst-codeset-ENV): New variables.
50679         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
50680         * intl/tst-codeset.sh: Remove.
50681         * intl/tst-gettext3.sh: Likewise.
50682         * intl/tst-gettext5.sh: Likewise.
50684 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50686         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
50687         * sysdeps/unix/syscalls.list: ... here.
50689         * sysdeps/posix/getaddrinfo.c
50690         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
50691         (gaiconf_init, gaiconf_reload): Use them.
50692         [!_STATBUF_ST_NSEC]
50693         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
50694         Define using time_t rather than struct timespec.
50696         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
50697         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
50698         Macros removed.
50699         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
50700         [!NO_THREADS].
50701         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
50702         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
50703         Likewise.
50705         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
50706         __libc_cleanup_push argument.
50708         * bits/param.h: New file.
50709         * misc/sys/param.h: New file.
50710         * include/sys/param.h: New file.
50711         * misc/Makefile (headers): Add bits/param.h.
50712         * sysdeps/generic/sys/param.h: File removed.
50713         * sysdeps/unix/sysv/linux/bits/param.h: New file.
50714         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
50715         * sysdeps/mach/hurd/bits/param.h: New file.
50716         * sysdeps/mach/hurd/sys/param.h: File removed.
50718         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
50719         last change.
50721         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
50722         [_IO_MTSAFE_IO].
50723         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
50724         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
50725         New macros.
50727         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
50728         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
50729         rather than -D_IO_MTSAFE_IO conditionally.
50730         * stdio-common/Makefile (CPPFLAGS): Likewise.
50731         * wcsmbs/Makefile (CPPFLAGS): Likewise.
50732         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
50733         Use $(libio-mtsafe).
50734         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
50735         of -D_IO_MTSAFE_IO.
50736         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
50737         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
50738         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
50739         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
50740         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
50741         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
50742         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
50743         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
50744         (CFLAGS-fread_u_chk.c): Likewise.
50745         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
50746         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
50747         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
50748         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
50749         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
50750         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
50751         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
50752         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
50753         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
50755         * libio/Makefile: Test [$(libc-reentrant) = yes]
50756         instead of [$(filter %REENTRANT, $(defines)) nonempty].
50758         * Makeconfig
50759         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
50760         * sysdeps/pthread/configure: File removed.
50761         * sysdeps/pthread/Makeconfig: New file.
50762         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
50763         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
50765 2012-08-16  Gary Benson  <gbenson@redhat.com>
50767         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
50768         unmapping the first object in a namespace.
50770 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50772         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
50773         (__internal_setnetgrent): ... this.  Add internal_function to
50774         definition.  Add libc_hidden_def.
50775         (setnetgrent): Update caller.
50776         (internal_endnetgrent): Renamed to ...
50777         (__internal_endnetgrent): ... this.  Add internal_function to
50778         definition.  Add libc_hidden_def.
50779         (endnetgrent): Update caller.
50780         (internal_getnetgrent_r): Renamed to ...
50781         (__internal_getnetgrent_r): ... this.  Add internal_function to
50782         definition.  Add libc_hidden_def.
50783         (__getnetgrent_r): Update caller.
50784         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
50786 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50788         * stdlib/longlong.h: Update from GCC.
50790 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50792         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
50793         on _QL, which is set by umul_ppmm but never used.
50794         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
50795         variables, which are set by GMP macros but never used.
50796         * stdio-common/_itowa.c (_itowa): Likewise.
50797         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
50798         * stdlib/mod_1.c (mpn_mod_1): Likewise.
50800 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
50802         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
50803         struct La_sh_regs is not constant.
50804         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
50805         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
50806         and struct La_sparc64_regs are not constant.
50808 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50810         * sysdeps/unix/sysv/linux/kernel-features.h
50811         (__ASSUME_POSIX_TIMERS): Remove.
50812         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50813         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50814         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
50815         Make code unconditional.
50816         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50817         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
50818         Make code unconditional.
50819         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50820         * sysdeps/unix/sysv/linux/clock_nanosleep.c
50821         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
50822         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50823         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
50824         Make code unconditional.
50825         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50826         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
50827         (__libc_missing_posix_timers): Remove.
50829 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50831         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
50832         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
50834         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
50836         * elf/dl-sym.c: Include <stdlib.h>.
50838         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
50839         constants, which avoids warnings in 32-bit builds.
50841         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
50842         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
50844         * misc/lseek.c: File moved to ...
50845         * io/lseek.c: ... here.
50847         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
50849         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
50850         shifting LEN more than 31 bits at once.
50852 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50854         [BZ #14195]
50855         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
50856         segmentation fault for a case of two empty input strings.
50857         * string/test-strncasecmp.c (check1): Renamed to...
50858         (bz12205): ...this.
50859         (bz14195): Add new testcase for two empty input strings and N > 0.
50860         (test_main): Call new testcase, adapt for renamed function.
50862 2012-08-15  Andreas Jaeger  <aj@suse.de>
50864         [BZ #14090]
50865         * crypt/md5test2.c: New test, based on test supplied by Serge
50866         Belyshev <belyshev@depni.sinp.msu.ru>.
50867         * crypt/Makefile (xtests): Add md5test-giant..
50868         * crypt/Makefile ($(objpfx)md5test-giant): Add.
50870 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
50872         [BZ #14090]
50873         * crypt/md5.c (md5_process_block): Don't assume the buffer
50874         length is less than 2**32.
50875         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
50876         length is less than 2**64.
50878 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50880         * string/str-two-way.h: Include <sys/param.h>.
50881         (MAX): Macro removed.
50883         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
50884         Move #define and #undef of memmove to just before and after
50885         including <string.h>.
50887         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
50888         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
50889         and after including <string.h>.  Move declarations of
50890         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
50891         to before #include "string/memmove.c".
50893         * include/dirent.h: Declare __getdirentries.
50895         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
50896         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
50898 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
50900         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
50901         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
50902         * sysdeps/i386/configure: Regenerated.
50903         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
50904         STABS_CURRENT_FILE, and STABS_FUN.
50905         (END): Remove call to STABS_FUN_END.
50906         (STABS_CURRENT_FILE1): Delete.
50907         (STABS_CURRENT_FILE): Likewise.
50908         (STABS_FUN): Likewise.
50909         (STABS_FUN_END): Likewise.
50910         (STABS_FUN2): Likewise.
50911         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
50912         * sysdeps/x86_64/configure: Regenerated.
50914 2012-08-14  Roland McGrath  <roland@hack.frob.com>
50916         * elf/dl-open.c: Include <atomic.h>.
50917         * elf/dl-lookup.c: Likewise.
50919 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
50921         * sysdeps/unix/sysv/linux/kernel-features.h
50922         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
50923         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
50924         unconditionally.
50925         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
50926         unconditionally.
50927         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
50928         condition on __ASSUME_CLONE_THREAD_FLAGS.
50930 2012-08-14  Andreas Jaeger  <aj@suse.de>
50932         * sysdeps/i386/fpu/libm-test-ulps: Update.
50934 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
50936         * include/atomic.h (atomic_exchange_and_add): Split into ...
50937         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
50938         New atomic macros.
50940 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
50942         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50944 2012-08-13  Jeff Law <law@redhat.com>
50946         * manual/stdio.texi (snprintf): Clarify handling of the trailing
50947         null byte in the output string.
50949 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
50951         * sysdeps/unix/sysv/linux/kernel-features.h
50952         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
50953         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
50954         (__ASSUME_ARG_MAX_STACK_BASED): Define.
50955         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
50956         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
50957         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
50958         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
50960 2012-08-09  Jeff Law <law@redhat.com>
50962         [BZ #13939]
50963         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
50964         When avoid_arena is set, don't retry in the that arena.  Pick the
50965         next one, whatever it might be.
50966         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
50967         (arena_lock): Pass in new parameter to arena_get2.
50968         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
50969         arena_get2.
50970         (__libc_malloc): Unify retrying after main arena failure with
50971         __libc_memalign version.
50972         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
50974 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
50976         [BZ #14166]
50977         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
50978         to __redirect_strstr.
50979         (__strstr_sse42): Use typeof __redirect_strstr.
50980         (__strstr_ia32): Likewise.
50981         (__libc_strstr): New prototype.
50982         (strstr): Renamed to ...
50983         (__libc_strstr): This.
50984         (strstr): New strong alias of __libc_strstr.
50985         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50986         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
50987         __redirect_time.
50988         Include <time.h>.
50989         (__libc_time): New prototype.
50990         (time_ifunc): Replace time with __libc_time.
50991         (time): New strong alias and hidden definition of __libc_time.
50992         (__GI_time): Remove strong alias.
50993         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
50994         Include <stddef.h>.
50995         (memmove): Redefined to __redirect_memmove.
50996         (__memmove_sse2): Use typeof __redirect_memmove.
50997         (__memmove_ssse3): Likewise.
50998         (__memmove_ssse3_back): Likewise.
50999         (__libc_memmove): New prototype.
51000         (memmove): Renamed to ...
51001         (__libc_memmove): This.
51002         (memmove): New strong alias of __libc_memmove.
51004 2012-08-08  Mark Salter  <msalter@redhat.com>
51006         * elf/elf.h
51007         (R_MN10300_TLS_GD): Define.
51008         (R_MN10300_TLS_LD): Likewise.
51009         (R_MN10300_TLS_LDO): Likewise.
51010         (R_MN10300_TLS_GOTIE): Likewise.
51011         (R_MN10300_TLS_IE): Likewise.
51012         (R_MN10300_TLS_LE): Likewise.
51013         (R_MN10300_TLS_DTPMOD): Likewise.
51014         (R_MN10300_TLS_DTPOFF): Likewise.
51015         (R_MN10300_TLS_TPOFF): Likewise.
51016         (R_MN10300_SYM_DIFF): Likewise.
51017         (R_MN10300_ALIGN): Likewise.
51018         (R_MN10300_NUM): Update.
51020 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
51022         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
51023         Remove.
51025 2012-08-08  Roland McGrath  <roland@hack.frob.com>
51027         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
51029         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
51030         sysdeps/unix -> sysdeps/posix move.
51031         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51033 2012-08-07      Allan McRae     <allan@archlinux.org>
51035         [BZ #14303]
51036         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
51037         (SUNOS_CPP): Likewise.
51038         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
51039         not found.
51040         (open_input): Call CPP using execvp.
51042 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
51044         * sysdeps/unix/sysv/linux/kernel-features.h
51045         (__ASSUME_PROT_GROWSUPDOWN): Remove.
51046         (__ASSUME_NO_CLONE_DETACHED): Likewise.
51047         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
51048         (__ASSUME_WAITID_SYSCALL): Likewise.
51049         * sysdeps/unix/sysv/linux/dl-execstack.c
51050         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
51051         code unconditional.
51052         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
51053         conditional code.
51054         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
51055         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
51056         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
51057         code.
51058         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
51059         unconditional.
51060         [__ASSUME_WAITID_SYSCALL]: Likewise.
51061         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
51063 2012-08-07  Roland McGrath  <roland@hack.frob.com>
51065         * sysdeps/unix/closedir.c: Renamed to ...
51066         * sysdeps/posix/closedir.c: ... here.
51067         * sysdeps/unix/dirfd.c: Renamed to ...
51068         * sysdeps/posix/dirfd.c: ... here.
51069         * sysdeps/unix/dirstream.h: Renamed to ...
51070         * sysdeps/posix/dirstream.h: ... here.
51071         * sysdeps/unix/fdopendir.c: Renamed to ...
51072         * sysdeps/posix/fdopendir.c: ... here.
51073         * sysdeps/unix/opendir.c: Renamed to ...
51074         * sysdeps/posix/opendir.c: ... here.
51075         * sysdeps/unix/readdir.c: Renamed to ...
51076         * sysdeps/posix/readdir.c: ... here.
51077         * sysdeps/unix/readdir_r.c: Renamed to ...
51078         * sysdeps/posix/readdir_r.c: ... here.
51079         * sysdeps/unix/rewinddir.c: Renamed to ...
51080         * sysdeps/posix/rewinddir.c: ... here.
51081         * sysdeps/unix/seekdir.c: Renamed to ...
51082         * sysdeps/posix/seekdir.c: ... here.
51083         * sysdeps/unix/telldir.c: Renamed to ...
51084         * sysdeps/posix/telldir.c: ... here.
51085         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
51086         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
51087         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
51088         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
51090         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
51091         * bits/fcntl.h: ... here.
51093         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
51094         not 0.
51095         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
51096         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
51097         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
51098         (struct flock): Move l_start, l_len to the beginning.
51099         Use __pid_t for l_pid.
51100         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
51101         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
51102         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
51103         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
51104         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
51105         [__USE_LARGEFILE64] (struct flock64): New type.
51106         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
51108         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
51109         * bits/dirent.h: ... here.
51111         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
51112         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
51114 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
51116         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51117         Change from 2.6.0 to 2.6.16.
51118         * sysdeps/unix/sysv/linux/configure: Regenerated.
51119         * sysdeps/unix/sysv/linux/kernel-features.h
51120         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
51121         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
51122         version.
51123         (__ASSUME_UTIMES): Likewise.
51124         (__ASSUME_CLONE_STOPPED): Remove.
51125         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
51126         architectures, not kernel version.
51127         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
51128         (__ASSUME_NO_CLONE_DETACHED): Likewise.
51129         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
51130         (__ASSUME_WAITID_SYSCALL): Likewise.
51131         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
51132         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
51133         * README: State 2.6.16 as minimum Linux kernel version.  Do not
51134         refer to older versions.
51136 2012-08-06  Roland McGrath  <roland@hack.frob.com>
51138         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
51139         Define alphasort64 as an alias.
51140         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
51141         Define versionsort64 as an alias.
51142         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
51143         Define scandir64 as an alias.
51144         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
51145         Define scandirat64 as an alias.
51146         * dirent/alphasort64.c (alphasort64):
51147         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
51148         * dirent/versionsort64.c: Likewise.
51149         * dirent/scandir64.c: Likewise.
51150         * dirent/scandirat64.c: Likewise.
51151         * sysdeps/wordsize-64/alphasort.c: File removed.
51152         * sysdeps/wordsize-64/alphasort64.c: File removed.
51153         * sysdeps/wordsize-64/scandir.c: File removed.
51154         * sysdeps/wordsize-64/scandir64.c: File removed.
51155         * sysdeps/wordsize-64/scandirat.c: File removed.
51156         * sysdeps/wordsize-64/scandirat64.c: File removed.
51157         * sysdeps/wordsize-64/versionsort.c: File removed.
51158         * sysdeps/wordsize-64/versionsort64.c: File removed.
51159         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
51160         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
51161         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
51162         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
51163         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
51164         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
51165         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
51166         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
51168         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
51169         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
51170         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
51171         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51172         [defined __arch64__ || defined __sparcv9]
51173         (__INO_T_MATCHES_INO64_T): New macro.
51174         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51175         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
51176         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
51177         * sysdeps/unix/sysv/linux/bits/dirent.h
51178         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
51179         (_DIRENT_MATCHES_DIRENT64): New macro.
51181         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
51182         Define lockf64 as an alias.
51183         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
51184         Define fseeko64 as an alias.
51185         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
51186         Define ftello64 as an alias.
51187         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
51188         Define _IO_fgetpos64 and fgetpos64 as aliases.
51189         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
51190         Define _IO_fsetpos64 and fsetpos64 as aliases.
51191         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
51192         Conditionalize body on this.
51193         * libio/fseeko64.c: Likewise.
51194         * libio/ftello64.c: Likewise.
51195         * libio/iofgetpos64.c: Likewise.
51196         * libio/iofsetpos64.c: Likewise.
51197         * sysdeps/wordsize-64/lockf.c: File removed.
51198         * sysdeps/wordsize-64/lockf64.c: File removed.
51199         * sysdeps/wordsize-64/fseeko.c: File removed.
51200         * sysdeps/wordsize-64/fseeko64.c: File removed.
51201         * sysdeps/wordsize-64/ftello.c: File removed.
51202         * sysdeps/wordsize-64/ftello64.c: File removed.
51203         * sysdeps/wordsize-64/iofgetpos.c: File removed.
51204         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
51205         * sysdeps/wordsize-64/iofsetpos.c: File removed.
51206         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
51207         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
51208         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
51209         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
51210         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
51211         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
51212         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
51213         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
51214         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
51215         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
51216         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
51218         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
51219         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
51220         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
51221         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51222         [defined __arch64__ || defined __sparcv9]
51223         (__OFF_T_MATCHES_OFF64_T): New macro.
51224         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51225         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
51226         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51227         (__OFF_T_MATCHES_OFF64_T): New macro.
51229 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
51231         * stdlib/secure-getenv.c (__secure_getenv): Replace
51232         GLIBC_2_16 with GLIBC_2_17.
51234 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
51236         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
51237         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51239 2012-08-03  David S. Miller  <davem@davemloft.net>
51241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51243 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
51245         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
51246         Remove.
51247         (__ASSUME_CORRECT_SI_PID): Likewise.
51248         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
51249         (__ASSUME_TMPFS_NAME): Likewise.
51250         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
51251         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
51252         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
51253         (HAVE_AUX_SECURE): Make definition unconditional.
51254         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
51255         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
51257 2012-08-03  Roland McGrath  <roland@hack.frob.com>
51259         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
51260         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
51261         * sysdeps/mach/hurd/eloop-threshold.h: New file.
51262         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51263         __eloop_threshold instead of SYMLOOP_MAX.
51265         * sysdeps/generic/eloop-threshold.h: New file.
51266         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
51267         of MAXSYMLINKS.
51268         * elf/chroot_canon.c (chroot_canon): Likewise.
51270 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
51272         [BZ #13717]
51273         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51274         Change to 2.6.0 everywhere.
51275         * sysdeps/unix/sysv/linux/configure: Regenerated.
51276         * sysdeps/unix/sysv/linux/kernel-features.h
51277         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
51278         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
51279         kernel versions.
51280         (__ASSUME_POSIX_TIMERS): Define unconditionally.
51281         (__ASSUME_FUTEX_REQUEUE): Remove.
51282         (__ASSUME_STATFS64): Define unconditionally.
51283         (__ASSUME_AT_SECURE): Likewise.
51284         (__ASSUME_CORRECT_SI_PID): Likewise.
51285         (__ASSUME_TGKILL): Define without depending on kernel version for
51286         i386.
51287         (__ASSUME_UTIMES): Likewise.
51288         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
51289         kernel version.
51290         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
51291         (__ASSUME_TMPFS_NAME): Likewise.
51292         * README: Update reference to Linux kernel versions.
51294 2012-08-02  Marek Polacek  <polacek@redhat.com>
51296         [BZ# 14150]
51297         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
51298         libc_cv_asm_type_prefix with %.
51299         * configure: Regenerated.
51300         * include/libc-symbols.h: Remove comment about
51301         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
51302         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
51303         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
51304         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
51305         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
51306         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
51307         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
51308         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
51309         * elf/tst-unique2mod1.c: Likewise.
51310         * elf/tst-unique1mod2.c: Likewise.
51311         * elf/tst-unique1mod1.c: Likewise.
51312         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
51313         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
51314         Replace ASM_TYPE_DIRECTIVE with .type.
51315         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51316         * sysdeps/i386/sysdep.h: Likewise.
51317         * sysdeps/x86_64/sysdep.h: Likewise.
51318         * sysdeps/sh/sysdep.h: Likewise.
51319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51320         Do not define ASM_TYPE_DIRECTIVE.
51321         * sysdeps/powerpc/sysdep.h: Likewise.
51322         * sysdeps/powerpc/powerpc32/sysdep.h:
51323         Replace ASM_TYPE_DIRECTIVE with .type.
51324         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
51325         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51326         * sysdeps/i386/fpu/e_powf.S: Likewise.
51327         * sysdeps/i386/fpu/e_expl.S: Likewise.
51328         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51329         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51330         * sysdeps/i386/fpu/e_pow.S: Likewise.
51331         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51332         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51333         * sysdeps/i386/fpu/s_expm1.S: Likewise.
51334         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51335         * sysdeps/i386/fpu/e_log2.S: Likewise.
51336         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51337         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51338         * sysdeps/i386/fpu/e_powl.S: Likewise.
51339         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51340         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51341         * sysdeps/i386/fpu/e_logl.S: Likewise.
51342         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51343         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51344         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51345         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51346         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51347         * sysdeps/i386/fpu/e_log.S: Likewise.
51348         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51349         * sysdeps/i386/fpu/e_logf.S: Likewise.
51350         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51351         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51352         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51353         * sysdeps/i386/fpu/e_log10.S: Likewise.
51354         * sysdeps/i386/fpu/s_frexp.S: Likewise.
51355         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51356         * sysdeps/i386/fpu/s_asinh.S: Likewise.
51357         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51358         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51359         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
51360         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51361         * sysdeps/i386/i686/strtok.S: Likewise.
51362         * sysdeps/i386/i386-mcount.S: Likewise.
51363         * sysdeps/i386/strtok.S: Likewise.
51364         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
51365         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51366         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51367         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51368         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51369         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51370         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51371         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51372         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51373         * sysdeps/x86_64/_mcount.S: Likewise.
51374         * sysdeps/x86_64/strtok.S: Likewise.
51375         * sysdeps/sh/_mcount.S: Likewise.
51377 2012-08-01  Roland McGrath  <roland@hack.frob.com>
51379         * libio/iofopen.c: Include <fcntl.h>.
51380         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
51381         (_IO_fopen64, fopen64): Define as aliases.
51382         * libio/iofopen64.c: Include <fcntl.h>.
51383         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
51384         Conditionalize body on this.
51385         * sysdeps/wordsize-64/iofopen.c: File removed.
51386         * sysdeps/wordsize-64/iofopen64.c: File removed.
51388 2012-08-01  Marek Polacek  <polacek@redhat.com>
51390         * libc/Makeconfig: Use elf in place of binfmt-subdir.
51391         Use dlfcn directly instead of a variable.
51392         (binfmt-subdir): Do not define.
51393         (dlfcn): Likewise.
51395 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
51397         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
51398         Remove all definitions.
51399         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
51400         <kernel-features.h>.
51401         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
51402         (miss_F_GETOWN_EX): Remove all definitions.
51403         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
51404         macro definition.
51405         [!__ASSUME_FCNTL64]: Remove conditional code.
51406         [__ASSUME_FCNTL64]: Make code unconditional.
51407         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
51408         <kernel-features.h>.
51409         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
51410         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
51411         (lockf64) [__NR_fcntl64]: Make code unconditional.
51412         (lockf64) [__ASSUME_FCNTL64]: Likewise.
51414         * sysdeps/unix/sysv/linux/kernel-features.h
51415         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
51416         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
51417         Make code unconditional.
51418         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51419         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
51421         [__NR_vfork]: Make code unconditional.
51422         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51423         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
51425         [__NR_vfork]: Make code unconditional.
51426         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51427         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51429 2012-08-01  Roland McGrath  <roland@hack.frob.com>
51431         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
51432         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
51434         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51435         Define mkstemp64 as an alias.
51436         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51437         Define mkstemps64 as an alias.
51438         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51439         Define mkostemp64 as an alias.
51440         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51441         Define mkostemps64 as an alias.
51442         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
51443         Conditionalize body on this.
51444         * misc/mkostemp64.c: Likewise.
51445         * misc/mkostemps64.c: Likewise.
51446         * misc/mkstemps64.c: Likewise.
51447         * sysdeps/wordsize-64/mkstemp64.c: File removed.
51448         * sysdeps/wordsize-64/mkostemp64.c: File removed.
51449         * sysdeps/wordsize-64/mkostemp.c: File removed.
51450         * sysdeps/wordsize-64/mkstemp.c: File removed.
51451         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
51452         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
51453         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
51454         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
51456         [BZ #14138]
51457         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
51458         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
51459         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
51460         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
51462         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
51463         compat_symbol macros from <shlib-compat.h> rather than the underlying
51464         default_symbol_version and symbol_version macros, so that DEFAULT
51465         lines in shlib-versions are respected.
51466         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
51468 2012-08-01  Florian Weimer  <fweimer@redhat.com>
51470         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
51471         Declare with warn_unused_result.
51472         (setgid, setregid, setegid, setresgid): Likewise.
51473         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
51474         Likewise.
51475         * WUR-REPORT: Remove set*id functions.
51477 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
51479         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
51481 2012-07-31  Roland McGrath  <roland@hack.frob.com>
51483         [BZ #10191]
51484         * include/sys/socket.h (__libc_accept, __libc_accept4):
51485         Add attribute_hidden.
51486         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
51488         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
51489         use of PTR_MANGLE.
51490         * inet/getnetgrent_r.c (setup): Likewise.
51492         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
51494 2012-07-31  David S. Miller  <davem@davemloft.net>
51496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51498 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
51500         [BZ #13629]
51501         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
51502         value between 1.0 and 2.0 and smaller part has absolute value less
51503         than 1.0.
51504         * math/s_clog10.c (__clog10): Likewise.
51505         * math/s_clog10f.c (__clog10f): Likewise.
51506         * math/s_clog10l.c (__clog10l): Likewise.
51507         * math/s_clogf.c (__clogf): Likewise.
51508         * math/s_clogl.c (__clogl): Likewise.
51509         * math/libm-test.inc (clog_test): Add more tests.
51510         (clog10_test): Likewise.
51511         * sysdeps/i386/fpu/libm-test-ulps: Update.
51512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51514 2012-07-31  Florian Weimer  <fweimer@redhat.com>
51516         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
51517         Exit with zero in case no suitable GID is found, and write a
51518         message to standard error.
51520 2012-07-30  Roland McGrath  <roland@hack.frob.com>
51522         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
51523         rather than to 1.
51524         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
51525         (MAXPATHLEN): Removed.
51526         (NOGROUP, NODEV): New macros.
51527         (setbit, clrbit, isset, isclr): New macros.
51528         (howmany, roundup, powerof2): New macros.
51529         (DEV_BSIZE): New macro.
51531         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
51532         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
51534         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
51535         definition on [!__NO_LONG_DOUBLE_MATH].
51537         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
51538         PTR_MANGLE and PTR_DEMANGLE.
51540         * socket/accept4.c (accept4): Rename to __libc_accept4.
51541         Define accept4 as a weak alias.
51543         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
51544         on [_DIRENT_HAVE_D_TYPE].
51545         * io/ftw.c (ftw_dir): Likewise.
51547         * io/xmknod.c (__xmknod): Don't check PATH for being null.
51549         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
51551         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
51552         Use the BSD numbers rather than the arbitrary ones we had.
51553         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
51554         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
51555         (SIGXCPU, SIGXFSZ): New macros.
51556         (_NSIG): Now 32.
51558         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
51559         initializer on [_LIBC_REENTRANT].
51561         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
51562         definitions inside [_POSIX_MAPPED_FILES].
51564         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
51566         * dirent/opendir.c: Include <fcntl.h>.
51568         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
51569         (__libc_getspecific): Likewise.
51570         (__libc_key_create): Likewise.
51572         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
51573         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
51574         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
51575         (tmpfile64): Define as alias.
51576         * sysdeps/wordsize-64/tmpfile.c: File removed.
51577         * sysdeps/wordsize-64/tmpfile64.c: File removed.
51578         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
51579         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
51581         * stdio-common/vfscanf.c: Include <stdbool.h>.
51582         * nss/makedb.c: Likewise.
51583         * stdio-common/_i18n_number.h: Likewise.
51584         * argp/argp-help.c: Likewise.
51585         * posix/wordexp.c: Likewise.
51586         * sysdeps/posix/spawni.c: Likewise.
51587         * nss/nss_files/files-initgroups.c: Likewise.
51588         * stdio-common/reg-modifier.c: Include <stdlib.h>.
51589         * nss/nss_files/files-initgroups.c: Likewise.
51590         * nss/nss_db/db-netgrp.c: Likewise.
51591         * nss/nss_db/db-initgroups.c: Likewise.
51592         * io/fchmodat.c: Include <sys/stat.h>.
51594         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
51595         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
51597         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
51598         [HAVE_MMAP].
51600         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
51601         Add multiple inclusion protection.
51603 2012-07-27  David S. Miller  <davem@davemloft.net>
51605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51607 2012-07-27  Gary Benson  <gbenson@redhat.com>
51609         [BZ #14298]
51610         * elf/rtld.c: Include <stap-probe.h>.
51611         (dl_main): Added static probes "init_start" and "init_complete".
51612         * elf/dl-load.c: Include <stap-probe.h>.
51613         (lose): Take new parameter "nsid".
51614         Added static probe "map_failed".
51615         (_dl_map_object_from_fd): Pass namespace id to lose.
51616         Added static probe "map_start".
51617         (open_verify): Pass namespace id to lose.
51618         * elf/dl-open.c: Include <stap-probe.h>.
51619         (dl_open_worker) Added static probes "map_complete", "reloc_start"
51620         and "reloc_complete".
51621         * elf/dl-close.c: Include <stap-probe.h>.
51622         (_dl_close_worker): Added static probes "unmap_start" and
51623         "unmap_complete".
51624         * elf/rtld-debugger-interface.txt: New file documenting the above.
51626 2012-07-26  Roland McGrath  <roland@hack.frob.com>
51628         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
51629         rather than a string variable.
51630         * sunrpc/rpc_main.c (h_output): Likewise.
51631         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
51633 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
51635         * inet/check_native.c: New file.
51637 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
51639         [BZ #13629]
51640         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
51641         if larger part has absolute value 1.0.
51642         * math/s_clog10.c (__clog10): Likewise.
51643         * math/s_clog10f.c (__clog10f): Likewise.
51644         * math/s_clog10l.c (__clog10l): Likewise.
51645         * math/s_clogf.c (__clogf): Likewise.
51646         * math/s_clogl.c (__clogl): Likewise.
51647         * math/libm-test.inc (clog_test): Add more tests.
51648         (clog10_test): Likewise.
51649         * sysdeps/i386/fpu/libm-test-ulps: Update.
51650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51652         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
51653         (pltexit): Likewise.
51654         (La_regs): Likewise.
51655         (La_retval): Likewise.
51656         (int_retval): Likewise.
51657         Update #error for removed macros to refer only to definitions in
51658         tst-audit.h.
51659         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
51660         macro.
51661         (pltexit): Likewise.
51662         (La_regs): Likewise.
51663         (La_retval): Likewise.
51664         (int_retval): Likewise.
51665         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
51666         macro.
51667         (pltexit): Likewise.
51668         (La_regs): Likewise.
51669         (La_retval): Likewise.
51670         (int_retval): Likewise.
51671         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
51672         macro.
51673         (pltexit): Likewise.
51674         (La_regs): Likewise.
51675         (La_retval): Likewise.
51676         (int_retval): Likewise.
51677         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
51678         macro.
51679         (pltexit): Likewise.
51680         (La_regs): Likewise.
51681         (La_retval): Likewise.
51682         (int_retval): Likewise.
51683         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
51684         macro.
51685         (pltexit): Likewise.
51686         (La_regs): Likewise.
51687         (La_retval): Likewise.
51688         (int_retval): Likewise.
51689         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
51690         macro.
51691         (pltexit): Likewise.
51692         (La_regs): Likewise.
51693         (La_retval): Likewise.
51694         (int_retval): Likewise.
51695         * sysdeps/generic/tst-audit.h: Update comment to refer only to
51696         macro definitions in tst-audit.h.
51697         * sysdeps/i386/tst-audit.h: New file.
51698         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
51699         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
51700         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
51701         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
51702         * sysdeps/sh/tst-audit.h: Likewise.
51703         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
51704         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
51705         * sysdeps/x86_64/tst-audit.h: Likewise.
51707 2012-07-26  Andreas Jaeger  <aj@suse.de>
51709         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
51710         ptrace.
51712         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
51713         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
51714         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
51715         PTRACE_O_MASK.
51716         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
51717         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
51718         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
51720         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
51721         value.
51723         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
51724         _sigsys.
51725         (si_call_addr, si_syscall, si_arch): Define new macro.
51726         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
51727         _sigsys.
51728         (si_call_addr, si_syscall, si_arch): Define new marcro.
51729         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
51730         _sigsys.
51731         (si_call_addr, si_syscall, si_arch): Define new macro.
51732         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
51733         _sigsys.
51734         (si_call_addr, si_syscall, si_arch): Define new macro.
51736 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51738         [BZ #13717]
51739         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51740         Change to 2.4.21 where previously 2.4.1.
51741         * sysdeps/unix/sysv/linux/configure: Regenerated.
51742         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
51743         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
51744         Linux kernel version.
51745         (__ASSUME_STD_AUXV): Remove.
51746         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
51747         kernel version.
51748         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
51749         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
51750         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
51751         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
51752         (__ASSUME_NETLINK_SUPPORT): Likewise.
51753         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
51754         (__no_netlink_support): Remove conditional definition.
51755         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
51756         Remove.
51757         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51758         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
51759         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
51760         (if_nameindex_ioctl): Remove.
51761         (if_nameindex_netlink): Do not handle __no_netlink_support.
51762         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51763         code.
51764         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
51765         Remove conditional code.
51766         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51767         code.
51768         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
51769         unconditional.
51770         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51771         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
51772         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
51773         Remove.
51774         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
51775         [!__ASSUME_STD_AUXV]: Remove conditional code.
51776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
51777         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
51778         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
51779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
51780         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
51781         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51782         code.
51783         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51785         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
51786         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51787         conditional code.
51788         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51790         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51791         code.
51792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51793         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51794         conditional code.
51795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
51796         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51797         code unconditional.
51798         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51799         conditional code.
51800         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51801         unconditional.
51802         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51803         conditional code.
51804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51805         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51806         unconditional.
51807         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51808         conditional code.
51809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
51810         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51811         code unconditional.
51812         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51813         conditional code.
51814         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51815         unconditional.
51816         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51817         conditional code.
51818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
51819         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51820         code unconditional.
51821         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51822         conditional code.
51823         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51824         unconditional.
51825         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51826         conditional code.
51828 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
51830         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
51831         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
51832         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
51833         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
51834         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
51835         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
51836         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
51837         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
51838         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
51839         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
51840         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
51841         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
51842         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
51843         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
51844         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
51845         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
51846         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
51847         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
51848         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
51849         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
51850         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
51851         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
51852         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51854 2012-07-25  Florian Weimer  <fweimer@redhat.com>
51856         * Versions.def: Add GLIBC_2.17.
51857         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
51858         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
51859         Introduce __libc_secure_getenv.
51860         * stdlib/Versions (2.17): Add secure_getenv
51861         (GLIBC_PRIVATE): Add __libc_secure_getenv.
51862         * stdlib/secure-getenv.c: Rename __secure_getenv to
51863         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
51864         symbol __secure_getenv for GLIBC_2.0.
51865         * stdlib/tst-secure-getenv.c: New.
51866         * stdlib/Makefile (tests): Add testcase.
51867         * manual/startup.texi (Environment Access): Document
51868         secure_getenv.
51869         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
51870         __libc_secure_getenv.
51871         * inet/ruserpass.c (ruserpass): Likewise.
51872         * malloc/mtrace.c (mtrace): Likewise.
51873         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
51874         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
51875         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
51876         * sysdeps/posix/tempname.c: Likewise.  Evaluate
51877         HAVE_SECURE_GETENV.
51878         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
51879         __secure_getenv to __libc_secure_getenv.
51880         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
51881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51882         Likewise.
51883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51884         Likewise.
51885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51887         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51891         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51893 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51895         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
51896         (struct La_i86_retval): Likewise.
51897         (struct La_x86_64_regs): Likewise.
51898         (struct La_x86_64_retval): Likewise.
51899         (struct La_x32_regs): Likewise.
51900         (struct La_x32_retval): Likewise.
51901         (struct La_ppc32_regs): Likewise.
51902         (struct La_ppc32_retval): Likewise.
51903         (struct La_ppc64_regs): Likewise.
51904         (struct La_ppc64_retval): Likewise.
51905         (struct La_sh_regs): Likewise.
51906         (struct La_sh_retval): Likewise.
51907         (struct La_s390_32_regs): Likewise.
51908         (struct La_s390_32_retval): Likewise.
51909         (struct La_s390_64_regs): Likewise.
51910         (struct La_s390_64_retval): Likewise.
51911         (struct La_sparc32_regs): Likewise.
51912         (struct La_sparc32_retval): Likewise.
51913         (struct La_sparc64_regs): Likewise.
51914         (struct La_sparc64_retval): Likewise.
51915         (struct audit_ifaces): Remove architecture-specific pltenter and
51916         pltexit members.
51917         * sysdeps/i386/ldsodefs.h: New file.
51918         * sysdeps/powerpc/ldsodefs.h: Likewise.
51919         * sysdeps/s390/ldsodefs.h: Likewise.
51920         * sysdeps/sh/ldsodefs.h: Likewise.
51921         * sysdeps/sparc/ldsodefs.h: Likewise.
51922         * sysdeps/x86_64/ldsodefs.h: Likewise.
51924 2012-07-25  Marek Polacek  <polacek@redhat.com>
51926         [BZ #6808]
51927         * math/libm-test.inc (yn_test): Add another test.
51928         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
51929         to ERANGE when the result is +-Inf.
51930         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51931         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
51932         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
51933         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
51935 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
51937         * conform/data/time.h-data (NULL): Use macro-constant.  Require
51938         equal to 0.
51939         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
51940         clock_t.
51941         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
51943 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
51945         * configure.in <sysdeps resolving>: Correct printing
51946         Implies_before.
51947         * configure: Regenerate.
51949 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
51951         * math/w_ilogb.c: Include <limits.h>.
51952         * math/w_ilogbl.c: Likewise.
51954 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51956         * manual/lang.texi (__va_copy): Document primarily as ISO C99
51957         va_copy.  Document allowing for unavailable va_copy only as
51958         pre-C99 compatibility.
51959         * manual/string.texi (Copying and Concatenation): Use va_copy
51960         instead of __va_copy in concat example.
51962 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
51964         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
51965         (__sendto): Use create_address_port.  Initialize APORT and deallocate
51966         it if not null.
51968         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
51969         with O_NOLINK passed to __file_name_lookup.
51971         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
51972         with O_NOLINK passed to __file_name_lookup.
51974         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
51975         negative N or less than NGIDS.
51977         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
51978         type to string_t.  Set ERANGE as errno and return it if NAME is not big
51979         enough.  Use memcpy instead of strncpy.
51981 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51983         * elf/Makefile (check-data): Remove.
51984         (localplt.data): New vpath directive.
51985         ($(objpfx)check-localplt.out): Use localplt.data from vpath
51986         instead of $(check-data).
51987         * scripts/data/localplt-generic.data: Move to ...
51988         * sysdeps/generic/localplt.data: ... here.
51989         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
51990         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
51991         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
51992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
51993         ... here.
51994         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
51995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
51996         ... here.
51997         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
51998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
51999         ... here.
52000         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
52001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
52002         ... here.
52003         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
52004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
52005         ... here.
52006         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
52007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
52008         ... here.
52010 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52012         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
52013         PPC32 and PPC64 files.
52014         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
52015         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
52017 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52019         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
52020         __makecontext_ret to ...
52021         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
52022         ... here and call exit if uc_link is NULL.  New file.
52023         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
52024         __makecontext_ret.S.
52025         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
52026         __makecontext_ret to ...
52027         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
52028         ... here and call exit if uc_link is NULL.  New file.
52029         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
52030         __makecontext_ret.S.
52032 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52034         * elf/elf.h (R_390_IRELATIVE): New definition.
52035         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
52036         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
52037         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
52038         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52039         (elf_machine_lazy_rel): Likewise.
52040         * sysdeps/s390/dl-irel.h: New file.
52041         * sysdeps/s390/s390-64/memcpy.S: New asm code.
52042         * sysdeps/s390/s390-64/memset.S: New asm code.
52043         * sysdeps/s390/s390-64/memcmp.S: New asm code.
52044         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
52045         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
52046         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
52047         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
52048         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
52049         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
52050         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
52051         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
52052         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
52053         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
52054         * sysdeps/s390/s390-32/memcpy.S: New asm code.
52055         * sysdeps/s390/s390-32/memset.S: New asm code.
52056         * sysdeps/s390/s390-32/memcmp.S: New asm code.
52058 2012-07-17  Marek Polacek  <polacek@redhat.com>
52060         [BZ #14349]
52061         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
52062         * sysdeps/s390/s390-64/configure.in: Likewise.
52063         * sysdeps/sparc/configure.in: Likewise.
52064         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
52065         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
52066         * sysdeps/i386/configure.in: Likewise.
52067         * sysdeps/x86_64/configure.in: Likewise.
52068         * sysdeps/sh/configure.in: Likewise.
52069         * sysdeps/s390/s390-32/configure: Regenerated.
52070         * sysdeps/s390/s390-64/configure: Likewise.
52071         * sysdeps/x86_64/configure: Likewise.
52072         * sysdeps/sh/configure: Likewise.
52073         * sysdeps/powerpc/powerpc64/configure: Likewise.
52074         * sysdeps/powerpc/powerpc32/configure: Likewise.
52075         * sysdeps/sparc/configure: Likwise.
52076         * sysdeps/i386/configure: Likewise.
52078         * elf/dl-open.c: Comment fixes.
52080 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
52082         * Makefile [CXX] (check-data): Remove.
52083         [CXX] (c++-types.data): New vpath directive.
52084         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
52085         vpath.  Do not allow for C++ type data being missing.
52086         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
52087         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
52088         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
52089         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
52090         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
52091         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
52092         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
52093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
52094         ... here.
52095         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
52096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
52097         ... here.
52098         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
52099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
52100         ... here.
52101         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
52102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
52103         ... here.
52104         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
52105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
52106         ... here.
52107         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
52108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
52109         ... here.
52110         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
52111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
52112         ... here.
52113         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
52114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
52116         * elf/tls-macros.h (TLS_LE): Move architecture-specific
52117         definitions to architecture-specific files.
52118         (TLS_IE): Likewise.
52119         (TLS_LD): Likewise.
52120         (TLS_GD): Likewise.
52121         * sysdeps/i386/tls-macros.h: New file.
52122         * sysdeps/powerpc/tls-macros.h: Likewise.
52123         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
52124         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
52125         * sysdeps/sh/tls-macros.h: Likewise.
52126         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
52127         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
52128         * sysdeps/x86_64/tls-macros.h: Likewise.
52130 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
52132         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
52133         zero value for regular exit case.
52135         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
52136         (__start_context): Preserve zero value for regular exit case.
52138 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
52139             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52141         * manual/setjmp.texi (setcontext): Clarify normal process
52142         termination when uc_link is the null pointer.
52143         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
52144         exit call.
52146 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
52148         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
52149         preprocessor.  Test for each exception mask separately.
52151 2012-07-16  Andreas Jaeger  <aj@suse.de>
52153         * po/ru.po: Update from translation team.
52155 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
52157         * conform/data/string.h-data (NULL): Use macro-constant.  Require
52158         equal to 0.
52159         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
52160         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
52161         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
52162         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
52163         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52165 2012-07-13  Andreas Jaeger  <aj@suse.de>
52167         * po/fr.po: Update from translation team.
52169 2012-07-12  Marek Polacek  <polacek@redhat.com>
52171         [BZ #14173]
52172         * math/libm-test.inc (yn_test): Add test for BZ #14173.
52173         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
52174         loop condition.
52176 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
52178         [BZ #13717]
52179         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52180         Change to 2.4.1 where previously 2.4.0.
52181         * sysdeps/unix/sysv/linux/configure: Regenerated.
52182         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
52183         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
52184         version.
52185         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
52186         (__ASSUME_AT_CLKTCK): Remove.
52187         (__ASSUME_AT_PAGESIZE): Likewise.
52188         (__ASSUME_AT_XID): Likewise.
52189         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
52190         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
52191         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
52192         unconditionally.
52193         (HAVE_AUX_PAGESIZE): Likewise.
52194         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
52195         [__ASSUME_AT_CLKTCK]: Make code unconditional.
52196         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
52198 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
52200         [BZ #14307]
52201         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
52202         the temporary buffer used to invoke __gethostbyname2_r,
52203         __gethostbyaddr_r and gethostbyname4_r to make room for struct
52204         host_data / struct gaih_addrtuple.
52205         * resolv/nss_dns/dns-host.c (global scope): Move definition of
52206         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
52207         header file nss/nsswitch.h.
52208         * nss/nsswitch.h (global scope): Add definition of implementation
52209         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
52210         resolv/nss_dns/dns-host.c).
52212 2012-07-11  Andreas Jaeger  <aj@suse.de>
52214         * po/fr.po: Update from translation team.
52216         * po/sv.po: Update from translation team
52217         * po/fr.po: Another update from translation team.
52219 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52221         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
52222         for subnormals or multiply small sinh result by itself.
52223         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52226 2012-07-11  David S. Miller  <davem@davemloft.net>
52228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52230 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
52232         [BZ #14347]
52233         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
52234         (INTERNAL_MARK): Shift it here.
52236 2012-07-10  Marek Polacek  <polacek@redhat.com>
52238         [BZ #14151]
52239         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
52240         libc_cv_asm_global_directive with .globl.
52241         * configure: Regenerated.
52242         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
52243         with .globl.
52244         * sysdeps/i386/configure: Regenerated.
52245         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
52246         with .globl.
52247         * sysdeps/x86_64/configure: Regenerated.
52248         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
52249         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
52250         * elf/tst-unique2mod2.c: Likewise.
52251         * elf/tst-unique2mod1.c: Likewise.
52252         * elf/tst-unique1mod2.c: Likewise.
52253         * elf/tst-unique1mod1.c: Likewise.
52254         * sysdeps/s390/s390-32/sysdep.h: Likewise.
52255         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52256         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52257         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52258         * sysdeps/mach/sysdep.h: Likewise.
52259         * sysdeps/i386/sysdep.h: Likewise.
52260         * sysdeps/i386/i386-mcount.S: Likewise.
52261         * sysdeps/x86_64/_mcount.S: Likewise.
52262         * sysdeps/x86_64/sysdep.h: Likewise.
52263         * sysdeps/sh/_mcount.S: Likewise.
52264         * sysdeps/sh/sysdep.h: Likewise.
52265         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
52266         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
52267         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
52268         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52269         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
52270         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
52271         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
52272         * locale/localeinfo.h: Likewise.
52273         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
52274         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
52276 2012-07-09  Roland McGrath  <roland@hack.frob.com>
52278         [BZ #14336]
52279         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
52280         system".
52281         * manual/message.texi (The Uniforum approach): Likewise.
52282         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
52283         (glibc iconv Implementation): Likewise.
52285 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
52287         [BZ #14337]
52288         * math/s_clog.c (__clog): Avoid scaling a value down where that
52289         could result in underflow.
52290         * math/s_clog10.c (__clog10): Likewise.
52291         * math/s_clog10f.c (__clog10f): Likewise.
52292         * math/s_clog10l.c (__clog10l): Likewise.
52293         * math/s_clogf.c (__clogf): Likewise.
52294         * math/s_clogl.c (__clogl): Likewise.
52295         * math/libm-test.inc (clog_test): Add more tests.
52296         (clog10_test): Likewise.
52297         * sysdeps/i386/fpu/libm-test-ulps: Update.
52298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52300 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
52302         [BZ #14283]
52303         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
52304         by 7 not 8 to examine high bit of fractional part.
52306         [BZ #14042]
52307         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
52308         for call to __mcount_internal.
52309         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
52310         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
52311         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
52313 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
52315         [BZ #14154]
52316         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
52317         approximation for values within 0x1p-13f of an odd multiple of
52318         pi/4.
52319         * math/libm-test.inc (tan_test): Do not allow spurious underflow
52320         exception.  Add more tests.
52321         * sysdeps/i386/fpu/libm-test-ulps: Update.
52323         [BZ #6778]
52324         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
52325         inputs and return -1 for them.  Do not check for +Inf in case not
52326         reachable for +Inf.
52327         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52328         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
52329         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
52330         and return -1 for them.  Do not check for +Inf in case not
52331         reachable for +Inf.
52332         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
52333         define.
52334         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
52335         and return -1 for them.  Do not check for +Inf in case not
52336         reachable for +Inf.
52337         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
52338         spurious underflow.
52339         * sysdeps/i386/fpu/libm-test-ulps: Update.
52340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52342 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
52344         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
52346 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
52348         [BZ #14157]
52349         [BZ #14331]
52350         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
52351         could result in spurious underflow.  Scale down values above
52352         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
52353         * math/s_csqrtf.c (__csqrtf): Likewise.
52354         * math/s_csqrtl.c (__csqrtl): Likewise.
52355         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
52356         spurious underflow.
52357         * sysdeps/i386/fpu/libm-test-ulps: Update.
52358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52360 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
52362         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
52363         xopen-msg.sed.
52364         * catgets/xopen-msg.awk: New file.
52365         * catgets/xopen-msg.sed: Removed.
52367         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
52368         po2text.sed.
52369         * intl/po2test.awk: New file.
52370         * intl/po2test.sed: Removed.
52372 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
52374         [BZ #14328]
52375         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
52376         or multiply small sinh result by itself.
52377         * math/s_ctanf.c (__ctanf): Likewise.
52378         * math/s_ctanh.c (__ctanh): Likewise.
52379         * math/s_ctanhf.c (__ctanhf): Likewise.
52380         * math/s_ctanhl.c (__ctanhl): Likewise.
52381         * math/s_ctanl.c (__ctanl): Likewise.
52382         * math/libm-test.inc (ctan_test_tonearest): New function.
52383         (ctan_test_towardzero): Likewise.
52384         (ctan_test_downward): Likewise.
52385         (ctan_test_upward): Likewise.
52386         (ctanh_test_tonearest): Likewise.
52387         (ctanh_test_towardzero): Likewise.
52388         (ctanh_test_downward): Likewise.
52389         (ctanh_test_upward): Likewise.
52390         (main): Call these new functions.
52391         * sysdeps/i386/fpu/libm-test-ulps: Update.
52392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52394 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
52396         * .gitignore: Delete /ports entry.
52398 2012-07-03  Andreas Jaeger  <aj@suse.de>
52400         * po/bg.po: Update from translation team.
52401         * po/cs.po: Likewise.
52402         * po/de.po: Likewise.
52403         * po/hr.po: Likewise.
52404         * po/nl.pl: Likewise.
52405         * po/pl.po: Likewise.
52406         * po/vi.po: Likewise.
52408 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
52410         * Makeconfig [!+link] (+link-before-libc): New variable.
52411         [!+link] (+link-after-libc): Likewise.
52412         [!+link] (+link-tests): Likewise.
52413         [!+link] (+link): Define in terms of $(+link-before-libc) and
52414         $(+link-after-libc).
52415         [!+link-static] (+link-static-before-libc): New variable.
52416         [!+link-static] (+link-static-after-libc): Likewise.
52417         [!+link-static] (+link-static-tests): Likewise.
52418         [!+link-static] (+link-static): Define in terms of
52419         $(+link-static-before-libc) and $(+link-static-after-libc).
52420         [build-shared] (link-libc-before-gnulib): New variable.
52421         [build-shared] (link-libc-tests): Likewise.
52422         [build-shared] (link-libc): Define in terms of
52423         $(link-libc-before-gnulib).
52424         [!build-shared] (link-libc-tests): New variable.
52425         (link-libc-static-tests): New variable.
52426         [!gnulib] (gnulib-arch): New variable.
52427         [!gnulib] (gnulib-tests): Likewise.
52428         [!gnulib] (static-gnulib-arch): Likewise.
52429         [!gnulib] (static-gnulib-tests): Likewise.
52430         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
52431         Define with "=" instead of ":=".
52432         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
52433         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
52434         * Rules (binaries-all-notests): New variable.
52435         (binaries-all-tests): Likewise.
52436         (binaries-static-notests): Likewise.
52437         (binaries-static-tests): Likewise.
52438         (binaries-all): Define using $(binaries-all-notests) and
52439         $(binaries-all-tests).
52440         (binaries-static): Define using $(binaries-static-notests) and
52441         $(binaries-static-tests).
52442         (binaries-shared-tests): New variable.
52443         (binaries-shared-notests): Likewise.
52444         (binaries-shared): Remove variable.
52445         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
52446         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
52447         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
52448         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
52449         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
52450         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
52451         * elf/Makefile (sln-modules): New variable.
52452         (extra-objs): Add $(sln-modules:=.o).
52453         (ldconfig-modules): Add static-stubs.
52454         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
52455         * elf/static-stubs.c: New file.
52457         [BZ #14283]
52458         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
52459         by 7 not 8 to examine high bit of fractional part.  Use volatile
52460         variables when splitting into final array of floats if
52461         __FLT_EVAL_METHOD__ != 0.
52462         * math/libm-test.inc (cos_test): Add another test.
52463         (sin_test): Likewise.
52464         * sysdeps/i386/fpu/libm-test-ulps: Update.
52466         [BZ #14273]
52467         * math/libm-test.inc (cosh_test): Add more tests.
52469         * version.h (RELEASE): Set to "development".
52470         (VERSION): Set to "2.16.90".
52472 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
52474         * NEWS: Update copyright. Remove last-updated date.
52475         Mention math library bug fixes and timezone data changes.
52476         * README: Mention GNU/Hurd, x32, and HPPA support status.
52478 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
52480         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
52482 2012-06-27  Andreas Jaeger  <aj@suse.de>
52484         * manual/contrib.texi (Contributors): Add Samuel Thibault.
52486 2012-06-25  Andreas Jaeger  <aj@suse.de>
52488         * sysdeps/s390/fpu/libm-test-ulps: Update.
52490 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
52491             Thomas Schwinge  <thomas@codesourcery.com>
52493         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
52494         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
52495         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
52496         fanotify_mark.
52498 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
52500         * sysdeps/mach/start.c: Remove file.
52501         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
52502         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
52503         * sysdeps/sh/init-first.c: Likewise.
52505         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
52506         registers for frame unwinding purposes, add CFI directives.
52507         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
52508         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
52509         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
52510         Likewise.
52512         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
52513         __fortify_fail returning.
52514         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
52516         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
52517         sysdeps/sh/____longjmp_chk.S.
52518         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
52519         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
52520         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
52521         (gen-as-const-headers): Append sigaltstack-offsets.sym.
52523         * sysdeps/sh/abort-instr.h: New file.
52524         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
52525         process in case exit returns.
52527         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
52528         initialize the GOT register before use.
52530         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
52531         calculation of ARGC > 4.
52533         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
52534         meaningful names to some local labels.
52536 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52537             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52539         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
52540         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
52541         (__arch_compare_and_exchange_val_16_acq): Likewise.
52542         (__arch_compare_and_exchange_val_32_acq): Likewise.
52543         (atomic_exchange_and_add): Fix gUSA sequence.
52544         (atomic_add): Likewise.
52545         (atomic_add_negative): Likewise.
52546         (atomic_add_zero): Likewise.
52547         (atomic_bit_test_set): Likewise.
52549 2012-06-22  Andreas Schwab  <schwab@redhat.com>
52551         [BZ #13579]
52552         * include/link.h (struct link_map): Add l_free_initfini.
52553         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
52554         l_initfini.
52555         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
52556         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
52557         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
52558         set.
52560 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
52562         * configure.in: Use AC_LANG_SOURCE.
52563         * configure: Regenerate.
52565 2012-06-22  Roland McGrath  <roland@hack.frob.com>
52567         * configure.in (libc_cv_localstatedir): New substituted variable.
52568         * configure: Regenerated.
52569         * config.make.in (localstatedir): New variable, substituted from
52570         libc_cv_localstatedir.
52571         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
52572         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
52573         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
52574         * sysdeps/gnu/configure: Regenerated.
52576 2012-06-21  Jeff Law  <law@redhat.com>
52578         [BZ #14277]
52579         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
52580         free.  Simplify list management for _LIBC case.
52582 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
52584         [BZ #14273]
52585         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
52586         Clear sign bit of 64-bit integer value before comparing against
52587         overflow value.
52589         * sysdeps/mach/configure: Regenerated.
52591 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
52593         [BZ #14278]
52594         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
52596 2012-06-21  Jeff Law  <law@redhat.com>
52598         [BZ #13882]
52599         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
52600         uint16_t for elements in the "seen" array to avoid char overflows.
52601         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52602         * elf/dl-open.c (dl_open_worker): Likewise.
52604 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
52606         * scripts/list-sources.sh: Scan PORTS for translations.
52607         * po/libc.pot: Regenerated.
52609 2012-06-21  Andreas Jaeger  <aj@suse.de>
52611         [BZ #12194]
52612         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
52613         warning.
52614         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
52615         * bits/byteswap-16.h (__bswap_16): Likewise.
52616         * bits/byteswap.h (__bswap_constant_16): Likewise.
52618 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
52620         [BZ #14117]
52621         * sysdeps/i386/fpu_control.h: Removed.
52622         * sysdeps/x86_64/fpu_control.h: Moved to ...
52623         * sysdeps/x86/fpu_control.h: Here.
52625         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
52626         (_FPU_SETCW): Likewise.
52628 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
52630         [BZ #14117]
52631         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
52632         * sysdeps/x86/fpu/bits/mathinline.h: This.
52633         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
52635         [BZ #14050]
52636         [BZ #14117]
52637         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
52638         functions if __x86_64__ is defined.
52640 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
52642         * string/endian.h: Add !__ASSEMBLER__ condition for including
52643         conversion interfaces.
52645 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
52647         [BZ #14241]
52648         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
52649         of ABS(x) in calculating zero to negative powers other than odd
52650         integers.
52651         * math/libm-test.inc (pow_test): Add more tests.
52653 2012-06-15  Andreas Jaeger  <aj@suse.de>
52655         * manual/contrib.texi (Contributors): Update entry of Liubov
52656         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
52657         Machado Filho.
52659 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
52661         * string/string.h: Add __wur to GNU version of strerror_r.
52663 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
52665         [BZ #14229]
52666         * string/Makefile (tests): Add tst-strtok_r.
52667         * string/tst-strtok_r.c: New file.
52668         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
52669         RAX_LP/RDX_LP on SAVE_PTR.
52671 2012-06-14  Roland McGrath  <roland@hack.frob.com>
52673         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
52675 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
52677         * libm_test.inc (csqrt_test): Allow more spurious underflow
52678         exceptions.
52679         (j0_test): Likewise.
52680         (j1_test): Likewise.
52681         (y0_test): Likewise.
52682         (y1_test): Likewise.
52684 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
52686         * po/Makefile (libc.pot): Use UTF-8 charset.
52688 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
52690         [BZ #14210]
52691         Suppress sign-conversion warning from FD_SET.
52692         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
52693         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
52694         not unsigned long int.
52695         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
52697 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
52699         [BZ #14050]
52700         [BZ #14117]
52701         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
52702         __extern_always_inline instead of __extern_inline.
52703         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
52704         (__signbit): Likewise.
52705         (__signbitl): Support C++ namespace.
52706         (lrintf): New inline function.
52707         (lrint): Likewise.
52708         (llrintf): Likewise.
52709         (llrint): Likewise.
52710         (fmaxf): Likewise.
52711         (fmax): Likewise.
52712         (fminf): Likewise.
52713         (fmin): Likewise.
52714         (rint): Likewise.
52715         (rintf): Likewise.
52716         (ceil): Likewise.
52717         (ceilf): Likewise.
52718         (floor): Likewise.
52719         (floorf): Likewise.
52720         (nearbyint): Likewise.
52721         (nearbyintf): Likewise.
52723 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
52725         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
52726         non-default versions.
52728 2012-06-11  Roland McGrath  <roland@hack.frob.com>
52730         [BZ #14218]
52731         * manual/argp.texi (Argp): Reword argp_parse description slightly.
52733 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
52735         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
52736         (FE_UPWARD, FE_DOWNWARD): Don't define.
52737         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
52738         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
52740         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
52741         reading it.
52742         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
52743         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52745 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52747         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52748         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
52749         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
52750         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
52752 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
52754         [BZ #14117]
52755         * sysdeps/i386/fpu/bits/fenv.h: Removed.
52756         * sysdeps/i386/fpu/Implies: New file.
52757         * sysdeps/x86_64/fpu/Implies: Likewise.
52758         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
52759         * sysdeps/x86/fpu/bits/fenv.h: This.
52761         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
52762         __SSE_MATH__.
52764 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52766         [BZ #14134]
52767         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
52768         character 0xffff that matches the last element of the
52769         conversion table.
52771 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52773         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
52774         fmodl commit.
52776 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52778         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
52779         values higher than 25.6283.
52781 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52783         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
52784         subnormal exponent extraction and add some __builtin_expect.
52785         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
52786         Fix for subnormal mantissa calculation.
52788 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
52790         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
52791         cpu2 is -1 and errno is not ENOSYS.
52793 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
52795         [BZ #14117]
52796         * sysdeps/i386/i486/bits/string.h: Renamed to ...
52797         * sysdeps/x86/bits/string.h: This.
52798         * sysdeps/x86_64/bits/string.h: Removed.
52800         * sysdeps/i386/i486/bits/string.h: Define inline functions only
52801         if not compiling for x86-64, but compiling for >= i486.
52803         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
52804         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
52806         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
52807         New macro from Linux kernel 3.4.0.
52808         (FP_XSTATE_MAGIC2): Likewise.
52809         (FP_XSTATE_MAGIC2_SIZE): Likewise.
52810         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
52811         (struct _fpx_sw_bytes): New struct.
52812         (struct _xsave_hdr): Likewise.
52813         (struct _ymmh_state): Likewise.
52814         (struct _xstate): Likewise.
52816         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
52817         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
52818         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
52819         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
52820         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
52821         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
52823         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
52824         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
52825         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
52826         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
52827         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
52828         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
52830 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52832         [BZ #13743]
52833         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
52834         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
52835         (sysdep_headers): Include sys/platform/ppc.h.
52836         * sysdeps/powerpc/test-gettimebase.c: Test for
52837         __ppc_get_timebase() to catch future ISA opcode/insn changes.
52838         * manual/Makefile (appendices): Include platform.texi.
52839         * manual/contrib.texi (Contributors): Update @node pointers.
52840         * manual/maint.texi (Maintenance): Likewise.
52841         (Platform): New node.
52842         * manual/platform.texi: New file.  Document the new features.
52844 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52845             Jakub Jelinek  <jakub@redhat.com>
52847         [BZ #14188]
52848         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
52849         where __builtin_expect is unavailable.
52851 2012-06-03  David S. Miller  <davem@davemloft.net>
52853         * stdlib/longlong.h: Updated from GCC.
52855 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
52857         [BZ #14042]
52858         * sysdeps/powerpc/powerpc32/mcount.c: New file.
52859         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
52860         __mcount_internal.
52861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52862         (GLIBC_2.16): Likewise.
52864 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52866         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
52868 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
52871         (default-abi): New variable.
52872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
52873         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
52874         variable.
52875         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
52876         Likewise.
52877         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
52878         Likewise.
52879         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
52880         Likewise.
52882         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
52883         definition.  Document in comment.
52885 2012-06-01  David S. Miller  <davem@davemloft.net>
52887         * stdlib/longlong.h: Updated from GCC.
52889 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52891         [BZ #14117]
52892         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
52893         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
52894         sys/debugreg.h sys/io.h here.
52895         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
52896         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
52897         sys/io.h.
52898         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
52899         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
52900         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
52901         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
52902         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
52903         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
52905         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
52906         Define only if __x86_64__ is defined.
52908 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52910         [BZ #14048]
52911         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
52912         Use int64_t for variable i.
52913         * math/libm-test.inc (fmod_test): Add more tests.
52915         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
52916         z computation is not scheduled after fetestexcept.
52917         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
52918         Use math_force_eval instead of asm to ensure calculation scheduled
52919         before exception test.
52920         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
52921         Ensure a1 + u.d computation is not scheduled after fetestexcept.
52923 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
52925         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
52926         computation is not scheduled after fetestexcept.
52928 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52930         [BZ #14117]
52931         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
52932         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
52934 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52936         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
52937         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52939 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
52941         [BZ #14117]
52942         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
52943         <bits/wordsize.h>.
52944         (__WCHAR_MIN): Support __WORDSIZE == 64.
52945         (__WCHAR_MAX): Likewise.
52947         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
52948         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
52950         [BZ #14183]
52951         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
52952         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
52954         [BZ #14117]
52955         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
52956         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
52958         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
52959         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
52961         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
52962         Defined to 1 if __x86_64__ isn't defined.
52963         (_STAT_VER_LINUX_OLD): New.
52964         (st_atime): Remove duplicate.
52965         (st_mtime): Likewise.
52966         (st_ctime): Likewise.
52968 2012-05-31  David S. Miller  <davem@davemloft.net>
52970         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
52971         entries.
52973 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
52975         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
52976         gen-libm-test.pl.
52978         [BZ #14132]
52979         * elf/dl-reloc.c: Include <_itoa.h>.
52980         (_dl_reloc_bad_type): Remove use of INTUSE.
52981         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
52982         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
52983         * stdio-common/psiginfo.c (psiginfo): Likewise.
52984         * stdio-common/psignal.c (psignal): Likewise.
52985         * string/strsignal.c (strsignal): Likewise.
52986         * include/signal.h (_sys_siglist): Declare hidden proto.
52987         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
52988         INTVARDEF with libc_hidden_data_def.
52989         * stdio-common/itoa-udigits.c: Likewise.
52990         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
52991         (_itoa_lower_digits_internal): Remove declaration.
52992         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
52993         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
52994         (_sys_sigabbrev_internal): Remove aliases.
52995         (_sys_siglist): Define hidden alias.
52997 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
52999         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53000         bits/sysctl.h.
53002 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
53004         [BZ #14117]
53005         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
53006         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
53008         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
53009         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
53010         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
53011         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
53012         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
53013         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
53015         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
53016         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
53017         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
53019         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
53020         with __addr.
53021         (insw): Likewise.
53022         (insl): Likewise.
53023         (outsb): Likewise.
53024         (outsw): Likewise.
53025         (outsl): Likewise.
53027         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
53028         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
53029         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
53031         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
53032         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
53033         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
53034         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
53035         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
53036         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
53038         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
53039         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
53041         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
53042         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
53044         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
53045         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
53046         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
53048         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
53049         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
53050         to ...
53051         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
53053         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
53054         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
53055         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
53057         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
53058         for x86-64.
53059         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
53061 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
53063         * math/math.h (M_El): Use two more decimal places.
53064         (M_LOG2El): Likewise.
53065         (M_LOG10El): Likewise.
53066         (M_LN2l): Likewise.
53067         (M_LN10l): Likewise.
53068         (M_PIl): Likewise.
53069         (M_PI_2l): Likewise.
53070         (M_PI_4l): Likewise.
53071         (M_1_PIl): Likewise.
53072         (M_2_PIl): Likewise.
53073         (M_2_SQRTPIl): Likewise.
53074         (M_SQRT2l): Likewise.
53075         (M_SQRT1_2l): Likewise.
53077 2012-05-31  David S. Miller  <davem@davemloft.net>
53079         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
53080         values between float registers.
53081         * sysdeps/sparc/sparc64/memset.S: Likewise.
53082         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53084 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
53086         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
53087         -D_FORTIFY_SOURCE=1.
53088         (CPPFLAGS-tst-longjmp_chk.c): Define.
53089         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
53090         (CPPFLAGS-tst-longjmp_chk2.c): Define.
53091         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
53092         CFLAGS-tst-wchar-h.c.
53094 2012-05-31  Marek Polacek  <polacek@redhat.com>
53096         [BZ #14132]
53097         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
53098         __endmntent_internal): Remove declaration.
53099         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
53100         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
53101         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
53103 2012-05-30  David S. Miller  <davem@davemloft.net>
53105         * sysdeps/sparc/sparc32/soft-fp/q_util.c
53106         (___Q_simulate_exceptions): Use real FP ops rather than writing
53107         into the %fsr.
53108         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
53109         Likewise.
53111 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53113         [BZ #14117]
53114         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
53115         * sysdeps/x86/bits/xtitypes.h: This.
53117         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
53118         * sysdeps/x86/bits/wordsize.h: This.
53120         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
53121         * sysdeps/x86/bits/huge_vall.h: This.
53123         * sysdeps/i386/bits/select.h: Removed.
53124         * sysdeps/x86_64/bits/select.h: Renamed to ...
53125         * sysdeps/x86/bits/select.h: This.
53127         * sysdeps/i386/bits/setjmp.h: Removed.
53128         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
53129         * sysdeps/x86/bits/setjmp.h: This.
53131         * sysdeps/i386/bits/mathdef.h: Removed.
53132         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
53133         * sysdeps/x86/bits/mathdef.h: This.
53135 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
53137         [BZ #14132]
53138         * include/sys/socket.h (__connect_internal)
53139         (__libc_sa_len_internal): Remove declaration.
53140         (__connect, __libc_sa_len): Declare hidden_proto.
53141         (SA_LEN): Remove use of INTUSE.
53142         * socket/connect.c: Add libc_hidden_def.
53143         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
53144         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
53145         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
53146         alias.
53147         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
53148         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
53149         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
53150         of adding _internal alias.
53152 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53154         [BZ #14117]
53155         * sysdeps/i386/bits/link.h: Removed.
53156         * sysdeps/i386/bits/linkmap.h: Likewise.
53157         * sysdeps/x86_64/bits/link.h: Renamed to ...
53158         * sysdeps/x86/bits/link.h: This.
53159         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
53160         * sysdeps/x86/bits/linkmap.h: This.
53162         * sysdeps/i386/bits/endian.h: Removed.
53163         * sysdeps/x86_64/bits/endian.h: Renamed to ...
53164         * sysdeps/x86/bits/endian.h: This.
53166         * sysdeps/i386/bits/byteswap.h: Removed.
53167         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53168         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
53169         * sysdeps/x86/bits/byteswap.h: This.
53170         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
53171         * sysdeps/x86/bits/byteswap-16.h: This.
53172         * sysdeps/i386/Implies: Add x86.
53173         * sysdeps/x86_64/Implies: Likewise.
53175 2012-05-30  David S. Miller  <davem@davemloft.net>
53177         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
53178         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
53179         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
53180         (FP_TRAPPING_EXCEPTIONS): Define.
53181         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
53182         (FP_TRAPPING_EXCEPTIONS): Define.
53183         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
53184         subnormals only when inexact has been signalled or underflow
53185         exceptions are enabled.
53186         (_FP_PACK_CANONICAL): Likewise.
53188 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53190         [BZ #14183]
53191         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
53192         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
53194 2012-05-30  Richard Henderson  <rth@twiddle.net>
53196         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
53197         with #ifndef NOT_IN_libc.
53199         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
53200         marked to avoid plt entry.
53202 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53204         [BZ #14112]
53205         * Makeconfig (default-abi): New macro.
53206         (abi-includes): Likewise.
53207         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
53208         $(abi-$(default-abi)-lib-soname) for soname if defined.
53209         ($(common-objpfx)gnu/lib-names.stmp): Generate from
53210         abi-variants.
53211         * Makefile (installed-stubs): Likewise.
53212         * include/stubs-biarch.h: Removed.
53213         * scripts/lib-names.awk: Only handle one library at a time.
53214         * scripts/soversions.awk: Remove WORDSIZE support.
53215         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
53216         entries.
53217         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
53218         Removed.
53219         (syscall-list-default-condition): Likewise.
53220         (syscall-list-default-condition): Likewise.
53221         (syscall-list-includes): Likewise.
53222         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
53223         syscall-list-* with abi-*.  Handle undefined abi-variants.
53224         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
53225         * sysdeps/unix/sysv/linux/i386/Implies: New file.
53226         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
53227         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
53228         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
53229         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
53230         Removed.
53231         (syscall-list-32-options): Likewise.
53232         (syscall-list-32-condition): Likewise.
53233         (syscall-list-64-options): Likewise.
53234         (syscall-list-64-condition): Likewise.
53235         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
53236         macro.
53237         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
53238         Renamed to ...
53239         (abi-*): This.
53240         (abi-64-ld-soname): New macro.
53241         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
53242         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
53243         Renamed to ...
53244         (abi-*): This.
53245         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
53246         * sysdeps/x86_64/x32/shlib-versions: Likewise.
53248 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
53250         * sysdeps/unix/sysv/linux/kernel-features.h
53251         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
53252         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
53253         include <kernel-features.h>.
53254         [!__NR_ftruncate64]: Remove conditional code.
53255         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53256         [__NR_ftruncate64]: Make code unconditional.
53257         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53258         * sysdeps/unix/sysv/linux/truncate64.c: Do not
53259         include <kernel-features.h>.
53260         [!__NR_ftruncate64]: Remove conditional code.
53261         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53262         [__NR_ftruncate64]: Make code unconditional.
53263         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
53265         include <kernel-features.h>.
53266         [!__NR_ftruncate64]: Remove conditional code.
53267         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53268         [__NR_ftruncate64]: Make code unconditional.
53269         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53271         include <kernel-features.h>.
53272         [!__NR_ftruncate64]: Remove conditional code.
53273         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53274         [__NR_ftruncate64]: Make code unconditional.
53275         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53277         * configure.in (libc_cv_fpie): Weaken to a compile test using
53278         LIBC_TRY_CC_OPTION.
53279         * configure: Regenerated.
53281 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
53284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
53285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
53286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53287         Refreshed.
53288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
53289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
53290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
53291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
53292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
53293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53294         Refreshed.
53296 2012-05-27  David S. Miller  <davem@davemloft.net>
53298         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
53299         (___Q_zero): New.
53300         (__Q_simulate_exceptions): Return void.  Change to simulate
53301         exceptions by writing into the %fsr.
53302         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
53303         (__Qp_handle_exceptions): Likewise.
53304         (numbers): Delete.
53305         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
53306         __Qp_handle_exceptions.
53307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
53308         __Qp_handle_exceptions.
53309         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
53310         as unused and give dummy FP_RND_NEAREST initializer.
53311         (FP_INHIBIT_RESULTS): Define.
53312         (___Q_simulate_exceptions): Update declaration.
53313         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
53314         formatting.
53315         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
53316         as unused and give dummy FP_RND_NEAREST initializer.
53317         (__Qp_handle_exceptions): Update declaration.
53318         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
53319         formatting.
53321 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
53323         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
53324         the temporary FPU control word.
53325         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53326         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
53327         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
53328         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
53329         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53330         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
53331         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
53332         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
53333         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
53334         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
53335         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53337 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53339         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
53340         fields.
53342 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
53344         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
53345         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
53346         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
53347         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
53348         Likewise.
53349         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
53350         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
53351         Likewise.
53353 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
53355         * po/h.po: Update from translation team.
53357 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
53359         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
53361         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
53362         handling of denormals.
53363         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53364         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
53365         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
53366         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
53367         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53368         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
53369         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
53370         Likewise.
53372 2012-05-26  Marek Polacek  <polacek@redhat.com>
53374         [BZ #14152]
53375         * math/libm-test.inc (fma_test): Don't always expect underflow
53376         exception.
53378 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53380         [BZ #12416]
53381         * elf/tst-execstack.c: Include stackinfo.h.
53382         (do_test): Adjust test case to ensure that pthread_getattr_np
53383         behaviour remains the same after marking stack executable.
53385 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
53387         * sysdeps/unix/sysv/linux/kernel-features.h
53388         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
53389         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
53390         kernel-features.h.
53391         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
53392         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
53393         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
53394         kernel-features.h.
53395         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
53396         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
53398 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
53400         * configure.in: Define the default includes to being none.
53401         * configure: Regenerated.
53403 2012-05-25  Roland McGrath  <roland@hack.frob.com>
53405         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
53406         * sysdeps/x86_64/setjmp.S: Likewise.
53407         * sysdeps/i386/bsd-setjmp.S: Likewise.
53408         * sysdeps/i386/bsd-_setjmp.S: Likewise.
53409         * sysdeps/i386/setjmp.S: Likewise.
53410         * sysdeps/i386/__longjmp.S: Likewise.
53411         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
53412         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
53414         * include/stap-probe.h: New file.
53415         * configure.in: Handle --enable-systemtap.
53416         * configure: Regenerated.
53417         * config.h.in (USE_STAP_PROBE): New #undef.
53418         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
53419         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
53420         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
53422 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
53424         [BZ #13717]
53425         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
53426         to 2.4.0 where earlier.
53427         * sysdeps/unix/sysv/linux/configure: Regenerated.
53428         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
53437         [__ASSUME_32BITUIDS]: Make code unconditional.
53438         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
53439         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
53440         <kernel-features.h>.
53441         [__ASSUME_32BITUIDS]: Make code unconditional.
53442         [!__ASSUME_32BITUIDS]: Remove conditional code.
53443         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
53444         <kernel-features.h>.
53445         [__ASSUME_32BITUIDS]: Make code unconditional.
53446         [!__ASSUME_32BITUIDS]: Remove conditional code.
53447         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
53448         <kernel-features.h>.
53449         [__ASSUME_32BITUIDS]: Make code unconditional.
53450         [!__ASSUME_32BITUIDS]: Remove conditional code.
53451         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
53452         <kernel-features.h>.
53453         [__ASSUME_32BITUIDS]: Make code unconditional.
53454         [!__ASSUME_32BITUIDS]: Remove conditional code.
53455         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53456         <kernel-features.h>.
53457         [__ASSUME_32BITUIDS]: Make code unconditional.
53458         [!__ASSUME_32BITUIDS]: Remove conditional code.
53459         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53460         <kernel-features.h>.
53461         [__ASSUME_32BITUIDS]: Make code unconditional.
53462         [!__ASSUME_32BITUIDS]: Remove conditional code.
53463         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
53464         <kernel-features.h>.
53465         [__ASSUME_32BITUIDS]: Make code unconditional.
53466         [!__ASSUME_32BITUIDS]: Remove conditional code.
53467         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53468         <kernel-features.h>.
53469         [__ASSUME_32BITUIDS]: Make code unconditional.
53470         [!__ASSUME_32BITUIDS]: Remove conditional code.
53471         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53472         <kernel-features.h>.
53473         [__ASSUME_32BITUIDS]: Make code unconditional.
53474         [!__ASSUME_32BITUIDS]: Remove conditional code.
53475         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
53476         <kernel-features.h>.
53477         [__ASSUME_32BITUIDS]: Make code unconditional.
53478         [!__ASSUME_32BITUIDS]: Remove conditional code.
53479         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
53480         <kernel-features.h>.
53481         [__NR_setresgid] (__setresgid): Do not declare.
53482         [__ASSUME_32BITUIDS]: Make code unconditional.
53483         [!__ASSUME_32BITUIDS]: Remove conditional code.
53484         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
53485         <kernel-features.h>.
53486         [__NR_setresuid] (__setresuid): Do not declare.
53487         [__ASSUME_32BITUIDS]: Make code unconditional.
53488         [!__ASSUME_32BITUIDS]: Remove conditional code.
53489         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
53490         <kernel-features.h>.
53491         [__ASSUME_32BITUIDS]: Make code unconditional.
53492         [!__ASSUME_32BITUIDS]: Remove conditional code.
53493         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
53494         <kernel-features.h>.
53495         [__ASSUME_32BITUIDS]: Make code unconditional.
53496         [!__ASSUME_32BITUIDS]: Remove conditional code.
53497         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
53498         <kernel-features.h>.
53499         [__ASSUME_32BITUIDS]: Make code unconditional.
53500         [!__ASSUME_32BITUIDS]: Remove conditional code.
53501         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
53502         <kernel-features.h>.
53503         [__ASSUME_32BITUIDS]: Make code unconditional.
53504         [!__ASSUME_32BITUIDS]: Remove conditional code.
53505         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
53506         <kernel-features.h>.
53507         [__ASSUME_32BITUIDS]: Make code unconditional.
53508         [!__ASSUME_32BITUIDS]: Remove conditional code.
53509         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
53510         <kernel-features.h>.
53511         [__ASSUME_32BITUIDS]: Make code unconditional.
53512         [!__ASSUME_32BITUIDS]: Remove conditional code.
53513         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
53514         <kernel-features.h>.
53515         [__ASSUME_32BITUIDS]: Make code unconditional.
53516         [!__ASSUME_32BITUIDS]: Remove conditional code.
53517         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
53518         <kernel-features.h>.
53519         [__ASSUME_32BITUIDS]: Make code unconditional.
53520         [!__ASSUME_32BITUIDS]: Remove conditional code.
53521         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
53522         <kernel-features.h>.
53523         [__ASSUME_32BITUIDS]: Make code unconditional.
53524         [!__ASSUME_32BITUIDS]: Remove conditional code.
53525         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53526         <kernel-features.h>.
53527         [__ASSUME_32BITUIDS]: Make code unconditional.
53528         [!__ASSUME_32BITUIDS]: Remove conditional code.
53529         * sysdeps/unix/sysv/linux/kernel-features.h
53530         (__ASSUME_SETRESUID_SYSCALL): Remove.
53531         (__ASSUME_SETRESGID_SYSCALL): Likewise.
53532         (__ASSUME_32BITUIDS): Likewise.
53533         (__ASSUME_LDT_WORKS): Likewise.
53534         (__ASSUME_O_DIRECTORY): Likewise.
53535         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
53536         architecture but not kernel version.
53537         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
53538         (__ASSUME_MMAP2_SYSCALL): Likewise.
53539         (__ASSUME_STAT64_SYSCALL): Likewise.
53540         (__ASSUME_IPC64): Likewise.
53541         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
53542         <kernel-features.h>.
53543         [__ASSUME_32BITUIDS]: Make code unconditional.
53544         [!__ASSUME_32BITUIDS]: Remove conditional code.
53545         * sysdeps/unix/sysv/linux/opendir.c: Do not include
53546         <kernel-features.h>.
53547         [__ASSUME_O_DIRECTORY]: Make code unconditional.
53548         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
53549         132096]: Remove conditional code.
53550         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
53551         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53552         <kernel-features.h>.
53553         [__ASSUME_32BITUIDS]: Make code unconditional.
53554         [!__ASSUME_32BITUIDS]: Remove conditional code.
53555         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53556         <kernel-features.h>.
53557         [__ASSUME_32BITUIDS]: Make code unconditional.
53558         [!__ASSUME_32BITUIDS]: Remove conditional code.
53559         * sysdeps/unix/sysv/linux/setegid.c: Do not include
53560         <kernel-features.h>.
53561         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
53562         unconditional.
53563         (__setresgid): Do not declare.
53564         [__ASSUME_32BITUIDS]: Make code unconditional.
53565         [!__ASSUME_32BITUIDS]: Remove conditional code.
53566         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
53567         <kernel-features.h>.
53568         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
53569         unconditional.
53570         (__setresuid): Do not declare.
53571         [__ASSUME_32BITUIDS]: Make code unconditional.
53572         [!__ASSUME_32BITUIDS]: Remove conditional code.
53573         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53574         <kernel-features.h>.
53575         [__ASSUME_32BITUIDS]: Make code unconditional.
53576         [!__ASSUME_32BITUIDS]: Remove conditional code.
53577         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
53578         <kernel-features.h>.
53579         [__ASSUME_32BITUIDS]: Make code unconditional.
53580         [!__ASSUME_32BITUIDS]: Remove conditional code.
53582 2012-05-25  Richard Henderson  <rth@twiddle.net>
53584         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
53585         dl_hwcap to ifunc resolver.
53586         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
53587         elf_ifunc_invoke.
53588         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
53589         dl_hwcap to ifunc resolver.
53590         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
53592 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53594         [BZ #14153]
53595         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
53596         for |x| <= 2**-26, not 2**-57.
53597         * math/libm-test.inc (acos_test): Do not allow spurious underflow
53598         exception.
53600 2012-05-24  Jeff Law  <law@redhat.com>
53602         * stdio-common/Makefile (tests): Add bug25.
53603         * stdio-common/bug25.c: New test.
53605 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53607         [BZ #13576]
53608         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
53609         multiple of MALLOC_ALIGNMENT in size.
53610         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
53612 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53614         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
53615         Require >= 256.
53616         (FILENAME_MAX): Use macro-int-constant.
53617         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
53618         (_IOFBF): Use macro-int-constant.
53619         (_IOLBF): Likewise.
53620         (_IONBF): Likewise.
53621         (SEEK_CUR): Likewise.
53622         (SEEK_END): Likewise.
53623         (SEEK_SET): Likewise.
53624         (TMP_MAX): Likewise.
53625         (EOF): Use macro-int-constant.  Require < 0.
53626         (NULL): Use macro-constant.  Require == 0.
53627         (stdin): Require type to be FILE *.
53628         (stdout): Likewise.
53629         (stderr): Likewise.
53630         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
53631         macro-int-constant.
53632         (EXIT_SUCCESS): Likewise.
53633         (NULL): Use macro-constant.  Require == 0.
53634         (RAND_MAX): Use macro-int-constant.
53635         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
53636         [C99-based standards] (strtof): Require function.
53637         [C99-based standards] (strtold): Likewise.
53638         [C99-based standards] (strtoll): Likewise.
53639         [C99-based standards] (strtoull): Likewise.
53640         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53641         [ISO || ISO99 || ISO11] (limits.h): Likewise.
53642         [ISO || ISO99 || ISO11] (math.h): Likewise.
53643         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
53644         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53645         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53647 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
53649         [BZ #14132]
53650         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
53651         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
53652         * intl/dgettext.c (DCGETTEXT): Likewise.
53653         * intl/gettext.c (DCGETTEXT): Likewise.
53654         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
53655         * posix/regex_internal.h (gettext): Likewise.
53656         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
53657         Remove declaration.
53658         * include/argz.h (__argz_count_internal)
53659         (__argz_stringify_internal): Remove declaration.
53660         (__argz_count, __argz_stringify): Declare hidden proto.
53661         * intl/dcgettext.c: Remove use of INTDEF.
53662         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
53663         * string/argz-stringify.c: Likewise.
53664         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53665         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53666         Declare hidden proto.
53667         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53668         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53669         Declare hidden proto.
53670         * include/stdio.h (__asprintf_internal): Don't declare.
53671         (__asprintf): Don't define as macro.  Declare hidden proto.
53672         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
53673         (__fsetlocking): Declare hidden proto.
53674         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
53675         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
53676         hidden proto.
53677         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
53678         (_IO_setlinebuf): Remove use of INTUSE.
53679         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
53680         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
53681         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
53682         Remove declaration.
53683         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
53684         (_IO_do_flush): Remove use of INTUSE.
53685         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
53686         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
53687         (_IO_adjust_column, _IO_least_wmarker)
53688         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
53689         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
53690         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
53691         (_IO_default_doallocate, _IO_wdefault_doallocate)
53692         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
53693         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
53694         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
53695         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
53696         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
53697         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
53698         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
53699         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
53700         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
53701         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
53702         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
53703         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
53704         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
53705         proto.
53706         (_IO_flush_all_internal, _IO_adjust_column_internal)
53707         (_IO_default_uflow_internal, _IO_default_finish_internal)
53708         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
53709         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
53710         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
53711         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
53712         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
53713         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
53714         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
53715         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
53716         (_IO_file_close_internal, _IO_file_close_it_internal)
53717         (_IO_file_underflow_internal, _IO_file_overflow_internal)
53718         (_IO_file_init_internal, _IO_file_attach_internal)
53719         (_IO_file_fopen_internal, _IO_file_read_internal)
53720         (_IO_file_sync_internal, _IO_file_seek_internal)
53721         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
53722         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
53723         (_IO_str_underflow_internal, _IO_str_overflow_internal)
53724         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
53725         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
53726         (_IO_list_all_internal, _IO_link_in_internal)
53727         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
53728         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
53729         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
53730         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
53731         (_IO_do_write_internal, _IO_padn_internal)
53732         (_IO_getline_info_internal, _IO_getline_internal)
53733         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
53734         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
53735         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
53736         (_IO_vfscanf_internal, _IO_vfprintf_internal)
53737         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
53738         (_IO_init_internal, _IO_un_link_internal): Don't declare.
53739         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
53740         with libc_hidden_ver, remove use of INTUSE.
53741         * libio/genops.c: Likewise.
53742         * libio/freopen.c: Likewise.
53743         * libio/freopen64.c: Likewise.
53744         * libio/iofclose.c: Likewise.
53745         * libio/iofdopen.c: Likewise.
53746         * libio/iofflush.c: Likewise.
53747         * libio/iofflush_u.c: Likewise.
53748         * libio/iofgets.c: Likewise.
53749         * libio/iofgets_u.c: Likewise.
53750         * libio/iofopen.c: Likewise.
53751         * libio/iofopncook.c: Likewise.
53752         * libio/iofread.c: Likewise.
53753         * libio/iofread_u.c: Likewise.
53754         * libio/ioftell.c: Likewise.
53755         * libio/iofwrite.c: Likewise.
53756         * libio/iogetline.c: Likewise.
53757         * libio/iogets.c: Likewise.
53758         * libio/iogetwline.c: Likewise.
53759         * libio/iopadn.c: Likewise.
53760         * libio/iopopen.c: Likewise.
53761         * libio/ioseekoff.c: Likewise.
53762         * libio/ioseekpos.c: Likewise.
53763         * libio/iosetbuffer.c: Likewise.
53764         * libio/iosetvbuf.c: Likewise.
53765         * libio/ioungetc.c: Likewise.
53766         * libio/ioungetwc.c: Likewise.
53767         * libio/iovdprintf.c: Likewise.
53768         * libio/iovsprintf.c: Likewise.
53769         * libio/iovsscanf.c: Likewise.
53770         * libio/memstream.c: Likewise.
53771         * libio/obprintf.c: Likewise.
53772         * libio/oldfileops.c: Likewise.
53773         * libio/oldiofclose.c: Likewise.
53774         * libio/oldiofdopen.c: Likewise.
53775         * libio/oldiofopen.c: Likewise.
53776         * libio/oldiopopen.c: Likewise.
53777         * libio/oldstdfiles.c: Likewise.
53778         * libio/putc.c: Likewise.
53779         * libio/setbuf.c: Likewise.
53780         * libio/setlinebuf.c: Likewise.
53781         * libio/stdfiles.c: Likewise.
53782         * libio/strops.c: Likewise.
53783         * libio/vasprintf.c: Likewise.
53784         * libio/vscanf.c: Likewise.
53785         * libio/vsnprintf.c: Likewise.
53786         * libio/vswprintf.c: Likewise.
53787         * libio/wfiledoalloc.c: Likewise.
53788         * libio/wfileops.c: Likewise.
53789         * libio/wgenops.c: Likewise.
53790         * libio/wmemstream.c: Likewise.
53791         * libio/wstrops.c: Likewise.
53792         * libio/__fpurge.c: Likewise.
53793         * libio/__fsetlocking.c: Likewise.
53794         * assert/assert.c: Likewise.
53795         * debug/fgets_chk.c: Likewise.
53796         * debug/fgets_u_chk.c: Likewise.
53797         * debug/fread_chk.c: Likewise.
53798         * debug/fread_u_chk.c: Likewise.
53799         * debug/gets_chk.c: Likewise.
53800         * debug/obprintf_chk.c: Likewise.
53801         * debug/vasprintf_chk.c: Likewise.
53802         * debug/vdprintf_chk.c: Likewise.
53803         * debug/vsnprintf_chk.c: Likewise.
53804         * debug/vsprintf_chk.c: Likewise.
53805         * malloc/mtrace.c: Likewise.
53806         * misc/error.c: Likewise.
53807         * misc/syslog.c: Likewise.
53808         * stdio-common/asprintf.c: Likewise.
53809         * stdio-common/fxprintf.c: Likewise.
53810         * stdio-common/getw.c: Likewise.
53811         * stdio-common/isoc99_fscanf.c: Likewise.
53812         * stdio-common/isoc99_scanf.c: Likewise.
53813         * stdio-common/isoc99_vfscanf.c: Likewise.
53814         * stdio-common/isoc99_vscanf.c: Likewise.
53815         * stdio-common/isoc99_vsscanf.c: Likewise.
53816         * stdio-common/printf-prs.c: Likewise.
53817         * stdio-common/printf_fp.c: Likewise.
53818         * stdio-common/printf_fphex.c: Likewise.
53819         * stdio-common/printf_size.c: Likewise.
53820         * stdio-common/putw.c: Likewise.
53821         * stdio-common/scanf.c: Likewise.
53822         * stdio-common/sprintf.c: Likewise.
53823         * stdio-common/tmpfile.c: Likewise.
53824         * stdio-common/vfprintf.c: Likewise.
53825         * stdio-common/vfscanf.c: Likewise.
53826         * stdlib/strfmon_l.c: Likewise.
53827         * sunrpc/openchild.c: Likewise.
53828         * sunrpc/xdr_stdio.c: Likewise.
53829         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
53830         * sysdeps/mach/hurd/tmpfile.c: Likewise.
53832 2012-05-24  Roland McGrath  <roland@hack.frob.com>
53834         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
53836         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
53837         in the third column, to generate for the shared library an IFUNC
53838         that uses _dl_vdso_vsym.
53839         * Makerules (COMPILE.c, compile-stdin.c): New variables.
53840         * Makeconfig (object-suffixes-noshared): New variable.
53842         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
53843         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
53844         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
53845         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
53847         [BZ #14132]
53848         * include/sys/time.h (__gettimeofday): Remove macro.
53849         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
53850         * time/gettimeofday.c (__gettimeofday): Remove #undef.
53851         Remove INTDEF.
53852         (__gettimeofday): Add libc_hidden_def.
53853         (gettimeofday): Add libc_hidden_weak.
53854         * sysdeps/mach/gettimeofday.c: Likewise.
53855         * sysdeps/posix/gettimeofday.c: Likewise.
53856         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
53857         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
53858         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
53859         (__gettimeofday_internal): Remove strong_alias.
53860         (__gettimeofday): Add libc_hidden_def.
53861         (gettimeofday): Add libc_hidden_weak.
53862         * sysdeps/unix/syscalls.list (gettimeofday):
53863         Remove __gettimeofday_internal alias.
53865 2012-05-24  Daniel Jacobowitz  <drow@false.org>
53866             H.J. Lu  <hongjiu.lu@intel.com>
53868         [BZ #12495]
53869         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
53870         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
53871         (largebin_index_32_big): New.
53872         (largebin_index): Use it for 16-byte alignment.
53873         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
53874         correction with front_misalign.
53876 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
53879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
53880         Likewise.
53881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
53882         Likewise.
53883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53884         Likewise.
53885         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
53886         Likewise.
53887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
53888         Likewise.
53889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
53890         Likewise.
53891         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
53892         Likewise.
53893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53894         Likewise.
53895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
53896         Likewise.
53897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
53898         Likewise.
53899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
53900         Likewise.
53901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
53902         Likewise.
53904         * scripts/data/c++-types-x32-linux-gnu.data: New file.
53905         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
53907 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53909         [BZ #10846]
53910         [BZ #14036]
53911         * math/libm-test.inc (exp_test): Add test from bug 14036.
53912         (pow_test): Add test from bug 10846.
53914         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
53915         and other flags.
53916         (special_function): Do not include flags in test name.
53917         (parse_args): Likewise.
53918         * sysdeps/i386/fpu/libm-test-ulps: Update.
53919         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53920         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53921         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53924         * math/gen-libm-test.pl (%beautify): Add entries for underflow
53925         exceptions.
53926         * math/libm-test.inc ("Philosophy"): Update comment about
53927         exception testing.
53928         (UNDERFLOW_EXCEPTION): New macro.
53929         (UNDERFLOW_EXCEPTION_OK): Likewise.
53930         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
53931         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
53932         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
53933         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
53934         (INVALID_EXCEPTION_OK): Update value.
53935         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53936         (OVERFLOW_EXCEPTION_OK): Likewise.
53937         (IGNORE_ZERO_INF_SIGN): Likewise.
53938         (test_exceptions): Handle underflow exceptions.
53939         (acos_test): Update for underflow exception expectations.
53940         (cexp_test): Likewise.
53941         (clog_test): Likewise.
53942         (clog10_test): Likewise.
53943         (csqrt_test): Likewise.
53944         (ctan_test): Likewise.
53945         (ctanh_test): Likewise.
53946         (exp_test): Likewise.
53947         (exp10_test): Likewise.
53948         (exp2_test): Likewise.
53949         (expm1_test): Likewise.
53950         (fma_test): Likewise.
53951         (j0_test): Likewise.
53952         (jn_test): Likewise.
53953         (nexttoward_test): Likewise.
53954         (pow_test): Likewise.
53955         (scalbn_test): Likewise.
53956         (scalbln_test): Likewise.
53957         (tan_test): Likewise.
53958         (y1_test): Likewise.
53959         * sysdeps/i386/fpu/libm-test-ulps: Update.
53960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53962 2012-05-23  David S. Miller  <davem@davemloft.net>
53964         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
53965         (__libc_sigaction): Remove unused local variables.
53967 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53969         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
53971 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
53973         mktime: avoid signed integer overflow
53974         * time/mktime.c (__mktime_internal): Do not mishandle the case
53975         where diff == INT_MIN.
53977         mktime: simplify computation of average
53978         * time/mktime.c (ranged_convert): Use new time_t_avg function
53979         instead of rolling our own (probably-slower) code.
53981         mktime: do not assume signed right shift propagates sign bit
53982         * time/mktime.c (isdst_differ): New static function.
53983         (__mktime_internal): No need to normalize tm_isdst now.
53984         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
53985         tm_isdst values.
53987         mktime: merge another wrapv change from gnulib
53988         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
53989         from some compilers.
53991         mktime: remove incorrect attempt at unusual arithmetics
53992         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
53993         The code didn't really work on such machines anyway.
53994         (TYPE_MINIMUM): Assume two's complement.
53995         (twos_complement_arithmetic): Verify that long_int and time_t
53996         are two's complement (or unsigned, in the latter case).
53998         mktime: check signed shifts on long_int and time_t, too
53999         * time/mktime.c (SHR): Check that shifts work as desired
54000         on the types long_int and time_t too, as SHR is used on
54001         such types.
54003         mktime: do not assume 'long' is wide enough
54004         * time/mktime.c (verify): Move decl up.
54005         (long_int): New type.
54006         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
54007         to remove assumption in the code that 'long' is wide enough to
54008         store year values.  This assumption is not true on x32 and on
54009         some non-glibc platforms.
54011         mktime: merge wrapv change from gnulib
54012         * time/mktime.c (WRAPV): New macro.
54013         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
54014         (guess_time_tm, __mktime_internal): Do not assume that signed
54015         integer overflow wraps around; modern compilers generate code
54016         where this assumption is no longer valid.
54018 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54020         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
54021         Replace "jmp L(pseudo_end)" with "ret".
54022         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
54023         Likewise.
54025 2012-05-23  Andreas Jaeger  <aj@suse.de>
54027         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
54028         * sysdeps/unix/sysv/linux/poll.c: Remove file.
54030 2012-05-23  Andreas Jaeger  <aj@suse.de>
54031             Maximilian Attems  <max@stro.at>
54033         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
54034         New macros.
54036 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54038         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
54039         code so that pseudo_end is just ret and the stack pointer is
54040         correct also for static library in error case.
54042 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
54044         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
54045         move to syscalls.list.
54046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
54047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
54048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
54049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
54051         * manual/install.texi (Running make install): Do not mention Linux
54052         kernel version for which pt_chown is not needed.
54053         (Linux): Do not mention problems with nscd with 2.0 kernels.
54054         * INSTALL: Regenerated.
54056 2012-05-23  Andreas Jaeger  <aj@suse.de>
54058         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
54059         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
54060         macro.
54061         * sysdeps/unix/sysv/linux/s390/bits/mman.h
54062         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54063         * sysdeps/unix/sysv/linux/sh/bits/mman.h
54064         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54065         * sysdeps/unix/sysv/linux/i386/bits/mman.h
54066         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54067         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
54068         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54069         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
54070         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54071         * sysdeps/unix/sysv/linux/bits/in.h
54072         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
54074 2012-05-22  Roland McGrath  <roland@hack.frob.com>
54076         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
54077         (PREPARE_VERSION): Just use assert instead, it will be elided
54078         under [NDEBUG] anyway.
54080 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54082         * sysdeps/unix/sysv/linux/Makefile: Include
54083         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
54084         (sysdep_routines): Remove sysctl.
54085         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
54086         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
54087         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
54088         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
54089         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
54091 2012-05-22  Andreas Jaeger  <aj@suse.de>
54093         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
54094         that pseudo_end is just ret and the stack pointer is correct also
54095         for static library in error case.
54097 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
54099         [BZ #14122]
54100         * nss/nsswitch.c (defconfig_entries): New variable.
54101         (__nss_database_lookup): Don't leak defconfig entries.
54102         (nss_parse_service_list): Don't leak on error paths.
54103         (free_database_entries): New function.
54104         (free_defconfig): New function.
54105         (free_mem): Move common code to free_database_entries.
54107 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54109         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
54110         Add arch_prctl.
54111         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
54113         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54114         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
54115         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
54116         New macro.
54117         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
54118         (INTERNAL_SYSCALL_TYPES): Likewise.
54119         (LOAD_ARGS_TYPES_[1-6]): Likewise.
54120         (LOAD_REGS_TYPES_[1-6]): Likewise.
54121         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
54122         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
54124 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54126         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
54127         copysignl for GLIBC_2_0.
54128         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
54129         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
54130         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
54131         logbl for GLIBC_2_0.
54132         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
54133         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
54135 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54137         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
54138         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54140         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
54141         Use "neg %eax".
54143         * time/mktime.c: Update copyright years.
54145 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
54147         mktime: merge comment-quoting-style change from gnulib
54148         * time/mktime.c: Quote 'like this' in comments.
54149         The GNU coding standards suggest that we no longer quote `like this',
54150         as "`" and "'" are typically rendered asymmetrically nowadays.
54151         The typical gnulib style is to quote 'like this' when quoting
54152         code, and "like this" when quoting English.
54154         * time/mktime.c (compile-command): Add "-I.".
54156         mktime: merge mktime-internal.h change from gnulib
54157         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
54159         mktime: merge time_r change from gnulib
54160         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
54162         mktime: merge DEBUG change from gnulib
54163         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
54164         case system <time.h> has a #define.
54166         mktime: merge <sys/types.h> change from gnulib
54167         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
54168         since <time.t> is now guaranteed to define time_t.
54170         mktime: merge HAVE_CONFIG_H change from gnulib
54171         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
54173 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54175         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
54176         Use "neg %eax".
54178         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
54179         __rlim_t cast.
54180         (struct rusage): Use anonymous union to pad each field to
54181         __syscall_slong_t.
54183 2012-05-21  David S. Miller  <davem@davemloft.net>
54185         * Makefules (o-iterator): Remove .s cases.
54186         (compile-command.s): Delete.
54187         (COMPILE.s): Delete.
54188         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
54190 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
54192         * configure.in (libc_cv_predef_stack_protector): Only consider
54193         "foobar" and "__stack_chk_fail" lines in libc_undefs.
54194         * configure: Regenerated.
54196 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54198         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
54199         New macro.  Use R*LP on int and pointer.
54200         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
54201         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
54202         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
54203         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
54205         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
54206         [__WORDSIZE_TIME64_COMPAT32] instead of
54207         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
54208         (struct utmp): Likewise.
54209         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
54210         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
54211         Renamed to ...
54212         (__WORDSIZE_TIME64_COMPAT32): This.
54213         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
54214         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
54215         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
54216         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
54217         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
54218         (__WORDSIZE_TIME64_COMPAT32): New macro.
54220 2012-05-21  Andreas Jaeger  <aj@suse.de>
54222         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
54223         only if [SHARED]. Add prototype for __wcschr_ia32.
54225 2012-05-21  Roland McGrath  <roland@hack.frob.com>
54227         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
54228         of %rbp unmolested in the jmp_buf while mangling the low bits.
54229         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
54230         unmolested high bits of %rbp while demangling the low bits.
54231         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54233 2012-05-21  Andreas Jaeger  <aj@suse.de>
54235         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
54236         * sunrpc/svc_simple.c: Use it for registerrpc.
54237         * sunrpc/xcrypt.c: Use it for passwd2des.
54239         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
54241 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54243         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
54244         Don't define if [__SYSCALL_WORDSIZE != 32].
54245         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
54246         New macro.
54248 2012-05-21  Bruno Haible  <bruno@clisp.org>
54249             Andreas Jaeger  <aj@suse.de>
54251         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
54252         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
54253         inptr and inend for must_buffer_ch.
54254         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
54255         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
54256         * stdio-common/Makefile (tests): Remove bug15.
54257         (bug15-ENV): Remove macro.
54258         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
54259         anymore.
54261 2012-05-19  Andreas Jaeger  <aj@suse.de>
54262             Roland McGrath  <roland@hack.frob.com>
54264         * manual/contrib.texi: Completely rewritten. It contains now an
54265         alphabetical list of contributors and their contributions.
54267 2012-05-21  Richard Henderson  <rth@twiddle.net>
54269         * misc/getauxval.c (__getauxval): Use unsigned long int.
54270         * misc/sys/auxv.h: Include <sys/cdefs.h>.
54271         (getauxval): Use unsigned long int.
54273 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54275         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
54277 2012-05-21  Roland McGrath  <roland@hack.frob.com>
54279         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
54280         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
54281         __alignof__ (long double).
54283 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54287 2012-05-20  Richard Henderson  <rth@twiddle.net>
54289         * misc/getauxval.c: New file.
54290         * misc/sys/auxv.h: New file.
54291         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
54292         (routines): Add getauxval.
54293         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
54294         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
54295         * elf/dl-sysdep.c (_dl_auxv): Remove.
54296         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
54297         * elf/dl-support.c (_dl_auxv): New variable.
54298         (_dl_aux_init): Initialize it.
54299         * manual/startup.texi (Auxiliary Vector): New node.
54300         * sysdeps/generic/bits/hwcap.h: New file.
54301         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
54302         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
54303         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
54304         * sysdeps/sparc/sysdep.h: ... here.  Include it.
54305         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
54306         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
54307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54308         Update.
54309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
54310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
54311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
54312         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
54313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
54314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
54315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
54316         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
54318 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54322 2012-05-19  David S. Miller  <davem@davemloft.net>
54324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54326 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
54328         [BZ #14123]
54329         * math/s_ccosh.c: Include <float.h>
54330         (__ccosh): Avoid internal overflow calculating sinh and cosh
54331         values before multiplying by sin and cos values.
54332         * math/s_ccoshf.c: Likewise.
54333         * math/s_ccoshl.c: Likewise.
54334         * math/s_csin.c: Likewise.
54335         * math/s_csinf.c: Likewise.
54336         * math/s_csinl.c: Likewise.
54337         * math/s_csinh.c: Likewise.
54338         * math/s_csinhf.c: Likewise.
54339         * math/s_csinhl.c: Likewise.
54340         * math/libm-test.inc (ccos_test): Add more tests.
54341         (ccosh_test): Likewise.
54342         (csin_test): Likewise.
54343         (csinh_test): Likewise.
54344         * sysdeps/i386/fpu/libm-test-ulps: Update.
54345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54347 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
54349         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
54350         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
54352         * sysdeps/x86_64/x32/_itoa.h: Add comment.
54354 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
54356         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
54357         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
54358         * sysdeps/powerpc/soft-fp/Versions: Likewise.
54359         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
54360         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
54361         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
54362         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
54363         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
54364         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
54365         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
54366         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
54367         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
54368         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
54369         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
54370         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
54371         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
54372         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
54373         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
54374         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
54375         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
54376         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
54377         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
54378         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
54379         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
54380         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
54381         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
54382         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
54383         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
54384         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
54385         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
54386         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
54388 2012-05-18  Andreas Jaeger  <aj@suse.de>
54390         * csu/.gitignore: Delete.
54392 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54394         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
54395         (timex): Use __syscall_slong_t.
54397 2012-05-18  Andreas Jaeger  <aj@suse.de>
54398             Carlos O'Donell  <carlos_odonell@mentor.com>
54400         * manual/install.texi (Configuring and compiling): Update
54401         description about files modified in the source directory.
54402         * INSTALL: Regenerated.
54404 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54406         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
54407         value.  Use "or" to set return value to -1.
54408         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
54409         negate return value.
54411 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54413         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
54414         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
54415         failure if the compiler has Graphite support disabled.
54416         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
54417         Likewise.
54418         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
54419         (CFLAGS-memmove.c): Likewise.
54420         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
54421         Likewise.
54423 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54425         * sysdeps/x86_64/x32/_itoa.h: New file.
54427         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
54428         getdents system call only if kernel and user dirents have the
54429         same d_ino and d_off.
54431         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54432         LLONG_MAX != LONG_MAX.
54433         (_itoa_word): Use _ITOA_WORD_TYPE on value.
54434         (_fitoa_word): Likewise.
54436         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
54437         years.
54438         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
54439         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
54440         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
54442         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
54443         include <bits/wordsize.h>.  Check __x86_64__ instead of
54444         __WORDSIZE.
54445         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
54446         if __x86_64__ is defined.  Use anonymous union on fpstate.
54448         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
54449         anonymous union.
54451 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
54453         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
54454         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
54455         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
54456         Refer to _rtld_local_ro instead of _rtld_global_ro.
54457         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
54458         Likewise.
54459         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
54460         Likewise.
54461         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
54462         Likewise.
54463         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
54464         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
54465         of _rtld_global, and rtld_progname instead of _dl_argv[0].
54467         [BZ #10882]
54468         * sysdeps/powerpc/powerpc32/dl-machine.c
54469         (__elf_machine_runtime_setup) [PROF]: Don't reference
54470         _dl_prof_resolve.
54472 2012-05-18  Andreas Jaeger  <aj@suse.de>
54474         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
54475         function only available for GCCs before 3.4 since GCC 3.4
54476         introduced a builtin.
54477         (lrint): Likewise.
54478         (llrintf): Likewise.
54479         (llrint): Likewise.
54480         (fmaxf): Likewise.
54481         (fmax): Likewise.
54482         (fminf): Likewise.
54483         (fmin): Likewise.
54484         (rint): Likewise.
54485         (rintf): Likewise.
54486         (nearbyint): Likewise.
54487         (nearbyintf): Likewise.
54488         (ceil): Likewise.
54489         (ceilf): Likewise.
54490         (floor): Likewise.
54491         (floorf): Likewise.
54493 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54495         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
54496         on both fields and cast pointer to __syscall_ulong_t.
54498         * bits/types.h (__fsword_t): New type.
54499         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
54500         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
54501         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54502         (__FSWORD_T_TYPE): Likewise.
54503         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54504         (__FSWORD_T_TYPE): Likewise.
54505         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54506         (__FSWORD_T_TYPE): Likewise.
54507         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
54508         (__FSWORD_T_TYPE): Likewise.
54509         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
54510         __SWORD_TYPE with __fsword_t.
54511         (statfs64): Likewise.
54513 2012-05-17  David S. Miller  <davem@davemloft.net>
54515         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
54517 2012-05-17  Andreas Jaeger  <aj@suse.de>
54519         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
54520         warning.
54522 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54524         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
54526 2012-05-17  Andreas Jaeger  <aj@suse.de>
54528         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
54529         when it is used.
54531 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54533         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
54535 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54537         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
54538         * sysdeps/x86_64/tst-mallocalign1.c: New file.
54540 2012-05-17  Andreas Jaeger  <aj@suse.de>
54541             Carlos O'Donell  <carlos_odonell@mentor.com>
54543         [BZ #14059]
54544         * sysdeps/x86_64/multiarch/init-arch.h
54545         (bit_YMM_Usable): Rename to...
54546         (bit_AVX_Usable): ... this.
54547         (bit_FMA4_Usable): New macro.
54548         (bit_XMM_state): New macro.
54549         (bit_YMM_state): New macro.
54550         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
54551         [__ASSEMBLER__] (index_AVX_Usable): ... this.
54552         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
54553         (CPUID_OSXSAVE): New macro.
54554         (CPUID_AVX): New macro.
54555         (CPUID_FMA4): New macro.
54556         (index_YMM_Usable): Rename to...
54557         (index_AVX_Usable): ... this.
54558         (HAS_AVX): Use HAS_ARCH_FEATURE.
54559         (HAS_FMA4): Likewise.
54560         (HAS_YMM_USABLE): Remove.
54561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54562         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
54563         are present.
54564         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
54565         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
54566         * sysdeps/x86_64/multiarch/Makefile: Likewise.
54567         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
54568         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
54570 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54572         * math/libm-test.c: Support platforms without multiple rounding modes.
54573         * math/bug-nextafter.c: Support platforms without FP exceptions.
54574         * math/bug-nexttoward.c: Likewise.
54575         * math/test-fenv.c: Likewise.
54576         * math/test-misc.c: Likewise.
54577         * stdlib/bug-getcontext.c: Likewise.
54579 2012-05-17  Andreas Jaeger  <aj@suse.de>
54581         * manual/examples/search.c (critter_cmp): Change signature to
54582         avoid warnings.
54583         * manual/string.texi (Collation Functions): Likewise.
54585 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54587         * bits/types.h: Fold copyright years.
54588         * bits/typesizes.h: Likewise.
54589         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
54590         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
54591         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
54592         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
54593         * time/time.h: Likewise.
54595 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
54597         [BZ #208]
54598         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
54599         in instead of returning them.  Return void.
54600         (__libc_mallinfo): Accumulate over all arenas.
54601         (__malloc_stats): Adjust for change in int_mallinfo interface.
54603 2012-05-16  Roland McGrath  <roland@hack.frob.com>
54605         [BZ #10375]
54606         * configure.in (NM): Add AC_CHECK_TOOL for it.
54607         (libc_extra_cflags): New substituted variable.
54608         Check for -fstack-protector being used implicitly.
54609         * configure: Regenerated.
54610         * config.make.in (config-extra-cflags): New variable,
54611         gets @libc_extra_cflags@.
54612         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
54614         [BZ #10375]
54615         * configure.in: Check for _FORTIFY_SOURCE being predefined.
54616         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
54617         * configure: Regenerated.
54618         * config.make.in (CPPUNDEFS): New substituted variable.
54619         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
54620         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
54621         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
54623 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54625         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
54626         (mq_attr): Use __syscall_slong_t.
54628 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54630         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
54631         Check __x86_64__ instead of __WORDSIZE.
54632         (_STAT_VER_LINUX): Likewise.
54633         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
54634         __syscall_ulong_t and __syscall_slong_t.
54635         (stat64): Likewise.
54637 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54639         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
54641 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54643         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
54645 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54647         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
54648         __syscall_ulong_t.
54650         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
54651         include <bits/wordsize.h>.  Check __x86_64__ instead of
54652         __WORDSIZE.
54653         (greg_t): Use "__extension__ long long int" if __x86_64__ is
54654         defined.
54655         (mcontext_t): Replace "unsigned long" with "unsigned long long".
54657         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
54658         include <bits/wordsize.h>.  Check __x86_64__ instead of
54659         __WORDSIZE.
54660         (user_regs_struct): Use "__extension__ unsigned long long"
54661         instead of "unsigned long" if __x86_64__ is defined.
54662         (user): Likewise.  Pad after pointer field if __ILP32__ is
54663         defined.
54665 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
54667         * configure.in (makeinfo): Require version 4.5 or later.  Allow
54668         versions 5 to 9.
54669         * configure: Regenerated.
54670         * manual/install.texi (texinfo): Increase version requirement to
54671         4.5 or later.
54672         * INSTALL: Regenerated.
54674         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
54676 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54678         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
54680         * sysdeps/x86_64/x32/ffs.c: New file.
54682         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
54683         __syscall_ulong_t.
54684         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
54685         defined.  Use __syscall_ulong_t.
54686         (shminfo): Use __syscall_ulong_t.
54687         (shm_info): Likewise.
54689         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
54690         __syscall_ulong_t.
54692         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
54693         <bits/wordsize.h>.
54694         (msgqnum_t): Use __syscall_ulong_t.
54695         (msglen_t): Likewise.
54696         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
54697         __syscall_ulong_t.
54699         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
54700         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54702         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
54704         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
54705         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
54707         * sysvipc/sys/msg.h (msgbuf): Replace long int with
54708         __syscall_slong_t.
54710         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
54711         include <bits/wordsize.h>.  Check __x86_64__ instead of
54712         __WORDSIZE.
54714         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
54715         "unsigned long long int" if __x86_64__ is defined.
54716         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
54718         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
54719         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54720         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
54722         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
54723         <stdint.h>.
54724         (GET_PC): Cast to uintptr_t first.
54725         (GET_FRAME): Likewise.
54726         (GET_STACK): Likewise.
54728         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
54729         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
54730         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
54731         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
54732         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
54733         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
54734         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
54735         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
54736         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
54737         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
54738         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
54739         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
54740         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54741         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
54742         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
54743         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
54744         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
54745         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
54746         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
54747         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
54748         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
54749         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
54750         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
54751         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
54752         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
54753         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
54754         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
54755         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
54756         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
54758 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
54760         * Makerules (+depfiles): Also collect depfiles from .oS in
54761         $(extra-objs).
54762         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
54763         .oS, $(libnldbl-routines)).
54765         * Makerules (native-compile-mkdep-flags): Define.
54766         * sunrpc/Makefile (extra-objs): Add $(addprefix
54767         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
54768         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
54769         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
54770         calling $(make-target-directory).
54772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54774         * bits/types.h (__snseconds_t): Removed.
54775         * time/time.h (struct timespec): Replace __snseconds_t with
54776         __syscall_slong_t.
54777         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
54778         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
54779         Likewise.
54780         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54781         (__SNSECONDS_T_TYPE): Likewise.
54782         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54783         (__SNSECONDS_T_TYPE): Likewise.
54784         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54785         (__SNSECONDS_T_TYPE): Likewise.
54787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54789         * sysdeps/mach/hurd/bits/typesizes.h
54790         (__SYSCALL_SLONG_TYPE): New macro.
54791         (__SYSCALL_ULONG_TYPE): Likewise.
54793 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54795         * bits/types.h (__syscall_slong_t): New type.
54796         (__syscall_ulong_t): Likewise.
54798         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
54799         (__SYSCALL_ULONG_TYPE): Likewise.
54800         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54801         (__SYSCALL_SLONG_TYPE): Likewise.
54802         (__SYSCALL_ULONG_TYPE): Likewise.
54803         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54804         (__SYSCALL_SLONG_TYPE): Likewise.
54805         (__SYSCALL_ULONG_TYPE): Likewise.
54806         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54807         (__SYSCALL_SLONG_TYPE): Likewise.
54808         (__SYSCALL_ULONG_TYPE): Likewise.
54810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54812         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
54813         Add sigaltstack-offsets.sym.
54814         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
54815         <sigaltstack-offsets.h>.
54816         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
54817         longjmp_msg pointer.
54818         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
54819         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
54820         signal stack.
54821         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
54823 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54825         * elf/stackguard-macros.h: Remove file.
54826         * sysdeps/generic/stackguard-macros.h: New file.
54827         * sysdeps/i386/stackguard-macros.h: Likewise.
54828         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54829         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54830         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54831         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54832         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54833         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54834         * sysdeps/x86_64/stackguard-macros.h: Likewise.
54835         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
54836         <elf/stackguard-macros.h>.
54838         [BZ #14109]
54839         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
54840         __aligned__ in attribute.
54841         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
54842         (gregset_t): Likewise.
54844 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54846         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
54847         * sysdeps/x86_64/64/Implies-after: Here.  New file.
54848         * sysdeps/x86_64/x32/Implies-after: New file.
54850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54852         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
54853         and access return value for _dl_profile_fixup.  Use R10_LP to
54854         load frame size.
54856 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54858         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
54860 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54862         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
54863         * sysdeps/x86_64/x32/sysdep.h: New file.
54865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54867         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
54868         * sysdeps/x86_64/setjmp.S: Likewise.
54870 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54872         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
54873         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
54874         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
54875         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
54876         remove unused global constant.
54878 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
54880         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
54881         include of <not-cancel.h>.
54883 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54885         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
54887 2012-05-15  Jeff Law  <law@redhat.com>
54888             Andreas Jaeger  <aj@suse.de>
54890         [BZ #13594]
54891         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
54892         out from...
54893         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
54894         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
54895         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
54896         code changing __hst_map_handle.map.
54898 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54900         * configure.in (sysnames): Look for Implies-before and Implies-after
54901         files.
54902         * configure: Regenerated.
54904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54906         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
54907         8-byte data alignment with LP_SIZE alignment.
54909 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54911         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
54912         into R10_LP.
54914 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54916         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
54918 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54920         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
54921         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
54922         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
54923         Likewise.
54924         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54928         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
54929         (stackinfo_sub_sp): Likewise.
54931 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54933         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
54934         RAX_LP.
54936 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54938         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
54939         into R*_LP.
54941 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54943         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
54944         sizes into R*_LP.
54946 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54948         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
54950 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54952         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
54953         into R11_LP and load __x86_64_shared_cache_size_half into
54954         R8_LP.
54956 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54958         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
54959         R8_LP.
54961 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54963         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
54964         logb for POWER7.
54965         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
54966         logbf for POWER7.
54967         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
54968         logbl for POWER7.
54969         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
54970         powerpc32/power7/fpu/s_logb.c via #include.
54971         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
54972         powerpc32/power7/fpu/s_logbf.c via #include.
54973         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
54974         powerpc32/power7/fpu/s_logbl.c via #include.
54976 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54978         * README.libm: Remove file.
54980 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54982         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
54983         count for x32.  Use R*_LP and omit operand-size suffix.
54985 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54987         * shlib-versions: Move x86_64-.*-linux.* entries to ...
54988         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
54989         * sysdeps/x86_64/x32/shlib-versions: New file.
54991 2012-05-14  Roland McGrath  <roland@hack.frob.com>
54993         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
54994         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
54995         Use _dl_fatal_printf instead.
54997 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
54999         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
55000         set if not set by the user.  Do not allow for being unset.
55001         * sysdeps/unix/sysv/linux/configure: Regenerated.
55003 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55005         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
55006         the `q' suffix from lea and replace .quad with ASM_ADDR.
55008 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55010         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
55011         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
55012         instead of $17.
55013         (PTR_DEMANGLE): Likewise.
55015 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55017         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
55018         (LP_OP): Likewise.
55019         (ASM_ADDR): Likewise.
55020         (RAX_LP): Likewise.
55021         (RBP_LP): Likewise.
55022         (RBX_LP): Likewise.
55023         (RCX_LP): Likewise.
55024         (RDI_LP): Likewise.
55025         (RSI_LP): Likewise.
55026         (RSP_LP): Likewise.
55027         (R8_LP): Likewise.
55028         (R9_LP): Likewise.
55029         (R10_LP): Likewise.
55030         (R10_LP): Likewise.
55031         (R11_LP): Likewise.
55032         (R12_LP): Likewise.
55033         (R13_LP): Likewise.
55034         (R14_LP): Likewise.
55035         (R15_LP): Likewise.
55037 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55039         * sysdeps/x86_64/x32/dl-machine.h: New file.
55041 2012-05-14  Andreas Jaeger  <aj@suse.de>
55043         * manual/Makefile (subdir): Remove export of subdir.
55044         (all): Remove target.
55045         (.PHONY): Remove all from list.
55046         (mkinstalldirs): Remove.
55047         (.PHONY): Remove installdirs from list.
55048         ($(inst_infodir)/libc.info): Use make-target-directory.
55049         (installdirs): Remove.
55050         (subdir_%): Remove.
55051         (glibc-targets): Remove.
55052         (lib): Remove.
55053         (stubs): Remove.
55054         ($(objpfx)stubs ../po/manual.pot): Remove.
55055         ($(objpfx)stamp%): Remove.
55056         (make-target-directory): Remove.
55057         (subdir_install): Remove.
55058         (routines): Remove.
55059         (aux): Remove.
55060         (sources): Remove.
55061         (objects): Remove.
55062         (headers): Remove.
55064         [BZ #13750]
55065         * manual/.gitignore: Remove, it's not needed anymore.
55066         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
55067         all files in it.
55068         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
55069         directory.
55070         (texis): Renamed to $(objpfx)texis.
55071         (texis-path): New, contains path to generated files.
55072         (chapters.%): Use texis-path for complete path, add extra argument
55073         libc-texinfo.sh.
55074         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
55075         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
55076         (summary,texi, stamp-summary): Use complete path of
55077         files. Generate files in build dir.
55078         (dir-add.texi): Build in build dir.
55079         (libm-err.texi,stamp-libm-err): Likewise.
55080         (version.texi, stamp-version): Likewise.
55081         (.%c.texi): Likewise.
55082         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
55083         (mostlyclean): Remove target.
55084         (realclean): Remove target.
55085         (generated): Add new variable with contents from mostlyclean and
55086         realclean, remove entries duplicated in common-mostlyclean, add
55087         stamp-libm-err and stamp-version.
55088         (generated-dirs): Add libc directory.
55089         ($(inst_infodir)/libc.info): Install files from build dir.
55091         * manual/install.texi (Configuring and compiling): Adjust since
55092         the info files are not part of the tar ball anymore.
55094 2012-05-14  Andreas Jaeger  <aj@suse.de>
55096         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
55097         variable.
55099 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
55101         [BZ #13717]
55102         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55103         to 2.2.0 where earlier.
55104         * sysdeps/unix/sysv/linux/configure: Regenerated.
55105         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
55106         Remove conditional code.
55107         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
55108         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
55109         Remove conditional code.
55110         [!__NR_lchown]: Likewise.
55111         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55112         [__NR_lchown]: Likewise.
55113         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
55114         comment referencing __ASSUME_LCHOWN_SYSCALL.
55115         * sysdeps/unix/sysv/linux/i386/sigaction.c
55116         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55117         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55118         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
55119         Remove conditional code.
55120         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
55121         (__protocol_available): Remove #if 0 code.
55122         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
55123         conditional code.
55124         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
55125         * sysdeps/unix/sysv/linux/kernel-features.h
55126         (__ASSUME_GETCWD_SYSCALL): Don't define.
55127         (__ASSUME_REALTIME_SIGNALS): Likewise.
55128         (__ASSUME_PREAD_SYSCALL): Likewise.
55129         (__ASSUME_PWRITE_SYSCALL): Likewise.
55130         (__ASSUME_POLL_SYSCALL): Likewise.
55131         (__ASSUME_LCHOWN_SYSCALL): Likewise.
55132         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
55133         non-SPARC.
55134         (__ASSUME_SIOCGIFNAME): Don't define.
55135         (__ASSUME_MSG_NOSIGNAL): Likewise.
55136         (__ASSUME_SENDFILE): Define unconditionally.
55137         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
55138         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
55139         conditional code.
55140         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
55141         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
55142         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
55143         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55144         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
55145         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
55146         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
55148         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55149         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
55151         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55152         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
55154         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55155         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
55157         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55158         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
55160         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55161         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
55163         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55164         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
55166         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55167         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
55169         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55170         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55171         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
55172         Remove conditional code.
55173         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55174         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
55175         Remove conditional code.
55176         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55177         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
55178         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
55179         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
55180         Remove conditional code.
55181         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55182         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
55183         Remove conditional code.
55184         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55185         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
55186         Remove conditional code.
55187         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55188         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
55189         Remove conditional code.
55190         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55191         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
55192         Remove conditional code.
55193         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55194         * sysdeps/unix/sysv/linux/sh/pwrite64.c
55195         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55196         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55197         * sysdeps/unix/sysv/linux/sigaction.c
55198         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55199         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55200         * sysdeps/unix/sysv/linux/sigpending.c
55201         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55202         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55203         * sysdeps/unix/sysv/linux/sigprocmask.c
55204         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55205         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55206         * sysdeps/unix/sysv/linux/sigsuspend.c
55207         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55208         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55209         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55210         (__libc_missing_rt_sigs): Remove.
55211         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
55212         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
55213         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
55214         Remove conditional code.
55215         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
55216         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
55217         return 1.
55218         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
55219         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
55220         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
55221         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
55223 2012-05-14  Andreas Jaeger  <aj@suse.de>
55225         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
55226         it's not used in glibc.
55227         (__coshm1): Likewise.
55228         (__acosh1p): Likewise.
55229         (__sgn): Likewise.
55231         * manual/string.texi (Copying and Concatenation): Add missing
55232         variable in concat example.
55233         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
55235 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55237         [BZ #14103]
55238         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
55239         __builtin_clzl with __builtin_clzll.
55241 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55243         [BZ #14104]
55244         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
55245         libc_freeres_ptr.
55247 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55249         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
55250         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
55251         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
55252         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
55254 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
55256         * NEWS: Update ia64 info.
55258 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
55260         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
55261         used as bcopy.
55263 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
55265         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
55266         * sysdeps/unix/syscalls.list (dup3): Likewise.
55267         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
55268         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
55270 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
55272         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
55273         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
55275 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
55277         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
55278         thread pointer.
55279         (TLS_IE): Use mov/add instead of movq/addq to load thread
55280         pointer.
55281         (TLS_GD_PREFIX): New.
55282         (TLS_GD): Use it.
55284 2012-05-11  David S. Miller  <davem@davemloft.net>
55286         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
55287         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
55288         (_FPU_SETCW): Likewise.
55290 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55292         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
55293         is 32-byte aligned.
55295 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
55297         [BZ #11837]
55298         * iconvdata/gb18030.c: Update tables.
55299         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
55300         characters specially.
55301         (BODY for TO_LOOP): Add encoding of missing ranges.
55303 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
55305         [BZ #13673]
55306         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
55307         * sysdeps/mach/hurd/dup3.c: Likewise.
55308         * sysdeps/mach/hurd/readlinkat.c: Likewise.
55309         * sysdeps/powerpc/memmove.c:: Likewise.
55311 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55313         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
55314         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
55316 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55318         * elf/elf.h (R_X86_64_RELATIVE64): New.
55319         (R_X86_64_NUM): Updated.
55320         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55321         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
55322         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
55323         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
55324         tst-quad1pie tst-quad2pie
55325         (modules-names): Add tst-quadmod1 tst-quadmod2.
55326         ($(objpfx)tst-quad1): New dependency.
55327         ($(objpfx)tst-quad2): Likewise.
55328         ($(objpfx)tst-quad1pie): Likewise.
55329         ($(objpfx)tst-quad2pie): Likewise.
55330         * sysdeps/x86_64/tst-quad1.c: New file.
55331         * sysdeps/x86_64/tst-quad1pie.c: New file.
55332         * sysdeps/x86_64/tst-quad2.c: Likewise.
55333         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
55334         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
55335         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
55336         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
55337         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
55339 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55341         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
55342         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
55343         * streams/stropts.h (t_scalar_t): Define type.
55345         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
55346         (_PATH_PRESERVE): Set to "/var/lib".
55347         (_PATH_RWHODIR): Set to "/var/spool/rwho".
55349         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
55350         instead of int.
55352         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
55353         if __dir_mkfile succeeded.
55355         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
55356         checking for _hurd_dtablesize.  Unlock it right after having
55357         finished _hurd_dtable allocation.
55359 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55361         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
55362         * sysdeps/mach/hurd/configure: Regenerated.
55363         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
55364         special-casing to...
55365         * sysdeps/gnu/configure.in: ... this new file.
55366         * sysdeps/unix/sysv/linux/configure: Regenerated.
55367         * sysdeps/gnu/configure: New generated file.
55369         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
55370         for Linux: use nsec instead of usec, as well as:
55371         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
55372         members of type struct timespec.
55373         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
55374         New macros.
55375         (struct stat64): Likewise.
55376         (_STATBUF_ST_NSEC): New macro.
55377         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
55379         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55380         __strtoul_internal rather than strtoul.
55382 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55384         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
55385         and reject them.
55387 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55389         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
55390         which preserves existing values.
55391         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
55393 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55395         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
55396         TIMEOUT values.  Return EINVAL for NFDS values either negative or
55397         greater than FD_SETSIZE.
55399 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55401         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
55402         allocated, call __vm_protect to finish enabling the existing space, and
55403         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
55404         allocate the remainder.
55406 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55408         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
55409         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
55411 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55413         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
55414         sysdeps/mach/hurd/readlink.c.
55416         * posix/tst-sysconf.c (posix_options): Only use
55417         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
55418         _POSIX_SYNCHRONIZED_IO when they are defined
55419         * sysdeps/mach/hurd/bits/posix_opt.h:
55420         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
55421         (_XOPEN_REALTIME): Undefine macro.
55422         (_XOPEN_REALTIME_THREADS): Undefine macro.
55423         (_XOPEN_SHM): Undefine macro.
55424         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
55425         macro to -1.
55426         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
55427         macro to -1.
55428         (_POSIX_ASYNC_IO): Undefine macro.
55429         (_POSIX_PRIORITIZED_IO): Undefine macro.
55430         (_POSIX_SPIN_LOCKS): Define macro to -1.
55432         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
55433         SA_NODEFER, SA_RESETHAND.
55434         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
55435         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
55436         F_DUPFD_CLOEXEC.
55438 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55440         * elf/Makefile (pldd-modules): Define unconditionally.
55442 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55444         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
55446 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55448         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
55449         Return ENOENT when name is empty.
55450         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
55452 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55454         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
55456         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
55458 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55460         Fix mlock in all cases except non-readable pages.
55461         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
55462         instead of VM_PROT_ALL as parameter to __vm_wire function.
55464         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
55465         (__mkdir): When path is `/', just fail with EEXIST.
55466         * sysdeps/mach/hurd/mkdirat.c: Likewise.
55468 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55470         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
55471         <sys/uio.h> (for writev).
55472         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
55473         and <sys/param.h> (for MIN).
55475 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55477         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
55478         REQUESTED_TIME.  Properly set the remaining time and return EINTR
55479         if interrupted.
55481 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55483         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
55484         Depend on against $(link-rpcuserlibs).
55486 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55488         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
55489         (__libc_stack_end): Do not use attribute_relro.
55490         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
55491         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
55492         to libthread-provided value.
55493         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
55494         attribute_relro.
55496 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55498         [BZ #3748]
55499         * bits/libc-lock.h (__libc_once_get): New macro.
55500         * sysdeps/mach/bits/libc-lock.h: Likewise.
55501         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
55502         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
55503         instead of using implementation details.
55505         * libio/fileops.c: Unconditionally include <kernel-features.h>.
55506         * libio/freopen.c: Likewise.
55507         * libio/freopen64.c: Likewise.
55508         * misc/syslog.c: Likewise.
55509         * nscd/connections.c: Likewise.
55510         * nscd/netgroupcache.c: Likewise.
55511         * sysdeps/posix/getcwd.c: Likewise.
55513 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55515         * math/w_ilogbf.c: Add #include <limits.h>.
55517 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55519         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
55520         path instead of returning without unlocking.
55522         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
55523         immediate-write ioctls.
55524         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
55526 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55528         * sysdeps/mach/hurd/i386/init-first.c (init): Use
55529         __builtin_frame_address instead of making assumptions about the
55530         location of the return address relative to DATA.  Force early load of
55531         the return address.
55532         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
55533         __builtin_frame_address.
55535         dup3 for GNU Hurd.
55536         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
55537         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
55538         implement dup3 and do some further code clean-ups.
55539         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
55540         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
55542 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55544         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
55546         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
55547         HURD_CRITICAL_END around holding _hurd_dtable_lock.
55548         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
55549         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
55550         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
55551         d->port.lock.
55553         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
55554         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
55555         when handler == SIG_ERR, not when handler != SIG_ERR.
55557 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55559         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
55560         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
55561         definitions.
55563         accept4 for GNU Hurd.
55564         * include/sys/socket.h (__libc_accept4): New prototype.
55565         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
55566         to implement __libc_accept4.
55567         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
55568         __libc_accept4.
55569         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
55571         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
55572         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
55573         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
55574         signal-defines.sym.
55576 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55578         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
55580 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55582         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
55583         assertion on O_CLOEXEC flag.
55584         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
55585         * hurd/intern-fd.c: Likewise.
55586         * hurd/port2fd.c: Likewise.
55588 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55590         [BZ #3906]
55591         * bits/in.h (IPV6_PKTINFO): Define new macro.
55592         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
55594 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55596         [BZ #13954]
55597         [BZ #13955]
55598         [BZ #13956]
55599         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
55600         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55601         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
55602         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55603         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55604         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55605         * math/libm-test.inc (logb_test) : Additional logb tests.
55607 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
55608             Andreas Jaeger  <aj@suse.de>
55610         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
55611         * configure: Regenerated.
55612         * config.h.in (LINK_OBSOLETE_RPC): New macro.
55613         * config.make.in (link-obsolete-rpc): New substituted variable.
55614         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
55615         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
55616         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55617         (shared-only-routines): Don't set it under [link-obsolete-rpc],
55618         so that libc.a contains the symbols.
55619         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55620         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
55621         * sunrpc/auth_none.c: Likewise.
55622         * sunrpc/auth_unix.c: Likewise.
55623         * sunrpc/authdes_prot.c: Likewise.
55624         * sunrpc/authuxprot.c: Likewise.
55625         * sunrpc/clnt_gen.c: Likewise.
55626         * sunrpc/clnt_perr.c: Likewise.
55627         * sunrpc/clnt_raw.c: Likewise.
55628         * sunrpc/clnt_simp.c: Likewise.
55629         * sunrpc/clnt_tcp.c: Likewise.
55630         * sunrpc/clnt_udp.c: Likewise.
55631         * sunrpc/clnt_unix.c: Likewise.
55632         * sunrpc/des_crypt.c: Likewise.
55633         * sunrpc/des_soft.c: Likewise.
55634         * sunrpc/get_myaddr.c: Likewise.
55635         * sunrpc/key_call.c: Likewise.
55636         * sunrpc/key_prot.c: Likewise.
55637         * sunrpc/netname.c: Likewise.
55638         * sunrpc/pm_getmaps.c: Likewise.
55639         * sunrpc/pm_getport.c: Likewise.
55640         * sunrpc/pmap_clnt.c: Likewise.
55641         * sunrpc/pmap_prot.c: Likewise.
55642         * sunrpc/pmap_prot2.c: Likewise.
55643         * sunrpc/pmap_rmt.c: Likewise.
55644         * sunrpc/publickey.c: Likewise.
55645         * sunrpc/rpc_cmsg.c: Likewise.
55646         * sunrpc/rpc_common.c: Likewise.
55647         * sunrpc/rpc_dtable.c: Likewise.
55648         * sunrpc/rpc_prot.c: Likewise.
55649         * sunrpc/rpc_thread.c: Likewise.
55650         * sunrpc/rtime.c: Likewise.
55651         * sunrpc/svc.c: Likewise.
55652         * sunrpc/svc_auth.c: Likewise.
55653         * sunrpc/svc_raw.c: Likewise.
55654         * sunrpc/svc_run.c: Likewise.
55655         * sunrpc/svc_tcp.c: Likewise.
55656         * sunrpc/svc_udp.c: Likewise.
55657         * sunrpc/svc_unix.c: Likewise.
55658         * sunrpc/svcauth_des.c: Likewise.
55659         * sunrpc/xcrypt.c: Likewise.
55660         * sunrpc/xdr.c: Likewise.
55661         * sunrpc/xdr_array.c: Likewise.
55662         * sunrpc/xdr_float.c: Likewise.
55663         * sunrpc/xdr_intXX_t.c: Likewise.
55664         * sunrpc/xdr_mem.c: Likewise.
55665         * sunrpc/xdr_rec.c: Likewise.
55666         * sunrpc/xdr_ref.c: Likewise.
55667         * sunrpc/xdr_sizeof.c: Likewise.
55668         * sunrpc/xdr_stdio.c: Likewise.
55670 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55672         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
55673         change.  Update copyright years.
55675 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55677         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
55679 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
55680             Joseph Myers  <joseph@codesourcery.com>
55681             Paul Pluzhnikov  <ppluzhnikov@google.com>
55683         [BZ #14012]
55684         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
55685         requiring rpcgen.
55686         [cross-compiling] (extra-libs): Likewise.
55687         [cross-compiling] (extra-libs-others): Likewise.
55688         [cross-compiling] (librpcsvc-routines): Likewise.
55689         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
55690         [cross-compiling] (omit-deps): Likewise.
55691         (sunrpc-CPPFLAGS): New variable.
55692         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
55693         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
55694         (cross-rpcgen-objs): New variable.
55695         (extra-objs): Append $(cross-rpcgen-objs).
55696         ($(cross-rpcgen-objs)): New rule.
55697         ($(objpfx)cross-rpcgen): Likewise.
55698         (rpcgen-cmd): Define to use $(built-program-file).  Expand
55699         comment.
55700         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
55701         ($(objpfx)x%.stmp): Likewise.
55702         * sunrpc/proto.h [IS_IN_build] (_): Define.
55703         [IS_IN_build] (_libc_intl_domainname): Likewise.
55705 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55707         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
55708         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
55709         and R_X86_64_TPOFF64.
55711 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55713         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
55714         sysdeps/unix/sysv/syscalls.list.
55715         (stime): Likewise.
55716         (utime): Likewise.
55717         * sysdeps/unix/sysv/syscalls.list: Remove file.
55719 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
55721         [BZ #3440]
55722         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
55723         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
55724         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
55725         (__LC_IDENTIFICATION): Make these macros useful in #if
55726         expressions, as required by C99.
55728 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
55730         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
55731         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
55732         after this.
55734 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
55736         * stdlib/longlong.h: Updated from GCC.
55738 2012-05-09  Andreas Jaeger  <aj@suse.de>
55740         * nscd/nscd.c (run_modes): Make named enum, reorder so that
55741         default is first entry.
55742         (run_mode): Set type.
55743         (main): Remove informal message about syslog.
55744         (options): Fix typo.
55746         [BZ #14053]
55747         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
55748         to asm.
55749         (lrint): Likewise.
55750         (llrintf): Likewise.
55751         (llrint): Likewise.
55752         (rint): Likewise.
55753         (rintf): Likewise.
55754         (nearbyint): Likewise.
55755         (nearbyintf): Likewise.
55757 2012-05-09  Andreas Jaeger  <aj@suse.de>
55758             Pedro Alves  <palves@redhat.com>
55760         * nscd/nscd.c (run_mode): Use enum.
55761         (main): Cleanup coding style issue.
55763 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
55764             Andreas Jaeger  <aj@suse.de>
55766         * nscd/nscd.c (go_background): Replaced with...
55767         (run_mode): ... this.
55768         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
55769         (options): Add -F --foreground.
55770         (main): Implement it.
55771         (parse_opt): Parse it.
55773 2012-05-09  Andreas Jaeger  <aj@suse.de>
55775         [BZ #14083]
55776         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
55777         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
55778         -Wconversion warning.
55779         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
55780         Likewise.
55782 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
55784         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
55785         == 0.
55786         (LC_ALL): Use macro-int-constant.
55787         (LC_COLLATE): Likewise.
55788         (LC_CTYPE): Likewise.
55789         (LC_MESSAGES): Likewise.
55790         (LC_MONETARY): Likewise.
55791         (LC_NUMERIC): Likewise.
55792         (LC_TIME): Likewise.
55793         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
55794         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55795         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55796         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
55797         Specify type.
55798         [C99-based standards] (float_t): Expect type.
55799         [C99-based standards] (double_t): Expect type.
55800         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
55801         type.
55802         [C99-based standards] (HUGE_VALL): Likewise.
55803         [C99-based standards] (INFINITY): Likewise.
55804         [C99-based standards] (NAN): Likewise.
55805         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
55806         [C99-based standards] (FP_NAN): Likewise.
55807         [C99-based standards] (FP_NORMAL): Likewise.
55808         [C99-based standards] (FP_SUBNORMAL): Likewise.
55809         [C99-based standards] (FP_ZERO): Likewise.
55810         [C99-based standards] (FP_FAST_FMA): Use
55811         optional-macro-int-constant.  Specify type.  Require == 1.
55812         [C99-based standards] (FP_FAST_FMAF): Likewise.
55813         [C99-based standards] (FP_FAST_FMAL): Likewise.
55814         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
55815         [C99-based standards] (FP_ILOGBNAN): Likewise.
55816         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
55817         Specify type.
55818         [C99-based standards] (MATH_ERREXCEPT): Likewise.
55819         [C99-based standards] (math_errhandling): Specify type.
55820         [ISO99 || ISO11] (signgam): Do not allow.
55821         [non-C99-based standards] (copysignf): Do not allow.
55822         [non-C99-based standards] (exp2f): Likewise.
55823         [non-C99-based standards] (log2f): Likewise.
55824         [non-C99-based standards] (modff): Allow.
55825         [non-C99-based standards] (erff): Do not allow.
55826         [non-C99-based standards] (erfcf): Likewise.
55827         [non-C99-based standards] (gammaf): Likewise.
55828         [non-C99-based standards] (hypotf): Likewise.
55829         [non-C99-based standards] (j0f): Likewise.
55830         [non-C99-based standards] (j1f): Likewise.
55831         [non-C99-based standards] (jnf): Likewise.
55832         [non-C99-based standards] (lgammaf): Likewise.
55833         [non-C99-based standards] (tgammaf): Likewise.
55834         [non-C99-based standards] (y0f): Likewise.
55835         [non-C99-based standards] (y1f): Likewise.
55836         [non-C99-based standards] (ynf): Likewise.
55837         [non-C99-based standards] (isnanf): Likewise.
55838         [non-C99-based standards] (acoshf): Likewise.
55839         [non-C99-based standards] (asinhf): Likewise.
55840         [non-C99-based standards] (atanhf): Likewise.
55841         [non-C99-based standards] (cbrtf): Likewise.
55842         [non-C99-based standards] (expm1f): Likewise.
55843         [non-C99-based standards] (ilogbf): Likewise.
55844         [non-C99-based standards] (log1pf): Likewise.
55845         [non-C99-based standards] (logbf): Likewise.
55846         [non-C99-based standards] (nextafterf): Likewise.
55847         [non-C99-based standards] (remainderf): Likewise.
55848         [non-C99-based standards] (rintf): Likewise.
55849         [non-C99-based standards] (scalbf): Likewise.
55850         [non-C99-based standards] (copysignl): Likewise.
55851         [non-C99-based standards] (exp2l): Likewise.
55852         [non-C99-based standards] (log2l): Likewise.
55853         [non-C99-based standards] (modfl): Allow.
55854         [non-C99-based standards] (erfl): Do not allow.
55855         [non-C99-based standards] (erfcl): Likewise.
55856         [non-C99-based standards] (gammal): Likewise.
55857         [non-C99-based standards] (hypotl): Likewise.
55858         [non-C99-based standards] (j0l): Likewise.
55859         [non-C99-based standards] (j1l): Likewise.
55860         [non-C99-based standards] (jnl): Likewise.
55861         [non-C99-based standards] (lgammal): Likewise.
55862         [non-C99-based standards] (tgammal): Likewise.
55863         [non-C99-based standards] (y0l): Likewise.
55864         [non-C99-based standards] (y1l): Likewise.
55865         [non-C99-based standards] (ynl): Likewise.
55866         [non-C99-based standards] (isnanl): Likewise.
55867         [non-C99-based standards] (acoshl): Likewise.
55868         [non-C99-based standards] (asinhl): Likewise.
55869         [non-C99-based standards] (atanhl): Likewise.
55870         [non-C99-based standards] (cbrtl): Likewise.
55871         [non-C99-based standards] (expm1l): Likewise.
55872         [non-C99-based standards] (ilogbl): Likewise.
55873         [non-C99-based standards] (log1pl): Likewise.
55874         [non-C99-based standards] (logbl): Likewise.
55875         [non-C99-based standards] (nextafterl): Likewise.
55876         [non-C99-based standards] (remainderl): Likewise.
55877         [non-C99-based standards] (rintl): Likewise.
55878         [non-C99-based standards] (scalbl): Likewise.
55879         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55880         [non-C99-based standards] (FP_*): Do not allow.
55881         [C99-based standards] (FP_*): Change to
55882         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55883         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55884         allow.
55885         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
55886         (SIG_ERR): Likewise.
55887         [X/Open-based standards] (SIG_HOLD): Likewise.
55888         (SIG_IGN): Likewise.
55889         (SIGABRT): Use macro-int-constant.  Specify type.  Require
55890         positive value.
55891         (SIGFPE): Likewise.
55892         (SIGILL): Likewise.
55893         (SIGINT): Likewise.
55894         (SIGSEGV): Likewise.
55895         (SIGTER): Likewise.
55896         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
55897         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
55898         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
55899         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
55900         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
55901         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
55902         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
55903         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
55904         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
55905         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
55906         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
55907         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
55908         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
55909         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
55910         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
55911         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
55912         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
55913         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
55914         [X/Open-based standards] (SIGTRAP): Likewise.
55915         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
55916         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
55917         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
55918         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
55919         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55920         allow.
55922 2012-05-08  Ian Wienand  <ianw@vmware.com>
55924         [BZ #14080]
55925         * time/tzset.c (__tzset_parse_tz): Update default rules for
55926         daylight time changes in the Energy Policy Act of 2005.
55928 2012-05-09  Andreas Jaeger  <aj@suse.de>
55930         [BZ #13983]
55931         * elf/ldconfig.c (parse_conf): Change string to make clear that
55932         ldconfig only issued a warning if ld.so.conf does not exist.
55934 2012-05-08  David S. Miller  <davem@davemloft.net>
55936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
55937         movxtod instead of popping the value on the stack.
55939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55941 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
55943         * config.h.in: Add HAVE_ARM_PCS_VFP.
55945 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
55947         [BZ #13979]
55948         * include/features.h: Warn if user requests __FORTIFY_SOURCE
55949         checking but the checks are disabled for any reason.
55951 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
55953         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
55954         and ELF64_R_TYPE with ELFW(R_TYPE).
55956 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
55958         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
55959         (ulimit): Likewise.
55961         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
55962         (settimeofday): Likewise.
55964 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
55966         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
55967         a struct th_u2 inside the union, and move tu_block/tu_code into
55968         a new th_u3 union of tu_block/tu_code inside of that.  Move
55969         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
55970         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
55971         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
55972         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
55973         (th_stuff): Change to th_u1.tu_stuff.
55974         (th_data): Define.
55975         (th_msg): Change to th_u1.th_u2.tu_data.
55977 2012-05-07  David S. Miller  <davem@davemloft.net>
55979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55981         [BZ #14074]
55982         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
55983         (SETUP_PIC_REG): Use it.
55984         (SETUP_PIC_REG_LEAF): Use it.
55986 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
55988         [BZ #13885]
55989         [BZ #13923]
55990         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55991         USE_AS_EXPM1L.
55992         (EXPL_FINITE): Likewise.
55993         (FLDLOG): Likewise.
55994         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
55995         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
55996         e_expl.S.
55997         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55998         USE_AS_EXPM1L.
55999         (EXPL_FINITE): Likewise.
56000         (FLDLOG): Likewise.
56001         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
56002         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
56003         e_expl.S.
56004         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
56005         test of -max_value argument for long double.
56006         * sysdeps/i386/fpu/libm-test-ulps: Update.
56007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56009 2012-05-06  David S. Miller  <davem@davemloft.net>
56011         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
56012         quad soft-float symbols whose references which are compiler
56013         generated.
56014         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56016 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
56018         [BZ #13884]
56019         [BZ #13914]
56020         * sysdeps/i386/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         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
56030         e_expl.S.
56031         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
56032         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
56033         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56034         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
56035         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56036         USE_AS_EXP10L.
56037         (EXPL_FINITE): Likewise.
56038         (FLDLOG): Likewise.
56039         (c0): Likewise.
56040         (c1): Likewise.
56041         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
56042         Adjust comments for base varying.
56043         (__expl_finite): Change alias to EXPL_FINITE.
56044         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
56045         tests for bugs.
56046         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56048         [BZ #14064]
56049         * math/libm-test.inc (check_float_internal): Correct ulp
56050         calculation for subnormal expected results.
56052 2012-05-06  Andreas Jaeger  <aj@suse.de>
56054         * Makeconfig (+math-flags): New, set to -frounding-math.
56055         (+cflags): Add +math-flags so that all of glibc gets compiled with
56056         it.
56058         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
56060 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
56062         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
56063         Disable one test.
56065         [BZ #13787]
56066         [BZ #13922]
56067         [BZ #14036]
56068         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
56069         (__ieee754_expl): Allow for and saturate large arguments.
56070         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
56071         (u_threshold): Likewise.
56072         (__exp): Call __ieee754_exp before checking for overflow and
56073         underflow.
56074         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
56075         (u_threshold): Likewise.
56076         (__expf): Call __ieee754_expf before checking for overflow and
56077         underflow.
56078         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
56079         (u_threshold): Likewise.
56080         (__expl): Call __ieee754_expl before checking for overflow and
56081         underflow.
56082         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
56083         (__ieee754_expl): Allow for and saturate large arguments.
56084         * math/libm-test.inc (exp_test): Add another test.  Do not allow
56085         missing overflow exception on overflow.
56086         (expm1_test): Do not allow missing overflow exception on overflow.
56088         * sysdeps/i386/fpu/e_expl.c: Move to ...
56089         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
56090         rather than using inline asm.
56091         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
56092         * sysdeps/x86_64/fpu/e_expl.S: Copy from
56093         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
56095         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
56096         (nice): Likewise.
56097         (poll): Likewise.
56098         (signal): Likewise.
56099         (time): Likewise.
56100         (times): Likewise.
56102 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56104         * sysdeps/unix/syscalls.list (adjtime): Add entry from
56105         sysdeps/unix/common/syscalls.list.
56106         (fchmod): Likewise.
56107         (fchown): Likewise.
56108         (ftruncate): Likewise.
56109         (getrusage): Likewise.
56110         (gettimeofday): Likewise.
56111         (setpgid): Likewise.
56112         (setregid): Likewise.
56113         (setreuid): Likewise.
56114         (sigaction): Likewise.
56115         (truncate): Likewise.
56116         (vhangup): Likewise.
56117         * sysdeps/unix/common/syscalls.list: Remove file.
56118         * sysdeps/unix/bsd/Implies: Don't include unix/common.
56119         * sysdeps/unix/sysv/linux/Implies: Likewise.
56121 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
56123         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
56124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
56125         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
56126         Moved to ...
56127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
56128         Here.
56129         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
56130         to ...
56131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
56132         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
56133         to ...
56134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
56135         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
56136         to ...
56137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
56138         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
56139         to ...
56140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
56141         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
56142         to ...
56143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
56144         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
56145         to ...
56146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
56147         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
56148         to ...
56149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
56150         Here.
56151         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
56152         to ...
56153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
56154         Here.
56155         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
56156         to ...
56157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
56158         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
56159         Moved to ...
56160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
56161         Here.
56162         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
56163         to ...
56164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
56166 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56168         * sysdeps/unix/common/bits/dirent.h: Remove file.
56169         * sysdeps/unix/common/bits/fcntl.h: Likewise.
56171         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
56172         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
56173         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
56174         * sysdeps/unix/bsd/isatty.c: Likewise.
56175         * sysdeps/unix/bsd/tcdrain.c: Likewise.
56176         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
56177         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
56179 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56181         [BZ #13563]
56182         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
56183         long double comparison inaccuracies.
56184         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56187 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
56189         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
56190         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
56192 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56194         [BZ #14049]
56195         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
56196         nonzero digits before rounding a hex value.
56197         * stdlib/tst-strtod.c (tests): Add another test.
56199 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56201         * sysdeps/s390/fpu/libm-test-ulps: Update.
56203 2012-05-03  Andreas Jaeger  <aj@suse.de>
56205         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
56206         does not get optimized out.
56207         (malloc_opt_barrier): New.
56209 2012-05-03  Andreas Jaeger  <aj@suse.de>
56210             Roland McGrath  <roland@hack.frob.com>
56212         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
56213         intermediate file deletion.
56214         (generated): Add .symlist files.
56216 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
56218         [BZ #13775]
56219         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
56220         Redirect under this condition.
56221         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
56222         [__USE_GNU] (__dprintf_chk): Not under this condition.
56223         [__USE_GNU] (__vdprintf_chk): Likewise.
56224         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
56225         under this condition.
56226         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
56227         [__USE_XOPEN2K8] (dprintf): Define under this condition.
56228         [__USE_XOPEN2K8] (vdprintf): Likewise.
56229         [__USE_GNU] (__dprintf_chk): Not under this condition.
56230         [__USE_GNU] (__vdprintf_chk): Likewise.
56231         [__USE_GNU] (dprintf): Likewise.
56232         [__USE_GNU] (vdprintf): Likewise.
56234 2012-05-03  Roland McGrath  <roland@hack.frob.com>
56236         * elf/Makefile (common-generated): Set this instead of generated for
56237         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
56238         $(all-built-dso)-derived lists.
56240 2012-05-03  Andreas Jaeger  <aj@suse.de>
56242         * sysdeps/i386/fpu/libm-test-ulps: Update.
56244         * FAQ: Removed.
56245         * FAQ.in: Likewise.
56246         * scripts/gen-FAQ.pl: Likewise.
56247         * manual/install.texi (Installation): Point to online location of
56248         FAQ.
56249         * Makefile (files-for-dist): Remove FAQ.
56250         (FAQ): Remove.
56252 2012-05-02  Allan McRae  <allan@archlinux.org>
56254         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
56255         (LDFLAGS-reldepmod5.so): Likewise.
56256         (LDFLAGS-reldep6mod1.so): Likewise.
56257         (LDFLAGS-reldep6mod4.so): Likewise.
56258         (LDFLAGS-reldep8mod3.so): Likewise.
56259         (LDFLAGS-unload4mod1.so): Likewise.
56260         (LDFLAGS-unload4mod2.so): Likewise.
56261         (LDFLAGS-tst-initorder): Likewise.
56262         (LDFLAGS-tst-initordera2.so): Likewise.
56263         (LDFLAGS-tst-initordera3.so): Likewise.
56264         (LDFLAGS-tst-initordera4.so): Likewise.
56265         (LDFLAGS-tst-initorderb2.so): Likewise.
56266         (LDFLAGS-noload): Likewise.
56267         (LDFLAGS-next): Likewise.
56268         (LDFLAGS-order2mod1.so): Likewise.
56269         (LDFLAGS-order2mod2.so): Likewise.
56270         (LDFLAGS-tst-initorder2): Likewise.
56271         (LDFLAGS-tst-initorder2a.so): Likewise.
56272         (LDFLAGS-tst-initorder2b.so): Likewise.
56273         (LDFLAGS-tst-initorder2c.so): Likewise.
56274         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
56276 2012-05-02  David S. Miller  <davem@davemloft.net>
56278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56280 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
56282         [BZ #14055]
56283         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
56285 2012-05-02  Andreas Jaeger  <aj@suse.de>
56287         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
56288         since we manipulate rounding mode.
56289         (CPPFLAGS-test-idouble.c): Likewise.
56290         (CPPFLAGS-test-ifloat.c): Likewise.
56291         (CFLAGS-test-ldouble.c): Likewise.
56292         (CFLAGS-test-double.c): Likewise.
56293         (CFLAGS-test-float.c): Likewise.
56294         (CFLAGS-test-misc.c): Likewise.
56295         (CFLAGS-test-test-fenv.c): Likewise.
56297 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56299         [BZ #2550]
56300         [BZ #2570]
56301         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
56302         comparisons to determine direction to adjust input.
56304 2012-05-01  Roland McGrath  <roland@hack.frob.com>
56306         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
56307         output to the target.
56309         * scripts/localplt.awk: New file.
56310         * elf/Makefile ($(objpfx)check-localplt): Target removed.
56311         (check-localplt-CFLAGS): Variable removed.
56312         ($(all-built-dso:=.jmprel)): New static pattern rule.
56313         (generated): Add those targets.
56314         (localplt-built-dso): New variable.
56315         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
56317         * elf/check-localplt.c: File removed.
56319         * scripts/check-execstack.awk: New file.
56320         * elf/Makefile ($(objpfx)check-execstack): Target removed.
56321         (check-execstack-CFLAGS): Variable removed.
56322         ($(objpfx)check-execstack.h): Target removed.
56323         ($(objpfx)execstack-default): New target.
56324         (generated): Add that instead of check-execstack.h.
56325         ($(all-built-dso:=.phdr)): New static pattern rule.
56326         (generated): Add those targets.
56327         * elf/check-execstack.c: File removed.
56329         * scripts/check-textrel.awk: New file.
56330         * elf/Makefile ($(objpfx)check-textrel): Target removed.
56331         (check-textrel-CFLAGS): Variable removed.
56332         (all-built-dso): Use := to define.o
56333         ($(all-built-dso:=.dyn)): New static pattern rule.
56334         (generated): Add those targets.
56335         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
56336         * config.make.in (READELF): New substituted variable.
56337         * elf/check-textrel.c: File removed.
56339 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
56341         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
56342         allow.
56343         * conform/data/ctype.h-data [C99-based standards] (isblank):
56344         Expect function.
56345         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
56346         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
56347         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56348         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
56349         Specify type.  Require positive value.
56350         (EILSEQ): Likewise.
56351         (ERANGE): Likewise.
56352         [ISO || POSIX] (EILSEQ): Do not expect.
56353         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
56354         Specify type.  Require positive value.
56355         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
56356         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
56357         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
56358         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
56359         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
56360         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
56361         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
56362         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
56363         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
56364         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
56365         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
56366         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
56367         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
56368         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
56369         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
56370         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
56371         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
56372         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
56373         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
56374         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
56375         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
56376         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
56377         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
56378         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
56379         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
56380         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
56381         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
56382         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
56383         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
56384         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
56385         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
56386         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
56387         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
56388         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
56389         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
56390         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
56391         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
56392         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
56393         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
56394         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
56395         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
56396         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
56397         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
56398         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
56399         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
56400         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
56401         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
56402         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
56403         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
56404         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
56405         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
56406         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
56407         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
56408         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
56409         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
56410         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
56411         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
56412         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
56413         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
56414         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
56415         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
56416         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
56417         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
56418         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
56419         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
56420         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
56421         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
56422         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
56423         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
56424         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
56425         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
56426         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
56427         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
56428         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
56429         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
56430         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
56431         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
56432         Require >= 2.
56433         (FLT_ROUNDS): Expect as macro, not constant.
56434         (FLT_MANT_DIG): Use macro-int-constant.
56435         (DBL_MANT_DIG): Likewise.
56436         (LDBL_MANT_DIG): Likewise.
56437         (FLT_DIG): Likewise.
56438         (DBL_DIG): Likewise.
56439         (LDBL_DIG): Likewise.
56440         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
56441         (DBL_MIN_EXP): Likewise.
56442         (LDBL_MIN_EXP): Likewise.
56443         (FLT_MAX_EXP): Use macro-int-constant.
56444         (DBL_MAX_EXP): Likewise.
56445         (LDBL_MAX_EXP): Likewise.
56446         (FLT_MAX_10_EXP): Likewise.
56447         (DBL_MAX_10_EXP): Likewise.
56448         (LDBL_MAX_10_EXP): Likewise.
56449         (FLT_MAX): Use macro-constant.
56450         (DBL_MAX): Likewise.
56451         (LDBL_MAX): Likewise.
56452         (FLT_EPSILON): Use macro-constant.  Give upper bound.
56453         (DBL_EPSILON): Likewise.
56454         (LDBL_EPSILON): Likewise.
56455         (FLT_MIN): Likewise.
56456         (DBL_MIN): Likewise.
56457         (LDBL_MIN): Likewise.
56458         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
56459         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
56460         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
56461         [ISO11] (FLT_HAS_SUBNORM): Likewise.
56462         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
56463         [ISO11] (DBL_DECIMAL_DIG): Likewise.
56464         [ISO11] (FLT_DECIMAL_DIG): Likewise.
56465         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
56466         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
56467         [ISO11] (FLT_TRUE_MIN): Likewise.
56468         [ISO11] (LDBL_TRUE_MIN): Likewise.
56469         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56470         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
56471         (SCHAR_MIN): Use macro-int-constant.  Specify type.
56472         (SCHAR_MAX): Likewise.
56473         (UCHAR_MAX): Likewise.
56474         (CHAR_MIN): Likewise.
56475         (CHAR_MAX): Likewise.
56476         (MB_LEN_MAX): Use macro-int-constant.
56477         (SHRT_MIN): Use macro-int-constant.  Specify type.
56478         (SHRT_MAX): Likewise.
56479         (USHRT_MAX): Likewise.
56480         (INT_MAX): Likewise.
56481         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
56482         bound negative.
56483         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56484         bound with "U".
56485         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56486         bound with "L".
56487         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
56488         bound negative.  Suffix upper bound with "L".
56489         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56490         bound with "UL".
56491         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
56492         Specify type.
56493         [C99-based standards] (LLONG_MAX): Likewise.
56494         [C99-based standards] (ULLONG_MAX): Likewise.
56495         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
56496         == 0.
56497         [ISO11] (max_align_t): Require type.
56498         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56500         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
56501         from $CFLAGS, without defining away __attribute__ calls.
56502         (checknamespace): Use $CFLAGS_namespace.
56504         * conform/conformtest.pl (@keywords): Only include C99 keywords
56505         for standards based on C99 or C11.
56507         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
56508         Disable tests.
56509         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
56510         UNIX98]: Likewise.
56512         * conform/conformtest.pl: Handle "macro-int-constant" and test for
56513         usability of symbols in #if.
56515         * conform/conformtest.pl: If macro or constant types start
56516         "promoted:", expect the symbol to be of the following type
56517         promoted by the integer promotions.
56519         * conform/conformtest.pl: Parse all "constant" and "macro" lines
56520         in one place.  Also handle "macro-constant".
56522         * conform/conformtest.pl: Only accept expected macro values with
56523         "==".  Parse all "macro" lines in one place.
56524         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
56526         * conform/conformtest.pl: Handle braced types on "constant" lines
56527         instead of handling "typed-constant".
56528         * conform/data/signal.h-data: Use "constant" instead of
56529         "typed-constant".
56531         * conform/conformtest.pl: Handle "optional-" at start of lines in
56532         one place rather than duplicating several cases.  Handle each
56533         format of "macro" line with initial "optional-".
56535         * conform/conformtest.pl: Only accept expected constant or
56536         optional-constant values with "==".  Parse all "constant" lines in
56537         one place.  Parse all "optional-constant" lines in one place.
56538         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
56539         * conform/data/fmtmsg.h-data: Likewise.
56540         * conform/data/netinet/in.h-data: Likewise.
56541         * conform/data/tar.h-data: Likewise.
56542         * conform/data/limits.h-data: Use "==" form on "constant" and
56543         "optional-constant" lines.
56545         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
56546         Use -std=c99 for XOPEN2K.
56547         (@knownproblems): Remove.
56548         (newtoken): Don't check %isknown.
56550         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
56551         Do not expect macro.
56552         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
56553         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
56554         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
56555         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
56556         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
56557         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
56558         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
56559         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
56560         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
56561         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
56562         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
56563         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
56564         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
56565         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
56566         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
56567         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
56568         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
56569         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
56570         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
56571         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
56572         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
56573         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
56574         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
56575         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
56576         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
56577         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
56578         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
56579         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
56580         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
56581         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
56582         [XPG3] (acosh): Likewise.
56583         [XPG3] (asinh): Likewise.
56584         [XPG3] (atanh): Likewise.
56585         [XPG3] (cbrt): Likewise.
56586         [XPG3] (expm1): Likewise.
56587         [XPG3] (ilogb): Likewise.
56588         [XPG3] (log1p): Likewise.
56589         [XPG3] (logb): Likewise.
56590         [XPG3] (nextafter): Likewise.
56591         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
56592         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
56593         [XPG3] (remainder): Likewise.
56594         [XPG3] (rint): Likewise.
56595         [XPG3 || XPG4 || UNIX98] (round): Likewise.
56596         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
56597         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
56598         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
56599         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
56600         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
56601         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
56602         [UNIX98 || XOPEN2K] (scalb): Expect.
56603         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
56604         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
56605         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
56606         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
56607         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
56608         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
56609         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
56610         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
56611         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
56612         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
56613         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
56614         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
56615         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
56616         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
56617         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
56618         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
56619         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
56620         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
56621         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
56622         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
56623         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
56624         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
56625         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
56626         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
56627         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
56628         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
56629         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
56630         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
56631         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
56632         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
56633         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
56634         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
56635         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
56636         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
56637         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
56638         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
56639         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
56640         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
56641         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
56642         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
56643         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
56644         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
56645         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
56646         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
56647         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
56648         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
56649         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
56650         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
56651         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
56652         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
56653         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
56654         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
56655         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
56656         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
56657         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
56658         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
56659         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
56660         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
56661         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
56662         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
56663         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
56664         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
56665         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
56666         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
56667         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
56668         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
56669         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
56670         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
56671         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
56672         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
56673         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
56674         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
56675         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
56676         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
56677         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
56678         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
56679         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
56680         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
56681         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
56682         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
56683         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
56684         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
56685         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
56686         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
56687         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
56688         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
56689         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
56690         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
56691         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
56692         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
56693         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
56694         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
56695         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
56696         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
56697         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
56698         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
56699         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
56700         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
56701         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
56702         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
56703         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
56704         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
56705         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
56706         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
56707         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
56708         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
56709         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
56710         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
56711         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
56712         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
56713         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
56714         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
56715         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
56716         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
56717         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
56718         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
56719         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
56720         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
56721         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
56722         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
56723         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
56724         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
56725         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
56726         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
56727         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
56728         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
56729         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
56730         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
56731         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
56732         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
56733         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
56734         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
56735         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
56736         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
56737         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
56738         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
56739         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
56741         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
56742         _XOPEN_SOURCE_EXTENDED for XPG4.
56744         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
56746         * Makeconfig (localtime): Remove variable.
56747         (inst_localtime-file): Likewise.
56749 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
56752         Update.
56753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56754         Update.
56755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
56756         Update.
56757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56758         Update.
56759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
56760         Update.
56761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
56762         Update.
56763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56764         Update.
56765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
56766         Update.
56767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56768         Update.
56770 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
56772         [BZ #2550]
56773         [BZ #2570]
56774         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
56775         comparisons to determine direction to adjust input.
56776         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
56777         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
56778         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
56779         Likewise.
56780         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
56781         Likewise.
56782         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56783         Likewise.
56784         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
56785         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
56786         Likewise.
56787         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
56788         Likewise.
56789         * math/libm-test.inc (nexttoward_test): Add more tests.
56791 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56793         [BZ #14040]
56794         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
56795         in version GLIBC_2.1, not GLIBC_2.0.
56796         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
56797         Likewise.
56799 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
56801         [BZ #13942]
56802         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
56803         (1 - x) * (1 + x).
56804         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56805         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
56806         * math/libm-test.inc (acos_test): Add more tests.
56807         (asin_test): Likewise.
56808         * sysdeps/i386/fpu/libm-test-ulps: Update.
56809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56811         [BZ #14034]
56812         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
56813         of square root.
56814         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
56815         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56816         * math/libm-test.inc (acos_test_tonearest): New function.
56817         (acos_test_towardzero): Likewise.
56818         (acos_test_downward): Likewise.
56819         (acos_test_upward): Likewise.
56820         (asin_test_tonearest): Likewise.
56821         (asin_test_towardzero): Likewise.
56822         (asin_test_downward): Likewise.
56823         (asin_test_upward): Likewise.
56824         (main): Call the new functions.
56825         * sysdeps/i386/fpu/libm-test-ulps: Update.
56826         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56828         [BZ #13884]
56829         [BZ #13924]
56830         * math/e_exp10.c: Include <float.h>.
56831         (__ieee754_exp10): Handle underflow here rather than multiplying
56832         large negative argument by M_LN10.
56833         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
56834         of __ieee754_expf.
56835         * math/e_exp10l.c: Include <float.h>.
56836         (__ieee754_exp10l): Handle underflow here rather than multiplying
56837         large negative argument by M_LN10l.
56838         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
56839         spurious overflow exception on underflow.
56841 2012-04-29  Marek Polacek  <polacek@redhat.com>
56843         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
56844         (__fortify_function): New macro.
56845         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
56846         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
56847         __extern_always_inline.
56848         * libio/bits/stdio2.h: Likewise.
56849         * libio/bits/stdio.h: Likewise.
56850         * string/string.h: Likewise.
56851         * string/bits/string3.h: Likewise.
56852         * include/stdio.h: Likewise.
56853         * stdlib/bits/stdlib.h: Likewise.
56854         * stdlib/stdlib.h: Likewise.
56855         * rt/bits/mqueue2.h: Likewise.
56856         * rt/mqueue.h: Likewise.
56857         * posix/bits/unistd.h: Likewise.
56858         * posix/unistd.h: Likewise.
56859         * io/bits/poll2.h: Likewise.
56860         * io/bits/fcntl2.h: Likewise.
56861         * io/fcntl.h: Likewise.
56862         * io/sys/poll.h: Likewise.
56863         * misc/bits/syslog.h: Likewise.
56864         * misc/bits/syslog-ldbl.h: Likewise.
56865         * misc/sys/syslog.h: Likewise.
56866         * socket/bits/socket2.h: Likewise.
56867         * socket/sys/socket.h: Likewise.
56868         * debug/tst-chk1.c: Likewise.
56869         * wcsmbs/bits/wchar2.h: Likewise.
56870         * wcsmbs/bits/wchar-ldbl.h: Likewise.
56871         * wcsmbs/wchar.h: Likewise.
56873 2012-04-29  Andreas Jaeger  <aj@suse.de>
56875         * Makerules (tests): Remove enable-check-abi protection.
56876         (check-abi-warn): Remove.
56877         (check-abi-%): Remove check-abi-warn usage.
56879         * configure.in: Remove check-abi configure option.
56880         * configure: Regenerated.
56881         * config.make.in (enable-check-abi): Remove.
56883 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
56885         [BZ #14033]
56886         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
56887         double functions to double *_finite functions.
56889         [BZ #13941]
56890         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
56891         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
56892         LDBL_MIN_EXP.
56893         * stdio-common/Makefile (tests): Add tst-sprintf3.
56894         * stdio-common/tst-sprintf3.c: New file.
56896         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
56897         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
56899 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
56901         * conform/conformtest.pl: Remove duplicate typed-constant
56902         handling.
56904 2012-04-28  David S. Miller  <davem@davemloft.net>
56906         * Makerules (%.abilist): Add vpath on sysdep_dirs.
56907         (check-abi-%): Remove AWK script prerequisite and explicit
56908         abilist directory.
56909         (check-abi): Rewrite to just diff the symlist with the abilist.
56910         (config-tls, config-abi-config): Delete, no longer used.
56911         (update-abi-%): Remove AWK script and explicit abilist directory.
56912         (update-abi): Rewrite to simply compare and conditionally copy the
56913         symlist and the sysdep abilist file.  Remove update-abi-config
56914         checks.
56915         * abilist/ld.abilist: Remove.
56916         * abilist/libBrokenLocale.abilist: Remove.
56917         * abilist/libanl.abilist: Remove.
56918         * abilist/libcrypt.abilist: Remove.
56919         * abilist/libdl.abilist: Remove.
56920         * abilist/librt.abilist: Remove.
56921         * abilist/libthread_db.abilist: Remove.
56922         * abilist/libutil.abilist: Remove.
56923         * scripts/extract-abilist.awk: Remove.
56924         * scripts/merge-abilist.awk: Remove.
56925         * sysdeps/generic/libcidn.abilist: New file.
56926         * sysdeps/generic/libnss_compat.abilist: New file.
56927         * sysdeps/generic/libnss_db.abilist: New file.
56928         * sysdeps/generic/libnss_dns.abilist: New file.
56929         * sysdeps/generic/libnss_files.abilist: New file.
56930         * sysdeps/generic/libnss_hesiod.abilist: New file.
56931         * sysdeps/generic/libnss_nis.abilist: New file.
56932         * sysdeps/generic/libnss_nisplus.abilist: New file.
56933         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
56934         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
56935         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
56936         file.
56937         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
56938         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
56939         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
56940         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
56941         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
56942         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
56943         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
56944         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
56945         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
56946         file.
56947         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
56948         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
56949         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
56950         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
56951         file.
56952         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
56953         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
56954         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
56955         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
56956         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
56957         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
56958         file.
56959         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
56960         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
56961         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
56962         file.
56963         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
56964         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
56965         New file.
56966         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
56967         New file.
56968         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
56969         New file.
56970         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
56971         New file.
56972         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
56973         New file.
56974         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
56975         New file.
56976         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
56977         New file.
56978         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
56979         New file.
56980         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
56981         New file.
56982         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
56983         New file.
56984         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
56985         New file.
56986         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
56987         New file.
56988         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
56989         New file.
56990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
56991         file.
56992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
56993         New file.
56994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
56995         New file.
56996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
56997         file.
56998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
56999         New file.
57000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
57001         New file.
57002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
57003         file.
57004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
57005         New file.
57006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57007         New file.
57008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
57009         New file.
57010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
57011         New file.
57012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
57013         New file.
57014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
57015         New file.
57016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
57017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
57018         file.
57019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
57020         New file.
57021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
57022         file.
57023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
57024         file.
57025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
57026         file.
57027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
57028         file.
57029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
57030         file.
57031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57032         New file.
57033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
57034         file.
57035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
57036         file.
57037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
57038         New file.
57039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
57040         file.
57041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
57042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
57043         file.
57044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
57045         New file.
57046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
57047         file.
57048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
57049         file.
57050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
57051         file.
57052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
57053         file.
57054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
57055         file.
57056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57057         New file.
57058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
57059         file.
57060         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
57061         file.
57062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
57063         New file.
57064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
57065         file.
57066         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57067         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
57068         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
57069         file.
57070         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
57071         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
57072         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
57073         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
57074         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
57075         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
57076         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
57077         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
57078         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
57079         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
57080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
57081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
57082         file.
57083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
57084         New file.
57085         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
57086         file.
57087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
57088         file.
57089         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
57090         file.
57091         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
57092         file.
57093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
57094         file.
57095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57096         New file.
57097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
57098         New file.
57099         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
57100         file.
57101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
57102         New file.
57103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
57104         file.
57105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
57106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
57107         file.
57108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
57109         New file.
57110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
57111         file.
57112         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
57113         file.
57114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
57115         file.
57116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
57117         file.
57118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
57119         file.
57120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57121         New file.
57122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
57123         New file.
57124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
57125         file.
57126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
57127         New file.
57128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
57129         file.
57131 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
57133         * conform/conformtest.pl: Fix typo in handling typed-constant from
57134         allow-header.
57136 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
57138         * README: Cut down references to pre-2.6 Linux kernels and
57139         Linuxthreads.  Update lists of configurations in libc and ports
57140         and sort alphabetically.  Say "or newer" with Linux kernel version
57141         requirements.
57143         * config.h.in [IS_IN_build]: Allow compiling without optimization.
57145 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57147         [BZ #887]
57148         * math/libm-test.inc (logb_test_downward): New test to expose
57149         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
57150         rounding mode.
57152 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
57154         [BZ #14027]
57155         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
57156         to be done.
57157         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
57158         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
57160 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
57162         * sysdeps/unix/i386/brk.S: Remove file.
57163         * sysdeps/unix/i386/dl-brk.S: Likewise.
57164         * sysdeps/unix/i386/pipe.S: Likewise.
57165         * sysdeps/unix/i386/sigreturn.S: Likewise.
57166         * sysdeps/unix/i386/syscall.S: Likewise.
57167         * sysdeps/unix/i386/vfork.S: Likewise.
57168         * sysdeps/unix/i386/wait.S: Likewise.
57170         * sysdeps/unix/common/tcsendbrk.c: Move to ...
57171         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
57173         * configure.in (arm*-none*): Do not allow without
57174         --enable-hacker-mode.
57175         (netbsd*): Remove case setting base_os.
57176         (386bsd*): Likewise.
57177         (freebsd*): Likewise.
57178         (bsdi*): Likewise.
57179         (osf*): Likewise.
57180         (sunos*): Likewise.
57181         (ultrix*): Likewise.
57182         (newsos*): Likewise.
57183         (dynix*): Likewise.
57184         (*bsd*): Likewise.
57185         (sysv*): Likewise.
57186         (isc*): Likewise.
57187         (esix*): Likewise.
57188         (sco*): Likewise.
57189         (minix*): Likewise.
57190         (irix4*): Likewise.
57191         (irix6*): Likewise.
57192         (solaris[2-9]*): Likewise.
57193         (none): Likewise.
57194         * configure: Regenerated.
57196 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57198         [BZ #11521]
57199         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
57200         overflow or cancellation in calculating denominator.
57201         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
57202         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
57203         down expression to avoid unexpected rounding in newer GCCs.
57204         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
57206 2012-04-26  David S. Miller  <davem@davemloft.net>
57208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
57209         long-double compat symbols.
57210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
57212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
57213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
57214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
57215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
57216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
57217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
57218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
57219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
57220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
57221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
57222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57224 2012-04-25  David S. Miller  <davem@davemloft.net>
57226         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
57227         HWCAP_* values only after the memory barriers have been defined.
57228         (atomic_full_barrier): Define.
57229         (atomic_read_barrier): Define.
57230         (atomic_write_barrier): Define.
57232 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57234         * shlib-versions: Add libgcc_s version information.
57235         * sysdeps/generic/libgcc_s.h: Remove.
57236         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
57237         libgcc_s.h.
57238         * sysdeps/gnu/unwind-resume.c: Likewise.
57239         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
57241 2012-04-25  David S. Miller  <davem@davemloft.net>
57243         * sysdeps/unix/sparc/brk.S: Delete.
57244         * sysdeps/unix/sparc/dl-brk.S: Delete.
57245         * sysdeps/unix/sparc/pipe.S: Delete.
57246         * sysdeps/unix/sparc/sysdep.S: Delete.
57247         * sysdeps/unix/sparc/sysdep.h: Delete.
57248         * sysdeps/unix/sparc/vfork.S: Delete.
57249         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
57250         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
57251         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
57252         (ret_ERRVAL, r0, r1, MOVE): Define.
57253         (JUMPTARGET): Remove.
57254         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
57255         sysdeps/unix/sparc/sysdep.h
57256         (ENTRY, END): Remove.
57257         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57259 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
57261         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
57262         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
57263         -DIS_IN_build.
57265         * timezone/README: Update upstream location and email address for
57266         tzcode and tzdata.
57267         * timezone/zdump.c: Update from tzcode 2012b.
57268         * timezone/zic.c: Likewise.
57270         * configure.in (libc_cv_as_needed): Remove test.
57271         * configure: Regenerated.
57272         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
57273         conditional definition.
57274         [$(have-as-needed) != yes] (no-as-needed): Likewise.
57275         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
57276         * config.make.in (have-as-needed): Remove variable.
57278 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57279             Paul Pluzhnikov  <ppluzhnikov@google.com>
57281         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
57282         strings correctly.
57284 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
57286         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
57287         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
57288         * sysdeps/sh/strlen.S: Likewise.
57290 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57292         * sysdeps/unix/fork.S: Remove file.
57293         * sysdeps/unix/i386/fork.S: Likewise.
57294         * sysdeps/unix/sparc/fork.S: Likewise.
57296         * sysdeps/unix/system.c: Remove file.
57297         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
57299         * sysdeps/unix/getegid.S: Remove file.
57300         * sysdeps/unix/geteuid.S: Likewise.
57302 2012-04-24  Roland McGrath  <roland@hack.frob.com>
57304         * scripts/check-localplt.awk: New file.
57305         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
57306         of diff.
57307         * scripts/data/localplt-generic.data: Add a comment.
57309         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
57310         NODE when __dir_mkfile failed.
57311         * sysdeps/mach/hurd/symlinkat.c: Likewise.
57312         Reported by Ludovic Courtès <ludo@gnu.org>.
57314 2012-04-24  Andreas Jaeger  <aj@suse.de>
57316         * Makerules (common-clean): Also remove gen-as-const-headers
57317         files.
57319 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57321         * Makerules (native-compile): Do not change working directory for
57322         build.  Use $(OUTPUT_OPTION) in command.
57323         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
57325 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57327         [BZ #13886]
57328         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
57329         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
57330         * math/libm-test.inc (floor_test): Add more tests.
57331         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
57333 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57335         * sysdeps/unix/getdents.c: Remove file.
57336         * sysdeps/unix/sysv/getdents.c: Likewise.
57337         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
57339         * sysdeps/unix/syscalls.list (madvise): Add syscall from
57340         sysdeps/unix/mman/syscalls.list.
57341         (mmap): Likewise.
57342         (mprotect): Likewise.
57343         (msync): Likewise.
57344         (munmap): Likewise.
57345         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
57346         * sysdeps/unix/mman/syscalls.list: Remove.
57347         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
57349         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
57350         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
57351         * configure: Regenerated.
57352         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
57353         $(libgcc_s_suffix).
57354         * config.make.in (libgcc_s_suffix): Remove variable.
57356 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
57358         * sysdeps/unix/sysv/gethostname.c: Move to ...
57359         * sysdeps/posix/gethostname.c: ... here.
57361         * sysdeps/unix/execve.S: Remove file.
57363         * sysdeps/unix/_exit.S: Remove file.
57365 2012-04-23  Andreas Jaeger  <aj@suse.de>
57367         [BZ #13739]
57368         * manual/Makefile: Remove make dist support, there's no
57369         need for a stand-alone documentation tar ball.
57370         (TEXI2DVI): Define always, it's not in Makeconfig.
57371         (dist): Removed.
57372         (tar-it): Removed.
57373         (edition): Removed.
57374         (glibc-doc-$(edition).tar): Removed
57375         (%.Z): Removed.
57376         (%.gz): Removed.
57377         (%.uu): Removed.
57378         (ETAGS): Remove, it's in Makeconfig.
57379         (move-if-change): Remove, it's in Makeconfig.
57381 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
57383         [BZ #13970]
57384         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
57385         (strtod, strtof, strtold, strtol, strtoul, strtoq)
57386         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
57387         (strtod_l, strtof_l, strtold_l): Remove __wur.
57388         It is not necessarily an error to ignore strtol's return value.
57389         One can reliably look at the stored endptr to decide whether
57390         the number had valid syntax.
57392 2012-04-21  Andreas Jaeger  <aj@suse.de>
57394         [BZ #13739]
57395         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
57397 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
57399         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
57400         * sysdeps/unix/sysv/Versions: Remove file.
57402 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
57404         [BZ #13927]
57405         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57407 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
57409         [BZ #7064]
57410         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
57411         version from __vm86.
57413 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
57415         * sysdeps/unix/common/lxstat.c: Remove file.
57416         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
57418         * sysdeps/unix/sysv/Makefile: Remove file.
57420         * sysdeps/unix/sysv/direct.h: Remove file.
57422         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
57423         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
57424         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
57425         * sysdeps/unix/sysv/bits/signum.h: Likewise.
57426         * sysdeps/unix/sysv/bits/stat.h: Likewise.
57427         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
57428         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
57430         * sysdeps/unix/sysv/setrlimit.c: Remove file.
57432         * sysdeps/unix/xmknod.c: Remove file.
57433         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
57435         * sysdeps/unix/sysv/settimeofday.c: Remove file.
57437         * sysdeps/unix/sysv/i386/time.S: Remove file.
57439         * sysdeps/unix/fxstat.c: Remove file.
57440         * sysdeps/unix/xstat.c: Likewise.
57441         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
57443         * sysdeps/unix/sysv/sigaction.c: Remove file.
57445         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
57446         (sysdep_headers): Remove variable.
57447         [termio.h not in sysdep_headers] (generated): Likewise.
57448         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
57449         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
57450         * sysdeps/unix/sysv/tcdrain.c: Likewise.
57451         * sysdeps/unix/sysv/tcflow.c: Likewise.
57452         * sysdeps/unix/sysv/tcflush.c: Likewise.
57453         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
57454         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
57455         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
57456         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
57457         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
57459         * sysdeps/unix/siglist.c: Remove file.
57461         * sysdeps/unix/getppid.S: Remove file.
57463         * sysdeps/unix/mkdir.c: Remove file.
57464         * sysdeps/unix/rmdir.c: Likewise.
57466 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
57468         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
57469         ERR_MAX value.
57470         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
57471         errlist-compat value.
57473 2012-04-18  David S. Miller  <davem@davemloft.net>
57475         * sysdeps/generic/memcopy.h (reg_char): Delete.
57476         * debug/strcat_chk.c: Use char, not reg_char.
57477         * debug/strcpy_chk.c: Likewise.
57478         * debug/strncat_chk.c: Likewise.
57479         * debug/strncpy_chk.c: Likewise.
57480         * string/memchr.c: Likewise.
57481         * string/memrchr.c: Likewise.
57482         * string/rawmemchr.c: Likewise.
57483         * string/strcat.c: Likewise.
57484         * string/strchr.c: Likewise.
57485         * string/strchrnul.c: Likewise.
57486         * string/strcmp.c: Likewise.
57487         * string/strcpy.c: Likewise.
57488         * string/strncat.c: Likewise.
57489         * string/strncmp.c: Likewise.
57490         * string/strncpy.c: Likewise.
57492 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57494         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
57495         __builtin_memcopy is called when src and dest ranges are known to not
57496         overlap.
57498 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57500         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
57501         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
57502         fwd_align_merge macro call.
57503         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
57504         bwd_align_merge macro call.
57505         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57507 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57509         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
57510         bwd_align_merge macros.
57511         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
57512         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
57513         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57515 2012-04-18  David S. Miller  <davem@davemloft.net>
57517         * sysdeps/sparc/sparc64/memcopy.h: Delete.
57519 2012-04-18  Andreas Jaeger  <aj@suse.de>
57521         [BZ# 6794]
57522         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
57523         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
57524         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57526         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
57527         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
57528         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57530         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
57531         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
57532         Adjust for changed ldbl-128 files.
57534         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
57535         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
57536         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57538 2012-04-17  David S. Miller  <davem@davemloft.net>
57540         * sysdeps/sparc/sparc32/memcopy.h: Delete.
57542 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
57544         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
57545         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
57546         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
57547         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
57548         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
57549         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
57551 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57553         [BZ #6794]
57554         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
57555         * math/libm-test.inc: Add ilogb errno and exception tests.
57556         * math/w_ilogb.c: New file: ilogb wrapper.
57557         * math/w_ilogbf.c: New file: ilogbf wrapper.
57558         * math/w_ilogbl.c: New file: ilogbl wrapper.
57559         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
57560         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
57561         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
57562         exception being thrown with 0.0 as argument.
57563         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
57564         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
57565         exception being thrown with 0.0 as argument.
57566         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
57567         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57568         exception being thrown with 0.0 as argument.
57569         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
57570         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57571         exception being thrown with 0.0 as argument.
57572         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
57573         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
57574         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
57575         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
57576         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
57577         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
57578         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
57579         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
57580         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
57582 2012-04-17  Petr Baudis  <pasky@ucw.cz>
57584         * include/sys/uio.h: Change __vector to __iovec to avoid clash
57585         with altivec.
57587 2012-04-16  Marek Polacek  <polacek@redhat.com>
57589         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
57591 2012-04-16  Marek Polacek  <polacek@redhat.com>
57593         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
57594         operands of fdivp instruction.
57596 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57598         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
57599         * elf/tst-auditmod3b.c: Likewise.
57600         * elf/tst-auditmod4b.c: Likewise.
57601         * elf/tst-auditmod5b.c: Likewise.
57602         * elf/tst-auditmod6b.c: Likewise.
57603         * elf/tst-auditmod6c.c: Likewise.
57604         * elf/tst-auditmod7b.c: Likewise.
57605         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
57606         * sysdeps/x86_64/preconfigure.in: Likewise.
57607         * sysdeps/x86_64/preconfigure: Regenerated.
57609 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57611         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
57612         __ILP32__.
57614 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
57616         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57617         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
57619 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
57621         [BZ #13973]
57622         * locale/iso-639.def: Fix gl language name. Spotted by
57623         Yaron Shahrabani.
57625 2012-04-12  Roland McGrath  <roland@hack.frob.com>
57627         [BZ #2074]
57628         * libio/libio.h (__io_write_fn): Update comment.
57630 2012-04-12  Petr Baudis  <pasky@ucw.cz>
57632         [BZ #2074]
57633         * stdio.texi (Hook Functions): The user provided writer function
57634         is not allowed to return -1.
57636 2012-04-11  David S. Miller  <davem@davemloft.net>
57638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57640 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
57642         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
57643         Add a leading slash to rtkaio.
57645 2012-04-11  Jim Meyering  <meyering@redhat.com>
57647         [BZ #11959]
57648         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
57649         It is not necessarily an error to ignore fwrite's return
57650         value.  One can reliably use ferror to test for errors after
57651         the fact.
57653 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57655         * bits/types.h (__snseconds_t): New type.
57656         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
57658         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
57659         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57660         (__SNSECONDS_T_TYPE): Likewise.
57661         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57662         (__SNSECONDS_T_TYPE): Likewise.
57663         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57664         (__SNSECONDS_T_TYPE): Likewise.
57666 2012-04-10  Andreas Jaeger  <aj@suse.de>
57668         [BZ #2636]
57669         * manual/time.texi (Processor Time): Return type of times is
57670         elapsed real time since an arbitrary point in the past.
57671         (CPU Time): Move CLK_TCK from here...
57672         (Processor Time): ...to here.  Correct description.
57673         * manual/conf.texi (Constants for Sysconf): Correct description of
57674         _SC_CLK_TCK.
57676 2012-04-10  David S. Miller  <davem@davemloft.net>
57678         [BZ #13967]
57679         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
57680         where the is a gap between DT_REL(A) and DT_JMPREL.
57682 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57684         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
57685         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57686         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57688 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57690         * elf/dl-support.c (_dl_inhibit_cache): New variable.
57691         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
57692         (dl_main): Handle --inhibit-cache.
57693         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
57694         _dl_inhibit_cache.
57695         * elf/dl-load.c (_dl_map_object): Use it.
57696         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
57698 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57700         [BZ #13872]
57701         * sysdeps/i386/fpu/e_powl.S (p78): New object.
57702         (__ieee754_powl): Saturate large exponents rather than testing for
57703         overflow of y*log2(x).
57704         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57705         * math/libm-test.inc (pow_test): Do not permit spurious overflow
57706         exceptions.
57708         [BZ #11521]
57709         * math/s_ctan.c: Include <float.h>.
57710         (__ctan): Avoid internal overflow or cancellation in calculating
57711         denominator.
57712         * math/s_ctanf.c: Likewise.
57713         * math/s_ctanl.c: Likewise.
57714         * math/s_ctanh.c: Likewise.
57715         * math/s_ctanhf.c: Likewise.
57716         * math/s_ctanhl.c: Likewise.
57717         * math/libm-test.inc (ctan_test): Add more tests.
57718         (ctanh_test): Likewise.
57719         * sysdeps/i386/fpu/libm-test-ulps: Update.
57720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57722 2012-04-09  Andreas Jaeger  <aj@suse.de>
57724         [BZ #6894]
57725         * manual/filesys.texi (Directory Entries): Mention that d_namlen
57726         is an optional BSD extension.
57728         [BZ #10254]
57729         * manual/stdio.texi (Opening Streams): Document additional fopen
57730         parameters.
57732 2012-04-09  Roland McGrath  <roland@hack.frob.com>
57734         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
57735         %eax without telling the compiler.
57737 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
57739         [BZ # 13963]
57740         * manual/install.texi: Use sourceware.org.
57742 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57744         [BZ #13873]
57745         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
57746         (__ieee754_pow): Generate overflow and underflow using huge*huge
57747         and tiny*tiny rather than just returning constant infinity or zero
57748         for large exponents.
57749         * math/libm-test.inc (pow_test): Require overflow exceptions for
57750         applicable cases of large exponents.
57752         [BZ #706]
57753         * sysdeps/i386/fpu/e_pow.S (p10): New object.
57754         (__ieee754_pow): Use iterative multiplication algorithm only for
57755         integer exponents with absolute value below 1024.  Check for odd
57756         integer exponents when using algorithm for real exponents.
57757         * math/libm-test.inc (pow_test): Add more tests.
57758         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57760 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
57762         [BZ #13705]
57763         * math/libm-test.inc (exp_test): Do not allow overflow exception
57764         on underflow test.
57766 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
57768         [BZ #13705]
57769         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
57770         instead of __kernel_standard_f.
57772 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
57774         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
57775         * sysdeps/x86_64/memset_chk.S: Likewise.
57777 2012-04-08  Andreas Jaeger  <aj@suse.de>
57779         [BZ #10153]
57780         * manual/startup.texi (Environment Access): Describe return value
57781         for putenv and setenv.
57783         [BZ #6895]
57784         * manual/filesys.texi (Directory Entries): Add description for
57785         DT_LNK.
57787         [BZ #6890]
57788         * manual/filesys.texi (Directory Entries): Clarify that it's file
57789         system not operating system in the description of DT_UNKNOWN.
57791         [BZ #6578]
57792         * manual/syslog.texi (closelog): Fix reference, it's openlog.
57794 2012-04-08  Stephen Compall  <s11@member.fsf.org>
57796         [BZ #6649]
57797         * manual/llio.texi (Opening and Closing Files): Add cross
57798         reference to explain mode argument.
57800 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
57802         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
57803         * sysdeps/x86_64/memset_chk.S: Likewise.
57805 2012-04-07  David S. Miller  <davem@davemloft.net>
57807         * elf/elf.h (R_SPARC_WDISP10): Define.
57808         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
57809         R_SPARC_SIZE32.
57810         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
57811         R_SPARC_SIZE64 and R_SPARC_H34.
57813 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
57815         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
57816         conditions and remove no longer applicable assertion.
57818 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57820         * bits/byteswap.h: Include <features.h>.
57821         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57822         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57824 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57826         * bits/byteswap.h (__bswap_16): Removed.
57827         Include <bits/byteswap-16.h> to get __bswap_16.
57828         * sysdeps/i386/bits/byteswap.h: Likewise.
57829         * sysdeps/s390/bits/byteswap.h: Likewise.
57830         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57831         * bits/byteswap-16.h: New file.
57832         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57833         * sysdeps/s390/bits/byteswap-16.h: Likewise.
57834         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
57835         * string/Makefile (headers): Add bits/byteswap-16.h.
57837 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57839         [BZ #13895]
57840         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
57841         extra indirection.
57842         * nss/Makefile (tests-static, tests): Add tst-nss-static.
57843         * nss/tst-nss-static.c: New.
57845 2012-04-06  Robert Millan  <rmh@gnu.org>
57847         [BZ #6486]
57848         * manual/llio.texi (File Position Primitive): lseek
57849         refers to WHENCE when it really means OFFSET.
57851 2012-04-06  Andreas Jaeger  <aj@suse.de>
57853         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
57854         strncmp declarations.
57856         * abilist/libc.abilist: Add __poll and __ppoll.
57858 2012-04-05  David S. Miller  <davem@davemloft.net>
57860         * scripts/check-local-headers.sh: Accept a host triplet in the
57861         path matched by the exclude regexp.
57863         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
57864         definition.
57865         * sysdeps/powerpc/powerpc32/dl-machine.h
57866         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
57867         * sysdeps/s390/s390-32/dl-machine.h
57868         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57869         * sysdeps/sparc/sparc32/dl-machine.h
57870         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57871         * sysdeps/sparc/sparc64/dl-machine.h
57872         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57874         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
57875         lazy binding.
57876         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
57877         undefined symbol errors.
57879         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
57880         DT_NEEDED entries.
57882 2012-04-05  Michael Matz  <matz@suse.de>
57884         [BZ #13592]
57885         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
57887 2012-04-05  Andreas Jaeger  <aj@suse.de>
57889         [BZ #13908]
57890         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
57891         comment.
57893 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57895         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
57896         which ROUND is no valid rounding mode.
57898 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57900         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
57901         read again.
57902         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
57904 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57906         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
57907         an exception using FPU order intentionally.
57909 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57911         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
57912         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
57913         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
57914         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
57916 2012-04-05  Simon Josefsson  <simon@josefsson.org>
57918         [BZ #12340]
57919         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
57920         EINVAL when BUFLEN is too smal.
57922 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
57924         [BZ #13553]
57925         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
57926         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
57928 2012-04-03  Andreas Jaeger  <aj@suse.de>
57930         [BZ #13938]
57931         * manual/setjmp.texi (System V contexts): Fix sentence.
57933         [BZ #13926]
57934         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
57935         New macro for this case.
57936         [!__GNUC__] (__bswap_64): New inline function for this case.
57937         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57938         * bits/byteswap.h: Likewise.
57939         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
57940         ull, guard with __GLIBC_HAVE_LONG_LONG.
57942         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
57943         __GLIBC_HAVE_LONG_LONG.
57945         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
57946         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
57948 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57950         [BZ #13691]
57951         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
57952         inptr and inend, rather than using last_ch.
57954 2012-04-02  David S. Miller  <davem@davemloft.net>
57956         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
57957         * stdio-common/printf-parse.h (read_int): Change return type to
57958         'int', return -1 on INT_MAX overflow.
57959         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
57960         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
57961         overflows INT_MAX.  Check for overflow of in-format-string precision
57962         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
57963         SIZE_MAX not INT_MAX for integer overflow test.
57964         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
57965         skip the construct in the format string but do not record anything.
57966         * stdio-common/bug22.c: Adjust to test both width/prevision
57967         INT_MAX overflow as well as total length INT_MAX overflow.  Check
57968         explicitly for proper errno values.
57970 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
57972         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
57973         CHAR_MAX.
57974         * string/test-strcmp.c [! WIDE]: Likewise.
57975         * time/tst-mktime2.c: Likewise for INT_MAX.
57976         * string/test-string.h: #include <sys/param.h> for MIN.
57978         * csu/init-first.c (__libc_init_first): Call __ctype_init.
57979         * sysdeps/i386/init-first.c (init): Likewise.
57980         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
57981         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
57982         * sysdeps/sh/init-first.c (init): Likewise.
57984 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
57986         * po/ru.po: Update from translation team.
57987         * po/vi.po: Likewise.
57989 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57991         * resolv/nss_dns/dns-host.c: Merge copyright years.
57993 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57995         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57996         Optimize memcpy with prefetch if
57997         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
57998         src, dst pointers have unequal 16 byte alignments.
58000 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58002         [BZ #13928]
58003         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
58004         from a CNAME entry and return the minimum ttl for the query.
58005         (gaih_getanswer_slice): Likewise.
58007 2012-03-30  Jeff Law  <law@redhat.com>
58009         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
58010         due to long keys.
58011         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
58012         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
58014         * resolv/nss_dns/dns-host.c: Update copyright year.
58016 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
58018         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
58019         requests to save a system call.  Fix check that all bytes are sent.
58021         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
58022         comments for sendmmsg.
58024 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58026         [BZ #13691]
58027         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
58028         with only 1 character between 0x0041 and 0x01b0.
58029         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
58030         * wcsmbs/tst-mbsnrtowcs.c: New file.
58032 2012-03-29  David S. Miller  <davem@davemloft.net>
58034         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
58035         small copies by hand.
58037 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58039         [BZ #13761]
58040         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
58041         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
58042         group memberships.
58044 2012-03-28  David S. Miller  <davem@davemloft.net>
58046         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
58047         that branches into memcpy.
58048         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58049         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
58050         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
58051         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
58052         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
58053         bits.
58054         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
58055         implementation too.
58056         * sysdeps/sparc/mempcpy.S: New file.
58058         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
58059         the IFUNC routine in the libc case.
58060         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58062         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
58063         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
58064         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
58065         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
58066         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
58067         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
58068         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
58069         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
58071         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
58072         loop to 256 bytes instead of 64 bytes and fix test signedness.
58074         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
58075         * sysdeps/sparc/sparc32/Makefile: rather than here...
58076         * sysdeps/sparc/sparc64/Makefile: and here.
58078 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
58080         * malloc/mallocbug.c: Avoid warnings about unused variables.
58082 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58084         [BZ #13760]
58085         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
58086         in the right place. Discard and retry query if response is
58087         larger than input buffer size.
58089 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
58091         [BZ #369]
58092         [BZ #2678]
58093         [BZ #3866]
58094         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
58095         x for large integer exponent.
58096         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
58097         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
58098         sign of result as needed afterwards.
58099         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
58100         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
58101         result for underflowing pow the same as for overflow.
58102         (__kernel_standard_l): Handle powl overflow and underflow here
58103         rather than calling __kernel_standard.
58104         * math/libm-test.inc (pow_test): Add more tests.
58106         [BZ #3868]
58107         [BZ #13879]
58108         [BZ #13910]
58109         [BZ #13911]
58110         [BZ #13912]
58111         [BZ #13913]
58112         [BZ #13915]
58113         [BZ #13916]
58114         [BZ #13917]
58115         [BZ #13918]
58116         [BZ #13919]
58117         [BZ #13920]
58118         [BZ #13921]
58119         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
58120         * sysdeps/ieee754/k_standard.c: Include <float.h>.
58121         (__kernel_standard_l): New function.
58122         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
58123         __kernel_standard.
58124         * math/w_acosl.c (__acosl): Likewise.
58125         * math/w_asinl.c (__asinl): Likewise.
58126         * math/w_atan2l.c (__atan2l): Likewise.
58127         * math/w_atanhl.c (__atanhl): Likewise.
58128         * math/w_coshl.c (__coshl): Likewise.
58129         * math/w_exp10l.c (__exp10l): Likewise.
58130         * math/w_exp2l.c (__exp2l): Likewise.
58131         * math/w_fmodl.c (__fmodl): Likewise.
58132         * math/w_hypotl.c (__hypotl): Likewise.
58133         * math/w_j0l.c (__j0l, __y0l): Likewise.
58134         * math/w_j1l.c (__j1l, __y1l): Likewise.
58135         * math/w_jnl.c (__jnl, __ynl): Likewise.
58136         * math/w_lgammal.c (__lgammal): Likewise.
58137         * math/w_log10l.c (__log10l): Likewise.
58138         * math/w_log2l.c (__log2l): Likewise.
58139         * math/w_logl.c (__logl): Likewise.
58140         * math/w_powl.c (__powl): Likewise.
58141         * math/w_remainderl.c (__remainderl): Likewise.
58142         * math/w_scalbl.c (sysv_scalbl): Likewise.
58143         * math/w_sinhl.c (__sinhl): Likewise.
58144         * math/w_sqrtl.c (__sqrtl): Likewise.
58145         * math/w_tgammal.c (__tgammal): Likewise.
58146         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
58147         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
58148         * math/libm-test.inc (acos_test): Add more tests.
58149         (acosh_test): Likewise.
58150         (asin_test): Likewise.
58151         (atanh_test): Likewise.
58152         (exp_test): Likewise.
58153         (exp10_test): Likewise.
58154         (exp2_test): Likewise.
58155         (expm1_test): Likewise.
58156         (lgamma_test): Likewise.
58157         (log_test): Likewise.
58158         (log10_test): Likewise.
58159         (log1p_test): Likewise.
58160         (log2_test): Likewise.
58161         (pow_test): Do not allow some spurious overflow exceptions.
58162         (sqrt_test): Add more tests.
58163         (tgamma_test): Likewise.
58164         (y0_test): Likewise.
58165         (y1_test): Likewise.
58166         (yn_test): Likewise.
58168 2012-03-27  Anton Blanchard  <anton@samba.org>
58170         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
58171         MAP_HUGETLB.
58172         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58173         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58174         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58176 2012-03-27  David S. Miller  <davem@davemloft.net>
58178         * conform/Makefile: Run run-conformtest.sh using $(BASH).
58180         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
58181         have-as-vis3 check.
58183 2012-03-27  Andreas Jaeger  <aj@suse.de>
58185         * sysdeps/x86_64/elf/configure.in: Moved to ...
58186         * sysdeps/x86_64/configure.in: ... here.
58187         * sysdeps/x86_64/elf/start.S: Moved to ...
58188         * sysdeps/x86_64/start.S: ... here.
58189         * sysdeps/x86_64/elf/configure: Delete.
58191         * sysdeps/x86_64/configure.in: Merge contents from
58192         sysdeps/i386/configure.in (without i686 check).
58194         * sysdeps/i386/elf/Versions: Merge into ...
58195         * sysdeps/i386/Versions: ... this.
58196         * sysdeps/i386/elf/Versions: Delete file.
58197         * sysdeps/i386/elf/start.S: Moved to ...
58198         * sysdeps/i386/start.S: ...here.
58199         * sysdeps/i386/elf/configure.in: Merge into...
58200         * sysdeps/i386/configure.in: ...here.
58201         * sysdeps/i386/elf/configure.in: Delete file.
58202         * sysdeps/i386/elf/configure: Delete file.
58204         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
58205         * debug/backtracesyms.c: ... here.
58206         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
58207         * debug/backtracesymsfd.c: ... here.
58208         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
58209         * sysdeps/generic/ifunc-sel.h: ... here.
58211         * sysdeps/unix/i386/start.c: Delete file.
58212         * sysdeps/unix/sparc/start.c: Delete file.
58213         * sysdeps/unix/start.c: Delete file.
58215         * sysdeps/sh/elf/configure.in: Moved to ...
58216         * sysdeps/sh/configure.in: ... here.
58217         * sysdeps/sh/elf/start.S: Moved to ...
58218         * sysdeps/sh/start.S: ... here.
58219         * sysdeps/sh/elf/configure: Delete file.
58221         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
58222         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
58223         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
58224         * sysdeps/powerpc/powerpc64/entry.h: ... here.
58225         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
58226         * sysdeps/powerpc/powerpc64/start.S: here.
58227         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
58228         * sysdeps/powerpc/powerpc64/Makefile: ... this.
58229         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
58230         * sysdeps/powerpc/powerpc64/configure.in: ... this.
58231         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
58233         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
58234         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
58235         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
58236         * sysdeps/powerpc/powerpc32/start.S: ... here.
58237         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
58238         * sysdeps/powerpc/powerpc32/configure.in: ... this.
58239         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
58241         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
58242         * sysdeps/powerpc/ifunc-sel.h: ... here.
58243         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
58244         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
58246         * sysdeps/sparc/elf/configure.in: Moved to ...
58247         * sysdeps/sparc/configure.in: ... here.
58248         * sysdeps/sparc/elf/configure: Delete file.
58249         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
58250         * sysdeps/sparc/sparc32/start.S: ... here.
58251         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
58252         * sysdeps/sparc/sparc64/start.S: ... here.
58253         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
58254         * sysdeps/sparc/sparc32/Makefile: ... this.
58255         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
58256         * sysdeps/sparc/sparc64/Makefile: ... this.
58258         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
58259         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
58260         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
58261         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
58262         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
58263         * sysdeps/s390/s390-32/setjmp.S: ... here.
58264         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
58265         * sysdeps/s390/s390-32/configure.in: ... here.
58266         * sysdeps/s390/s390-32/elf/configure: Delete file.
58267         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
58268         * sysdeps/s390/s390-32/start.S: ... here.
58270         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
58271         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
58272         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
58273         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
58274         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
58275         * sysdeps/s390/s390-64/setjmp.S: ... here.
58276         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
58277         * sysdeps/s390/s390-64/configure.in: ... here
58278         * sysdeps/s390/s390-64/elf/configure: Delete file.
58279         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
58280         * sysdeps/s390/s390-64/start.S: ... here.
58281         * sysdeps/s390/s390-64/elf/configure: Delete.
58283         * configure.in: Remove support for elf directories in sysdeps.
58285         * configure: Regenerated.
58286         * sysdeps/i386/configure: Regenerated.
58287         * sysdeps/powerpc/powerpc32/configure: Regenerated.
58288         * sysdeps/powerpc/powerpc64/configure: Regenerated.
58289         * sysdeps/s390/s390-32/configure: Regenerated.
58290         * sysdeps/s390/s390-64/configure: Regenerated.
58291         * sysdeps/sh/configure: Regenerated.
58292         * sysdeps/sparc/configure: Regenerated.
58293         * sysdeps/x86_64/configure: Regenerated.
58295 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
58297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58299         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
58300         denormal result into account.
58302 2012-03-25  Roland McGrath  <roland@hack.frob.com>
58304         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
58305         Reported by Allan McRae <allan@archlinux.org>.
58307 2012-03-23  Jeff Law  <law@redhat.com>
58309         * nss/getnssent.c (__nss_getent): Fix typo.
58311 2012-03-23  David S. Miller  <davem@davemloft.net>
58313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58315 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
58317         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
58318         to pad to uint64_t for each field.
58319         (dl_tls_index): Replace unsigned long with uint64_t.
58321 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
58322         Paul Pluzhnikov  <ppluzhnikov@google.com>
58324         [BZ #6528]
58325         * grp/Makefile (otherlibs): Don't set it.
58326         * inet/Makefile (otherlibs): Likewise.
58327         * login/Makefile (otherlibs): Likewise.
58328         * nscd/Makefile (otherlibs): Likewise.
58329         * posix/Makefile (otherlibs): Likewise.
58330         * pwd/Makefile (otherlibs): Likewise.
58331         * rt/Makefile (otherlibs): Likewise.
58332         * sunrpc/Makefile (otherlibs): Likewise.
58333         * nss/Makefile (otherlibs): Likewise.
58334         Add libnss_files to routines and static-only-routines.
58335         ($(objpfx)getent): Remove rule.
58336         * resolv/Makefile: Add libnss_dns and libresolv to routines and
58337         static-only-routines.
58339 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
58341         [BZ #13892]
58342         * math/s_cexp.c: Include <float.h>.
58343         (__cexp): Handle exp result overflowing not necessarily
58344         overflowing both real and imaginary parts of result.
58345         * math/s_cexpf.c: Likewise.
58346         * math/s_cexpl.c: Likewise.
58347         * math/libm-test.inc (cexp_test): Add more tests.
58348         * sysdeps/i386/fpu/libm-test-ulps: Update.
58349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58351 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58353         * include/link.h (ELFW): New macro.
58354         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
58355         Replace ELF64_R_TYPE with ELFW(R_TYPE).
58357 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58359         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
58360         with uint64_t.
58362 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58364         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
58365         declaration.
58366         (struct La_x32_retval): Likewise.
58368 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58370         * sysdeps/x86_64/preconfigure.in: New file.
58371         * sysdeps/x86_64/preconfigure: New generated file.
58373 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
58375         [BZ #13824]
58376         * math/e_exp2l.c: Include <float.h>.
58377         (__ieee754_exp2l): Handle overflow and underflow cases
58378         separately.  Only pass fractional part of argument to
58379         __ieee754_expl.
58380         * math/libm-test.inc (exp2_test): Add more tests.
58382         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
58383         negating x to take absolute value.
58384         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
58385         Likewise.
58386         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
58387         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
58388         Likewise.
58389         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
58390         computing low part if x was negated.
58391         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
58393 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58395         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
58396         la_x32_gnu_pltexit.
58397         (pltexit): Cast int_retval to ptrdiff_t.
58398         * elf/tst-auditmod3b.c: Likewise.
58399         * elf/tst-auditmod4b.c: Likewise.
58400         * elf/tst-auditmod5b.c: Likewise.
58401         * elf/tst-auditmod6b.c: Likewise.
58402         * elf/tst-auditmod6c.c: Likewise.
58403         * elf/tst-auditmod7b.c: Likewise.
58405         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
58406         and x32_gnu_pltexit.
58408         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
58409         __ELF_NATIVE_CLASS.
58410         (La_x32_regs): New macro.
58411         (La_x32_retval): Likewise.
58412         (la_x32_gnu_pltenter): New function prototype.
58413         (la_x32_gnu_pltexit): Likewise.
58415 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
58417         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
58418         exponent.
58420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58422         * configure.in (libc_cv_cc_nofma): Check for option to disable
58423         generation of FMA instructions.
58424         * configure: Regenerate.
58425         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
58426         * sysdeps/ieee754/dbl-64/Makefile: New file.
58427         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
58428         Remove brandred-fma4.
58429         (CFLAGS-brandred-fma4.c): Remove.
58430         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
58431         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
58432         define.
58433         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
58434         define.
58436 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58438         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58439         LLONG_MAX != LONG_MAX.
58440         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58441         (_fitoa_word): Likewise.
58442         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
58443         LLONG_MAX != LONG_MAX.
58444         * stdio-common/_itowa.h: Include <_itoa.h>.
58445         (_itowa_word): Use _ITOA_WORD_TYPE on value.
58446         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
58447         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
58448         only if not defined.
58449         (_ITOA_WORD_TYPE): Likewise.
58450         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58451         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
58453 2012-03-21  David S. Miller  <davem@davemloft.net>
58455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58457 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58459         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
58460         of x86_64 when setting libc_cv_slibdir, libdir and
58461         libc_cv_localedir.
58462         * sysdeps/unix/sysv/linux/configure: Regenerated.
58464 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58466         * manual/lang.texi (Old Varargs): Remove section.
58467         (How Variadic): Update menu.
58468         (va_start): Do not mention varargs.h.
58470 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58471             Joseph Myers  <joseph@codesourcery.com>
58473         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
58474         link test.
58475         * configure: Regenerated.
58477 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58479         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
58480         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
58481         conformtest.pl
58483 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58485         * NOTES: Remove.
58486         * Makefile (files-for-dist): Remove NOTES.
58487         (NOTES): Remove rule.
58488         * README: Don't refer to NOTES.
58489         * manual/creature.texi: Don't include macros.texi.
58490         * manual/intro.texi (creature.texi): Remove comment referring to
58491         NOTES.
58493         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
58494         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
58495         * configure: Regenerated.
58496         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
58497         LIBC_TRY_CC_OPTION.
58498         (libc_cv_as_i686): Likewise.
58499         (libc_cv_cc_avx): Likewise.
58500         (libc_cv_cc_sse2avx): Likewise.
58501         (libc_cv_cc_fma4): Likewise.
58502         (libc_cv_cc_novzeroupper): Likewise.
58503         * sysdeps/i386/configure: Regenerated.
58505         [BZ #13883]
58506         * sysdeps/i386/fpu/s_cexp.S: Remove.
58507         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58508         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58509         * math/libm-test.inc (cexp_test): Add more tests.
58510         * sysdeps/i386/fpu/libm-test-ulps: Update.
58511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58513 2012-03-21  Allan McRae  <allan@archlinux.org>
58515         * timezone/Makefile: Do not install iso3166.tab and zone.tab
58517 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58519         [BZ #13871]
58520         * math/w_exp2.c: Do not include <float.h>.
58521         (o_threshold, u_threshold): Remove.
58522         (__exp2): Calculate result before checking finiteness and calling
58523         __kernel_standard.
58524         * math/w_exp2f.c: Likewise.
58525         * math/w_exp2l.c: Likewise.
58526         * math/libm-test.inc (exp2_test): Require overflow exception for
58527         1e6 input.
58529         [BZ #3866]
58530         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
58531         range of signed 64-bit integers before using fistpll.  Remove
58532         checks for whether integers fit in mantissa bits.
58533         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
58534         the range of signed 32-bit integers before using fistpl.  Remove
58535         checks for whether integers fit in mantissa bits.
58536         * sysdeps/i386/fpu/e_powl.S (p64): New object.
58537         (__ieee754_powl): Test for y outside the range of signed 64-bit
58538         integers before using fistpll.  Reduce 64-bit values to 63-bit
58539         ones as needed.
58540         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
58541         divide-by-zero is raised for zero to large negative powers.
58542         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
58543         (__ieee754_powl): Test for y outside the range of signed 64-bit
58544         integers before using fistpll.  Reduce 64-bit values to 63-bit
58545         ones as needed.
58546         * math/libm-test.inc (pow_test): Add more tests.
58548 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58550         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
58551         <stdio-common/_itoa.h>.
58552         * debug/segfault.c: Likewise.
58553         * elf/dl-cache.c: Likewise.
58554         * elf/dl-minimal.c: Likewise.
58555         * elf/dl-misc.c: Likewise.
58556         * elf/dl-sysdep.c: Likewise.
58557         * elf/dl-version.c: Likewise.
58558         * elf/rtld.c: Likewise.
58559         * hurd/hurdsock.c: Likewise.
58560         * hurd/lookup-retry.c: Likewise.
58561         * malloc/malloc.c: Likewise.
58562         * malloc/mtrace.c: Likewise.
58563         * nscd/nscd_getgr_r.c: Likewise.
58564         * nscd/nscd_getpw_r.c: Likewise.
58565         * nscd/nscd_getserv_r.c: Likewise.
58566         * posix/getopt_init.c: Likewise.
58567         * posix/wordexp.c: Likewise.
58568         * stdio-common/_itoa.c: Likewise.
58569         * stdio-common/printf_fphex.c: Likewise.
58570         * stdio-common/vfprintf.c: Likewise.
58571         * string/_strerror.c: Likewise.
58572         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
58573         * sysdeps/i386/i686/hp-timing.h: Likewise.
58574         * sysdeps/mach/_strerror.c: Likewise.
58575         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
58576         * sysdeps/mach/hurd/sethostid.c: Likewise.
58577         * sysdeps/mach/hurd/xmknodat.c: Likewise.
58578         * sysdeps/mach/xpg-strerror.c: Likewise.
58579         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58580         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58581         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
58582         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
58583         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58584         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
58585         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
58586         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
58587         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
58588         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
58589         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
58590         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58591         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
58592         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58593         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58594         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
58595         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
58596         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
58597         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
58598         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
58599         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
58601         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
58603         * stdio-common/_itoa.h: Moved to ...
58604         * sysdeps/generic/_itoa.h: Here.
58606         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
58608         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
58609         instead of "_itoa.h" and "_itowa.h".
58610         * stdio-common/vfprintf.: Likewise.
58612 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58614         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
58615         <bits/wordsize.h>.
58616         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
58617         (__signbit): Likwise.
58618         (llrintf): Likwise.
58619         (llrint): Likwise.
58621 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58623         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
58624         __WORDSIZE != 64.
58626 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
58628         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
58629         OVERFLOW_EXCEPTION_OK.
58630         * math/libm-test.inc ("Philosophy"): Update comment about
58631         exception testing.
58632         (OVERFLOW_EXCEPTION): Define.
58633         (OVERFLOW_EXCEPTION_OK): Likewise.
58634         (INVALID_EXCEPTION_OK): Renumber.
58635         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58636         (IGNORE_ZERO_INF_SIGN): Likewise.
58637         (test_exceptions): Handle FE_OVERFLOW.
58638         (exp10_test): Expect overflow exceptions.
58639         (exp2_test): Likewise.
58640         (expm1_test): Likewise.
58641         (nextafter_test): Likewise.
58642         (pow_test): Likewise.
58643         (scalbn_test): Likewise.
58644         (scalbln_test): Likewise.
58646 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58648         * sysdeps/x86_64/bits/atomic.h
58649         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
58650         64bit integer.
58651         (atomic_exchange_acq): Likewise.
58652         (__arch_exchange_and_add_body): Likewise.
58653         (__arch_add_body): Likewise.
58654         (atomic_add_negative): Likewise.
58655         (atomic_add_zero): Likewise.
58657 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58659         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
58660         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
58662 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58664         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
58665         Check __x86_64__ instead of __WORDSIZE.
58667 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58669         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
58671 2012-03-19  David S. Miller  <davem@davemloft.net>
58673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58675         * sysdeps/sparc/fpu/fenv_private.h: New file.
58676         * sysdeps/sparc/fpu/math_private.h: Use it.
58677         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
58678         Remove.
58679         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
58680         (libc_feholdexcept_setroundl): Remove.
58681         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
58682         Remove.
58683         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
58684         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
58686 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58688         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
58689         int64_t instead of long int.
58690         (INSERT_WORDS64): Likwise.
58692 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58694         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
58695         _Unwind_GetCFA return to _Unwind_Ptr first.
58697 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
58699         [BZ #13629]
58700         * math/s_clog.c: Include <float.h>.
58701         (__clog): Scale large or subnormal inputs.
58702         * math/s_clogf.c: Likewise.
58703         * math/s_clogl.c: Likewise.
58704         * math/s_clog10.c: Include <float.h>.
58705         (M_LOG10_2): Define.
58706         (__clog10): Scale large or subnormal inputs.
58707         * math/s_clog10f.c: Likewise.
58708         * math/s_clog10l.c: Likewise.
58709         * math/libm-test.inc (clog_test): Add more tests.
58710         (clog10_test): Likewise.
58711         * sysdeps/i386/fpu/libm-test-ulps: Update.
58712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58714         [BZ #11451]
58715         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
58716         x and y.
58717         * math/libm-test.inc (atan2_test): Add another test.
58719         * Makerules (common-objdir-compile): Remove.
58720         * sysdeps/unix/Makefile (config-generated): Do not add
58721         $(unix-generated) to variable.
58722         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
58723         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
58724         Remove rule.
58725         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
58726         Likewise.
58727         [generic bits/local_lim.h] (before-compile): Do not append to
58728         variable.
58729         [generic bits/local_lim.h] (common-generated): Likewise.
58730         [generic sys/param.h] (before-compile): Do not append to variable.
58731         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
58732         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
58733         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
58734         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
58735         include.
58736         [generic sys/param.h] (sys/param.h-includes): Remove variable.
58737         [generic sys/param.h] (sys/param.h-includes): Remove rule.
58738         [generic sys/param.h] ($(addprefix
58739         $(common-objpfx),$(sys/param.h-includes))): Likewise.
58740         [generic sys/param.h] (common-generated): Do not append to
58741         variable.
58742         [generic sys/param.h] (sysdep_headers): Likewise.
58743         [generic bits/errno.h] (before-compile): Do not append to
58744         variable.
58745         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
58746         rule.
58747         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
58748         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
58749         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
58750         [generic bits/errno.h] (common-generated): Do not append to
58751         variable.
58752         [generic bits/ioctls.h] (before-compile): Do not append to
58753         variable.
58754         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
58755         rule.
58756         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
58757         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
58758         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
58759         rule.
58760         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
58761         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
58762         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
58763         [generic bits/ioctls.h] (common-generated): Do not append to
58764         variable.
58765         [generic sys/syscall.h] (syscall.h): Remove variable.
58766         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
58767         rule.
58768         [generic sys/syscall.h] (before-compile): Do not append to
58769         variable.
58770         [generic sys/syscall.h] (common-generated): Likewise.
58771         * sysdeps/unix/errnos-tmpl.c: Remove file.
58772         * sysdeps/unix/errnos.awk: Likewise.
58773         * sysdeps/unix/ioctls-tmpl.c: Likewise.
58774         * sysdeps/unix/ioctls.awk: Likewise.
58775         * sysdeps/unix/mk-local_lim.c: Likewise.
58776         * sysdeps/unix/snarf-ioctls: Likewise.
58778 2012-03-19  Richard Henderson  <rth@twiddle.net>
58780         * sysdeps/i386/fpu/fenv_private.h: New file.
58781         * sysdeps/i386/fpu/math_private.h: Use it.
58782         (math_opt_barrier, math_force_eval): Remove.
58783         (libc_feholdexcept_setround_53bit): Remove.
58784         (libc_feupdateenv_53bit): Remove.
58785         * sysdeps/x86_64/fpu/math_private.h: Likewise.
58786         (math_opt_barrier, math_force_eval): Remove.
58787         (libc_feholdexcept): Remove.
58788         (libc_feholdexcept_setround): Remove.
58789         (libc_fetestexcept, libc_fesetenv): Remove.
58790         (libc_feupdateenv_test): Remove.
58791         (libc_feupdateenv, libc_feholdsetround): Remove.
58792         (libc_feresetround): Remove.
58794         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
58795         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
58797         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
58798         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
58799         (libc_feupdateenv_testl): New.
58800         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
58801         (libc_feupdateenv_testf): New.
58802         (libc_feupdateenv): Use libc_feupdateenv_test.
58803         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
58804         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
58806         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
58807         (libc_feholdsetroundf, libc_feholdsetroundl): New.
58808         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
58809         (libc_feresetround_noex): New.
58810         (libc_feresetround_noexf): New.
58811         (libc_feresetround_noexl): New.
58812         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
58813         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
58814         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
58815         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
58816         SET_RESTORE_ROUND.
58817         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58818         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
58819         (__cos): Likewise.
58820         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
58821         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
58822         SET_RESTORE_ROUND_NOEX.
58823         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
58824         SET_RESTORE_ROUND_NOEXF.
58825         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
58826         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
58827         (libc_feholdsetroundf): New.
58828         (libc_feresetround, libc_feresetroundf): New.
58830         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
58831         (libc_feholdexcept_setround_53bit): Convert from macro to function.
58832         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
58834         * sysdeps/generic/math_private.h: Include <fenv.h>.
58835         (default_libc_feholdexcept): New.
58836         (default_libc_feholdexcept_setround): New.
58837         (default_libc_fesetenv, default_libc_feupdateenv): New.
58838         (libc_feholdexcept): Only define if undefined.
58839         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
58840         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
58841         (libc_feholdexcept_setroundl): Likewise.
58842         (libc_feholdexcept_setround_53bit): Likewise.
58843         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
58844         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
58845         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
58846         (libc_feupdateenv_53bit): Likewise.
58847         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
58848         (libc_feholdexcept): Convert from macro to inline function.
58849         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
58850         (libc_fesetenv, libc_feupdateenv): Likewise.
58852         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
58853         not previously defined.
58854         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
58855         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
58856         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
58857         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
58858         * sysdeps/ieee754/flt-32/math_private.h: New file.
58859         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
58860         math_private.h below SET_FLOAT_WORD.
58861         (__isnan, __isinf_ns, __finite): Remove.
58862         (__isnanf, __isinf_nsf, __finitef): Remove.
58864 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
58866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58868 2012-03-17  David S. Miller  <davem@davemloft.net>
58870         [BZ #6471]
58871         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
58872         for 2.16.
58874 2012-03-16  David S. Miller  <davem@davemloft.net>
58876         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
58877         warnings.
58879         [BZ #6471]
58880         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
58881         properly.
58882         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
58883         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
58884         sysdep_routines when subdir is sysvipc.
58885         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
58886         __getshmlba helper.
58888         * sysdeps/sparc/fpu/libm-test/ulps: Update.
58890 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58892         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
58893         [__LP64__].
58895 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58897         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
58898         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
58899         (__lround): Renamed to ...
58900         (__llround): This.  Replace long int with long long int.
58901         Define lround functions as aliases of llround functions.
58902         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
58904 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58906         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
58907         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
58908         adresses to uintptr_t.  Replace "long int" and "unsigned long
58909         int" with "greg_t" on va_arg.
58911 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58913         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
58914         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
58916         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
58917         Move e_machine check before EI_CLASS check.  Handle x32
58918         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
58919         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
58920         SKIP_EM_IA_64 and include
58921         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
58923         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
58924         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
58925         (add_system_dir): New macro.
58927         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
58928         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
58930 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
58932         [BZ #2551]
58933         [BZ #2552]
58934         [BZ #2553]
58935         [BZ #2554]
58936         [BZ #2562]
58937         [BZ #2563]
58938         [BZ #2565]
58939         [BZ #2566]
58940         [BZ #2576]
58941         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
58942         (y0): Likewise.
58943         * math/w_j0f.c (j0f): Likewise.
58944         (y0f): Likewise.
58945         * math/w_j0l.c (__j0l): Likewise.
58946         (__y0l): Likewise.
58947         * math/w_j1.c (j1): Likewise.
58948         (y1): Likewise.
58949         * math/w_j1f.c (j1f): Likewise.
58950         (y1f): Likewise.
58951         * math/w_j1l.c (__j1l): Likewise.
58952         (__y1l): Likewise.
58953         * math/w_jn.c (jn): Likewise.
58954         (yn): Likewise.
58955         * math/w_jnf.c (jnf): Likewise.
58956         (ynf): Likewise.
58957         * math/w_jnl.c (__jnl): Likewise.
58958         (__ynl): Likewise.
58959         * math/libm-test.inc (j0_test): Add more tests.
58960         (j1_test): Likewise.
58961         (jn_test): Likewise.  Add trailing semicolon to existing test.
58962         (y0_test): Likewise.
58963         (y1_test): Likewise.
58964         * sysdeps/i386/fpu/libm-test-ulps: Update.
58965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58967         [BZ #13851]
58968         [BZ #13854]
58969         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
58970         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
58971         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
58972         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
58973         (__tanl): Set errno for infinite argument.
58974         * sysdeps/i386/fpu/mptan.c: Remove.
58975         * sysdeps/i386/fpu/s_tan.S: Likewise.
58976         * sysdeps/i386/fpu/s_tanl.S: Likewise.
58977         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
58978         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
58979         * math/libm-test.inc (tan_test): Add more tests and enable more
58980         tests for double and long double.
58981         * sysdeps/i386/fpu/libm-test-ulps: Update.
58982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58984 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
58986         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
58987         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
58989 2012-03-16  Roland McGrath  <roland@hack.frob.com>
58991         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
58992         * configure.in: Use it for both main tree and add-ons.
58993         * configure: Regenerated.
58995 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58997         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
58999 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
59001         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
59002         in comment.
59004         [BZ #13851]
59005         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
59006         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
59007         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
59008         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
59009         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
59010         infinite argument.
59011         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
59012         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
59013         != 0 for prec == 2.
59014         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
59015         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
59016         * sysdeps/i386/fpu/s_cosl.S: Likewise.
59017         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
59018         * sysdeps/i386/fpu/s_sinl.S: Likewise.
59019         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
59020         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
59021         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
59022         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
59023         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
59024         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
59025         * math/libm-test.inc (cos_test): Add more tests and enable more
59026         tests for long double.
59027         (sin_test): Likewise.
59028         (sincos_test): Likewise.
59029         * sysdeps/i386/fpu/libm-test-ulps: Update.
59030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59032 2012-03-16  David S. Miller  <davem@davemloft.net>
59034         * sysdeps/sparc/fpu/math_private.h: New file.
59036 2012-03-15  David S. Miller  <davem@davemloft.net>
59038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
59039         file.
59040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
59041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
59042         file.
59043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
59044         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
59045         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
59046         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
59047         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
59048         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
59049         sysdep routines.
59050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
59052         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
59053         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
59055         * sysdeps/sparc/sparc-ifunc.h: New file.
59056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
59057         sparc-ifunc.h
59058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
59060         Likewise.
59061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
59062         Likewise.
59063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
59064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
59065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59067         Likewise.
59068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
59070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
59072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
59073         Likewise.
59074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
59075         Likewise.
59076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
59078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
59079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
59080         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59081         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59082         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
59083         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
59084         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59085         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59086         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
59087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
59088         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
59089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
59090         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
59091         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
59092         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
59093         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
59094         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
59095         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
59096         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
59097         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
59098         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
59099         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
59101 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
59103         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
59104         scaling.
59105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59107 2012-03-15  Andreas Jaeger  <aj@suse.de>
59109         [BZ #13852]
59110         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
59111         ieee754/flt-32 implementation for sin, cos and sincos.
59112         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
59113         * sysdeps/i386/fpu/s_cosf.S: Likewise.
59114         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
59115         * sysdeps/i386/fpu/s_sinf.S: Likewise.
59116         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
59117         ieee754/flt-32 implementation for tan.
59119         * math/libm-test.inc (cos_test): Enable some large input tests for
59120         float as well
59121         (sin_test): Likewise.
59122         (sincos_test): Likewise.
59123         (tan_test): Add tests for large input.
59125         * sysdeps/i386/fpu/libm-test-ulps: Update.
59127 2012-03-15  Andreas Jaeger  <aj@suse.de>
59129         [BZ #13658]
59130         * math/libm-test.inc (cos_test): Add more test cases.
59131         (sin_test): Likewise.
59132         (sincos_test): Likewise.
59134 2012-03-15  Andreas Jaeger  <aj@suse.de>
59136         [BZ #13837]
59137         * math/libm-test.inc (cos_test): Add a test case for large input
59138         value.
59139         (sin_test): Likewise.
59140         (sincos_test): Likewise.
59142 2012-03-15  Andreas Jaeger  <aj@suse.de>
59143             Joseph Myers  <joseph@codesourcery.com>
59145         [BZ #13658]
59146         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
59147         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
59148         * sysdeps/i386/fpu/branred.c: Likewise.
59149         * sysdeps/i386/fpu/dosincos.c: Likewise.
59150         * sysdeps/i386/fpu/mpa.c: Likewise.
59151         * sysdeps/i386/fpu/s_cos.S: Likewise.
59152         * sysdeps/i386/fpu/s_sin.S: Likewise.
59153         * sysdeps/i386/fpu/s_sincos.S: Likewise.
59154         * sysdeps/i386/fpu/sincos32.c: Likewise.
59156         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
59157         Define.
59158         (libc_feupdateenv_53bit): Define.
59159         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
59160         Define.
59161         (libc_feupdateenv_53bit): Define.
59163         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
59164         53 bit (without extend i386 double precision).
59166         * math/libm-test.inc (sincos_test): Add tests for large input.
59167         (sin): Likewise.
59168         (cos): Likewise.
59170         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
59172 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
59174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59176 2012-03-15  David S. Miller  <davem@davemloft.net>
59178         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
59179         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
59180         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
59181         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
59182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
59183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
59184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
59185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
59186         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
59187         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
59188         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
59189         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
59190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
59191         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
59192         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
59193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
59194         file.
59195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
59196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
59197         file.
59198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
59199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
59200         file.
59201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
59202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
59203         file.
59204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
59205         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
59206         fmin/fmax sysdep routines.
59207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
59209 2012-03-14  David S. Miller  <davem@davemloft.net>
59211         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
59212         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
59213         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
59214         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
59215         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
59216         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
59217         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
59218         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
59219         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
59220         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
59221         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
59222         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
59223         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
59224         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
59225         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
59226         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
59227         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
59228         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
59229         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
59230         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
59231         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
59232         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
59233         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
59234         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
59235         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
59236         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
59237         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
59238         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
59239         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
59240         routines.
59241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
59242         file.
59243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
59244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
59245         file.
59246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
59247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
59248         file.
59249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
59250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
59251         file.
59252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
59253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
59254         file.
59255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
59256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
59257         file.
59258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
59259         file.
59260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
59261         file.
59262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
59263         file.
59264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
59265         New file.
59266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
59267         file.
59268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
59269         file.
59270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
59271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
59272         file.
59273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
59274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
59275         file.
59276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
59277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
59278         file.
59279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
59280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
59281         VIS3 routines.
59283         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59284         New file.
59286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59288         * sysdeps/sparc/configure.in: New file.
59289         * sysdeps/sparc/configure: Generate.
59290         * configure.in (libc_cv_sparc_as_vis3): Substitute.
59291         * configure: Regenerate.
59292         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
59293         * config.make.in (have-as-vis3): New.
59294         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
59295         available use -Av9d instead of -Av9a.
59296         * sysdeps/sparc/sparc64/Makefile: Likewise.
59297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
59298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
59299         New file.
59300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
59301         file.
59302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
59303         New file.
59304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
59305         file.
59306         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
59307         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
59308         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
59309         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
59310         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
59312         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
59313         fzeros/fnegs to load 0x80000000 into a float register instead of
59314         using the stack.
59315         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
59317 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
59319         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59320         bits/syscall.h.
59321         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
59322         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
59323         ($(inst_includedir)/bits/syscall.h): Remove rule.
59324         ($(objpfx)bits/syscall.d): Include instead of
59325         $(objpfx)syscall-list.d.
59326         (generated): Change syscall-list.h and syscall-list.d to
59327         bits/syscall.h and bits/syscall.d.
59329 2012-03-14  Roland McGrath  <roland@hack.frob.com>
59331         [BZ #13846]
59332         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
59334 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
59336         [BZ #13841]
59337         * math/s_csqrt.c: Include <float.h>.
59338         (__csqrt): Scale large or subnormal inputs.
59339         * math/s_csqrtf.c: Likewise.
59340         * math/s_csqrtl.c: Likewise.
59341         * math/libm-test.inc (csqrt_test): Add more tests.
59342         * sysdeps/i386/fpu/libm-test-ulps: Update.
59343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59345         [BZ #13840]
59346         * math/libm-test.inc (hypot_test): Add more tests.
59348 2012-03-13  David S. Miller  <davem@davemloft.net>
59350         [BZ #13840]
59351         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
59352         double-precision for the calculation instead of scaling.
59354 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
59356         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
59357         manipulate bits before adding and subtracting TWO52[sx].
59358         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
59359         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
59360         Likewise.
59361         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
59363 2012-03-13  David S. Miller  <davem@davemloft.net>
59365         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
59366         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
59367         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
59368         rtld-global-offsets.h
59369         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59371         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
59372         large parameters.
59374         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
59376         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
59377         'err' in the ifdef scope in which it is actually used.
59379         * nss/nss_db/db-init.c: Include string.h
59381 2012-03-12  David S. Miller  <davem@davemloft.net>
59383         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59384         masking out of the most significant byte of random value used.
59385         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59386         Fix coding style in previous change.
59388         * sysdeps/unix/sysv/linux/kernel-features.h
59389         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
59390         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
59391         expression.
59392         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
59393         later.
59395 2012-03-11  David S. Miller  <davem@davemloft.net>
59397         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59398         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
59399         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
59400         for 'resultvar' otherwise things get truncated on 64-bit.
59402         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59403         Fix masking out of the most significant byte of random value used.
59405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59407 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
59409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59411 2012-03-09  David S. Miller  <davem@davemloft.net>
59413         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
59414         variables with appropriate CPP guards.
59415         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
59416         from the frame pointer, not the stack pointer.  Correct layout
59417         comments.  Fix test on resulting framesize and the management of
59418         the outregs buffer for pltexit.  Preserve floating point return
59419         values across _dl_call_pltexit call.
59420         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
59421         framesize and the management of the outregs buffer for pltexit.
59422         Preserve floating point return values across _dl_call_pltexit
59423         call.
59424         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
59425         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
59426         (la_sparc64_gnu_pltexit): New functions.
59427         (print_exit): Fix format string for return register value.
59429 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
59431         * sunrpc/Makefile (others): Add rpcgen.
59432         ($(objpfx)rpcgen): Remove special build rule and dependency on
59433         libc.
59434         * sunrpc/rpcgen.c: New file.
59436 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
59438         [BZ #13673]
59439         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
59440         * stdio-common/bug-vfprintf-nargs.c: Likewise.
59441         * sysdeps/i386/crti.S: Likewise.
59442         * sysdeps/i386/crtn.S: Likewise.
59443         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
59444         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
59445         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
59446         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
59447         * sysdeps/sh/crti.S: Likewise.
59448         * sysdeps/sh/crtn.S: Likewise.
59449         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59451         [BZ #13673]
59452         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
59453         with URL.
59454         * locale/programs/locfile-kw.gperf: Likewise.
59455         * locale/programs/charmap-kw.h: Regenerated.
59456         * locale/programs/locfile-kw.h: Likewise.
59458         [BZ #13673]
59459         * intl/plural.y: Replace FSF snail mail address with URL.
59460         * intl/plural.c: Regenerated.
59462 2012-03-09  Richard Henderson  <rth@twiddle.net>
59464         * include/math_private.h: Remove file.
59465         * math/math_private.h: Move file ...
59466         * sysdeps/generic/math_private.h: ... here.
59468         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
59469         * sysdeps/powerpc/fpu/math_private.h: Likewise.
59470         * sysdeps/x86_64/fpu/math_private.h: Likewise.
59472         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
59473         and <math_private.h>.
59474         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
59475         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
59476         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
59477         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
59478         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
59479         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
59480         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59481         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59482         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59483         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59484         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59485         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59486         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59487         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59488         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59489         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59490         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59491         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59492         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59493         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59494         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59495         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59496         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59497         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59498         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
59499         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59500         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59501         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59502         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59503         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59504         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59505         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59506         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
59507         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59508         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59509         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59510         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59511         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59512         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59513         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59514         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
59515         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59516         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
59517         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
59518         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
59519         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59520         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
59521         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
59522         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59523         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59524         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
59525         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
59526         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
59527         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59528         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
59529         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59530         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59531         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
59532         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
59533         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
59534         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59535         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59536         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59537         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59538         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
59539         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59540         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59541         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59542         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
59543         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
59544         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59545         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59546         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59547         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59548         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
59549         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
59550         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
59551         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59552         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
59553         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
59554         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59555         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
59556         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59557         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59558         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59559         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
59560         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
59561         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
59562         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59563         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59564         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59565         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59566         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59567         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59568         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59569         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59570         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59571         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59572         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59573         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59574         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59575         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59576         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59577         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59578         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59579         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59580         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59581         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59582         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59583         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59584         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59585         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59586         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59587         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59588         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
59589         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59590         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59591         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59592         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59593         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59594         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59595         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59596         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59597         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
59598         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59599         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59600         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59601         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
59602         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59603         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
59604         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
59605         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59606         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59607         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
59608         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
59609         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59610         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59611         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59612         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
59613         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59614         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59615         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59616         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59617         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
59618         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
59619         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59620         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59621         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59622         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
59623         * sysdeps/ieee754/k_standard.c: Likewise.
59624         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59625         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59626         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59627         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59628         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59629         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59630         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59631         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59632         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59633         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59634         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59635         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59636         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59637         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59638         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59639         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59640         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59641         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59642         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59643         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
59644         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
59645         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
59646         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59647         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59648         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59649         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
59650         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59651         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59652         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59653         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59654         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59655         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59656         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59657         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59658         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59659         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59660         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59661         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
59662         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
59663         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59664         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59665         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59666         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59667         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59668         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59669         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59670         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59671         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59672         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59673         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59674         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59675         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59676         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59677         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
59678         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59679         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59680         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
59681         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
59682         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59683         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59684         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59685         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59686         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59687         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59688         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59689         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59690         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59691         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59692         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59693         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59694         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59695         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59696         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59697         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59698         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59699         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59700         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
59701         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59702         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59703         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59704         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59705         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59706         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59707         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59708         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
59709         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59710         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59711         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
59712         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59713         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59714         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
59715         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59716         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
59717         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59718         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59719         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59720         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
59721         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
59722         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
59723         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
59724         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59725         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59726         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59727         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59728         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
59729         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59730         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59731         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
59732         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
59733         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59734         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59735         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59736         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59737         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59738         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59739         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59740         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59741         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59742         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59743         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59744         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59745         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59746         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59747         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59748         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59749         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
59750         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59751         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59752         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59753         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59754         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59755         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59756         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59757         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59758         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59759         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59760         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
59761         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59762         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59763         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
59764         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
59765         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59766         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
59767         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
59768         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59769         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59770         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59771         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59772         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59773         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
59774         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59775         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59776         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59777         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59778         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
59779         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
59780         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59781         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59782         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59783         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59784         * sysdeps/ieee754/s_lib_version.c: Likewise.
59785         * sysdeps/ieee754/s_matherr.c: Likewise.
59786         * sysdeps/ieee754/s_signgam.c: Likewise.
59787         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59788         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59789         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
59790         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
59791         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
59792         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59793         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
59794         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
59795         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
59796         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
59797         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59798         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
59799         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59800         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59801         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
59802         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59803         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59804         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59805         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59806         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59807         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59809 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59811         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
59812         * sunrpc/rpc_main.c: Likewise.
59813         * sunrpc/rpc_svcout.c: Likewise.
59815 2012-03-09  David S. Miller  <davem@davemloft.net>
59817         * include/math_private.h: New file.
59819 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59821         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
59822         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
59823         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
59824         from <bits/socket_type.h>.
59825         (enum __socket_type): Don't define here.
59826         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
59827         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59828         bits/socket_type.h.
59830         [BZ #13566]
59831         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
59832         checking __USE_GNU.
59834         * Makerules ($(inst_includedir)/%.h): New rule.
59835         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
59836         (install-others): Remove variable setting.
59837         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
59839 2012-03-08  Richard Henderson  <rth@twiddle.net>
59841         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
59842         from macro to inline function; merge with the
59843         !__LIBC_INTERNAL_MATH_INLINES version.
59844         (__ieee754_sqrtf): Likewise.
59846         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
59847         to inline function.
59848         (__rintf, __floor, __floorf): Likewise.
59850         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
59851         macro to inline function.
59852         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
59854         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
59855         not <math/math_private.h>.
59857 2012-03-08  David S. Miller  <davem@davemloft.net>
59859         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
59860         copyright year.
59861         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
59863 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
59865         * resolv/gai_misc.c (handle_requests): Fix struct timespec
59866         normalization.
59867         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
59868         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
59870 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
59872         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
59873         be defined individually, they must be defined as a block.  Define
59874         S for printing a string instead of hidint the different by using a
59875         macro for adding the 'l'.
59876         * stdio-common/tst-fphex-wide.c: Adjust.
59878 2012-03-07  Marek Polacek  <polacek@redhat.com>
59880         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
59882 2012-03-08  Marek Polacek  <polacek@redhat.com>
59884         [BZ #13806]
59885         * stdio-common/Makefile (tests): Add tst-fphex-wide.
59886         * stdio-common/tst-fphex.c: Define a few macros to make the
59887         test reusable.  Use them.
59888         * stdio-common/tst-fphex-wide.c: New file.
59890 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
59892         [BZ #6911]
59893         * manual/macros.texi (gnusystems): New macro.
59894         (nongnusystems): Likewise.
59895         (gnulinuxhurdsystems): Likewise.
59896         (gnuhurdsystems): Likewise..
59897         (gnulinuxsystems): Likewise.
59898         * manual/charset.texi: Use new macros or @theglibc{} to refer to
59899         variants of the GNU system, not "GNU system".
59900         * manual/conf.texi: Likewise.
59901         * manual/errno.texi: Likewise.  Update example of errno macro
59902         expansion.
59903         * manual/filesys.texi: Likewise.
59904         (getumask): Document as specific to GNU/Hurd.
59905         * manual/install.texi: Likewise.  Reword some references to
59906         GNU/Linux.
59907         * manual/intro.texi: Likewise.
59908         * manual/io.texi: Likewise.
59909         (File Name Portability): Detail which constraints are inapplicable
59910         to all GNU systems and which are only inapplicable to GNU/Hurd.
59911         * manual/job.texi: Likewise.
59912         * manual/llio.texi: Likewise.
59913         (O_NOCTTY): Document as present on GNU/Linux.
59914         * manual/maint.texi: Likewise.
59915         * manual/memory.texi: Likewise.
59916         * manual/pattern.texi: Likewise.
59917         * manual/pipe.texi: Likewise.
59918         * manual/process.texi: Likewise.
59919         * manual/resource.texi: Likewise.
59920         (RUSAGE_CHILDREN): Remove statement about specifying a particular
59921         child on GNU/Hurd.
59922         * manual/setjmp.texi: Likewise.
59923         * manual/signal.texi: Likewise.
59924         * manual/startup.texi: Likewise.
59925         * manual/stdio.texi: Likewise.
59926         * manual/terminal.texi: Likewise.
59927         (ONLCR): Document as POSIX.
59928         (OXTABS): Document availability on GNU/Linux as XTABS.
59929         (ONOEOT): Document availability separately from other bits.
59930         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
59931         * manual/time.texi: Likewise.
59932         * manual/users.texi: Likewise.
59933         * INSTALL: Regenerated.
59934         * sysdeps/gnu/errlist.c: Regenerated.
59936         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
59937         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
59938         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
59939         puts.
59940         * configure: Regenerated.
59942 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
59944         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
59945         default includes instead of AC_HEADER_CHECK.
59946         * sysdeps/i386/configure: Regenerated.
59948         [BZ #10716]
59949         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
59950         * math/s_cacoshf.c (__cacoshf): Likewise.
59951         * math/s_cacoshl.c (__cacoshl): Likewise.
59952         * math/s_casinh.c (__casinh): Set signs of result from argument.
59953         * math/s_casinhf.c (__casinhf): Likewise.
59954         * math/s_casinhl.c (__casinhl): Likewise.
59955         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
59956         (casinh_test): Add more tests.
59957         * sysdeps/i386/fpu/libm-test-ulps: Update.
59958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59960 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
59962         * po/zh_TW.po: Update from translation team.
59964         * login/Makefile (distribute): Remove variable.
59965         * catgets/Makefile: Likewise.
59966         * mach/Makefile: Likewise.
59967         * malloc/Makefile: Likewise.
59968         * misc/Makefile: Likewise.
59969         * iconv/Makefile: Likewise.
59970         * nscd/Makefile: Likewise.
59971         * hurd/Makefile: Likewise.
59972         * manual/Makefile: Likewise.
59973         * locale/Makefile: Likewise.
59974         * intl/Makefile: Likewise.
59975         * conform/Makefile: Likewise.
59976         * nss/Makefile: Likewise.
59977         * time/Makefile: Likewise.
59978         * soft-fp/Makefile: Likewise.
59979         * dirent/Makefile: Likewise.
59980         * gmon/Makefile: Likewise.
59981         * po/Makefile: Likewise.
59982         * rt/Makefile: Likewise.
59983         * socket/Makefile: Likewise.
59984         * math/Makefile: Likewise.
59985         * signal/Makefile: Likewise.
59986         * debug/Makefile: Likewise.
59987         * elf/Makefile: Likewise.
59988         * timezone/Makefile: Likewise.
59989         * stdlib/Makefile: Likewise.
59990         * iconvdata/Makefile: Likewise.
59991         * sunrpc/Makefile: Likewise.
59992         * io/Makefile: Likewise.
59993         * argp/Makefile: Likewise.
59994         * inet/Makefile: Likewise.
59995         * hesiod/Makefile: Likewise.
59996         * grp/Makefile: Likewise.
59997         * csu/Makefile: Likewise.
59998         * wctype/Makefile: Likewise.
59999         * crypt/Makefile: Likewise.
60000         * libio/Makefile: Likewise.
60001         * string/Makefile: Likewise.
60002         * nis/Makefile: Likewise.
60003         * resolv/Makefile: Likewise.
60004         * stdio-common/Makefile: Likewise.
60005         * wcsmbs/Makefile: Likewise.
60006         * dlfcn/Makefile: Likewise.
60007         * posix/Makefile: Likewise.
60009         [BZ #6959]
60010         * timezone/Makefile: Don't install timezone files, just the programs
60011         and scripts.
60013 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
60015         * nss/databases.def: Add missing gshadow entry.
60017         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
60019 2012-03-06  Marek Polacek  <polacek@redhat.com>
60021         [BZ #13726]
60022         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
60023         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
60024         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
60025         * stdio-common/tst-long-dbl-fphex.c: New file.
60027 2012-03-06  David S. Miller  <davem@davemloft.net>
60029         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60030         (set_obp_int): New function.
60031         (get_obp_int): New function.
60032         (__get_clockfreq_via_dev_openprom): Likewise.
60033         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
60034         Avoid unused variable warnings on 'val' and use builtin_expect.
60035         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
60036         __builtin_expect.
60037         (INLINE_CLONE_SYSCALL): Likewise.
60039 2012-03-05  David S. Miller  <davem@davemloft.net>
60041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60043 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
60045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60047         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
60048         only for |x| >= 40.
60049         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60051 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
60053         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
60054         Replace gettimeofday with __vdso_gettimeofday.
60056         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60057         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
60058         __vdso_clock_gettime and __vdso_getcpu.
60060         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
60061         time with __vdso_time.
60063 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
60065         * manual/lang.texi (size_t): Note types to which size_t may be
60066         equivalent with the GNU C Library, but do not describe when
60067         differences between them are significant.
60069 2012-03-05  Andreas Jaeger  <aj@suse.de>
60071         * sysdeps/i386/fpu/libm-test-ulps: Update.
60073 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
60075         [BZ #3976]
60076         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
60077         (__ieee754_pow): Save and restore rounding mode and use
60078         round-to-nearest for main computations.
60079         * math/libm-test.inc (pow_test_tonearest): New function.
60080         (pow_test_towardzero): Likewise.
60081         (pow_test_downward): Likewise.
60082         (pow_test_upward): Likewise.
60083         (main): Call the new functions.
60084         * sysdeps/i386/fpu/libm-test-ulps: Update.
60085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60087         [BZ #3976]
60088         * math/libm-test.inc (cosh_test_tonearest): New function.
60089         (cosh_test_towardzero): Likewise.
60090         (cosh_test_downward): Likewise.
60091         (cosh_test_upward): Likewise.
60092         (sinh_test_tonearest): Likewise.
60093         (sinh_test_towardzero): Likewise.
60094         (sinh_test_downward): Likewise.
60095         (sinh_test_upward): Likewise.
60096         (main): Call the new functions.
60097         * sysdeps/i386/fpu/libm-test-ulps: Update.
60098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60100 2012-03-05  Tom de Vries  <tom@codesourcery.com>
60102         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
60103         default stack guard is set in last bytes.
60104         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
60106 2012-03-05  Kees Cook  <keescook@chromium.org>
60108         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
60110         [BZ #13656]
60111         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
60112         possibly allocate from heap instead of stack.
60113         * stdio-common/bug-vfprintf-nargs.c: New file.
60114         * stdio-common/Makefile (tests): Add nargs overflow test.
60116 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
60118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60120 2012-03-03  Marek Polacek  <polacek@redhat.com>
60122         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
60123         * math/math_private.h: Likewise.
60124         * stdlib/tst-strtod.c: Likewise.
60125         * sysdeps/i386/i486/bits/atomic.h: Likewise.
60126         * sysdeps/x86_64/bits/atomic.h: Likewise.
60128 2012-03-02  David S. Miller  <davem@davemloft.net>
60130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
60131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
60132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
60133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
60134         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
60135         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
60136         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
60137         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
60139 2012-03-02  Roland McGrath  <roland@hack.frob.com>
60141         [BZ #13792]
60142         * manual/examples/README: New file, says the example source files
60143         can be used under GPL>=2.
60144         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
60145         line containing just "*/".
60146         * manual/examples/add.c: Add copyright header (GPL>=2).
60147         * manual/examples/argp-ex1.c: Likewise.
60148         * manual/examples/argp-ex2.c: Likewise.
60149         * manual/examples/argp-ex3.c: Likewise.
60150         * manual/examples/argp-ex4.c: Likewise.
60151         * manual/examples/atexit.c: Likewise.
60152         * manual/examples/db.c: Likewise.
60153         * manual/examples/dir.c: Likewise.
60154         * manual/examples/dir2.c: Likewise.
60155         * manual/examples/execinfo.c: Likewise.
60156         * manual/examples/filecli.c: Likewise.
60157         * manual/examples/filesrv.c: Likewise.
60158         * manual/examples/fmtmsgexpl.c: Likewise.
60159         * manual/examples/genpass.c: Likewise.
60160         * manual/examples/inetcli.c: Likewise.
60161         * manual/examples/inetsrv.c: Likewise.
60162         * manual/examples/isockad.c: Likewise.
60163         * manual/examples/longopt.c: Likewise.
60164         * manual/examples/memopen.c: Likewise.
60165         * manual/examples/memstrm.c: Likewise.
60166         * manual/examples/mkfsock.c: Likewise.
60167         * manual/examples/mkisock.c: Likewise.
60168         * manual/examples/mygetpass.c: Likewise.
60169         * manual/examples/pipe.c: Likewise.
60170         * manual/examples/popen.c: Likewise.
60171         * manual/examples/rprintf.c: Likewise.
60172         * manual/examples/search.c: Likewise.
60173         * manual/examples/select.c: Likewise.
60174         * manual/examples/setjmp.c: Likewise.
60175         * manual/examples/sigh1.c: Likewise.
60176         * manual/examples/sigusr.c: Likewise.
60177         * manual/examples/stpcpy.c: Likewise.
60178         * manual/examples/strdupa.c: Likewise.
60179         * manual/examples/strftim.c: Likewise.
60180         * manual/examples/strncat.c: Likewise.
60181         * manual/examples/subopt.c: Likewise.
60182         * manual/examples/swapcontext.c: Likewise.
60183         * manual/examples/termios.c: Likewise.
60184         * manual/examples/testopt.c: Likewise.
60185         * manual/examples/testpass.c: Likewise.
60186         * manual/examples/timeval_subtract.c: Likewise.
60188         [BZ #13792]
60189         * manual/time.texi (Elapsed Time): Move timeval_subtract example
60190         function to ...
60191         * manual/timeval_subtract.c.texi: ... here, new file.
60193 2012-03-02  David S. Miller  <davem@davemloft.net>
60195         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
60197 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
60199         [BZ #3976]
60200         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
60201         (__sin): Save and restore rounding mode and use round-to-nearest
60202         for all computations.
60203         (__cos): Save and restore rounding mode and use round-to-nearest
60204         for all computations.
60205         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
60206         <fenv.h>.
60207         (tan): Save and restore rounding mode and use round-to-nearest for
60208         all computations.
60209         * math/libm-test.inc (cos_test_tonearest): New function.
60210         (cos_test_towardzero): Likewise.
60211         (cos_test_downward): Likewise.
60212         (cos_test_upward): Likewise.
60213         (sin_test_tonearest): Likewise.
60214         (sin_test_towardzero): Likewise.
60215         (sin_test_downward): Likewise.
60216         (sin_test_upward): Likewise.
60217         (tan_test_tonearest): Likewise.
60218         (tan_test_towardzero): Likewise.
60219         (tan_test_downward): Likewise.
60220         (tan_test_upward): Likewise.
60221         (main): Call the new functions.
60222         * sysdeps/i386/fpu/libm-test-ulps: Update.
60223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60225         [BZ #10135]
60226         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
60227         small n, then large n, before computing and testing k+n.
60228         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
60229         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
60230         Likewise.
60231         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
60232         Likewise.
60233         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
60234         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
60235         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
60236         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
60237         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
60238         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
60239         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
60240         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
60241         * math/libm-test.inc (scalbn_test): Add more tests.
60242         (scalbln_test): Likewise.
60244         * manual/filesys.texi (mode_t): Describe constraints on size and
60245         signedness, not exact equivalence to a particular type.
60246         (ino_t): Likewise.
60247         (ino64_t): Likewise.
60248         (dev_t): Likewise.
60249         (nlink_t): Likewise.
60250         (blkcnt_t): Likewise.
60251         (blkcnt64_t): Likewise.
60252         * manual/llio.texi (off_t): Likewise.
60254         [BZ #3976]
60255         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
60256         (__ieee754_exp): Save and restore rounding mode and use
60257         round-to-nearest for all computations.
60258         * math/libm-test.inc (exp_test_tonearest): New function.
60259         (exp_test_towardzero): Likewise.
60260         (exp_test_downward): Likewise.
60261         (exp_test_upward): Likewise.
60262         (main): Call the new functions.
60263         * sysdeps/i386/fpu/libm-test-ulps: Update.
60264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60266 2012-03-01  Chris Demetriou  <cgd@google.com>
60268         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
60269         have predictable order.
60271 2012-03-01  David S. Miller  <davem@davemloft.net>
60273         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
60275         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
60276         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
60277         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
60278         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
60280         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
60281         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
60282         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
60283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
60284         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
60285         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
60286         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
60287         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
60288         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
60290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60292         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
60293         * sysdeps/sparc/fpu/libm-test-ulps: to here.
60294         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
60296         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
60297         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60298         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
60299         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
60300         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
60301         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
60302         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
60303         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60304         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
60305         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
60306         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
60307         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60308         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60309         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
60310         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60311         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60312         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
60313         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
60314         * sysdeps/sparc/elf/configure: Regenerated.
60316 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
60318         * configure.in (AS, LD): Require binutils 2.20 or later.
60319         * configure: Regenerated.
60320         * manual/install.texi (Tools for Compilation): Give binutils 2.20
60321         as required minimum version.
60322         * INSTALL: Regenerated.
60324         [BZ #2541]
60325         [BZ #4108]
60326         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
60327         before squaring exponent.
60328         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
60329         bottom long double and 27 bits of top long double before squaring
60330         exponent.
60331         * math/libm-test.inc (erfc_test): Add more tests.
60332         * sysdeps/i386/fpu/libm-test-ulps: Update.
60333         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60336 2012-03-01  Kai Tietz  <ktietz@redhat.com>
60338         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
60339         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
60340         containing bit-fields.
60341         * soft-fp/extended.h (_FP_UNION_E): Likewise.
60342         * soft-fp/single.h (_FP_UNION_S): Likewise.
60343         * soft-fp/double.h (_FP_UNION_D): Likewise.
60345 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
60347         [BZ #13786]
60348         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
60349         not include ../strcmp.S.
60350         [USE_AS_STRNCASECMP_L]: Likewise.
60351         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
60352         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
60353         * sysdeps/i386/i686/multiarch/strncase_l-c.c
60354         (__strncasecmp_l_ia32): Define as alias to
60355         __strncasecmp_l_nonascii.
60357         [BZ #5794]
60358         * math/libm-test.inc (expm1_test): Add test for bug 5794.
60359         * sysdeps/i386/fpu/libm-test-ulps: Update.
60360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60362         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
60363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60365 2012-02-29  Jeff Law  <law@redhat.com>
60367         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
60368         out of bounds read.
60370 2012-02-29  Marek Polacek  <polacek@redhat.com>
60372         [BZ #13706]
60373         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
60374         * elf/Makefile: Add rules to run tst-unused-dep.out.
60376 2012-02-28  David S. Miller  <davem@davemloft.net>
60378         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
60379         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
60380         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
60381         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
60382         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
60383         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
60385 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
60387         * math/libm-test.inc (llround_test): Move one test from
60388         lround_test.  Use TEST_f_L in moved test.
60389         (lround_test): Move misplaced test to llround_test.  Add testcase
60390         from bug 2561.
60392 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
60394         * sysdeps/x86_64/fpu/e_expf.S: New file.
60395         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
60397 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
60399         [BZ #13637]
60400         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
60401         of remain_len that may cause incomplete multi-byte character and
60402         false match.
60403         * posix/bug-regex33.c: New file.
60404         * posix/Makefile (tests): Add bug-regex33.
60406 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
60408         * manual/macros.texi: New file.
60409         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
60410         * manual/libc.texinfo: Include macros.texi.
60411         * manual/creatute.texi: Likewise.
60412         * manual/install.texi: Likewise.
60413         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
60414         @glibcadj{} in references to the GNU C Library.
60415         * manual/charset.texi: Likewise.
60416         * manual/conf.texi: Likewise.
60417         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
60418         when not using those macros.
60419         * manual/creature.texi: Likewise.
60420         * manual/crypt.texi: Likewise.
60421         * manual/errno.texi: Likewise.
60422         * manual/filesys.texi: Likewise.
60423         * manual/header.texi: Likewise.
60424         * manual/install.texi: Likewise.
60425         * manual/intro.texi: Likewise.
60426         * manual/io.texi: Likewise.
60427         * manual/job.texi: Likewise.
60428         * manual/lang.texi: Likewise.
60429         * manual/libc.texiinfo: Likewise.
60430         * manual/llio.texi: Likewise.
60431         * manual/locale.texi: Likewise.
60432         * manual/maint.texi: Likewise.
60433         * manual/math.texi: Likewise.
60434         * manual/memory.texi: Likewise.
60435         * manual/message.texi: Likewise.
60436         * manual/nss.texi: Likewise.
60437         * manual/pattern.texi: Likewise.
60438         * manual/process.texi: Likewise.
60439         * manual/resource.texi: Likewise.
60440         * manual/search.texi: Likewise.
60441         * manual/setjmp.texi: Likewise.
60442         * manual/signal.texi: Likewise.
60443         * manual/socket.texi: Likewise.
60444         * manual/startup.texi: Likewise.
60445         * manual/stdio.texi: Likewise.
60446         * manual/string.texi: Likewise.
60447         * manual/sysinfo.texi: Likewise.
60448         * manual/syslog.texi: Likewise.
60449         * manual/terminal.texi: Likewise.
60450         * manual/time.texi: Likewise.
60451         * manual/users.texi: Likewise.
60452         * INSTALL: Regenerated.
60453         * NOTES: Regenerated.
60454         * sysdeps/gnu/errlist.c: Regenerated.
60456 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
60458         * include/dirent.h: Include <dirstream.h> before
60459         <dirent/dirent.h>.
60461 2012-02-28  David S. Miller  <davem@davemloft.net>
60463         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
60464         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
60465         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
60466         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
60468 2012-02-27  David S. Miller  <davem@davemloft.net>
60470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
60471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
60472         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
60473         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
60475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
60476         frame pointer instead of stack pointer relative arg slot.
60477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
60478         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
60479         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
60481 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
60483         [BZ #3992]
60484         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
60486 2012-02-27  David S. Miller  <davem@davemloft.net>
60488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
60489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
60490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
60492         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
60493         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
60494         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
60495         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
60497 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60499         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
60500         later.  Allow versions 5-9.
60501         * configure: Regenerated.
60502         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
60503         required minimum version and 4.6 as recommended version.  Do not
60504         mention bugs in GCC 2.7 and 2.8.
60505         * INSTALL: Regenerated.
60507 2012-02-27  David S. Miller  <davem@davemloft.net>
60509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
60510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
60511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
60512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
60513         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
60514         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
60515         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
60516         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
60518         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
60519         manipulate bits before adding and subtracting TWO112[sx].
60520         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60522 2012-02-27  Roland McGrath  <roland@hack.frob.com>
60524         [BZ #13775]
60525         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
60526         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
60527         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
60528         being in POSIX, because they are in 1003.1-2008.
60530         * rt/tst-aio.c: Include <fcntl.h>.
60531         * rt/tst-aio7.c: Likewise.
60532         * rt/tst-aio64.c: Likewise.
60534         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
60536 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60538         * manual/install.texi (--with-headers): Describe headers as
60539         interface headers, not private headers.
60540         (Specific advice for GNU/Linux systems): Describe use of headers
60541         from "make headers_install", not private headers from older
60542         kernels.
60543         * INSTALL: Regenerated.
60544         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
60545         Change to 2.6.19.
60546         * sysdeps/unix/sysv/linux/configure: Regenerated.
60548         * manual/llio.texi (fclean): Remove documentation.
60550         * manual/Makefile (libc-texi-generated): New variable.  Include
60551         version.texi.
60552         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
60553         $(libc-texi-generated), not duplicated list of files.
60554         (version.texi, stamp-version): New rules.
60555         (realclean): Remove $(libc-texi-generated), not individual files
60556         from that list.  Do not remove dir-add.texinfo.
60557         * manual/libc.texinfo: Comment out uses of edition numbers and
60558         references to printed manual.  Remove last-updated dates.
60559         (EDITION): Comment out.
60560         (ISBN): Likewise.
60561         (VERSION, UPDATED): Remove.
60562         (version.texi): Include.
60564 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
60566         * sysdeps/posix/spawni.c: Include <signal.h>.
60567         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
60568         * sysdeps/pthread/aio_fsync.c: Likewise.
60570 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
60572         * conform/Makefile (tests): Run only when not cross-compiling and
60573         when fast-check is not defined.
60575         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
60576         * conform/data/limits.h-data: Fixes for POSIX2008.
60577         * conform/run-conformtest.sh: Run all tests.
60578         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
60579         headers.
60580         * include/bits/dlfcn.h: Likewise.
60581         * include/langinfo.h: Likewise.
60582         * include/monetary.h: Likewise.
60583         * include/sys/poll.h: Likewise.
60585         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
60586         for __USE_GNU.
60587         * posix/spawn.h: Define __need_sigset_t.
60588         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
60589         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
60590         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
60591         to get sigevent_t only.
60592         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
60593         only for __USE_GNU.
60594         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60595         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60596         process_vm_writev only for __USE_GNU.
60597         * termios/termios.h: Declare tcgetsid also for POSIX2008.
60599         * conform/Makefile: For now ignore errors from run-conformtest.
60600         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
60601         POSIX to avoid namespace pollution.  Don't prepend headers.
60602         * conform/data/aio.h-data: Fixes for POSIX testing.
60603         * conform/data/fcntl.h-data: Likewise.
60604         * conform/data/glob.h-data: Likewise.
60605         * conform/data/grp.h-data: Likewise.
60606         * conform/data/pthread.h-data: Likewise.
60607         * conform/data/pwd.h-data: Likewise.
60608         * conform/data/signal.h-data: Likewise.
60609         * conform/data/spawn.h-data: Likewise.
60610         * conform/data/stdio.h-data: Likewise.
60611         * conform/data/stdlib.h-data: Likewise.
60612         * conform/data/stropts.h-data: Likewise.
60613         * conform/data/sys/mman.h-data: Likewise.
60614         * conform/data/sys/stat.h-data: Likewise.
60615         * conform/data/sys/types.h-data: Likewise.
60616         * conform/data/sys/wait.h-data: Likewise.
60617         * conform/data/time.h-data: Likewise.
60618         * conform/data/unistd.h-data: Likewise.
60619         * conform/data/utime.h-data: Likewise.
60621         * io/sys/stat.h: fchmod was always in POSIX.
60622         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
60623         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
60624         * rt/aio.h: Define __need_timespec before including <time.h>.
60625         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
60626         struct.  Add forward declaration of pthread_attr_t and use it in
60627         sigevent.
60628         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60629         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60630         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
60631         always remove CLK_TCK definition.
60633 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
60635         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
60637 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
60639         * conform/run-conformtest.sh: New file.
60640         * conform/Makefile: Run run-conformtest for tests.
60641         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
60642         support.
60644         * conform/data/uchar.h-data: New file.
60645         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
60646         * conform/data/arpa/inet.h-data: Likewise.
60647         * conform/data/assert.h-data: Likewise.
60648         * conform/data/complex.h-data: Likewise.
60649         * conform/data/cpio.h-data: Likewise.
60650         * conform/data/ctype.h-data: Likewise.
60651         * conform/data/dirent.h-data: Likewise.
60652         * conform/data/dlfcn.h-data: Likewise.
60653         * conform/data/errno.h-data: Likewise.
60654         * conform/data/fcntl.h-data: Likewise.
60655         * conform/data/float.h-data: Likewise.
60656         * conform/data/fmtmsg.h-data: Likewise.
60657         * conform/data/fnmatch.h-data: Likewise.
60658         * conform/data/ftw.h-data: Likewise.
60659         * conform/data/glob.h-data: Likewise.
60660         * conform/data/grp.h-data: Likewise.
60661         * conform/data/iconv.h-data: Likewise.
60662         * conform/data/inttypes.h-data: Likewise.
60663         * conform/data/langinfo.h-data: Likewise.
60664         * conform/data/libgen.h-data: Likewise.
60665         * conform/data/limits.h-data: Likewise.
60666         * conform/data/locale.h-data: Likewise.
60667         * conform/data/math.h-data: Likewise.
60668         * conform/data/monetary.h-data: Likewise.
60669         * conform/data/mqueue.h-data: Likewise.
60670         * conform/data/ndbm.h-data: Likewise.
60671         * conform/data/net/if.h-data: Likewise.
60672         * conform/data/netdb.h-data: Likewise.
60673         * conform/data/netinet/in.h-data: Likewise.
60674         * conform/data/nl_types.h-data: Likewise.
60675         * conform/data/poll.h-data: Likewise.
60676         * conform/data/pthread.h-data: Likewise.
60677         * conform/data/pwd.h-data: Likewise.
60678         * conform/data/regex.h-data: Likewise.
60679         * conform/data/sched.h-data: Likewise.
60680         * conform/data/search.h-data: Likewise.
60681         * conform/data/semaphore.h-data: Likewise.
60682         * conform/data/setjmp.h-data: Likewise.
60683         * conform/data/signal.h-data: Likewise.
60684         * conform/data/spawn.h-data: Likewise.
60685         * conform/data/stdarg.h-data: Likewise.
60686         * conform/data/stdio.h-data: Likewise.
60687         * conform/data/stdlib.h-data: Likewise.
60688         * conform/data/string.h-data: Likewise.
60689         * conform/data/strings.h-data: Likewise.
60690         * conform/data/stropts.h-data: Likewise.
60691         * conform/data/sys/ipc.h-data: Likewise.
60692         * conform/data/sys/mman.h-data: Likewise.
60693         * conform/data/sys/msg.h-data: Likewise.
60694         * conform/data/sys/resource.h-data: Likewise.
60695         * conform/data/sys/select.h-data: Likewise.
60696         * conform/data/sys/sem.h-data: Likewise.
60697         * conform/data/sys/shm.h-data: Likewise.
60698         * conform/data/sys/socket.h-data: Likewise.
60699         * conform/data/sys/stat.h-data: Likewise.
60700         * conform/data/sys/statvfs.h-data: Likewise.
60701         * conform/data/sys/time.h-data: Likewise.
60702         * conform/data/sys/timeb.h-data: Likewise.
60703         * conform/data/sys/times.h-data: Likewise.
60704         * conform/data/sys/types.h-data: Likewise.
60705         * conform/data/sys/uio.h-data: Likewise.
60706         * conform/data/sys/un.h-data: Likewise.
60707         * conform/data/sys/utsname.h-data: Likewise.
60708         * conform/data/sys/wait.h-data: Likewise.
60709         * conform/data/syslog.h-data: Likewise.
60710         * conform/data/tar.h-data: Likewise.
60711         * conform/data/termios.h-data: Likewise.
60712         * conform/data/utime.h-data: Likewise.
60713         * conform/data/utmpx.h-data: Likewise.
60714         * conform/data/varargs.h-data: Likewise.
60715         * conform/data/wchar.h-data: Likewise.
60716         * conform/data/wctype.h-data: Likewise.
60717         * conform/data/wordexp.h-data: Likewise.
60719         * include/stropts.h: New file.
60720         * include/uchar.h: New file.
60721         * include/aio.h: Changes to allow conformtest.pl to use the headers.
60722         * include/assert.h: Likewise.
60723         * include/ctype.h: Likewise.
60724         * include/dirent.h: Likewise.
60725         * include/dlfcn.h: Likewise.
60726         * include/fcntl.h: Likewise.
60727         * include/fnmatch.h: Likewise.
60728         * include/glob.h: Likewise.
60729         * include/grp.h: Likewise.
60730         * include/libio.h: Likewise.
60731         * include/locale.h: Likewise.
60732         * include/math.h: Likewise.
60733         * include/net/if.h: Likewise.
60734         * include/netdb.h: Likewise.
60735         * include/netinet/in.h: Likewise.
60736         * include/pthread.h: Likewise.
60737         * include/pwd.h: Likewise.
60738         * include/regex.h: Likewise.
60739         * include/sched.h: Likewise.
60740         * include/search.h: Likewise.
60741         * include/setjmp.h: Likewise.
60742         * include/signal.h: Likewise.
60743         * include/stdio.h: Likewise.
60744         * include/stdlib.h: Likewise.
60745         * include/string.h: Likewise.
60746         * include/sys/cdefs.h: Likewise.
60747         * include/sys/mman.h: Likewise.
60748         * include/sys/msg.h: Likewise.
60749         * include/sys/resource.h: Likewise.
60750         * include/sys/select.h: Likewise.
60751         * include/sys/socket.h: Likewise.
60752         * include/sys/stat.h: Likewise.
60753         * include/sys/statvfs.h: Likewise.
60754         * include/sys/time.h: Likewise.
60755         * include/sys/times.h: Likewise.
60756         * include/sys/uio.h: Likewise.
60757         * include/sys/utsname.h: Likewise.
60758         * include/sys/wait.h: Likewise.
60759         * include/termios.h: Likewise.
60760         * include/time.h: Likewise.
60761         * include/ulimit.h: Likewise.
60762         * include/unistd.h: Likewise.
60763         * include/utime.h: Likewise.
60764         * include/wchar.h: Likewise.
60765         * include/wctype.h: Likewise.
60766         * include/wordexp.h: Likewise.
60768         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
60770         * time/time.h: TIME_UTC must be a macro.
60771         Make timespec_get available for ISO C11 only as well.
60773 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
60775         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
60776         Reported by Peng Haitao <penght@cn.fujitsu.com>.
60778 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60780         * configure.in: Use -o not -a in test for unsupported multi-arch.
60782 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60784         * manual/texinfo.tex: Update to version 2012-01-19.16.
60786 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60788         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
60790 2012-02-24  Roland McGrath  <roland@hack.frob.com>
60792         [BZ #13738]
60793         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
60794         * manual/fdl-1.3.texi: New file.
60795         * manual/fdl-1.1.texi: File removed.
60797         [BZ #13738]
60798         * manual/libc.texinfo (FDL_VERSION): New @set.
60799         Use it for mention of FDL in cover text.
60800         (Documentation License): Use it in @include file name.
60802 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60803             Roland McGrath  <roland@hack.frob.com>
60805         [BZ #5461]
60806         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
60807         (not LONG_LONG_MAX and LONG_LONG_MIN.
60808         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
60809         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
60810         name.
60811         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
60813 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60815         [BZ #2547]
60816         [BZ #11365]
60817         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
60818         manipulate bits before adding and subtracting TWO23[sx].
60819         * math/libm-test.inc (nearbyint_test): Add more tests.
60821 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60823         [BZ #2548]
60824         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
60825         bits before adding and subtracting TWO23[sx].
60826         * math/libm-test.inc (rint_test): Add more tests.
60827         (rint_test_tonearest): Likewise.
60828         (rint_test_towardzero): Likewise.
60829         (rint_test_downward): Likewise.
60830         (rint_test_upward: Likewise.
60832 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60834         [BZ #10110]
60835         * include/stdc-predef.h: New file.  Extracted from features.h.
60836         * include/features.h: Include stdc-predef.h.
60837         * Makefile (headers): Add stdc-predef.h.
60838         * CONFORMANCE (Compiler limitations): Update.
60840 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60842         * manual/libc.texinfo (VERSION, UPDATED): Revert.
60844 2012-02-21  David S. Miller  <davem@davemloft.net>
60846         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
60847         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60849 2012-02-20  David S. Miller  <davem@davemloft.net>
60851         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
60852         using a normal save/restore sequence, rather than allocating a
60853         dummy stack frame just to store a frame pointer and restore.
60854         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60856 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60858         * manual/install.texi: Fix stray word in line-wrapped comment.
60860 2012-02-20  David S. Miller  <davem@davemloft.net>
60862         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
60863         both binutils and gcc support GOTDATA.
60865         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
60866         "rd %pc" in the PIC register setup sequences.
60868         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
60869         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
60870         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
60871         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
60872         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
60873         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60874         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60875         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60876         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
60877         (SYSCALL_ERROR_HANDLER): Likewise.
60878         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
60879         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60880         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
60881         (SYSCALL_ERROR_HANDLER): Likewise.
60883         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
60884         (HAVE_GCC_GOTDATA): New.
60885         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
60886         relocation support in both binutils and gcc.
60887         * sysdeps/sparc/elf/configure: Regenerate.
60889         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
60890         * sysdeps/sparc/sparc32/elf/configure: Delete.
60891         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
60892         * sysdeps/sparc/sparc64/elf/configure: Delete.
60893         * sysdeps/sparc/elf/configure.in: New file.
60894         * sysdeps/sparc/elf/configure: Generate.
60896         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
60897         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
60898         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60899         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
60900         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
60902 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60904         * manual/install.texi: Do not mention specific glibc version
60905         numbers.
60906         * manual/libc.texinfo (VERSION, UPDATED): Update.
60907         (@copying): Use @copyright{} and range of years.
60909 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60911         [BZ #13695]
60912         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
60913         [crti.S not in sysdirs] (generated): Do not append.
60914         [crti.S not in sysdirs] (omit-deps): Likewise.
60915         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
60916         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
60917         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
60918         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
60919         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
60920         Likewise.
60921         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
60922         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
60923         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
60924         * csu/defs.awk: Remove file.
60925         * sysdeps/generic/initfini.c: Likewise.
60926         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
60927         variable.
60928         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
60929         Likewise.
60931 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60933         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
60934         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
60935         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
60936         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
60937         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60938         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
60939         <bits/epoll.h>.
60940         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
60941         (__EPOLL_PACKED): Define to empty if not defined by
60942         <bits/epoll.h>.
60943         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
60944         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60945         bits/epoll.h.
60947 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60949         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
60950         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
60951         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
60952         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
60953         <bits/timerfd.h>.
60954         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
60955         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60956         bits/timerfd.h.
60958 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60960         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
60961         in C locale.
60962         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60963         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60964         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
60965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60967 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
60969         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60970         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60972 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
60974         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
60975         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
60976         defined.
60977         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
60978         Likewise.
60979         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
60980         entry for 2.16.
60982 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
60984         * math/w_acos.c: Use non-signaling floating-point comparisons.
60985         * math/w_acosf.c: Likewise.
60986         * math/w_acosh.c: Likewise.
60987         * math/w_acoshf.c: Likewise.
60988         * math/w_acoshl.c: Likewise.
60989         * math/w_acosl.c: Likewise.
60990         * math/w_asin.c: Likewise.
60991         * math/w_asinf.c: Likewise.
60992         * math/w_asinl.c: Likewise.
60993         * math/w_atanh.c: Likewise.
60994         * math/w_atanhf.c: Likewise.
60995         * math/w_atanhl.c: Likewise.
60996         * math/w_exp2.c: Likewise.
60997         * math/w_exp2f.c: Likewise.
60998         * math/w_exp2l.c: Likewise.
60999         * math/w_j0.c: Likewise.
61000         * math/w_j0f.c: Likewise.
61001         * math/w_j0l.c: Likewise.
61002         * math/w_j1.c: Likewise.
61003         * math/w_j1f.c: Likewise.
61004         * math/w_j1l.c: Likewise.
61005         * math/w_jn.c: Likewise.
61006         * math/w_jnf.c: Likewise.
61007         * math/w_log.c: Likewise.
61008         * math/w_log10.c: Likewise.
61009         * math/w_log10f.c: Likewise.
61010         * math/w_log10l.c: Likewise.
61011         * math/w_log2.c: Likewise.
61012         * math/w_log2f.c: Likewise.
61013         * math/w_log2l.c: Likewise.
61014         * math/w_logf.c: Likewise.
61015         * math/w_logl.c: Likewise.
61016         * math/w_sqrt.c: Likewise.
61017         * math/w_sqrtf.c: Likewise.
61018         * math/w_sqrtl.c: Likewise.
61019         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61020         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
61021         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61022         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61023         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61025 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61027         [BZ #9739]
61028         * manual/string.texi (strnlen): Use correct parameter name in
61029         equivalent expression.
61031 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61033         [BZ #11174]
61034         * manual/users.texi (seteuid): Consistently use neweuid for
61035         argument name.
61037 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61039         [BZ #13704]
61040         * manual/nss.texi (Services in the NSS configuration): Correct
61041         list of services in example configuration file.
61043 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
61045         [BZ #11322]
61046         * manual/arith.texi: Remove statements about negative zero
61047         behaving identically to zero.
61049 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
61051         [BZ #5993]
61052         * manual/install.texi: Do not document upgrading from libc5.
61054 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
61056         [BZ #4596]
61057         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
61059 2012-02-18  David S. Miller  <davem@davemloft.net>
61061         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
61062         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
61063         %o7 across the call.
61064         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
61065         instead.
61066         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
61067         SETUP_PIC_REG_LEAF.
61068         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61069         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
61070         * sysdeps/sparc/crtn.S: Likewise.
61072 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
61074         * aout/Makefile: Remove.
61076 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
61078         [BZ #13058]
61079         * manual/examples/argp-ex1.c (main): Format definition in GNU
61080         style.
61081         * manual/examples/argp-ex2.c (main): Likewise.
61082         * manual/examples/argp-ex3.c (main): Likewise.
61083         * manual/examples/argp-ex4.c (main): Likewise.
61084         * manual/examples/longopt.c (main): Use new-style prototype
61085         definition.
61086         * manual/examples/strncat.c (main): Specify return type and use
61087         (void) for arguments.
61088         * manual/examples/subopt.c (main): Use char **argv argument.
61090 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61092         [BZ #5077]
61093         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
61094         rounding modes.
61096 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
61098         [BZ #6907]
61099         * manual/string.texi (strchr): Change when strchrnul is
61100         recommended.
61102 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
61104         [BZ #174]
61105         * manual/locale.texi (setlocale): Document LOCPATH.
61107 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61109         [BZ #10210]
61110         * manual/process.texi (execle): Move @dots{} before last argument.
61112 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
61114         [BZ #12047]
61115         * manual/charset.texi (Generic Charset Conversion): Fix typo
61116         (LC_TYPE -> LC_CTYPE).
61118 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
61120         [BZ #5805]
61121         * manual/arith.texi (scalbn): Use @var{} on parameter names.
61122         (scalbnf): Likewise.
61123         (scalbnl): Likewise.
61124         (scalbln): Likewise.
61125         (scalblnf): Likewise.
61126         (scalblnl): Likewise.
61127         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
61128         (vwarnx): Likewise.
61129         (verr): Likewise.
61130         (verrx): Likewise.
61131         * manual/filesys.texi (telldir): Use braces around return type.
61132         * manual/llio.texi (mmap): Add space after comma.
61133         (mmap64): Likewise.
61134         * manual/math.texi (jn): Use @var{} on parameter names.
61135         (jnf): Likewise.
61136         (jnl): Likewise.
61137         (yn): Likewise.
61138         (ynf): Likewise.
61139         (ynl): Likewise.
61140         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
61141         line.
61142         * manual/resource.texi (ulimit): Use @dots{} instead of literal
61143         "...".
61144         (sched_get_priority_min): Remove semicolon on @deftypefun line.
61145         (sched_get_priority_max): Likewise.
61146         * manual/signal.texi (sigvec): Add space after comma.
61147         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
61148         names.
61149         (if_indextoname): Likewise.
61150         (if_freenameindex): Likewise.
61151         (sendto): Use ',' instead of '.' in prototype.
61152         * manual/startup.texi (syscall): Use @dots{} instead of literal
61153         "...".
61154         * manual/stdio.texi (__fpending): Separate initial words of
61155         paragraph from @deftypefun line.
61156         * manual/syslog.texi (syslog): Use @dots{} instead of literal
61157         "...".
61158         (vsyslog): Use @var{} on parameter names.
61159         * manual/terminal.texi (stty): Use @var{} on parameter names.
61160         * manual/users.texi (getutmp): Use @var{} on parameter names.
61161         (getutmpx): Likewise.
61163 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61165         [BZ #6884]
61166         * manual/stdio.texi (fopen): Fix typos in description of
61167         ",ccs=STRING".
61169 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
61171         [BZ #4026]
61172         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
61173         get clock_id definition.
61175 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
61177         [BZ #4822]
61178         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
61179         (madvise): Cast every argument to void on its own.
61181 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61183         [BZ #9902]
61184         * manual/startup.texi (Exit Status): Fix typo.
61186 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61188         [BZ #10140]
61189         * manual/examples/argp-ex1.c: Include <stdlib.h>.
61190         * manual/examples/argp-ex2.c: Likewise.
61191         * manual/examples/argp-ex3.c: Likewise.
61193 2012-02-16  Richard Henderson  <rth@redhat.com>
61195         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
61196         * sysdeps/s390/s390-32/initfini.c: Remove.
61197         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
61198         * sysdeps/s390/s390-64/initfini.c: Remove.
61200 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61202         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
61203         compiler output for sysdeps/generic/initfini.c.
61204         * sysdeps/sh/elf/initfini.c: Remove file.
61206 2012-02-16  David S. Miller  <davem@davemloft.net>
61208         [BZ #11494]
61209         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
61211         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
61212         * sysdeps/sparc/crti.S: New file.
61213         * sysdeps/sparc/crtn.S: New file.
61214         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
61215         * sysdeps/sparc/sparc64/Makefile: Likewise.
61217 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
61219         [BZ #3335]
61220         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
61222 2012-02-15  Roland McGrath  <roland@hack.frob.com>
61224         [BZ #4822]
61225         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
61227         * mach/devstream.c (cookie_io_functions_t): Macro removed.
61228         (write, read, close): Likewise.
61229         Patch by Aurelien Jarno <aurelien@aurel32.net>.
61231 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
61233         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
61234         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
61235         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
61236         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
61237         <bits/signalfd.h>.
61238         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
61239         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61240         bits/signalfd.h.
61242 2012-02-14  Marek Polacek  <polacek@redhat.com>
61244         * sysdeps/x86_64/crti.S: New file.
61245         * sysdeps/x86_64/crtn.S: New file.
61246         * sysdeps/x86_64/elf/initfini.c: Remove file.
61248 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
61250         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
61251         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
61252         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
61253         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
61254         <bits/inotify.h>.
61255         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
61256         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61257         bits/inotify.h.
61259 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
61261         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
61262         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
61263         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
61264         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
61265         <bits/eventfd.h>.
61266         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
61267         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61268         bits/eventfd.h.
61270 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
61272         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
61273         __feraiseexcept instead of feraiseexcept.
61275         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
61276         nanosleep invocations.
61277         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
61278         strings, and add error checking for a nanosleep invocations.
61280 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
61282         Replace FSF snail mail address with URLs, as per GNU coding standards.
61283         Most of the snail mail addresses were wrong anyway, and omitting
61284         them makes the source code easier to maintain.  Almost all of the
61285         changes are to license notices and to locale LC_IDENTIFICATION
61286         addresses, except for this one:
61287         * manual/libc.texinfo: In "Published by", give the FSF's URL,
61288         not its snail mail address.
61290 2012-02-09  Richard Henderson  <rth@twiddle.net>
61292         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
61293         of kernel-features.h.
61295         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
61297 2012-02-08  Marek Polacek  <polacek@redhat.com>
61299         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
61300         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
61301         * sysdeps/gnu/_G_config.h: Likewise.
61302         * sysdeps/generic/_G_config.h: Likewise.
61304 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
61306         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
61307         tests.
61308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61310         * sysdeps/powerpc/powerpc32/crti.S: New file.
61311         * sysdeps/powerpc/powerpc32/crtn.S: New file.
61312         * sysdeps/powerpc/powerpc64/crti.S: New file.
61313         * sysdeps/powerpc/powerpc64/crtn.S: New file.
61315         * Makeconfig (have-initfini): Don't set.
61316         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
61317         * configure.in (nopic_initfini): Don't substitute.
61318         * config.h.in (HAVE_INITFINI): Don't #undef.
61319         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
61320         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
61322 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
61324         Support crti.S and crtn.S provided directly by architectures.
61325         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
61326         [crti.S in sysdirs] (omit-deps): Likewise.
61327         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
61328         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
61329         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
61330         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
61331         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
61332         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
61333         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
61334         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
61335         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
61336         compiler output for sysdeps/generic/initfini.c.
61337         * sysdeps/i386/elf/Makefile: Remove file.
61338         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
61340 2012-02-07  Marek Polacek  <polacek@redhat.com>
61342         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
61343         * sysdeps/gnu/_G_config.h: Likewise.
61344         * sysdeps/mach/hurd/_G_config.h: Likewise.
61346 2012-02-07  Marek Polacek  <polacek@redhat.com>
61348         * math/Makefile (tests): Add tst-CMPLX2.
61349         * math/tst-CMPLX2.c: New file.
61351 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
61353         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61355         * math/libm-test.inc (jn_test): Add missing L suffix.
61357 2012-02-06  Marek Polacek  <polacek@redhat.com>
61359         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
61360         * sysdeps/i386/fpu/e_powf.S: Likewise.
61361         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61362         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61363         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61364         * sysdeps/i386/fpu/e_pow.S: Likewise.
61365         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61366         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61367         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61368         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61369         * sysdeps/i386/fpu/e_log2.S: Likewise.
61370         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61371         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61372         * sysdeps/i386/fpu/e_powl.S: Likewise.
61373         * sysdeps/i386/fpu/s_log1p.S: Likewise.
61374         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61375         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61376         * sysdeps/i386/fpu/e_logl.S: Likewise.
61377         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61378         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
61379         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61380         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61381         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61382         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61383         * sysdeps/i386/fpu/e_log.S: Likewise.
61384         * sysdeps/i386/fpu/s_cexp.S: Likewise.
61385         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61386         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
61387         * sysdeps/i386/fpu/e_logf.S: Likewise.
61388         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61389         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61390         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
61391         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61392         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61393         * sysdeps/i386/fpu/e_log10.S: Likewise.
61394         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61395         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61396         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61397         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61398         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61399         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61400         * sysdeps/i386/asm-syntax.h: Likewise.
61401         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61402         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61403         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61404         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
61405         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
61406         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61407         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61408         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61409         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61410         * sysdeps/powerpc/sysdep.h: Likewise.
61411         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
61412         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61414 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
61416         [BZ #411]
61417         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
61419 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
61421         * sysdeps/i386/sysdep.h: Include <features.h>.
61422         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
61423         version.
61425 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
61427         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
61428         Define.
61429         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
61430         LOAD_PIC_REG_STR.
61432 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61434         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
61435         (SETUP_PIC_REG): Use GET_PC_THUNK.
61436         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
61437         macro.
61439 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61441         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
61442         for non-PIC compilation.
61443         (SETUP_PIC_REG): Add .p2align directive.
61444         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
61445         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
61446         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61447         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61448         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
61449         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61450         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
61451         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61452         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61453         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61454         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61455         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61456         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61457         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61458         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61459         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
61460         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
61461         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61462         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61463         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61464         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61465         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
61466         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61467         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61468         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
61469         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
61470         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61471         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
61472         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61473         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61474         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61475         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61476         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61477         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61478         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61479         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61480         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61481         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61482         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61483         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61484         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61486 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61488         * math/tst-CMPLX.c: Include <stdio.h>.
61490 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
61492         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
61493         float.
61494         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
61495         * sysdeps/sparc/bits/mathdef.h: Likewise.
61497 2012-01-31  Marek Polacek  <polacek@redhat.com>
61499         * libio/libio.h: Don't define _PARAMS.
61500         * locale/programs/config.h: Don't define PARAMS.
61501         * stdlib/strtol_l.c: Likewise.
61502         (__strtol_l): Remove PARAMS from the prototype.
61504 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
61506         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
61507         names.  Just use the correct names.  Remove unnecessary wrapper
61508         functions.
61509         * malloc/arena.c: Likewise.
61510         * malloc/hooks.c: Likewise.
61512         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
61513         ARENA_TEST says not to.  Simplify test for creation of a new arena.
61514         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
61516 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
61518         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
61519         into tail calls.
61520         (update_get_addr): New function.
61521         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
61522         GET_ADDR_MODULE parameter.
61524 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61526         * crypt/cert.c: Remove __STDC__ conditionals.
61527         * crypt/crypt-entry.c: Likewise.
61528         * crypt/crypt_util.c: Likewise.
61529         * libio/filedoalloc.c: Likewise.
61530         * libio/fileops.c: Likewise.
61531         * libio/genops.c: Likewise.
61532         * libio/iofclose.c: Likewise.
61533         * libio/iofdopen.c: Likewise.
61534         * libio/iofopen.c: Likewise.
61535         * libio/iofopen64.c: Likewise.
61536         * libio/iogetdelim.c: Likewise.
61537         * libio/iopopen.c: Likewise.
61538         * libio/obprintf.c: Likewise.
61539         * libio/oldfileops.c: Likewise.
61540         * libio/oldiofclose.c: Likewise.
61541         * libio/oldiofdopen.c: Likewise.
61542         * libio/oldiofopen.c: Likewise.
61543         * libio/oldiopopen.c: Likewise.
61544         * libio/wfiledoalloc.c: Likewise.
61545         * libio/wgenops.c: Likewise.
61546         * locale/programs/xmalloc.c: Likewise.
61547         * misc/syslog.c: Likewise.
61548         * stdio-common/xbug.c: Likewise.
61549         * string/memchr.c: Likewise.
61550         * string/memcmp.c: Likewise.
61551         * string/memrchr.c: Likewise.
61552         * string/rawmemchr.c: Likewise.
61553         * sysdeps/posix/getcwd.c: Likewise.
61554         * time/strftime_l.c: Likewise.
61556 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61558         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
61559         * config.make.in (config-cflags-sse2avx): Define.
61560         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
61561         Fix typo.
61563 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
61565         * scripts/config.guess: Update from upstream config git repository.
61566         * scripts/config.sub: Likewise.
61568 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
61570         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
61571         (EM_NUM): Update.
61572         (R_TILEPRO_*, R_TILEGX_*): New macros.
61574         * scripts/firstversions.awk: Fix bug in version range handling.
61576         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
61578         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
61580         * include/sys/epoll.h: New file.
61581         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
61582         libc_hidden_def.
61584 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
61586         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
61587         Avoid unnecessary __WORDSIZE == 64 test.
61588         (fmaxf): Use VEX format if possible.
61589         (fmax): Likewise.
61590         (fminf): Likewise.
61591         (fmin): Likewise.
61593         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
61594         * math/math_private.h: Remove libc_fegetround* and
61595         libc_fesetround*.
61596         * sysdeps/i386/configure.in: Check for -msse2avx.
61597         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
61598         also if SSE2AVX is defined.
61599         Remove libc_fegetround* and libc_fesetround*.
61600         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
61601         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
61602         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
61603         of HAS_YMM_USABLE.
61604         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61605         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61606         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61607         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61608         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61610         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
61612 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61614         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
61615         size is not set.
61616         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61618 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
61620         [BZ #13618]
61621         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
61622         relocation.
61623         * Makeconfig (libm): Define.
61624         * elf/Makefile: Add rules to build and run tst-relsort1.
61625         * elf/tst-relsort1.c: New file.
61626         * elf/tst-relsort1mod1.c: New file.
61627         * elf/tst-relsort1mod2.c: New file.
61629 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
61631         * math/s_ldexp.c: Remove __STDC__ conditionals.
61632         * math/s_ldexpf.c: Likewise.
61633         * math/s_ldexpl.c: Likewise.
61634         * math/s_nextafter.c: Likewise.
61635         * math/s_nexttowardf.c: Likewise.
61636         * math/s_significand.c: Likewise.
61637         * math/s_significandf.c: Likewise.
61638         * math/s_significandl.c: Likewise.
61639         * math/w_jnl.c: Likewise.
61640         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61641         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61642         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61643         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61644         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61645         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61646         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
61647         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61648         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61649         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61650         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61651         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61652         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61653         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61654         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61655         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61656         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61657         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61658         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61659         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61660         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61661         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61662         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61663         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61664         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61665         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61666         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61667         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61668         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61669         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61670         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61671         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61672         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61673         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61674         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61675         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61676         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61677         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61678         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61679         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61680         * sysdeps/ieee754/k_standard.c: Likewise.
61681         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61682         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61683         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61684         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61685         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61686         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61687         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61688         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61689         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61690         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61691         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61692         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61693         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61694         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61695         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61696         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61697         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61698         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61699         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61700         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61701         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61702         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61703         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61704         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61705         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61706         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61707         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61708         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61709         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61710         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61711         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61712         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
61713         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61714         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61715         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61716         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61717         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
61718         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61719         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61720         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
61721         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
61722         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61723         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
61724         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
61725         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61726         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61727         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
61728         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61729         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61730         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
61731         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
61732         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61733         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61734         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61735         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61736         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61737         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
61738         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61739         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61740         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61741         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61742         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61743         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61744         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61745         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61746         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61747         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61748         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61749         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61750         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61751         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61752         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61753         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61754         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61755         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61756         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61757         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61758         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61759         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61760         * sysdeps/ieee754/s_matherr.c: Likewise.
61761         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61762         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61763         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61764         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61766 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61768         * crypt/md5.h: Remove __STDC__ conditionals.
61769         * libio/libioP.h: Likewise.
61770         * locale/programs/config.h: Likewise.
61771         * sysdeps/generic/sysdep.h: Likewise.
61772         * sysdeps/i386/asm-syntax.h: Likewise.
61773         * sysdeps/s390/asm-syntax.h: Likewise.
61774         * sysdeps/unix/sysdep.h: Likewise.
61775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
61776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61778 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61780         * libio/libio.h: Remove __STDC__ conditionals.
61781         * malloc/obstack.h: Likewise.
61782         * math/complex.h: Likewise.
61783         * math/math.h: Likewise.
61784         * sysdeps/generic/_G_config.h: Likewise.
61785         * sysdeps/gnu/_G_config.h: Likewise.
61786         * sysdeps/mach/hurd/_G_config.h: Likewise.
61787         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61788         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
61789         * sysdeps/sparc/bits/mathdef.h: Likewise.
61791 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
61793         [BZ #13583]
61794         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
61795         Clean up HAS_* macros.
61796         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
61797         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
61798         possible.
61799         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
61800         HAS_AVX.
61801         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61802         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61803         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61804         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61805         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61807 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
61809         * elf/tst-unique3.cc (gets): Remove declaration.
61810         * elf/tst-unique3lib.cc (gets): Likewise.
61811         * elf/tst-unique3lib2.cc (gets): Likewise.
61812         * elf/tst-unique4.cc (gets): Likewise.
61814 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
61816         * include/stdio.h: Add C++ protection.  Add gets declarations and
61817         definitions.
61818         * debug/tst-chk1.c: Don't declare gets here.
61819         * stdio-common/tst-gets.c: Likewise.
61821 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61823         * posix/glob: Remove directory.
61825 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61827         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
61829 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
61831         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
61832         of the non-standard EPFNOSUPPORT.
61834 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61836         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
61837         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
61838         ANYWHERE set to 1 only on KERN_NO_SPACE error.
61840 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
61842         * wcsmbs/uchar.h: Test __STDC_VERSION__.
61844 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
61846         * nscd/aicache.c (addhstaiX): Do not cache negative results of
61847         transient errors.
61848         * nscd/grpcache.c (cache_addgr): Likewise.
61849         * nscd/hstcache.c (cache_addhst): Likewise.
61850         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61851         * nscd/pwdcache.c (cache_addpw): Likewise.
61852         * nscd/servicescache.c (cache_addserv): Likewise.
61854 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
61856         * malloc/malloc.c: Various cleanups.
61857         * malloc/hooks.c: Likewise.
61859         * stdlib/Makefile (tests): Add bug-fmtmsg1.
61860         * stdlib/bug-fmtmsg1.c: New file.
61862         * stdlib/fmtmsg.c (init): Add missing unlock.
61863         Patch by Peng Haitao <penght@cn.fujitsu.com>.
61865 2012-01-12  Marek Polacek  <polacek@redhat.com>
61867         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
61868         and _GNU_SOURCE.
61870 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
61872         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
61873         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
61874         macro to ensure uniqueness of label name.
61875         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
61876         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
61878 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
61880         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
61882         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
61883         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61884         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61885         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
61887 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
61889         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
61891         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
61892         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61893         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61895         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
61897         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
61898         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61899         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61900         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
61902         * math/bits/math-finite.h: Add ldexp support.
61904 2012-01-10  Marek Polacek  <polacek@redhat.com>
61906         * locale/programs/localedef.h (show_archive_content): Add noreturn
61907         attribute.
61909 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
61911         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
61913 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61915         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
61917         * io/Makefile (headers): Add bits/poll2.h.
61919 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
61921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
61922         typo #include statement.
61924 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61926         * include/sys/cdefs.h: Define __attribute_alloc_size.
61927         * catgets/gencat.c: Add alloc_size attribute and apply consistently
61928         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
61929         * elf/pldd.c: Likewise.
61930         * iconv/iconv_charmap.c: Likewise.
61931         * iconv/iconvconfig.c: Likewise.
61932         * iconv/strtab.c: Likewise.
61933         * locale/programs/locale.c: Likewise.
61934         * locale/programs/localedef.h: Likewise.
61935         * locale/programs/simple-hash.c: Likewise.
61936         * nscd/nscd.h: Likewise.
61937         * nss/makedb.c: Likewise.
61938         * sysdeps/generic/ldconfig.h: Likewise.
61939         * locale/programs/localedef.c: Remove xmalloc prototype.
61940         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
61942 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61944         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
61945         appropriate.
61947 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61949         * math/Makefile (tests): Add tst-CMPLX.
61950         * math/tst-CMPLX.c: New file.
61952         * math/complex.h (CMPLXL): Fix typo.
61954         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
61955         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
61956         GLIBC_2.16.
61957         * debug/tst-chk1.c: Add poll and ppoll tests.
61958         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
61959         * include/sys/poll.h: Add hidden proto for ppoll.
61960         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
61961         * sysdeps/mach/hurd/ppoll.c: Likewise.
61962         * io/ppoll.c: Likewise.
61963         * debug/poll_chk.c: New file.
61964         * debug/ppoll_chk.c: New file.
61965         * include/bits/poll2.h: New file.
61966         * io/bits/poll2.h: New file.
61968         [BZ #1350]
61969         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
61971         * configure.in: static is always set to yes.  Remove.
61972         * config.make.in: Don't set build-static.
61973         * Makeconfig: Remove use of build-static.
61974         * dlfcn/Makefile: Likewise.
61975         * elf/Makefile: Likewise.
61976         * math/Makefile: Likewise.
61977         * misc/Makefile: Likewise.
61978         * nptl/Makefile: Likewise.
61979         * sysdeps/mach/hurd/Makefile: Likewise.
61981         * configure.in: PWD_P is not used anymore.
61982         * config.make.in: Remove PWD_P entry.
61984         * configure.in: Remove last remnants of RANLIB.
61985         No need to check for signed size_t anymore.
61986         Don't set libc_commonpagesize and libc_relro_required here for Alpha
61987         and IA-64.
61988         Remove __builtin_expect test because we require at least gcc 3.4.
61989         * aclocal.m4: Likewise.
61991         * wcsmbs/mbrtoc16.c: Implement using towc function.
61992         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
61993         * wcsmbs/wcsmbsload.c: Likewise.
61994         * iconv/gconv_simple.c: Likewise.
61995         * iconv/gconv_int.h: Likewise.
61996         * iconv/gconv_builtin.h: Likewise.
61997         * iconv/iconv_prog.c: Remove CHAR16 handling.
61999         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
62001         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
62003         * configure.in: Remove --with-elf and --enable-bounded options.
62004         Dont set base_machine for ia64.  More non-ELF conditions removed.
62005         Remove testing and setting of leading underscore information.
62006         * config.make.in (build-bounded): Set to no.
62007         * config.h.in: Remove NO_UNDERSCORES entry.
62008         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
62009         them.
62010         * csu/start.c: Remove !NO_UNDERSCORE code.
62011         * locale/localeinfo.h: Likewise.
62012         * sysdeps/generic/machine-gmon.h: Likewise.
62013         * sysdeps/generic/sysdep.h: Likewise.
62014         * sysdeps/i386/sysdep.h: Likewise.
62015         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
62016         * sysdeps/mach/sysdep.h: Likewise.
62017         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62018         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62019         * sysdeps/sh/sysdep.h: Likewise.
62020         * sysdeps/sparc/sparc32/alloca.S: Likewise.
62021         * sysdeps/unix/i386/sysdep.S: Likewise.
62022         * sysdeps/unix/sparc/start.c: Likewise.
62023         * sysdeps/unix/sparc/sysdep.S: Likewise.
62024         * sysdeps/unix/sparc/sysdep.h: Likewise.
62025         * sysdeps/unix/start.c: Likewise.
62026         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62027         * sysdeps/x86_64/sysdep.h: Likewise.
62029 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
62031         [BZ #13553]
62032         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
62033         for non-gcc.
62034         * argp/argp-fmtstream.h: Use const instead __const.
62035         * argp/argp.h: Likewise.
62036         * assert/assert.h: Likewise.
62037         * bits/fenv.h: Likewise.
62038         * bits/sched.h: Likewise.
62039         * bits/sigset.h: Likewise.
62040         * bits/sigthread.h: Likewise.
62041         * catgets/nl_types.h: Likewise.
62042         * conform/data/pthread.h-data: Likewise.
62043         * crypt/crypt-private.h: Likewise.
62044         * crypt/crypt.h: Likewise.
62045         * crypt/crypt_util.c: Likewise.
62046         * ctype/ctype.h: Likewise.
62047         * debug/execinfo.h: Likewise.
62048         * debug/mbsnrtowcs_chk.c: Likewise.
62049         * debug/mbsrtowcs_chk.c: Likewise.
62050         * debug/wcsnrtombs_chk.c: Likewise.
62051         * debug/wcsrtombs_chk.c: Likewise.
62052         * debug/wcstombs_chk.c: Likewise.
62053         * dirent/dirent.h: Likewise.
62054         * dlfcn/dlfcn.h: Likewise.
62055         * elf/neededtest4.c: Likewise.
62056         * grp/grp.h: Likewise.
62057         * gshadow/gshadow.h: Likewise.
62058         * iconv/gconv.h: Likewise.
62059         * iconv/gconv_int.h: Likewise.
62060         * iconv/gconv_simple.c: Likewise.
62061         * iconv/iconv.h: Likewise.
62062         * iconv/loop.c: Likewise.
62063         * iconv/skeleton.c: Likewise.
62064         * include/aio.h: Likewise.
62065         * include/aliases.h: Likewise.
62066         * include/argz.h: Likewise.
62067         * include/arpa/inet.h: Likewise.
62068         * include/assert.h: Likewise.
62069         * include/dirent.h: Likewise.
62070         * include/dlfcn.h: Likewise.
62071         * include/execinfo.h: Likewise.
62072         * include/fcntl.h: Likewise.
62073         * include/fenv.h: Likewise.
62074         * include/glob.h: Likewise.
62075         * include/grp.h: Likewise.
62076         * include/libintl.h: Likewise.
62077         * include/mntent.h: Likewise.
62078         * include/netdb.h: Likewise.
62079         * include/pwd.h: Likewise.
62080         * include/rpc/netdb.h: Likewise.
62081         * include/sched.h: Likewise.
62082         * include/search.h: Likewise.
62083         * include/shadow.h: Likewise.
62084         * include/signal.h: Likewise.
62085         * include/stdio.h: Likewise.
62086         * include/stdlib.h: Likewise.
62087         * include/string.h: Likewise.
62088         * include/sys/socket.h: Likewise.
62089         * include/sys/stat.h: Likewise.
62090         * include/sys/statfs.h: Likewise.
62091         * include/sys/statvfs.h: Likewise.
62092         * include/sys/syslog.h: Likewise.
62093         * include/sys/time.h: Likewise.
62094         * include/sys/uio.h: Likewise.
62095         * include/time.h: Likewise.
62096         * include/unistd.h: Likewise.
62097         * include/utmp.h: Likewise.
62098         * include/wchar.h: Likewise.
62099         * include/wctype.h: Likewise.
62100         * inet/aliases.h: Likewise.
62101         * inet/arpa/inet.h: Likewise.
62102         * inet/netinet/ether.h: Likewise.
62103         * inet/netinet/in.h: Likewise.
62104         * intl/libintl.h: Likewise.
62105         * io/bits/fcntl2.h: Likewise.
62106         * io/fcntl.h: Likewise.
62107         * io/ftw.h: Likewise.
62108         * io/sys/poll.h: Likewise.
62109         * io/sys/stat.h: Likewise.
62110         * io/sys/statfs.h: Likewise.
62111         * io/sys/statvfs.h: Likewise.
62112         * io/utime.h: Likewise.
62113         * libio/bits/stdio.h: Likewise.
62114         * libio/bits/stdio2.h: Likewise.
62115         * libio/libio.h: Likewise.
62116         * libio/libioP.h: Likewise.
62117         * libio/stdio.h: Likewise.
62118         * locale/lc-ctype.c: Likewise.
62119         * locale/locale.h: Likewise.
62120         * login/utmp.h: Likewise.
62121         * malloc/arena.c: Likewise.
62122         * malloc/malloc.c: Likewise.
62123         * malloc/malloc.h: Likewise.
62124         * malloc/mcheck.c: Likewise.
62125         * malloc/mtrace.c: Likewise.
62126         * math/bits/mathcalls.h: Likewise.
62127         * math/fenv.h: Likewise.
62128         * math/math_private.h: Likewise.
62129         * misc/bits/error.h: Likewise.
62130         * misc/bits/syslog.h: Likewise.
62131         * misc/err.h: Likewise.
62132         * misc/error.h: Likewise.
62133         * misc/fstab.h: Likewise.
62134         * misc/mntent.h: Likewise.
62135         * misc/regexp.h: Likewise.
62136         * misc/search.h: Likewise.
62137         * misc/sgtty.h: Likewise.
62138         * misc/sys/mman.h: Likewise.
62139         * misc/sys/syslog.h: Likewise.
62140         * misc/sys/uio.h: Likewise.
62141         * misc/sys/xattr.h: Likewise.
62142         * misc/ttyent.h: Likewise.
62143         * nis/rpcsvc/ypclnt.h: Likewise.
62144         * nss/nss.h: Likewise.
62145         * posix/bits/unistd.h: Likewise.
62146         * posix/fnmatch.h: Likewise.
62147         * posix/glob.h: Likewise.
62148         * posix/sched.h: Likewise.
62149         * posix/spawn.h: Likewise.
62150         * posix/sys/wait.h: Likewise.
62151         * posix/unistd.h: Likewise.
62152         * posix/wordexp.h: Likewise.
62153         * pwd/pwd.h: Likewise.
62154         * resolv/netdb.h: Likewise.
62155         * resource/sys/resource.h: Likewise.
62156         * rt/aio.h: Likewise.
62157         * rt/bits/mqueue2.h: Likewise.
62158         * rt/mqueue.h: Likewise.
62159         * shadow/shadow.h: Likewise.
62160         * signal/signal.h: Likewise.
62161         * socket/send.c: Likewise.
62162         * socket/sendto.c: Likewise.
62163         * socket/sys/socket.h: Likewise.
62164         * stdio-common/printf.h: Likewise.
62165         * stdlib/bits/stdlib.h: Likewise.
62166         * stdlib/fmtmsg.h: Likewise.
62167         * stdlib/monetary.h: Likewise.
62168         * stdlib/stdlib.h: Likewise.
62169         * stdlib/ucontext.h: Likewise.
62170         * streams/stropts.h: Likewise.
62171         * string/argz.h: Likewise.
62172         * string/bits/string2.h: Likewise.
62173         * string/string.h: Likewise.
62174         * string/strings.h: Likewise.
62175         * sunrpc/rpc/auth.h: Likewise.
62176         * sunrpc/rpc/auth_des.h: Likewise.
62177         * sunrpc/rpc/clnt.h: Likewise.
62178         * sunrpc/rpc/netdb.h: Likewise.
62179         * sunrpc/rpc/pmap_clnt.h: Likewise.
62180         * sunrpc/rpc/xdr.h: Likewise.
62181         * sysdeps/generic/inttypes.h: Likewise.
62182         * sysdeps/generic/net/if.h: Likewise.
62183         * sysdeps/generic/sys/swap.h: Likewise.
62184         * sysdeps/gnu/net/if.h: Likewise.
62185         * sysdeps/gnu/utmpx.h: Likewise.
62186         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
62187         * sysdeps/i386/i486/bits/string.h: Likewise.
62188         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
62189         * sysdeps/s390/bits/string.h: Likewise.
62190         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
62191         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
62192         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
62193         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
62194         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
62195         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
62196         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
62197         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
62198         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
62199         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
62200         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
62201         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
62202         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
62203         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
62204         * sysdeps/unix/sysv/linux/readv.c: Likewise.
62205         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
62206         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
62207         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62208         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
62209         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
62210         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62211         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
62212         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
62213         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
62214         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
62215         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
62216         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
62217         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62218         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
62219         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
62220         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
62221         * sysvipc/sys/ipc.h: Likewise.
62222         * sysvipc/sys/msg.h: Likewise.
62223         * sysvipc/sys/sem.h: Likewise.
62224         * sysvipc/sys/shm.h: Likewise.
62225         * termios/termios.h: Likewise.
62226         * time/sys/time.h: Likewise.
62227         * time/time.h: Likewise.
62228         * wcsmbs/bits/wchar2.h: Likewise.
62229         * wcsmbs/uchar.h: Likewise.
62230         * wcsmbs/wchar.h: Likewise.
62231         * wctype/wctype.h: Likewise.
62233         [BZ #13551]
62234         * Makeconfig: Remove all but ELF support including AIX support.
62235         * Makerules: Likewise.
62236         * config.h.in: Likewise.
62237         * config.make.in: Likewise.
62238         * configure: Likewise.
62239         * configure.in: Likewise.
62240         * csu/Makefile: Likewise.
62241         * csu/version.c: Likewise.
62242         * debug/Makefile: Likewise.
62243         * dlfcn/Makefile: Likewise.
62244         * elf/Makefile: Likewise.
62245         * extra-lib.mk: Likewise.
62246         * iconv/Makefile: Likewise.
62247         * include/libc-symbols.h: Likewise.
62248         * include/shlib-compat.h: Likewise.
62249         * resolv/Makefile: Likewise.
62250         * resolv/res_libc.c: Likewise.
62251         * rt/Makefile: Likewise.
62252         * sysdeps/i386/asm-syntax.h: Likewise.
62253         * sysdeps/i386/sysdep.h: Likewise.
62254         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
62255         * sysdeps/mach/sysdep.h: Likewise.
62256         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
62257         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
62258         * sysdeps/s390/asm-syntax.h: Likewise.
62259         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62260         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62261         * sysdeps/sh/sysdep.h: Likewise.
62262         * sysdeps/unix/sparc/sysdep.h: Likewise.
62263         * sysdeps/wordsize-32/divdi3.c: Likewise.
62264         * sysdeps/x86_64/sysdep.h: Likewise.
62266         * argp/Versions: Remove _argp_unlock_xxx.
62268         [BZ #13559]
62269         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
62270         * abilist/libBrokenLocale.abilist: Likewise.
62271         * abilist/libanl.abilist: Likewise.
62272         * abilist/libc.abilist: Likewise.
62273         * abilist/libcrypt.abilist: Likewise.
62274         * abilist/libdl.abilist: Likewise.
62275         * abilist/libm.abilist: Likewise.
62276         * abilist/libnsl.abilist: Likewise.
62277         * abilist/libpthread.abilist: Likewise.
62278         * abilist/libresolv.abilist: Likewise.
62279         * abilist/librt.abilist: Likewise.
62280         * abilist/libthread_db.abilist: Likewise.
62281         * abilist/libutil.abilist: Likewise.
62282         * abilist/libnss_db.abilist: New file.
62284         * scripts/abilist.awk: Add support for indirect functions.
62286         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
62288         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
62290         * shlib-versions: Remove entries for ports architectures.
62292         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
62293         files in ports.
62294         * elf/stackguard-macros.h: Remove support for IA-64.
62295         * elf/tst-auditmod1.c: Likewise.
62296         * sysdeps/generic/ldsodefs.h: Likewise.
62298         * sysdeps/unix/sysv/linux/configure.in: Ports should define
62299         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
62300         configure files.
62302         [BZ #13552]
62303         * configure.in: Remove --enable-omitfp support.
62304         * FAQ.in: Adjust.
62305         * config.make.in: Likewise.
62306         * Makeconfig: Likewise.
62307         * manual/install.texi: Likewise.
62309         In case anyone cares, the IA-64 architecture could move to ports.
62310         * sysdeps/ia64/*: Removed.
62311         * sysdeps/unix/sysv/linux/ia64/*: Removed.
62312         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
62314         [BZ #13555]
62315         * configure.in: Remove entries for unsupported architectures.
62317         [BZ #13533]
62318         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
62319         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
62320         routines.
62321         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
62322         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
62323         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
62324         fall back to using wcrtomb.
62325         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
62326         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
62327         renaming.
62328         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
62329         * wcsmbs/tst-c16c32-1.c: New file.
62331         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
62332         local variable.
62334         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
62336         * elf/tst-unique3.cc: Add explicit declaration of gets.
62337         * elf/tst-unique3lib.cc: Likewise.
62338         * elf/tst-unique3lib2.cc: Likewise.
62339         * elf/tst-unique4.cc: Likewise.
62341         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
62343 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
62345         [BZ #13566]
62346         * assert/assert.h (static_assert): Don't define for C++.
62347         * libio/stdio.h (gets): Do declare for C++ <= C++11.
62348         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
62350 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
62352         * iconv/loop.c (single loop): Fix assertion in storing of
62353         remaining bytes.
62355         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
62357 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
62359         * posix/getconf.c: Update copyright year.
62360         * nss/getent.c: Likewise.
62361         * nss/makedb.c: Likewise.
62362         * iconv/iconvconfig.c: Likewise.
62363         * iconv/iconv_prog.c: Likewise.
62364         * elf/ldconfig.c: Likewise.
62365         * elf/pldd.c: Likewise.
62366         * elf/sotruss.ksh: Likewise.
62367         * catgets/gencat.c: Likewise.
62368         * csu/version.c: Likewise.
62369         * elf/ldd.bash.in: Likewise.
62370         * elf/sprof.c (print_version): Likewise.
62371         * locale/programs/locale.c: Likewise.
62372         * locale/programs/localedef.c: Likewise.
62373         * login/programs/pt_chown.c: Likewise.
62374         * nscd/nscd.c (print_version): Likewise.
62375         * debug/xtrace.sh: Likewise.
62376         * malloc/memusage.sh: Likewise.
62377         * malloc/mtrace.pl: Likewise.
62378         * debug/catchsegv.sh: Likewise.
62380 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
62382         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
62383         pure attribute.
62385 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
62387         [BZ #13533]
62388         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
62389         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
62390         transformations.
62391         * iconv/gconv_int.h: Likewise.
62392         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
62393         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
62394         from libc for GLIBC_2.16.
62395         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
62396         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
62397         * wcsmbs/uchar.h: Really define mbstate_t.
62398         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
62399         * wcsmbs/c16rtomb.c: New file.
62400         * wcsmbs/mbrtoc16.c: New file.
62401         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
62402         for C/POSIX locale.
62403         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
62404         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
62406         * wcsmbs/wchar.h: Add missing __restrict.
62408 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
62410         [BZ #13532]
62411         * time/Makefile (routines): Add timespec_get.
62412         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
62413         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
62414         timespec for ISO C11.
62415         * time/timespec_get.c: New file.
62416         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
62417         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
62419         [BZ #13531]
62420         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
62421         * stdlib/stdlib.h: Declare aligned_alloc.
62422         * Versions.def: Add GLIBC_2.16 for libc.
62423         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
62425         [BZ 13527]
62426         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
62427         ISO C11.
62429         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
62430         code.
62432         [BZ #13528]
62433         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
62435         [BZ #13529]
62436         * assert/assert.h (static_assert): Define.
62438         * version.h: Update for 2.16 development version.
62440         [BZ #13526]
62441         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
62442         _ISOC11_SOURCE.
62444         * version.h (RELEASE): Bump for 2.15 release.
62445         * include/features.h (__GLIBC_MINOR__): Bump to 15.
62447         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
62448         Patch by Marek Polacek <mpolacek@redhat.com>.
62450         * bits/byteswap.h: Protect long long constants with __extension__.
62451         * sysdeps/i386/bits/byteswap.h: Likewise.
62452         * sysdeps/ia64/bits/byteswap.h: Likewise.
62453         * sysdeps/s390/bits/byteswap.h: Likewise.
62454         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62456 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62458         [BZ #13540]
62459         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
62460         destination buffer.
62461         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
62463 2011-12-23  Marek Polacek  <polacek@redhat.com>
62465         * elf/dl-addr.c (determine_info): Add inline keyword.
62466         * elf/tst-auditmod4b.c (check_avx): Likewise.
62467         * elf/tst-auditmod6b.c (check_avx): Likewise.
62468         * elf/tst-auditmod6c.c (check_avx): Likewise.
62469         * elf/tst-auditmod7b.c (check_avx): Likewise.
62471 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
62473         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
62474         !__SSE_MATH__.
62476 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62478         [BZ #13540]
62479         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
62480         processing for last bytes.
62482 2011-08-06  Bruno Haible  <bruno@clisp.org>
62484         [BZ #13061]
62485         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
62486         U+0385, not to U+1FEE.
62488         [BZ #13062]
62489         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
62490         entry for U+00A5 U+0301.
62492 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62494         [BZ #13166]
62495         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
62496         buffer for the output is too small.
62498         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
62499         optimization.
62501         [BZ #13185]
62502         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
62503         SSE flags if possible.
62505 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62507         [BZ #13540]
62508         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
62509         processing for last bytes.
62511 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
62513         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
62514         (syscall-list-default-options, syscall-list-default-condition)
62515         (syscall-list-includes): Define.
62516         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
62517         list of ABIs and options and #if conditions for each ABI.  Do not
62518         handle common syscalls between ABIs specially.
62519         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
62520         Remove.
62521         (syscall-list-variants, syscall-list-32bit-options)
62522         (syscall-list-32bit-condition, syscall-list-64bit-options)
62523         (syscall-list-64bit-condition): Define.
62524         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
62525         (syscall-list-variants, syscall-list-32bit-options)
62526         (syscall-list-32bit-condition, syscall-list-64bit-options)
62527         (syscall-list-64bit-condition): Define.
62528         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
62529         Remove.
62530         (syscall-list-variants, syscall-list-32bit-options)
62531         (syscall-list-32bit-condition, syscall-list-64bit-options)
62532         (syscall-list-64bit-condition): Define.
62533         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
62534         Remove.
62535         (syscall-list-variants, syscall-list-32bit-options)
62536         (syscall-list-32bit-condition, syscall-list-64bit-options)
62537         (syscall-list-64bit-condition): Define.
62539 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62541         * locale/iso-639.def: Add brx entry.
62543         [BZ #13328]
62544         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
62545         Proposed by Mariusz_Cukr <marcukr@op.pl>.
62547         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
62548         __feraiseexcept_renamed.
62550 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62552         [BZ #13538]
62553         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
62554         EPOLLET with unsigned values.
62555         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62556         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62558         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
62559         to large cancellation.
62560         * math/s_cacoshf.c: Likewise.
62561         * math/s_cacoshl.c: Likewise.
62563 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
62565         [BZ #13305]
62566         [BZ #12786]
62567         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
62568         * math/s_cacoshf.c: Likewise.
62569         * math/s_cacoshl.c: Likewise.
62571 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62573         [BZ #13439]
62574         * iconv/gconv.h: Define __GCONV_SWAP.
62575         * iconvdata/unicode.c: The swap bit must be stored in __flags.
62576         * iconvdata/utf-16.c: Likewise.
62577         * iconvdata/utf-32.c: Likewise.
62579 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
62581         [BZ #13524]
62582         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
62583         numerator after shifting it by one limb.
62585 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
62587         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
62588         under [__USE_EXTERN_INLINES].
62590 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62592         [BZ #13446]
62593         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
62595 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62597         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
62598         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
62599         optimized code.
62600         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
62601         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
62602         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
62603         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
62604         for strncasecmp/strncasecmp_l compilation.
62605         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
62606         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
62608 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
62610         [BZ #13484]
62611         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
62612         of __asm__.
62614 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62616         [BZ #13506]
62617         * time/tzfile.c (__tzfile_read): Check values from file header.
62619 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62621         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
62622         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
62623         * powerpc/powerpc32/dl-start.S: Likewise.
62624         * powerpc/powerpc32/elf/start.S: Likewise.
62625         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
62626         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
62627         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
62628         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
62629         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62630         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
62631         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
62632         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62633         * powerpc/powerpc32/fpu/s_round.S: Likewise.
62634         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62635         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62636         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62637         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
62638         * powerpc/powerpc32/memset.S: Likewise.
62639         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62640         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62641         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62642         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62643         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62644         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62645         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62646         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62647         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
62648         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
62649         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
62650         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
62651         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
62653 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62655         * math/libm-test.inc: Added more nearbyint tests.
62656         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
62657         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
62658         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
62659         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
62661 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
62663         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
62664         FD_CLOEXEC.
62666 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62668         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
62669         Add wcscpy-ssse3 wcscpy-c.
62670         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
62671         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
62672         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
62673         * sysdeps/x86_64/wcschr.S: New file.
62674         * sysdeps/x86_64/wcsrchr.S: New file.
62675         * string/test-strcmp.c: Remove checking of wcscmp function for
62676         wrong alignments.
62677         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
62678         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
62679         wcsrchr-sse2 wcsrchr-c.
62680         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
62681         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
62682         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
62683         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
62684         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
62685         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
62686         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
62687         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
62688         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
62689         * wcsmbc/wcschr.c (WCSCHR): New macro.
62691 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62693         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
62694         * wcsmbs/test-wcsrchr.c: New file.
62695         * string/test-strrchr.c: Add wcsrchr support.
62696         (WIDE): New macro.
62697         * wcsmbs/test-wcscpy.c: New file.
62698         * string/test-strcpy.c: Add wcscpy support.
62699         (WIDE): New macro.
62701 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
62703         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
62704         the inner loop.
62706 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
62708         [BZ #13472]
62709         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
62711 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
62713         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
62714         Minor optimizations.
62716         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
62717         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
62718         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
62720 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
62722         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
62723         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
62724         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
62725         for gcc to avoid warnings.
62726         * inet/Makefile (tests): Add tst-checks.
62727         * inet/tst-checks.c: New file.
62729         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
62730         warning.
62732         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
62733         __wmemcmp_sse2.
62735         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
62736         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
62738         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
62740 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
62742         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
62743         problem.
62745         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
62747 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
62749         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
62750         conditional on GCC version.
62751         (__arch_compare_and_exchange_val_8_acq)
62752         (__arch_compare_and_exchange_val_16_acq)
62753         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
62754         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
62755         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
62757 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
62759         * sysdeps/sh/backtrace.c: New file.
62761 2011-12-02  Andreas Schwab  <schwab@redhat.com>
62763         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
62764         parenthesis.
62766 2011-12-01  Andreas Schwab  <schwab@redhat.com>
62768         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
62769         falling back to utime.
62771 2011-11-30  Andreas Schwab  <schwab@redhat.com>
62773         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
62774         expectations for float.
62776 2011-11-29  Andreas Schwab  <schwab@redhat.com>
62778         * locale/weight.h (findidx): Add parameter len.
62779         * locale/weightwc.h (findidx): Likewise.
62780         * posix/fnmatch_loop.c (FCT): Adjust caller.
62781         * posix/regcomp.c (build_equiv_class): Likewise.
62782         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
62783         * posix/regexec.c (check_node_accept_bytes): Likewise.
62784         * string/strcoll_l.c (STRCOLL): Likewise.
62785         * string/strxfrm_l.c (STRXFRM): Likewise.
62787 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
62789         * Makefile.in: Remove CVSOPT handling.
62790         * configure.in: Remove use of AC_REVISION.
62791         * iconvdata/Makefile (distribute): No need to filter out CVS.
62792         * scripts/list-sources.sh: Remove CVS, subversion and monotone
62793         handling.
62795 2011-11-16  Andreas Schwab  <schwab@redhat.com>
62797         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
62798         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
62799         [USE_AS_STRNCASECMP_L]: Likewise.
62800         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
62801         NO_TLS_DIRECT_SEG_REFS.
62802         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
62803         Fix argument offsets for non-PIC.
62804         [USE_AS_STRNCASECMP_L]: Likewise.
62805         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
62806         NO_TLS_DIRECT_SEG_REFS.
62808 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62810         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
62811         O_CLOEXEC.
62812         * locale/loadlocale.c (_nl_load_locale): Likewise.
62814 2011-11-15  Andreas Schwab  <schwab@redhat.com>
62816         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
62817         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
62818         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
62819         (SYSCALL_GETTIME): Set errno on error.
62821         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
62822         count references to noai6ai_cached.
62824 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62826         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
62828         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
62829         FD_CLOEXEC for /proc/self/maps.
62831         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
62832         FD_CLOEXEC for /proc/meminfo.
62834         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
62835         gai.conf.
62837         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
62838         FD_CLOEXEC for given file.
62840         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
62842         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
62843         FD_CLOEXEC for /etc/hosts.
62844         (_gethtent): Likewise.
62846         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
62848         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
62849         cancellation and set FD_CLOEXEC for /etc/netgroup.
62851         * nss/nss_files/files-key.c (search): Don't allow cancellation when
62852         reading /etc/publickey.
62854         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
62855         allow cancellation when reading /etc/group.
62857         * nss/nss_files/files-alias.c (internal_setent): Don't allow
62858         cancellation.
62859         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
62861         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
62862         when using data file.
62864         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
62866         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
62867         (write_nis_obj): Use "c" and "e" in fopen.
62869         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
62871         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
62873         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
62875         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
62877         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
62878         locale.alias.
62880         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
62882         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
62884         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
62886         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
62887         file parsing and set FD_CLOEXEC.
62889 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62891         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
62893 2011-11-14  Andreas Schwab  <schwab@redhat.com>
62895         * malloc/arena.c (arena_get2): Don't call reused_arena when
62896         _int_new_arena failed.
62898 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62900         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
62901         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
62902         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
62903         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62904         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62905         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
62906         to compile strcasecmp and strncasecmp.
62907         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
62908         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
62910         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
62912 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
62914         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
62915         locale-defines.sym to gen-as-const-headers.
62916         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
62917         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
62918         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
62919         to compile strcasecmp and strncasecmp.
62920         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
62921         strcasecmp_l and strncasecmp_l.
62922         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
62923         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
62924         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
62925         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
62926         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
62927         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
62928         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
62929         * sysdeps/i386/i686/multiarch/strncase.S: New file.
62930         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
62931         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
62932         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
62934 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
62936         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
62937         result of SYSDEP_GETTIME_CPU to retval.
62938         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
62939         parameter list to macro.  Remove trailing semicolon.  Adjust users.
62941         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
62942         variable.
62944         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
62945         mantissa words.
62946         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
62948         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
62949         from unused variable.
62951         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
62952         DWARF definitions.
62953         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
62954         for assembling.
62956         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
62957         over namespaces.
62959         * sunrpc/rpc_prot.c (rejected): Fix case value.
62961         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
62962         unsigned long long int to avoid warnings in shift.
62964         * posix/regex_internal.c (re_string_reconstruct): Actually use result
62965         of use of trans.
62966         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
62967         variable tmp.
62969         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
62970         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
62971         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
62973         * nis/nis_table.c (nis_list): Use variable of correct type for
62974         result of __follow_path call.
62976 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62978         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
62979         of math functions ceil, trunc, floor, round, and sqrt, when
62980         avaliable on the platform.
62981         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
62982         name clash.
62983         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62984         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
62985         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
62987 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
62989         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
62990         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
62992 2011-11-11  Roland McGrath  <roland@hack.frob.com>
62994         * include/unistd.h: Fix __readlink return type.
62995         Reported by Chris Metcalf <cmetcalf@tilera.com>.
62997 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
62999         * stdlib/ucontext.h: Undo last change for makecontext.
63001 2011-11-11  Andreas Schwab  <schwab@redhat.com>
63003         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
63005         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
63006         * setjmp/setjmp.h: Mark functions as non-leaf.
63007         * setjmp/bits/setjmp2.h: Likewise.
63008         * stdlib/ucontext.h: Likewise.
63010 2011-11-10  Andreas Schwab  <schwab@redhat.com>
63012         * malloc/arena.c (_int_new_arena): Don't increment narenas.
63013         (reused_arena): Don't check arena limit.
63014         (arena_get2): Atomically check arena limit.
63016 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
63018         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
63019         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
63021         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
63022         instructions.
63024 2011-11-07  Andreas Schwab  <schwab@redhat.com>
63026         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
63027         handler when locking.
63029         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
63030         Fix size of allocated buffer.
63032 2011-11-04  Andreas Schwab  <schwab@redhat.com>
63034         [BZ #10103]
63035         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
63036         declarations for long double functions.
63037         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
63039         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
63041 2011-11-03  Andreas Schwab  <schwab@redhat.com>
63043         * nscd/nscd.c (main): Don't start AVC thread until credentials are
63044         installed.
63046         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
63047         is disabled.
63049 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63051         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
63053 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
63055         * include/alloca.h (stackinfo_alloca_round): Define.
63056         (extend_alloca): Use it.
63057         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
63058         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
63059         here.
63061         * scripts/check-local-headers.sh: Ignore libaudit.h.
63063         * nscd/Makefile (extra-objs): Make recursively expanded.
63065 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
63067         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
63068         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63070         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
63071         * posix/tst-rfc3484-2.c: Likewise.
63072         * posix/tst-rfc3484-3.c: Likewise.
63074         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63075         process_vm_writev.
63076         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
63077         process_vm_writev.
63078         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
63079         process_vm_writev from libc using GLIBC_2.15 version.
63081         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
63083 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
63085         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
63086         stack usage.
63088 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
63090         [BZ #13367]
63091         * nss/getent.c (initgroups_keys): Show error message in case no group
63092         names are given.
63094         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
63095         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
63096         __bump_nl_timestamp.
63097         * nscd/connections (nscd_init): When host database is served open
63098         netlink socket and request notification about configuration changes.
63099         (main_loop_poll): Track netlink file descriptor and bump timestamp
63100         in case data becomes available.
63101         (main_loop_epoll): Likewise.
63102         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
63103         (database_pers_head): Add extra_data fileds.
63104         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
63105         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
63106         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
63107         Adjust caller.
63108         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
63109         in6ai data, call __free_in6ai.
63110         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
63111         Add -DHAVE_NETLINK.
63112         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
63113         interface information.  Reuse previous data if netlink timestamp
63114         is not changed.
63115         (__bump_nl_timestamp): New function.
63116         (__free_in6ai): New function.
63118 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
63120         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
63121         close_not_cancel_no_status here.
63122         (__check_pf): Reorganize code a bit to not call close twice if OOM.
63124 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
63126         [BZ #13276]
63127         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
63128         return value.
63130         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
63131         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
63132         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
63134 2011-07-03  Andreas Jaeger  <aj@suse.de>
63136         [BZ #10709]
63137         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
63138         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
63139         * math/libm-test.inc (sin_test): Add test case.
63141 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
63143         [BZ #13337]
63144         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
63145         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
63147         * elf/chroot_canon.c (chroot_canon): Cleanups.
63149         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
63151         [BZ #13335]
63152         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
63153         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
63155         * string/test-strchr.c: Make usable for strchrnul testing.
63156         * string/test-strchrnul.c: New file.
63157         * string/Makefile (strop-tests): Add strchrnul.
63159         * po/it.po: Update from translation team.
63160         * po/es.po: Likewise.
63162 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
63164         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
63165         the three constants needed as parameters.  Drop the others.
63166         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
63167         __m128i_strloadu_tolower.
63168         Create and initialize variable zero and use it in all the places
63169         where _mm_setzero_si128 was used.
63171         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
63172         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
63173         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
63174         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
63175         anymore.
63176         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
63177         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
63178         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
63179         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
63180         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
63181         __mpranred, __mptan.
63182         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
63183         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
63184         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
63185         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
63186         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
63187         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
63188         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
63189         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
63190         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
63192 2011-10-28  Andreas Schwab  <schwab@redhat.com>
63194         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
63195         redefine if SHARED.
63196         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
63198         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
63199         wide char related routines to wcsmbs subdir.
63201 2011-10-27  Andreas Schwab  <schwab@redhat.com>
63203         [BZ #13344]
63204         * misc/sys/cdefs.h (__THROWNL): Define.
63205         * posix/unistd.h: Use __THREADNL instead of __THREAD
63206         for memory synchronization functions.
63208 2011-10-26  Roland McGrath  <roland@hack.frob.com>
63210         [BZ #13349]
63211         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
63212         doesn't exist.
63213         * manual/stdio.texi (Obstack Streams): Node removed.
63215 2011-10-26  Andreas Schwab  <schwab@redhat.com>
63217         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
63218         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63219         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63221         * math/math_private.h (math_force_eval): Allow non-addressable
63222         arguments.
63223         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
63225 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63227         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
63228         file is not needed.
63230         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
63231         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
63232         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63233         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63234         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63235         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63236         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63237         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
63238         Add AVX variants.
63239         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
63240         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
63241         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
63242         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
63243         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
63244         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
63245         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
63246         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
63247         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
63248         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
63249         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
63250         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
63251         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
63252         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
63253         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
63254         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
63255         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
63256         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
63257         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
63259         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
63260         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
63262         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
63263         place.  Use VEX encoding when compiling for AVX.
63265 2011-10-25  Andreas Schwab  <schwab@redhat.com>
63267         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
63268         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63270         * string/test-strchr.c (do_test): Don't generate NUL bytes.
63272 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63274         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
63275         useless if() expression.
63276         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63277         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63278         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63279         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63280         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63281         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63282         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63283         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63284         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63285         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63286         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63287         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63288         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63289         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63290         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63291         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63292         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63293         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63294         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63296         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
63298 2011-10-25  Andreas Schwab  <schwab@redhat.com>
63300         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
63301         condition.
63302         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63304 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63306         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
63307         .text section.  Avoid duplicate constants.
63308         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63309         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63310         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63311         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63312         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63313         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63314         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63315         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63316         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
63317         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
63318         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
63319         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
63320         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
63321         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
63322         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
63323         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
63324         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
63325         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
63326         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63327         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63328         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63329         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63330         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63331         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
63332         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
63333         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
63334         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
63335         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
63336         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
63337         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
63338         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
63339         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
63340         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63341         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
63342         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
63343         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
63344         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
63345         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
63346         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
63347         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
63348         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
63349         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
63350         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
63351         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
63352         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
63354 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
63356         * sysdeps/x86_64/dla.h: Move to ...
63357         * sysdeps/x86_64/fpu/dla.h: ...here.
63358         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
63359         situations.  Use __builtin_fma only for gcc 4.6 and up.
63361         * config.make.in: Add have-mfma4 entry.
63362         * configure.in: Substitute libc_cv_cc_fma4.
63363         * math/Makefile (dbl-only-routines): Add sincostab.
63364         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
63365         Use __sincostab not sincos.
63366         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
63367         name is a macro.
63368         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63369         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63370         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63371         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
63372         using __copysign.
63373         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
63374         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
63375         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
63376         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
63377         and __inv.
63378         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
63379         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
63380         __copysign.
63381         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
63382         define aliases when function name is a macro.
63383         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
63384         sysdeps/ieee754/dbl-64/sincos.tbl.
63385         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
63386         fma4-enabled routines.
63387         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
63388         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
63389         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
63390         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
63391         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
63392         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
63393         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
63394         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
63395         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
63396         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
63397         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
63398         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
63399         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
63400         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
63401         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
63402         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
63403         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
63404         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
63405         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
63406         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
63407         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
63408         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
63409         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
63410         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
63411         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
63412         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
63413         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
63414         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
63415         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
63416         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
63418         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
63419         rename.
63420         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63421         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63422         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63423         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63424         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63425         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63426         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63427         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63429 2011-10-24  Andreas Schwab  <schwab@redhat.com>
63431         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
63433 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63435         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
63437         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
63438         prediction.
63439         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
63441         * string/strnlen.c: Don't define STRNLEN, reverse logic.
63442         Remove unused variable magic_bits.
63443         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
63445         * string/strnlen.c: Define and use STRNLEN macro.
63446         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
63447         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
63448         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
63449         * wcsmbs/wcslen.c: Define and use WCSLEN.
63450         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
63451         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
63452         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
63453         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
63454         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
63455         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
63456         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
63458 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63461         strnlen-sse2-no-bsf.
63462         Rename strlen-no-bsf to strlen-sse2-no-bsf.
63463         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
63464         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
63465         Add strnlen support.
63466         (USE_AS_STRNLEN): New macro.
63467         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
63468         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
63469         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
63470         * sysdeps/x86_64/wcslen.S: New file.
63472 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
63474         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
63475         XMM-moves are used for copying on small sizes.
63477 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63479         * wcsmbs/Makefile (strop-tests): Add wcschr.
63480         * wcsmbs/test-wcschr.c: New file.
63481         * string/test-strchr.c: Update.
63482         Add wcschr support.
63483         (WIDE): New macro.
63485 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63487         * wcsmbs/Makefile (strop-tests): Add wcslen.
63488         * wcsmbs/test-wcslen.c: New file.
63489         * string/test-strlen.c: Update.
63490         Add wcslen support.
63491         (WIDE): New macro.
63493 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63495         * po/it.po: Update from translation team.
63497 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63499         * sysdeps/x86_64/wcscmp.S: Update.
63500         Fix wrong comparison semantics.
63501         wcscmp shall use signed comparison not unsigned.
63502         Don't use substraction to avoid overflow bug.
63503         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
63504         * wcsmbc/wcscmp.c: Likewise.
63505         * string/test-strcmp.c: Likewise.
63506         Add new tests to check cases with negative values.
63508 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63510         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
63511         * sysdeps/x86_64/dla.h: ...here.  New file.
63512         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
63513         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63514         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63515         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63516         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63517         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63518         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63519         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63520         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63522 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
63524         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
63525         __ynl_finite aliases.
63527 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63529         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63531         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
63532         define DLA_FMA.
63533         [DLA_FMA] (EMULV): Use DLA_FMA.
63534         [DLA_FMA] (MUL12): Use EMULV.
63535         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
63536         that are not needed.
63537         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63538         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63539         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63540         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63541         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63542         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63543         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63545 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
63547         * math/s_nan.c: Undef __nan.
63548         * math/s_nanf.c: Undef __nanf.
63549         * math/s_nanl.c: Undef __nanl.
63550         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
63551         "math_private.h".
63553 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63555         * math/s_catan.c: Add branch predictions.
63556         * math/s_catanf.c: Likewise.
63557         * math/s_catanh.c: Likewise.
63558         * math/s_catanhf.c: Likewise.
63559         * math/s_catanhl.c: Likewise.
63560         * math/s_catanl.c: Likewise.
63561         * math/s_cexp.c: Likewise.
63562         * math/s_cexpf.c: Likewise.
63563         * math/s_cexpl.c: Likewise.
63564         * math/s_clog.c: Likewise.
63565         * math/s_clog10.c: Likewise.
63566         * math/s_clog10f.c: Likewise.
63567         * math/s_clog10l.c: Likewise.
63568         * math/s_clogf.c: Likewise.
63569         * math/s_clogl.c: Likewise.
63570         * math/s_csqrt.c: Likewise.
63571         * math/s_csqrtf.c: Likewise.
63572         * math/s_csqrtl.c: Likewise.
63573         * math/s_ctanf.c: Likewise.
63574         * math/s_ctanh.c: Likewise.
63575         * math/s_ctanhf.c: Likewise.
63576         * math/s_ctanhl.c: Likewise.
63577         * math/s_ctanl.c: Likewise.
63579         * math/math_private.h: Define __nan, __nanf, __nanl.
63580         * math/s_cacosh.c: Include <math_private.h>.
63581         * math/s_cacoshl.c: Likewise.
63582         * math/s_casinh.c: Likewise.
63583         * math/s_casinhf.c: Likewise.
63584         * math/s_casinhl.c: Likewise.
63585         * math/s_ccos.c: Rely entire on ccosh.
63586         * math/s_ccosf.c: Rely entire on ccoshf.
63587         * math/s_ccosl.c: Rely entirely on ccoshl.
63588         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
63589         Remove tests for FE_INVALID.
63590         * math/s_ccoshf.c: Likewise.
63591         * math/s_ccoshl.c: Likewise.
63592         * math/s_csin.c: Likewise.
63593         * math/s_csinf.c: Likewise.
63594         * math/s_csinh.c Likewise.
63595         * math/s_csinhf.c: Likewise.
63596         * math/s_csinhl.c: Likewise.
63597         * math/s_csinl.c: Likewise.
63598         * math/s_ctan.c: Likewise.
63599         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
63600         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
63601         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
63603 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
63605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
63606         compilation problems.
63608         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
63609         __builtin_expect.
63611 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
63613         * sysdeps/i386/configure.in: Test for -mfma4 option.
63614         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
63615         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
63616         COMMON_CPUID_INDEX_80000001.
63617         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
63618         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
63619         use it if FMA3 is not supported.
63620         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
63622         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
63623         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63625 2011-10-20  Andreas Schwab  <schwab@redhat.com>
63627         [BZ #12892]
63628         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
63629         it would create a cycle with a link time dependency.
63631 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
63633         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
63634         instruction.
63635         * string/Makefile (strop-tests): Add rawmemchr.
63636         * string/test-rawmemchr.c: New file.
63638         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
63639         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
63640         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
63641         when compiling str{,n}casecmp and when AVX is available.  Hook up
63642         new optimized code in initializers.
63644 2011-10-19  Andreas Schwab  <schwab@redhat.com>
63646         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
63647         __feraiseexcept instead of feraiseexcept.
63649 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
63651         * math/math_private.h: Define defaults for libc_fetestexcept and
63652         libc_feupdateenv.
63653         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
63654         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
63655         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
63656         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63657         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63658         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63659         libc_fetestexcept and libc_feupdateenv.
63661         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
63662         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
63663         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
63664         * sysdeps/x86_64/fpu/math_private.h: Define special version of
63665         libc_feholdexcept_setround.
63667         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
63668         Add s_nearbyint-c and s_nearbyintf-c.
63669         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
63670         nearbyintf inlines.
63671         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
63672         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
63673         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
63674         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
63676         * math/math_private.h: Define defaults for libc_fegetround,
63677         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
63678         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
63679         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
63680         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
63681         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
63682         standard functions.
63683         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
63684         Remove comments and hacks for old compiler versions.
63685         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63686         libc_fegetround, libc_fesetround, libc_feholdexcept, and
63687         libc_feholdexceptl.
63689 2011-10-18  Andreas Schwab  <schwab@redhat.com>
63691         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
63692         (__feraiseexcept_renamed): Add __NTH.
63693         (feraiseexcept): Add __NTH.  Rename local variables to fix
63694         namespace violations.
63696 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
63698         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
63700         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
63702         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
63703         recently added interfaces.
63704         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
63706         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
63707         about macro parameter expansion.
63709         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
63710         __NO_MATH_INLINES is defined.  Cleanups.
63712         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
63713         and __floorf is target has SSE4.1.
63714         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
63715         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
63716         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
63717         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
63719         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
63720         name.
63721         (floorf): Likewise.
63723         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
63725 2011-10-17  Andreas Schwab  <schwab@redhat.com>
63727         * misc/sys/cdefs.h: Fix last change.
63729         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
63730         database lookup.
63732 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
63734         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
63736         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
63737         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63738         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63739         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63740         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63741         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63742         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63743         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63744         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63745         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
63746         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
63747         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
63748         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
63749         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
63750         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
63751         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
63752         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
63753         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
63754         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
63755         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
63756         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
63757         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
63759         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
63760         ceil, ceilf, floor, floorf.
63762         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
63763         Perform IRELATIVE relocations last.
63765         * elf/do-rel.h: Add another parameter nrelative, replacing the
63766         local variable with the same name.  Change name of the function
63767         to end in Rel or Rela (uppercase).
63768         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
63769         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
63770         elf_dynamic_do_##reloc function.
63772 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63774         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
63775         is sufficient, at least on modern CPUs.
63777         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
63779         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
63780         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
63782         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
63783         __expl_finite.
63784         * math/bits/math-finite.h: Add entries for exp.
63785         * math/e_expl.c: Add __*_finite alias.
63786         * sysdeps/i386/fpu/e_exp.S: Likewise.
63787         * sysdeps/i386/fpu/e_expf.S: Likewise.
63788         * sysdeps/i386/fpu/e_expl.c: Likewise.
63789         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63790         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63791         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63792         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63793         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
63794         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63795         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63797         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
63798         is sufficient, at least on modern CPUs.
63800         * ctype/ctype-info.c (__ctype_init): Define.
63801         * include/ctype.h (__ctype_init): Declare.
63802         (__ctype_b_loc): The variable is always initialized.
63803         (__ctype_toupper_loc): Likewise.
63804         (__ctype_tolower_loc): Likewise.
63805         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
63806         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
63808 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
63810         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
63812         * configure.in: Also look in $cxxmachine/include for C++ system
63813         headers.
63815 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63817         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
63818         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
63819         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
63820         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
63821         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
63822         (USE_AS_WMEMCMP): New macro.
63823         Fixing indents.
63824         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
63825         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
63826         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
63827         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
63828         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63829         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
63830         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
63831         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
63832         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
63833         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
63834         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
63835         (USE_AS_WMEMCMP): New macro.
63836         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
63837         * sysdeps/string/test-memcmp.c: Update.
63838         Fix simple_wmemcmp.
63839         Add new tests.
63840         * wcsmbs/wmemcmp.c: Update.
63841         (WMEMCMP): New macro.
63842         Fix overflow bug.
63844 2011-10-12  Andreas Jaeger  <aj@suse.de>
63846         [BZ #13268]
63847         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
63849 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63851         * libio/iofwide.c (do_length): Avoid warning.
63853         * ctype/ctype.h (__isctype_f): Add missing __THROW.
63855 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
63857         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
63859         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
63860         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
63861         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
63862         * sysdeps/i386/i686/fpu/e_log.S: New file.
63863         * sysdeps/i386/i686/fpu/e_logf.S: New file.
63864         * sysdeps/i386/i686/fpu/e_logl.S: New file.
63866         * ctype/ctype.h: Add support for inlined isXXX functions when
63867         compiling C++ code.
63869 2011-10-14  Andreas Schwab  <schwab@redhat.com>
63871         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63873         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
63875 2011-10-13  Roland McGrath  <roland@hack.frob.com>
63877         [BZ #13291]
63878         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
63880 2011-10-13  Andreas Schwab  <schwab@redhat.com>
63882         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
63883         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
63884         feraiseexcept.
63886         * sysdeps/x86_64/memrchr.S: Check for zero size.
63888         * string/stratcliff.c: Add memrchr tests.
63890 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63892         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63893         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
63894         rawmemchr-sse2 rawmemchr-sse2-bsf.
63895         * sysdeps/i386/i686/multiarch/memchr.S: New file.
63896         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
63897         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
63898         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
63899         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
63900         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
63901         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
63902         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
63903         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
63904         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
63905         * string/memrchr.c (MEMRCHR): New macro.
63907 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
63909         Add integration with gcc's -ffinite-math-only and optimize wrapper
63910         functions in libm.
63911         * Versions.def: Define GLIBC_2.15 version for libm.
63912         * math/Makefile (headers): Add bits/math-finite.h.
63913         * math/bits/math-finite.h: New file.
63914         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
63915         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
63916         * math/e_acoshl.c: Add __*_finite alias.
63917         * math/e_acosl.c: Likewise.
63918         * math/e_asinl.c: Likewise.
63919         * math/e_atan2l.c: Likewise.
63920         * math/e_atanhl.c: Likewise.
63921         * math/e_coshl.c: Likewise.
63922         * math/e_exp10.c: Likewise.
63923         * math/e_exp10f.c: Likewise.
63924         * math/e_exp10l.c: Likewise.
63925         * math/e_exp2l.c: Likewise.
63926         * math/e_fmodl.c: Likewise.
63927         * math/e_gammal_r.c: Likewise.
63928         * math/e_hypotl.c: Likewise.
63929         * math/e_j0l.c: Likewise.
63930         * math/e_j1l.c: Likewise.
63931         * math/e_jnl.c: Likewise.
63932         * math/e_lgammal_r.c: Likewise.
63933         * math/e_log10l.c: Likewise.
63934         * math/e_log2l.c: Likewise.
63935         * math/e_logl.c: Likewise.
63936         * math/e_powl.c: Likewise.
63937         * math/e_sinhl.c: Likewise.
63938         * math/e_sqrtl.c: Likewise.
63939         * math/e_scalb.c: Completely rewritten and optimized.
63940         * math/e_scalbf.c: Likewise.
63941         * math/e_scalbl.c: Likewise.
63942         * math/w_acos.c: Likewise.
63943         * math/w_acosf.c: Likewise.
63944         * math/w_acosl.c: Likewise.
63945         * math/w_acosh.c: Likewise.
63946         * math/w_acoshf.c: Likewise.
63947         * math/w_acoshl.c: Likewise.
63948         * math/w_asin.c: Likewise.
63949         * math/w_asinf.c: Likewise.
63950         * math/w_asinl.c: Likewise.
63951         * math/w_atan2.c: Likewise.
63952         * math/w_atan2f.c: Likewise.
63953         * math/w_atan2l.c: Likewise.
63954         * math/w_atanh.c: Likewise.
63955         * math/w_atanhf.c: Likewise.
63956         * math/w_atanhl.c: Likewise.
63957         * math/w_exp10.c: Likewise.
63958         * math/w_exp10f.c: Likewise.
63959         * math/w_exp10l.c: Likewise.
63960         * math/w_fmod.c: Likewise.
63961         * math/w_fmodf.c: Likewise.
63962         * math/w_fmodl.c: Likewise.
63963         * math/w_j0.c: Likewise.
63964         * math/w_j0f.c: Likewise.
63965         * math/w_j0l.c: Likewise.
63966         * math/w_j1.c: Likewise.
63967         * math/w_j1f.c: Likewise.
63968         * math/w_j1l.c: Likewise.
63969         * math/w_jn.c: Likewise.
63970         * math/w_jnf.c: Likewise.
63971         * math/w_log.c: Likewise.
63972         * math/w_logf.c: Likewise.
63973         * math/w_logl.c: Likewise.
63974         * math/w_log10.c: Likewise.
63975         * math/w_log10f.c: Likewise.
63976         * math/w_log10l.c: Likewise.
63977         * math/w_log2.c: Likewise.
63978         * math/w_log2f.c: Likewise.
63979         * math/w_log2l.c: Likewise.
63980         * math/w_pow.c: Likewise.
63981         * math/w_powf.c: Likewise.
63982         * math/w_powl.c: Likewise.
63983         * math/w_remainder.c: Likewise.
63984         * math/w_remainderf.c: Likewise.
63985         * math/w_remainderl.c: Likewise.
63986         * math/w_scalb.c: Likewise.
63987         * math/w_scalbf.c: Likewise.
63988         * math/w_scalbl.c: Likewise.
63989         * math/w_sqrt.c: Likewise.
63990         * math/w_sqrtf.c: Likewise.
63991         * math/w_sqrtl.c: Likewise.
63992         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
63993         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
63994         used.
63995         * math/math_private.h: Declare __kernel_standard_f.
63996         * math/w_cosh.c: Remove cruft and optimize a bit.
63997         * math/w_coshf.c: Likewise.
63998         * math/w_coshl.c: Likewise.
63999         * math/w_exp2.c: Likewise.
64000         * math/w_exp2f.c: Likewise.
64001         * math/w_exp2l.c: Likewise.
64002         * math/w_hypot.c: Likewise.
64003         * math/w_hypotf.c: Likewise.
64004         * math/w_hypotl.c: Likewise.
64005         * math/w_lgamma.c: Likewise.
64006         * math/w_lgamma_r.c: Likewise.
64007         * math/w_lgammaf.c: Likewise.
64008         * math/w_lgammaf_r.c: Likewise.
64009         * math/w_lgammal.c: Likewise.
64010         * math/w_lgammal_r.c: Likewise.
64011         * math/w_sinh.c: Likewise.
64012         * math/w_sinhf.c: Likewise.
64013         * math/w_sinhl.c: Likewise.
64014         * math/w_tgamma.c: Likewise.
64015         * math/w_tgammaf.c: Likewise.
64016         * math/w_tgammal.c: Likewise.
64017         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64018         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64019         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
64020         Minor optimizations.  Pretty printing.  Remove cruft.
64021         * sysdeps/i386/fpu/e_acosf.S: Likewise.
64022         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64023         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64024         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64025         * sysdeps/i386/fpu/e_acosl.c: Likewise.
64026         * sysdeps/i386/fpu/e_asin.S: Likewise.
64027         * sysdeps/i386/fpu/e_asinf.S: Likewise.
64028         * sysdeps/i386/fpu/e_atan2.S: Likewise.
64029         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
64030         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
64031         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64032         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64033         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64034         * sysdeps/i386/fpu/e_exp10.S: Likewise.
64035         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
64036         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
64037         * sysdeps/i386/fpu/e_exp2.S: Likewise.
64038         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
64039         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
64040         * sysdeps/i386/fpu/e_fmod.S: Likewise.
64041         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
64042         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
64043         * sysdeps/i386/fpu/e_hypot.S: Likewise.
64044         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
64045         * sysdeps/i386/fpu/e_log.S: Likewise.
64046         * sysdeps/i386/fpu/e_log10.S: Likewise.
64047         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64048         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64049         * sysdeps/i386/fpu/e_log2.S: Likewise.
64050         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64051         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64052         * sysdeps/i386/fpu/e_logf.S: Likewise.
64053         * sysdeps/i386/fpu/e_logl.S: Likewise.
64054         * sysdeps/i386/fpu/e_pow.S: Likewise.
64055         * sysdeps/i386/fpu/e_powf.S: Likewise.
64056         * sysdeps/i386/fpu/e_powl.S: Likewise.
64057         * sysdeps/i386/fpu/e_remainder.S: Likewise.
64058         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
64059         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
64060         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64061         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64062         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64063         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
64064         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
64065         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
64066         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
64067         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64068         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64069         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
64070         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
64071         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
64072         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
64073         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
64074         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64075         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
64076         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
64077         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
64078         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64079         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
64080         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
64081         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64082         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64083         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
64084         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64085         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64086         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
64087         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
64088         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64089         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64090         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
64091         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
64092         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
64093         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
64094         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
64095         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
64096         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64097         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
64098         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64099         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
64100         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
64101         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
64102         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
64103         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
64104         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
64105         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
64106         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
64107         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
64108         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
64109         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
64110         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64111         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
64112         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
64113         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
64114         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
64115         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
64116         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
64117         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
64118         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
64119         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64120         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
64121         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
64122         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
64123         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64124         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
64125         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
64126         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
64127         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
64128         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64129         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64130         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
64131         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
64132         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
64133         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
64134         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
64135         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
64136         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
64137         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
64138         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
64139         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
64140         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
64141         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64142         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
64143         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
64144         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64145         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
64146         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64147         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
64148         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
64149         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64150         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64151         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
64152         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64153         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
64154         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
64155         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
64156         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64157         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64158         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64159         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
64160         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64161         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64162         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64163         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
64164         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
64165         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
64166         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
64167         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
64168         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
64169         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
64170         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64171         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64172         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64173         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64174         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
64175         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64176         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
64177         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
64178         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
64179         (__isnanf): Likewise.
64180         (__isinf_ns): Likewise.
64181         (__isinf_nsf): Likewise.
64182         (__finite): Likewise.
64183         (__finitef): Likewise.
64184         (__ieee754_sqrt): Define as macro.
64185         (__ieee754_sqrtf): Define as macro.
64186         (__ieee754_sqrtl): Define as macro.
64187         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
64188         inlined copy.
64189         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
64190         __FINITE_MATH_ONLY__ consistent.
64191         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
64193 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
64195         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
64196         of rawmemchr.
64198         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
64200 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
64202         * po/ja.po: Update from translation team.
64204 2011-10-08  Roland McGrath  <roland@hack.frob.com>
64206         * locale/programs/locarchive.c (prepare_address_space): New function.
64207         (create_archive, enlarge_archive, open_archive): Use it.
64209         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
64210         inside [SHARED], where it is used.
64212         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
64214         * nss/getent.c (netgroup_keys): Remove unused variable.
64215         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
64217 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
64219         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
64220         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
64221         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
64222         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
64223         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
64224         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
64225         * math/Makefile (libm-calls): Add s_isinf_ns.
64226         * math/divtc3.c: Use __isinf_nsl instead of isinf.
64227         * math/multc3.c: Likewise.
64228         * math/s_casin.c: Likewise.
64229         * math/s_casinf.c: Likewise.
64230         * math/s_casinl.c: Likewise.
64231         * math/s_ccos.c: Likewise.
64232         * math/s_ccosf.c: Likewise.
64233         * math/s_ccosl.c: Likewise.
64234         * math/s_ctan.c: Likewise.
64235         * math/s_ctanf.c: Likewise.
64236         * math/s_ctanh.c: Likewise.
64237         * math/s_ctanhf.c: Likewise.
64238         * math/s_ctanhl.c: Likewise.
64239         * math/s_ctanl.c: Likewise.
64240         * math/w_fmod.c: Likewise.
64241         * math/w_fmodf.c: Likewise.
64242         * math/w_fmodl.c: Likewise.
64243         * math/w_remainder.c: Likewise.
64244         * math/w_remainderf.c: Likewise.
64245         * math/w_remainderl.c: Likewise.
64246         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
64247         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
64248         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
64249         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
64250         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
64251         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
64252         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
64253         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
64255         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
64256         of the number.
64257         * stdio-common/printf_fphex.c: Likewise.
64258         * stdio-common/printf_size.c: Likewise.
64260         * math/e_exp10.c: Include math_private.h using <...> not "...".
64261         * math/e_exp10f.c: Likewise.
64262         * math/e_exp10l.c: Likewise.
64263         * math/e_exp2l.c: Likewise.
64264         * math/e_j0l.c: Likewise.
64265         * math/e_j1l.c: Likewise.
64266         * math/e_jnl.c: Likewise.
64267         * math/e_lgammal_r.c: Likewise.
64268         * math/e_rem_pio2l.c: Likewise.
64269         * math/e_scalb.c: Likewise.
64270         * math/e_scalbf.c: Likewise.
64271         * math/e_scalbl.c: Likewise.
64272         * math/k_cosl.c: Likewise.
64273         * math/k_sinl.c: Likewise.
64274         * math/k_tanl.c: Likewise.
64275         * math/s_cacoshf.c: Likewise.
64276         * math/s_catan.c: Likewise.
64277         * math/s_catanf.c: Likewise.
64278         * math/s_catanh.c: Likewise.
64279         * math/s_catanhf.c: Likewise.
64280         * math/s_catanhl.c: Likewise.
64281         * math/s_catanl.c: Likewise.
64282         * math/s_ccosh.c: Likewise.
64283         * math/s_ccoshf.c: Likewise.
64284         * math/s_ccoshl.c: Likewise.
64285         * math/s_cexp.c: Likewise.
64286         * math/s_cexpf.c: Likewise.
64287         * math/s_cexpl.c: Likewise.
64288         * math/s_clog.c: Likewise.
64289         * math/s_clog10.c: Likewise.
64290         * math/s_clog10f.c: Likewise.
64291         * math/s_clog10l.c: Likewise.
64292         * math/s_clogf.c: Likewise.
64293         * math/s_clogl.c: Likewise.
64294         * math/s_csin.c: Likewise.
64295         * math/s_csinf.c: Likewise.
64296         * math/s_csinh.c: Likewise.
64297         * math/s_csinhf.c: Likewise.
64298         * math/s_csinhl.c: Likewise.
64299         * math/s_csinl.c: Likewise.
64300         * math/s_csqrt.c: Likewise.
64301         * math/s_csqrtf.c: Likewise.
64302         * math/s_csqrtl.c: Likewise.
64303         * math/s_ctan.c: Likewise.
64304         * math/s_ctanf.c: Likewise.
64305         * math/s_ctanh.c: Likewise.
64306         * math/s_ctanhf.c: Likewise.
64307         * math/s_ctanhl.c: Likewise.
64308         * math/s_ctanl.c: Likewise.
64309         * math/s_ldexp.c: Likewise.
64310         * math/s_ldexpf.c: Likewise.
64311         * math/s_ldexpl.c: Likewise.
64312         * math/s_significand.c: Likewise.
64313         * math/s_significandf.c: Likewise.
64314         * math/s_significandl.c: Likewise.
64315         * math/w_acos.c: Likewise.
64316         * math/w_acosf.c: Likewise.
64317         * math/w_acosh.c: Likewise.
64318         * math/w_acoshf.c: Likewise.
64319         * math/w_acoshl.c: Likewise.
64320         * math/w_acosl.c: Likewise.
64321         * math/w_asin.c: Likewise.
64322         * math/w_asinf.c: Likewise.
64323         * math/w_asinl.c: Likewise.
64324         * math/w_atan2.c: Likewise.
64325         * math/w_atan2f.c: Likewise.
64326         * math/w_atan2l.c: Likewise.
64327         * math/w_atanh.c: Likewise.
64328         * math/w_atanhf.c: Likewise.
64329         * math/w_atanhl.c: Likewise.
64330         * math/w_cosh.c: Likewise.
64331         * math/w_coshf.c: Likewise.
64332         * math/w_coshl.c: Likewise.
64333         * math/w_dremf.c: Likewise.
64334         * math/w_exp10.c: Likewise.
64335         * math/w_exp10f.c: Likewise.
64336         * math/w_exp10l.c: Likewise.
64337         * math/w_exp2.c: Likewise.
64338         * math/w_exp2f.c: Likewise.
64339         * math/w_fmod.c: Likewise.
64340         * math/w_fmodf.c: Likewise.
64341         * math/w_fmodl.c: Likewise.
64342         * math/w_hypot.c: Likewise.
64343         * math/w_hypotf.c: Likewise.
64344         * math/w_hypotl.c: Likewise.
64345         * math/w_j0.c: Likewise.
64346         * math/w_j0f.c: Likewise.
64347         * math/w_j0l.c: Likewise.
64348         * math/w_j1.c: Likewise.
64349         * math/w_j1f.c: Likewise.
64350         * math/w_j1l.c: Likewise.
64351         * math/w_jn.c: Likewise.
64352         * math/w_jnf.c: Likewise.
64353         * math/w_jnl.c: Likewise.
64354         * math/w_lgamma.c: Likewise.
64355         * math/w_lgamma_r.c: Likewise.
64356         * math/w_lgammaf.c: Likewise.
64357         * math/w_lgammaf_r.c: Likewise.
64358         * math/w_lgammal.c: Likewise.
64359         * math/w_lgammal_r.c: Likewise.
64360         * math/w_log.c: Likewise.
64361         * math/w_log10.c: Likewise.
64362         * math/w_log10f.c: Likewise.
64363         * math/w_log10l.c: Likewise.
64364         * math/w_log2.c: Likewise.
64365         * math/w_log2f.c: Likewise.
64366         * math/w_log2l.c: Likewise.
64367         * math/w_logf.c: Likewise.
64368         * math/w_logl.c: Likewise.
64369         * math/w_pow.c: Likewise.
64370         * math/w_powf.c: Likewise.
64371         * math/w_powl.c: Likewise.
64372         * math/w_remainder.c: Likewise.
64373         * math/w_remainderf.c: Likewise.
64374         * math/w_remainderl.c: Likewise.
64375         * math/w_scalb.c: Likewise.
64376         * math/w_scalbf.c: Likewise.
64377         * math/w_scalbl.c: Likewise.
64378         * math/w_sinh.c: Likewise.
64379         * math/w_sinhf.c: Likewise.
64380         * math/w_sinhl.c: Likewise.
64381         * math/w_sqrt.c: Likewise.
64382         * math/w_sqrtf.c: Likewise.
64383         * math/w_sqrtl.c: Likewise.
64384         * math/w_tgamma.c: Likewise.
64385         * math/w_tgammaf.c: Likewise.
64386         * math/w_tgammal.c: Likewise.
64388         * po/ja.po: Update from translation team.
64390 2011-09-29  Andreas Jaeger  <aj@suse.de>
64392         [BZ #13179]
64393         * sunrpc/netname.c (netname2host): Fix logic.
64395         [BZ #6779]
64396         [BZ #6783]
64397         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
64398         correctly.
64399         * math/w_remainder.c (__remainder): Likewise.
64400         * math/w_remainderf.c (__remainderf): Likewise.
64401         * math/libm-test.inc (remainder_test): Add test cases.
64403 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64405         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
64406         sdiv_qrnnd.
64408 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
64410         * string/test-memcmp.c: Avoid unncessary #defines.
64411         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64413 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64415         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
64416         Use new sse2 version for core i3 - i7 as it's faster
64417         than sse42 version.
64418         (bit_Prefer_PMINUB_for_stringop): New.
64419         * sysdeps/x86_64/rawmemchr.S: Update.
64420         Replace with faster SSE2 version.
64421         * sysdeps/x86_64/memrchr.S: New file.
64422         * sysdeps/x86_64/memchr.S: Update.
64423         Replace with faster SSE2 version.
64425 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
64427         * elf/dl-load.c (lose): Add cast to avoid warning.
64429 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
64431         * po/ca.po: Update from translation team.
64433         * inet/getnetgrent_r.c: Hook up nscd.
64434         * nscd/Makefile (routines): Add nscd_netgroup.
64435         (nscd-modules): Add netgroupcache.
64436         (CFLAGS-netgroupcache.c): Define.
64437         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
64438         (cache_search): Add const to second parameter.
64439         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
64440         INNETGR.
64441         (dbs): Add netgrdb entry.
64442         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
64443         (verify_persistent_db): Handle netgrdb.
64444         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
64445         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
64446         GETFDNETGR.
64447         (netgroup_response_header): Define.
64448         (innetgroup_response_header): Define.
64449         (datahead): Add netgroup_response_header and innetgroup_response_header
64450         elements.
64451         * nscd/nscd.conf: Add entries for netgroup cache.
64452         * nscd/nscd.h (dbtype): Add netgrdb.
64453         (_PATH_NSCD_NETGROUP_DB): Define.
64454         (netgroup_iov_disabled): Declare.
64455         (xmalloc, xcalloc, xrealloc): Move declarations here.
64456         (cache_search): Adjust prototype.
64457         Add netgroup-related prototypes.
64458         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
64459         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
64460         (__nscd_innetgr): Declare.
64461         * nscd/selinux.c (perms): Use access_vector_t as element type and
64462         add netgroup-related initializers.
64463         * nscd/netgroupcache.c: New file.
64464         * nscd/nscd_netgroup.c: New file.
64465         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
64466         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
64467         For four parameters use innetgr.
64468         * nss/nss_files/files-init.c: Add definition and callback for netgr.
64469         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
64470         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
64471         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
64473         * nscd/connections.c (register_traced_file): Don't register file
64474         for disabled databases.
64476 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
64478         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
64480         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
64481         from tree and freeing node.
64483 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
64485         * nss/nsswitch.c (__nss_database_lookup): Handle
64486         nss_parse_service_list out of memory case.
64488 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
64490         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
64491         out of memory case.
64493 2011-10-04  Andreas Schwab  <schwab@redhat.com>
64495         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
64496         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
64497         pass it down.
64498         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
64499         elf_machine_rela, elf_machine_lazy_rel.
64500         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
64501         (ELF_DYNAMIC_DO_REL): Likewise.
64502         (ELF_DYNAMIC_DO_RELA): Likewise.
64503         (ELF_DYNAMIC_RELOCATE): Likewise.
64504         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
64505         to ELF_DYNAMIC_DO_REL.
64506         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
64507         (dl_main): In trace mode always set __RTLD_NOIFUNC.
64508         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
64509         elf_machine_rela.
64510         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
64511         skip_ifunc, don't call ifunc function if non-zero.
64512         (elf_machine_rela): Likewise.
64513         (elf_machine_lazy_rel): Likewise.
64514         (elf_machine_lazy_rela): Likewise.
64515         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
64516         (elf_machine_lazy_rel): Likewise.
64517         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
64518         Likewise.
64519         (elf_machine_lazy_rel): Likewise.
64520         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64521         Likewise.
64522         (elf_machine_lazy_rel): Likewise.
64523         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
64524         (elf_machine_lazy_rel): Likewise.
64525         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
64526         (elf_machine_lazy_rel): Likewise.
64527         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
64528         (elf_machine_lazy_rel): Likewise.
64529         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
64530         (elf_machine_lazy_rel): Likewise.
64531         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
64532         (elf_machine_lazy_rel): Likewise.
64533         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64534         (elf_machine_lazy_rel): Likewise.
64536 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
64538         * nss/nss_files/files-init.c (_nss_files_init): Use static
64539         initialization for all the *_traced_file variables.
64541 2011-09-28  Andreas Schwab  <schwab@redhat.com>
64543         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64545 2011-09-27  Roland McGrath  <roland@hack.frob.com>
64547         [BZ #13226]
64548         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
64550 2011-09-27  Andreas Schwab  <schwab@redhat.com>
64552         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64553         Reread the line before reparsing it.
64555 2011-09-26  Andreas Schwab  <schwab@redhat.com>
64557         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
64559 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
64560             Maxim Kuvyrkov  <maxim@codesourcery.com>
64561             Joseph Myers  <joseph@codesourcery.com>
64563         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
64564         if needed for __stack_chk_guard.
64566 2011-09-19  Roland McGrath  <roland@hack.frob.com>
64568         * sysdeps/posix/spawni.c (script_execute): Always define it.
64569         It will be optimized away if unused.
64570         (maybe_script_execute): New function.
64571         (__spawni): Call it.
64573         * Makerules: Don't include tls.make.
64574         (config-tls): Always set to thread.
64575         * tls.make.c: File removed.
64577 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
64579         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
64580         * config.make.in (CPPFLAGS-config): New substituted variable.
64582 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64584         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
64586         [BZ #13192]
64587         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
64588         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
64590 2011-09-15  Roland McGrath  <roland@hack.frob.com>
64592         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
64593         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
64594         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64595         (CALL_FAIL): Likewise.
64596         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
64597         (CALL_FAIL): Macro removed.
64598         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
64600 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64602         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
64603         for __FINITE_MATH_ONLY__ == 1.
64605 2011-09-15  Andreas Schwab  <schwab@redhat.com>
64607         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
64608         __ieee754_sqrt instead of sqrt.
64609         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
64610         __ieee754_sqrtf instead of sqrtf.
64611         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
64612         __floorf instead of floorf.
64613         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
64614         __floorf, __truncf instead of floorf, truncf.
64616 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
64618         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
64620         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
64621         __extern_always_inline.
64622         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
64623         32-bit.
64625 2011-09-14  Andreas Schwab  <schwab@redhat.com>
64627         * elf/rtld.c (dl_main): Also relocate in dependency order when
64628         doing symbol dependency testing.
64630 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
64632         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64633         Always define `refsym'.
64635 2011-09-13  Andreas Schwab  <schwab@redhat.com>
64637         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
64638         (__FD_ELT): Renamed from __FDELT.
64639         * misc/bits/select2.h (__FD_ELT): Likewise.
64640         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
64641         __FD_MASK instead of __FDELT, __FDMASK.
64642         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64643         Likewise.
64644         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64645         Likewise.
64647         * elf/Makefile (gen-ldd): Fix pattern.
64649         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
64650         (init_tls): Likewise.
64652 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
64654         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
64656 2011-09-12  Andreas Schwab  <schwab@redhat.com>
64658         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
64659         `struct cmsghdr *' instead of `void *'.
64660         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
64661         Likewise.
64663 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
64665         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
64666         if non-absolute.
64667         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
64668         ldd_rewrite_script.
64670 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
64672         * configure.in: Remove --with-tls option.
64673         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
64674         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
64675         out in case it is missing.
64676         * sysdeps/ia64/elf/configure.in: Likewise.
64677         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
64678         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
64679         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
64680         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
64681         * sysdeps/sh/elf/configure.in: Likewise.
64682         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
64683         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64684         * sysdeps/x86_64/elf/configure.in: Likewise.
64685         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
64686         * sysdeps/mach/hurd/tls.h: Likewise.
64688         [BZ #13067]
64689         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
64691         [BZ #13090]
64692         * configure.in: Fix use of AC_INIT.
64694         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
64696 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
64698         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
64699         __set_errno.
64700         * malloc/hooks.c: Likewise.
64702         [BZ #11929]
64703         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
64704         variables statically.
64705         (narenas): Initialize.
64706         (list_lock): Initialize.
64707         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
64708         initializtion of main_arena and list_lock.  Small cleanups.
64709         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
64710         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
64711         Add initializers to main_arena and mp_.
64712         (malloc_state): Remove pagesize member.  Change all users to use
64713         GLRO(dl_pagesize).
64715         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
64716         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
64717         is always initialized.
64719         * malloc/malloc.c: Removed unused configurations and dead code.
64720         * malloc/arena.c: Likewise.
64721         * malloc/hooks.c: Likewise.
64722         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
64724         * include/tls.h: Removed.  USE___THREAD must always be defined.
64725         * bits/libc-tsd.h: Don't handle !USE___THREAD.
64726         * elf/dl-libc.c: Likewise.
64727         * elf/dl-tsd.c: Likewise.
64728         * include/errno.h: Likewise.
64729         * include/netdb.h: Likewise.
64730         * include/resolv.h: Likewise.
64731         * inet/herrno-loc.c: Likewise.
64732         * inet/herrno.c: Likewise.
64733         * malloc/arena.c: Likewise.
64734         * malloc/hooks.c: Likewise.
64735         * malloc/malloc.c: Likewise.
64736         * resolv/res-state.c: Likewise.
64737         * resolv/res_libc.c: Likewise.
64738         * sysdeps/i386/dl-machine.h: Likewise.
64739         * sysdeps/ia64/dl-machine.h: Likewise.
64740         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
64741         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64742         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
64743         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
64744         * sysdeps/sh/dl-machine.h: Likewise.
64745         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64746         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64747         * sysdeps/unix/i386/sysdep.S: Likewise.
64748         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
64749         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
64750         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
64751         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
64752         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
64753         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
64754         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
64755         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64756         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64757         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
64758         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64759         * sysdeps/x86_64/dl-machine.h: Likewise.
64760         * tls.make.c: Likewise.
64762         * configure.in: Remove --with-__thread option.  Make tests for
64763         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
64764         tls_model attribute fail if no support is available.  Remove
64765         USE_IN_LIBIO.
64766         * Makeconfig: Adjust for dropped configure option.  All features are
64767         now mandatory.
64768         * Makerules: Likewise.
64769         * Versions.def: Likewise.
64770         * argp/argp-fmtstream.c: Likewise.
64771         * argp/argp-fmtstream.h: Likewise.
64772         * argp/argp-help.c: Likewise.
64773         * assert/assert.c: Likewise.
64774         * config.h.in: Likewise.
64775         * config.make.in: Likewise.
64776         * configure: Likewise.
64777         * configure.in: Likewise.
64778         * csu/Versions: Likewise.
64779         * csu/init.c: Likewise.
64780         * elf/tst-audit2.c: Likewise.
64781         * elf/tst-tls10.c: Likewise.
64782         * elf/tst-tls10.h: Likewise.
64783         * elf/tst-tls11.c: Likewise.
64784         * elf/tst-tls12.c: Likewise.
64785         * elf/tst-tls14.c: Likewise.
64786         * elf/tst-tlsmod11.c: Likewise.
64787         * elf/tst-tlsmod12.c: Likewise.
64788         * elf/tst-tlsmod13.c: Likewise.
64789         * elf/tst-tlsmod13a.c: Likewise.
64790         * elf/tst-tlsmod14a.c: Likewise.
64791         * elf/tst-tlsmod15b.c: Likewise.
64792         * elf/tst-tlsmod16a.c: Likewise.
64793         * elf/tst-tlsmod16b.c: Likewise.
64794         * elf/tst-tlsmod7.c: Likewise.
64795         * elf/tst-tlsmod8.c: Likewise.
64796         * elf/tst-tlsmod9.c: Likewise.
64797         * gmon/gmon.c: Likewise.
64798         * grp/fgetgrent_r.c: Likewise.
64799         * grp/putgrent.c: Likewise.
64800         * hurd/fopenport.c: Likewise.
64801         * include/libc-symbols.h: Likewise.
64802         * include/tls.h: Likewise.
64803         * intl/gettextP.h: Likewise.
64804         * intl/loadinfo.h: Likewise.
64805         * locale/global-locale.c: Likewise.
64806         * locale/localeinfo.h: Likewise.
64807         * mach/devstream.c: Likewise.
64808         * malloc/arena.c: Likewise.
64809         * malloc/set-freeres.c: Likewise.
64810         * misc/err.c: Likewise.
64811         * misc/getttyent.c: Likewise.
64812         * misc/mntent_r.c: Likewise.
64813         * posix/getopt.c: Likewise.
64814         * posix/wordexp.c: Likewise.
64815         * pwd/fgetpwent_r.c: Likewise.
64816         * resolv/Versions: Likewise.
64817         * resolv/res_hconf.c: Likewise.
64818         * shadow/fgetspent_r.c: Likewise.
64819         * shadow/putspent.c: Likewise.
64820         * stdio-common/printf_fphex.c: Likewise.
64821         * stdio-common/tmpfile.c: Likewise.
64822         * stdlib/abort.c: Likewise.
64823         * stdlib/fmtmsg.c: Likewise.
64824         * sunrpc/auth_unix.c: Likewise.
64825         * sunrpc/clnt_perr.c: Likewise.
64826         * sunrpc/clnt_tcp.c: Likewise.
64827         * sunrpc/clnt_udp.c: Likewise.
64828         * sunrpc/clnt_unix.c: Likewise.
64829         * sunrpc/openchild.c: Likewise.
64830         * sunrpc/svc_simple.c: Likewise.
64831         * sunrpc/svc_tcp.c: Likewise.
64832         * sunrpc/svc_udp.c: Likewise.
64833         * sunrpc/svc_unix.c: Likewise.
64834         * sunrpc/xdr.c: Likewise.
64835         * sunrpc/xdr_array.c: Likewise.
64836         * sunrpc/xdr_rec.c: Likewise.
64837         * sunrpc/xdr_ref.c: Likewise.
64838         * sunrpc/xdr_stdio.c: Likewise.
64840 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64842         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64844 2011-07-03  Andreas Jaeger  <aj@suse.de>
64846         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
64847         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
64848         regenerate with gen-libm-tests.pl.
64850 2010-05-12  Petr Baudis  <pasky@suse.cz>
64852         [BZ #11589]
64853         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
64854         around j0() zero points by switching to j1().
64855         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64856         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64857         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64858         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64860 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64862         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
64863         instead of 0.
64864         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
64865         instead of 0.
64866         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64867         Patch in part by Pavel Roskin <proski@gnu.org>.
64869         [BZ #13138]
64870         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
64871         realloc.
64872         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
64873         Free memory block if necessary.
64875         [BZ #12847]
64876         * libio/genops.c (INTDEF): For string streams the _lock pointer can
64877         be NULL.  Don't lock in this case.
64879 2011-09-09  Roland McGrath  <roland@hack.frob.com>
64881         * elf/elf.h (ELFOSABI_GNU): New macro.
64882         (ELFOSABI_LINUX): Define to that.
64884 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
64886         * string/strncat.c (strncat): Undef the symbol in case it has been
64887         defined in bits/string.h.
64889 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64891         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
64893         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
64894         link map.
64896 2011-08-17  Andreas Jaeger  <aj@suse.de>
64898         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
64900 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
64901             Ian Lance Taylor  <iant@google.com>
64903         * math/libm-test.inc (lround_test): New testcase.
64904         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
64906 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
64908         * Makefile: Remove support for automatic cvs check-ins.
64909         * Makerules: Likewise.
64910         * config.make.in: Likewise.
64911         * configure.in: Likewise.
64912         * intl/Makefile: Likewise.
64913         * locale/Makefile: Likewise.
64914         * po/Makefile: Likewise.
64915         * posix/Makefile: Likewise.
64916         * sysdeps/gnu/Makefile: Likewise.
64917         * sysdeps/mach/hurd/Makefile: Likewise.
64918         * sysdeps/sparc/sparc32/Makefile: Likewise.
64920         [BZ #13118]
64921         * posix/Makefile (bug-regex32-ENV): Define.
64922         Patch by John Stanley <jpsinthemix@verizon.net>.
64924         * misc/Makefile (headers): Add bits/select2.h.
64925         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
64926         * misc/bits/select2.h: New file.
64927         * include/bits/select2.h: New file.
64928         * debug/Makefile (routines): Add fdelt_chk.
64929         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
64930         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
64931         FD_ISSET.
64932         * debug/fdelt_chk.c: New file.
64934         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
64935         * wcsmbs/test-wmemcmp.c: Likewise.
64936         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
64937         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
64939 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64941         * string/Makefile (strop-tests): Add memcmp.
64942         * string/test-wmemcmp.c: New file.
64943         * string/test-memcmp.c: Add wmemcmp support.
64945 2011-09-08  Roland McGrath  <roland@hack.frob.com>
64947         [BZ #13153]
64948         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
64949         2011-07-19 change.
64951         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
64952         garbage value in a __mach_port_mod_refs call in the cases of the
64953         task-self and thread-self ports.
64955 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64957         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
64959 2011-09-08  Andreas Schwab  <schwab@redhat.com>
64961         * elf/dl-load.c (lose): Check for non-null L.
64963 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
64965         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
64967         * elf/dl-libc.c (dlerror_run): Pass back error code from
64968         dl_catch_error.
64970         [BZ #13123]
64971         * elf/dl-load.c (lose): Free l_origin if it is valid.
64973         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
64974         names.
64975         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
64976         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
64977         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
64978         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
64979         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
64980         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
64982 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64984         * sysdeps/powerpc/fpu/e_hypot.c: New file.
64985         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
64986         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
64987         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
64988         * sysdeps/powerpc/fpu/k_cosf.c: New file.
64989         * sysdeps/powerpc/fpu/k_sinf.c: New file.
64990         * sysdeps/powerpc/fpu/s_cosf.c: New file.
64991         * sysdeps/powerpc/fpu/s_sinf.c: New file.
64992         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
64993         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
64995 2011-08-15  Alan Modra  <amodra@gmail.com>
64997         [BZ #13092]
64998         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
64999         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
65000         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
65001         ppc_mcount to static-only-routines.
65002         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
65003         __mcount_internal.
65004         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
65005         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
65007 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
65009         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
65010         for finite and infinity parameters.
65012 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
65014         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
65015         and add nop instructions for throughput optimization.
65016         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65018 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
65020         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
65021         aligned copy for power7 with vector-scalar instructions.
65022         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
65024 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
65026         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
65027         AVX check.
65029 2011-09-07  Andreas Schwab  <schwab@redhat.com>
65031         [BZ #13144]
65032         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
65033         last change.
65035 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
65037         * sysdeps/unix/sysv/linux/x86_64/init-first.c
65038         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
65039         syscall wrapper around clock_gettime in __vdso_clock_gettime.
65040         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
65041         clock_gettime.
65043 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
65045         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
65046         Forgot to demangle the pointer.
65048         * sysdeps/i386/sysdep.h: Define atom_text_section.
65049         * sysdeps/x86_64/sysdep.h: Likewise.
65050         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
65051         section with atom_text_section.
65052         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
65053         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
65054         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
65055         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65056         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
65058         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
65059         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
65060         already be defined.  Change to take two parameters and don't assign
65061         result to variable.  Adjust all users.
65062         Define INTERNAL_GETTIME if not already defined.
65063         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
65064         call.
65065         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
65066         HAVE_CLOCK_GETTIME_VSYSCALL.
65067         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
65069         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
65070         gettimeofday vsyscall, just use time.
65072 2011-09-06  Andreas Schwab  <schwab@redhat.com>
65074         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
65075         <errno.h>.
65077 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
65079         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
65080         syscall on x86-64.
65081         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
65082         syscall.
65083         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
65084         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
65085         syscall if possible.
65087 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65089         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
65090         e_ident.  Don't pass to find_mapsXX.
65091         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
65093 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65096         strchr-sse2-no-bsf strrchr-sse2-no-bsf
65097         * sysdeps/x86_64/multiarch/strchr.S: Update.
65098         Check bit_slow_BSF bit.
65099         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65100         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
65101         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
65103 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65105         [BZ #13134]
65106         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
65107         before glibc 2.15.
65108         (tryshell): Define.
65109         (__spawni): Change last parameter to be flag.  Test
65110         SPAWN_XFLAGS_USE_PATH flag to use path or not.
65111         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
65112         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
65113         * posix/spawni.c: Likewise.
65114         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
65115         * posix/spawnp.c: Likewise.  Change normal version to use
65116         SPAWN_XFLAGS_USE_PATH.
65117         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
65118         SPAWN_XFLAGS_TRY_SHELL.
65120         [BZ #13150]
65121         * posix/glob.h: Remove gcc 1.x support.
65123         [BZ #13068]
65124         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
65126 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65128         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65129         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
65130         strrchr-sse2-bsf
65131         * sysdeps/i386/i686/multiarch/strchr.S: New file.
65132         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
65133         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
65134         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
65135         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
65136         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
65138 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65140         * sysdeps/x86_64/wcscmp.S: New file.
65142         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
65143         wcscmp-c wcscmp-sse2
65144         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
65145         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
65146         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
65147         * wcsmbs/wcscmp.c: Allow renaming.
65149 2011-09-05  David S. Miller  <davem@davemloft.net>
65151         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
65152         stack slot, rather than the struct return pointer slot.
65153         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
65154         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
65155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
65156         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
65158 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65160         * po/ja.po: Update from translation team.
65162         [BZ #13144]
65163         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
65164         kernel in 64-bit binaries.
65166 2011-09-01  David S. Miller  <davem@davemloft.net>
65168         * elf/elf.h (HWCAP_SPARC_*): Move to..
65169         * sysdeps/sparc/sysdep.h: this new file and add new values.
65170         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
65171         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
65172         _DL_HWCAP_COUNT to 24.
65173         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
65174         entries.
65175         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
65176         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
65177         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
65178         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
65179         instead of magic constants.
65180         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65182 2011-08-31  David S. Miller  <davem@davemloft.net>
65184         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
65185         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
65186         Reimplement to do errno handling inline.
65187         (SYSCALL_ERROR_HANDLER): New macro.
65188         (__SYSCALL_STRING): Do not do errno handling in asm.
65189         (__CLONE_SYSCALL_STRING): Delete.
65190         (__INTERNAL_SYSCALL_STRING): Delete.
65191         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
65192         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
65193         (PSEUDO): Reimplement to do errno handling inline.
65194         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
65195         (SYSCALL_ERROR_HANDLER): New macro.
65196         (__SYSCALL_STRING): Do not do errno handling in asm.
65197         (__CLONE_SYSCALL_STRING): Delete.
65198         (__INTERNAL_SYSCALL_STRING): Delete.
65199         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
65200         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
65201         i386.
65202         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
65203         (inline_syscall*): Add 'err' argument.
65204         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
65205         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
65206         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
65207         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
65209         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
65210         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65212 2011-08-30  Andreas Schwab  <schwab@redhat.com>
65214         * elf/rtld.c (dl_main): Relocate objects in dependency order.
65216 2011-08-29  Jiri Olsa <jolsa@redhat.com>
65218         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
65219         directive.
65221 2011-08-24  David S. Miller  <davem@davemloft.net>
65223         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
65225 2011-08-24  Andreas Schwab  <schwab@redhat.com>
65227         * elf/Makefile: Add rules to build and run unload8 test.
65228         * elf/unload8.c: New file.
65229         * elf/unload8mod1.c: New file.
65230         * elf/unload8mod1x.c: New file.
65231         * elf/unload8mod2.c: New file.
65232         * elf/unload8mod3.c: New file.
65234         * elf/dl-close.c (_dl_close_worker): Reset private search list if
65235         it wasn't used.
65237 2011-08-23  David S. Miller  <davem@davemloft.net>
65239         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
65240         subtract stack bias.
65241         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
65242         %sp not %fp in calculations.
65243         (_JMPBUF_UNWINDS_ADJ): Likewise.
65245         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
65246         (aio_suspend): Call it to force an exception region around the
65247         AIO_MISC_WAIT() invocation.
65249 2011-08-23  Andreas Schwab  <schwab@redhat.com>
65251         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
65252         backslash.
65254 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
65256         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
65257         protection macro.
65258         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
65259         and <dl-machine.h>.
65260         (Elf64_FuncDesc): Remove.
65262 2011-08-22  David S. Miller  <davem@davemloft.net>
65264         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
65265         sigaltstack check, add missing cfi directives.
65266         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
65267         missing cfi directives, and sigaltstack handling.
65269 2011-08-16  Andreas Schwab  <schwab@redhat.com>
65271         [BZ #11724]
65272         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
65273         object is seen twice.
65274         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65276         * elf/Makefile (distribute): Add tst-initorder2.c.
65277         (tests): Add tst-initorder2.
65278         (modules-names): Add tst-initorder2a tst-initorder2b
65279         tst-initorder2c tst-initorder2d.  Add rules to build them.
65280         ($(objpfx)tst-initorder2.out): New rule.
65281         * elf/tst-initorder2.c: New file.
65282         * elf/tst-initorder2.exp: New file.
65284 2011-08-22  Andreas Schwab  <schwab@redhat.com>
65286         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
65288         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
65289         dependencies back to end of function.
65291         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65292         $(elfobjdir)/ld.so.
65294 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
65296         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
65297         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
65298         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
65299         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
65300         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
65301         of __vdso_gettimeofday.
65302         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
65303         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
65304         attribute_hidden.
65305         (_libc_vdso_platform_setup): Remove initialization of
65306         __vdso_gettimeofday and __vdso_time.
65308 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
65310         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
65311         and fgetc_unlocked.
65312         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
65313         getc_unlocked.
65315         * elf/dl-open.c (add_to_global): Report additions to the global scope
65316         for LD_DEBUG=scopes.
65317         (dl_open_worker): Also print scope of newly loaded dependencies.
65318         (_dl_show_scope): Indicate if there is no scope.
65320         [BZ #13114]
65321         * stdio-common/Makefile (tests): Add bug24.
65322         * stdio-common/bug24.c: New file.
65324 2011-08-19  Andreas Jaeger  <aj@suse.de>
65326         [BZ #13114]
65327         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
65328         non-existant file when using close-on-exec mode.
65330 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
65332         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
65333         the very first instruction.
65335         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
65336         the CFI state in the end.
65337         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
65338         inclusion of dl-trampoline.h.
65339         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
65341 2011-08-19  Andreas Schwab  <schwab@redhat.com>
65343         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
65344         expectations for long double.
65346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
65347         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
65349 2011-08-14  David S. Miller  <davem@davemloft.net>
65351         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
65352         artificual limit depends upon the system page size.
65354 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
65356         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
65357         * resolv/Makefile: Define CFLAGS-libresolv.
65359 2011-08-17  Andreas Schwab  <schwab@redhat.com>
65361         * nss/makedb.c (compute_tables): Make variables used in nested
65362         function static.
65364 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
65366         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
65367         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
65368         if buffer was too small.
65370         * elf/pldd.c (main): Attach to all threads in the process.
65371         Rewrite /proc handling to use *at functions.
65373 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
65375         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
65376         specifies first scope to show.
65377         (dl_open_worker): Update callers.  Move printing scope of new
65378         object to before the relocation.
65379         * elf/rtld.c (dl_main): Update _dl_show_scope call.
65380         * sysdeps/generic/ldsodefs.h: Update declaration.
65382         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
65383         string for the scope number.
65385 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
65387         * nscd/servicescache.c (cache_addserv): Make sure written is always
65388         initialized.
65390 2011-08-14  Roland McGrath  <roland@hack.frob.com>
65392         * sysdeps/i386/i486/bits/atomic.h
65393         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
65394         statement expression, so as to suppress "set but not used" warning.
65395         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
65397         * string/strncat.c (STRNCAT): Use prototype definition.
65399         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
65400         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
65401         -Iprograms here.
65402         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
65403         (localedef-modules): Add localedef.
65404         (locale-modules): Add locale.
65406         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
65407         * elf/rtld.c (dl_main): Invert order of assignment in last change,
65408         to avoid a warning.
65410 2011-08-14  David S. Miller  <davem@davemloft.net>
65412         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
65413         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
65415 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
65417         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
65418         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
65419         * elf/rtld.c (dl_main): Set l_name of vDSO.
65420         Call _dl_show_scope when DL_DEBUG_SCOPES.
65421         (process_dl_debug): Recognize scopes flag and also set it for all.
65422         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
65423         Declare _dl_show_scope.
65425         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
65426         (do_dlopen): Pass caller_dlopen to dl_open.
65427         (__libc_dlopen_mode): Initialize caller_dlopen.
65429         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
65430         of libc.  Make tolower call locale-independent.  Optimize a bit by
65431         using isdigit instead of isalnum.
65432         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
65434 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
65436         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
65437         was a dependency or dynamically loaded.
65439 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
65441         * intl/l10nflist.c: Allow architecture-specific pop function.
65442         * sysdeps/x86_64/l10nflist.c: New file.
65444         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
65445         classification.
65447 2011-08-10  Andreas Schwab  <schwab@redhat.com>
65449         * include/dirent.h: Add libc_hidden_proto for scandirat and
65450         scandirat64.  Don't declare __scandirat64.
65451         * dirent/scandirat.c: Add libc_hidden_def.
65452         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
65453         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
65455 2011-08-10  David S. Miller  <davem@davemloft.net>
65457         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
65458         enum.
65459         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
65460         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
65461         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
65463 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
65465         * Versions.def [libc]: Add GLIBC_2.15.
65466         * dirent/Makefile (routines): Add scandirat and scandirat64.
65467         * dirent/Versions [libc]: Export scandirat and scandirat64 for
65468         GLIBC_2.15.
65469         * dirent/dirent.h: Declare scandirat and scandirat64.
65470         * dirent/scandirat.c: New file.
65471         * dirent/scandirat64.c: New file.
65472         * sysdeps/wordsize-64/scandirat.c: New file.
65473         * sysdeps/wordsize-64/scandirat64.c: New file.
65474         * dirent/opendir.c: Define opendirat.
65475         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
65476         using scandirat.
65477         * dirent/scandir64.c: Adjust for scandir.c change.
65478         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
65479         __scandirat64, and __scandir_cancel_handler.
65480         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
65481         additional parameter and use openat instead of open (outside of ld.so).
65482         Add new __opendir as wrapper around __opendirat.
65483         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
65484         here without requiring old scandirat implementation.
65486 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
65488         * dirent/scandir.c (cancel_handler): Renamed to
65489         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
65490         defined.  Adjust users.
65491         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
65492         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
65494 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
65496         * string/test-string.h (IMPL): Use __STRING to expand name and then
65497         stringify it.
65499         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
65500         of cleanups.
65502 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65504         * string/Makefile: Update.
65505         (strop-tests): Append strncat.
65506         * string/test-wcscmp.c: New file.
65507         New comprehensive test for wcscmp.
65508         * string/test-strcmp.c: Update.
65509         (WIDE): New define.
65511 2011-07-22  Andreas Schwab  <schwab@redhat.com>
65513         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
65514         line.
65516 2011-07-26  Andreas Schwab  <schwab@redhat.com>
65518         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
65519         encoding to ACE if AI_IDN.
65521 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
65523         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
65524         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
65526 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65528         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
65529         Fix overflow bug in strncat.
65530         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
65532         * string/test-strncat.c: Update.
65533         Add new tests for checking overflow bugs.
65535 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65537         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65538         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
65539         * sysdeps/i386/i686/multiarch/strcat.S: New file.
65540         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
65541         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
65542         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
65543         * sysdeps/i386/i686/multiarch/strncat.S: New file.
65544         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
65545         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
65547         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
65548         (USE_AS_STRCAT): Define.
65549         Add strcat and strncat support.
65550         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
65552 2011-07-25  Andreas Schwab  <schwab@redhat.com>
65554         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
65555         __n bigger than INT_MAX+1.
65556         (__strncmp_g): Likewise.
65558 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
65560         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
65561         * libio/stido.h: Likewise.
65563         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
65564         (AF_NFC): Define.
65565         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
65566         (AF_NFC): Define.
65568         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
65569         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
65570         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
65571         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
65572         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
65574         [BZ #13021]
65575         * scripts/test-installation.pl: Don't expect libnss_test1 to be
65576         installed.
65578         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
65579         typo.
65580         (_dl_x86_64_save_sse): Likewise.
65582 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
65584         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
65585         OSXSAVE.
65586         (_dl_x86_64_save_sse): Likewise.
65588         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
65590         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
65592 2011-07-21  Andreas Schwab  <schwab@redhat.com>
65594         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
65595         change.
65596         (_dl_x86_64_save_sse): Use correct AVX check.
65598 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65600         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
65601         bug in strncpy/strncat.
65602         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
65604 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
65606         * string/tester.c (test_strcat): Add tests for different alignments
65607         of source and destination.
65608         (test_strncat): Likewise.
65610 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65612         [BZ #12852]
65613         * posix/glob.c (glob): Check passed in values before using them in
65614         expressions to avoid some overflows.
65615         (glob_in_dir): Likewise.
65617         [BZ #13007]
65618         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
65619         check for AVX enablement so that we don't crash with old kernels and
65620         new hardware.
65621         * elf/tst-audit4.c: Add same checks here.
65622         * elf/tst-audit6.c: Likewise.
65624         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
65626 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
65628         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
65630 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65632         * po/cs.po: Update from translation team.
65633         * po/bg.po: Likewise.
65635 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
65637         * misc/sys/cdefs.h: Add support for const attribute.
65638         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
65639         to gnu_dev_{major,minor,makedev} functions.
65641 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
65643         * intl/dcigettext.c (get_output_charset): Add missing bracket.
65645 2011-07-20  Andreas Schwab  <schwab@redhat.com>
65647         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
65648         strlen results.
65650 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65652         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
65653         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
65654         register in order to avoid conflicts with the soft frame pointer
65655         being held in r11 when necessary.
65656         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
65657         (INTERNAL_VSYSCALL_NCS): Likewise.
65659 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
65661         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
65662         * elf/dl-fini.c (_dl_fini): Adjust caller.
65663         * elf/dl-close.c (_dl_close_worker): Likewise.
65664         * sysdeps/generic/ldsodefs.h: Adjust declaration.
65666 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65668         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
65669         "aux_cache->nlibs < 0".
65671         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
65672         in the reload-count case.
65674 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65676         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65677         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
65678         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
65679         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
65680         * sysdeps/x86_64/multiarch/strcat.S: New file.
65681         * sysdeps/x86_64/multiarch/strncat.S: New file.
65682         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
65683         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
65684         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
65685         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
65686         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
65687         (USE_AS_STRCAT): Define.
65688         Add strcat and strncat support.
65689         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65690         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
65691         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
65692         * string/strncat.c: Update.
65693         (USE_AS_STRNCAT): Define.
65694         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65695         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
65696         and i7.
65697         * sysdeps/x86_64/multiarch/init-arch.h
65698         (bit_Prefer_PMINUB_for_stringop): New.
65699         (index_Prefer_PMINUB_for_stringop): Likewise.
65700         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
65701         bit_Prefer_PMINUB_for_stringop.
65703 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65705         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
65706         buffer64.
65707         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
65708         of casting of buffer.
65709         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
65710         buffer32 and buffer64.
65711         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
65712         writes instead of casting of buffer.
65713         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
65714         buffer32.
65715         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
65716         casting of buffer.
65718 2011-07-19  Andreas Schwab  <schwab@redhat.com>
65720         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
65722 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65724         * nscd/nscd.c (termination_handler): Don't do anything for a database
65725         if it has not yet been initialized.
65727 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65729         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65731 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65733         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65735 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65737         * po/nl.po: Update from translation team.
65738         * po/sv.po: Likewise.
65740 2011-07-16  Roland McGrath  <roland@hack.frob.com>
65742         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
65743         now disallowed by GCC.
65745         * configure.in (use-default-link): Default to yes if a test -shared
65746         link meets our qualifications.
65747         * configure: Regenerated.
65749         * config.make.in (output-format): New variable.
65750         * configure.in: Check for ld --print-output-format support.
65751         * configure: Regenerated.
65752         * Makerules ($(common-objpfx)format.lds)
65753         [$(output-format) != unknown]: Just use $(output-format),
65754         instead of the linker-script munging.
65756 2011-07-14  Roland McGrath  <roland@hack.frob.com>
65758         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
65759         of $(common-objpfx)shlib.lds.
65760         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
65762         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
65763         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
65765         * configure.in (-z relro check): Adjust test code to add a large
65766         writable data section after it.
65767         * configure: Regenerated.
65769 2011-07-11  Roland McGrath  <roland@hack.frob.com>
65771         * configure.in (-z relro check): Fix test code to make the variable
65772         truly const.
65773         * configure: Regenerated.
65775 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
65777         * nscd/nscd.h (struct traced_file): Define.
65778         (struct database_dyn): Remove inotify_descr, reset_res, and filename
65779         elements.  Add traced_files.
65780         (inotify_fd): Declare.
65781         (register_traced_file): Declare.
65782         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
65783         (inotify_fd): Export.
65784         (resolv_conf_descr): Remove.
65785         (nscd_init): Move inotify descriptor creation to main.
65786         Don't register files for notification here.
65787         (register_traced_file): New function.
65788         (invalidate_cache): Don't use reset_res to determine whether to call
65789         res_init, go through the list of registered files.
65790         (main_loop_poll): The inotify descriptors are now stored in the
65791         structures for the traced files.
65792         (main_loop_epoll): Likewise
65793         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
65794         to __nss_disable_nscd.
65795         * nscd/cache.c (prune_cache): There is no single inotify descriptor
65796         for a database anymore.  Check the records for all the registered
65797         files instead.
65798         * nss/Makefile (libnss_files-routines): Add files-init.
65799         (libnss_db-routines): Add db-init.
65800         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
65801         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
65802         * nss/nss_db/db-init.c: New file.
65803         * nss/nss_files/files-init.c: New file.
65804         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
65805         __nss_lookup_function.
65806         (__nss_lookup_function): Call nss_load_library.
65807         (nss_load_all_libraries): New function.
65808         (__nss_disable_nscd): Take parameter with callback function for files
65809         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
65810         used for the cached services.
65811         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
65812         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
65813         options for features to all the files in nscd.
65815         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
65817 2011-07-10  Roland McGrath  <roland@hack.frob.com>
65819         * csu/elf-init.c (__libc_csu_init): Comment typo.
65821 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
65823         * po/pl.po: Update from translation team.
65824         * po/ja.po: Likewise.
65825         * po/ru.po: Likewise.
65826         * po/ko.po: Likewise.
65827         * po/fr.po: Likewise.
65829 2011-07-09  Roland McGrath  <roland@hack.frob.com>
65831         * configure.in (.ctors/.dtors header and trailer check):
65832         Use an empirical test on a built program.
65833         * configure: Regenerated.
65835         * configure.in (-z relro check): Use an empirical test on a built DSO.
65836         Detect, but do not require, on ia64.
65837         * configure: Regenerated.
65839         * configure.in (READELF): Find it with AC_CHECK_TOOL.
65840         Update tests that use readelf to use $READELF instead.
65841         * configure: Regenerated.
65843 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
65845         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
65846         if the result is not used.
65848 2011-07-05  Andreas Jaeger  <aj@suse.de>
65850         [BZ#9696]
65851         * stdlib/tst-strtod.c: Add testcase.
65853 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
65855         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
65856         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
65857         The latter has a higher limit.  Take additional parameter to pass to
65858         the new function.
65859         (__pathconf): Pass file to __statfs_link_max.
65860         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
65861         __statfs_link_max.
65862         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
65863         __statfs_link_max.
65865         [BZ #12868]
65866         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
65867         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65868         Handle Lustre.
65869         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
65870         (__statfs_filesize_max): Likewise.
65871         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
65873 2011-07-05  Andreas Jaeger  <aj@suse.de>
65875         * resolv/res_comp.c (dn_skipname): Remove unused variable.
65877 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
65879         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
65880         `status' variable.
65881         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
65882         Likewise.
65884 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
65886         * Makefile (strop-tests): Add strncat.
65887         * string/test-strncat.c: New file.
65889 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
65891         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
65893 2011-06-21  Andreas Jaeger  <aj@suse.de>
65895         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
65896         Copy rule from iconvdata/Makefile.
65898 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65900         [BZ #12922]
65901         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
65902         but no long options are defined, just return 'W'.
65904 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
65906         [BZ #9696]
65907         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
65909 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65911         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
65912         netgroups to read.
65913         (innetgr): Likewise.
65915 2011-07-05  Roland McGrath  <roland@hack.frob.com>
65917         * config.make.in (install_root): Default to $(DESTDIR).
65919 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
65921         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
65923 2011-07-02  Roland McGrath  <roland@hack.frob.com>
65925         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
65927         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
65928         containing directory rather than embedding absolute directory names.
65930         * scripts/check-local-headers.sh: Rewritten using awk.
65931         Match by word, not by line.  Print error messages for matches.
65932         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
65934         * Makerules [shlib-lds-flags empty]:
65935         ($(common-objpfx)libc_pic.opts): New target.
65936         ($(common-objpfx)libc_pic.os.clean): New target.
65937         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
65939         * config.make.in (OBJCOPY): New variable.
65940         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
65941         * configure: Regenerated.
65943         * config.make.in (use-default-link): New variable.
65944         * configure.in (use_default_link): Grok --with-default-link to set it.
65945         * configure: Regenerated.
65946         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
65947         (shlib-lds, shlib-lds-flags): Define to empty.
65949         * Makerules (shlib-lds): New variable.
65950         (shlib-lds-flags): New variable.
65951         (build-shlib, build-moduile, build-module-asneeded): Use it.
65952         ($(common-objpfx)libc.so): Use $(shlib-lds).
65953         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
65954         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
65956         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
65957         DT_FLAGS/DT_FLAGS_1 with zero flags.
65959         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
65960         linker script munging.
65962 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
65964         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
65965         as 128-bit value.
65966         * crypt/sha512.c (sha512_process_block): Perform total addition using
65967         128-bit if possible.
65968         (__sha512_finish_ctx): Likewise.
65969         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
65970         as 64-bit value.
65971         * crypt/sha256.c (SWAP64): Define.
65972         (sha256_process_block): Perform total addition using 64-bit if
65973         possible.
65974         (__sha256_finish_ctx): Likewise.
65976 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
65978         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
65979         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65980         * nscd/hstcache.c (cache_addhst): Likewise.
65981         * nscd/grpcache.c (cache_addgr): Likewise.
65982         * nscd/aicache.c (addhstaiX): Likewise
65983         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
65985 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
65987         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
65988         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65989         * nscd/hstcache.c (cache_addhst): Likewise.
65990         * nscd/grpcache.c (cache_addgr): Likewise.
65991         * nscd/aicache.c (addhstaiX): Likewise
65993 2011-07-01  Andreas Schwab  <schwab@redhat.com>
65995         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
65996         domain only when needed.
65998 2011-06-30  Andreas Schwab  <schwab@redhat.com>
66000         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
66001         is always restored.
66003 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
66005         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
66006         are re-adding the entry.
66007         * nscd/servicescache.c (cache_addserv): Likewise.
66009 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
66011         * sysdeps/generic/dl-irel.h: fix protection against multiple
66012         inclusions.
66013         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
66015 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
66017         [BZ #12935]
66018         * malloc/memusage.sh: Fix quoting in message.
66019         * debug/xtrace.sh: Likewise.
66021         * configure.in: Remove support for --experimental-malloc option, make
66022         it the default.
66023         * config.make.in: Likewise.
66024         * malloc/Makefile: Likewise.
66026 2011-06-27  Andreas Schwab  <schwab@redhat.com>
66028         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
66029         two-byte characters.
66031 2011-06-27  Roland McGrath  <roland@hack.frob.com>
66033         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
66034         AC_CACHE_CHECK invocation.
66035         * configure: Regenerated.
66037         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
66039 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
66041         [BZ #12350]
66042         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
66043         bit from old_res_options.
66045         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
66047         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
66048         value type for setfct.
66050 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
66052         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
66053         __gettimeofday instead of gettimeofday.
66055 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
66057         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
66059 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
66061         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
66063         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
66064         info.
66066 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
66068         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66069         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
66070         strcpy-sse2-unaligned strncpy-sse2-unaligned
66071         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
66072         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
66073         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
66074         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
66075         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
66076         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
66077         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
66078         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
66079         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
66080         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
66081         (STRCPY): Support SSE2 and SSSE3 versions.
66083 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
66085         [BZ #12874]
66086         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
66087         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
66088         kernels which artificially limit size of requests.
66090 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
66092         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66093         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
66094         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
66095         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
66096         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
66097         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
66098         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
66099         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
66100         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
66101         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
66102         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
66103         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
66104         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
66105         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
66106         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
66107         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66108         Enable unaligned load optimization for Intel Core i3, i5 and i7
66109         processors.
66110         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
66111         Define.
66112         (index_Fast_Unaligned_Load): Define.
66113         (HAS_FAST_UNALIGNED_LOAD): Define.
66115 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
66117         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
66119 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
66121         [BZ #12907]
66122         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
66123         until it is clear that the information is realy needed.
66124         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
66126 2011-06-22  Andreas Schwab  <schwab@redhat.com>
66128         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
66130 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
66132         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
66133         /sys/devices/system/cpu/online if it is usable.
66135         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
66136         reading the information from the /proc filesystem to once a second.
66138 2011-06-21  Andreas Jaeger  <aj@suse.de>
66140         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
66141         NULL after inclusion of kernel headers.
66143 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
66145         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
66146         calls to internal_setent.
66148         [BZ #12885]
66149         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
66150         addresses using gethostbyname4_r ignore IPv4 addresses.
66152         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
66153         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
66155         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
66157 2011-06-20  David S. Miller  <davem@davemloft.net>
66159         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
66160         inclusions.
66161         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
66163         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
66164         (elf_irel): Use it.
66165         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
66166         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
66167         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
66168         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
66169         * sysdeps/x86_64/dl-irel.h: Likewise.
66171         * elf/dl-runtime.c: Use elf_ifunc_invoke.
66172         * elf/dl-sym.c: Likewise.
66174 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
66176         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
66177         need to dereference resplen2.
66179 2011-06-14  Andreas Schwab  <schwab@redhat.com>
66181         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
66183 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
66185         * Makeconfig: Define vardbdir and inst_vardbdir.
66186         * nss/Makefile: Add rules to install db-Makefile.
66188         * nss/nss_db/db-XXX.c: Cleanup.
66190         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
66191         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
66192         GLIBC_PRIVATE.
66193         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
66194         * nss/makedb.c: Implement -g option to specify that value strings
66195         are generated and should not be added to table iterated over for
66196         get*ent calls.
66197         * nss/nss_db/db-initgroups.c: New file.
66199         * nss/getent.c: Add support for initgroups lookups through getgrouplist
66200         interface.
66202         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
66203         (internal_getgrouplist): Adjust to name change.
66204         Update use_initgroups_entry if this is not the first call.
66205         * nss/databases.def: Add initgroups entry.
66207         * nss/makedb.c (compute_tables): Check result of multiple hash table
66208         sizes to minimize maximum chain length.
66210 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
66212         * Versions.def: Add entry for libnss_db.
66213         * shlib-versions: Likewise.
66214         * nss/Makefile: Add rules to build libnss_db.
66215         * nss/Versions: Add libnss_db information.  Organize libnss_files
66216         entries better.
66217         * nss/db-Makefile: Add gshadow support.  Change rules for the new
66218         makedb progra.  Some minor improvements to generate smaller files.
66219         * nss/nss_db/nss_db.h: Move NSS database header data structures to
66220         here from...
66221         * nss/makedb.c: ...here.
66222         Improve database format to be smaller and require less memory at
66223         runtime.
66224         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
66225         db anymore.
66226         * nss/nss_db/db-netgrp.c: Likewise.
66227         * nss/nss_db/db-open.c: Likewise.
66228         * nss/nss_files/flies-XXX.x: Adjust comments.
66229         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
66230         * nss/nss_files/files-grp.c: Likewise.
66231         * nss/nss_files/files-hosts.c: Likewise.
66232         * nss/nss_files/files-network.c: Likewise.
66233         * nss/nss_files/files-proto.c: Likewise.
66234         * nss/nss_files/files-pwd.c: Likewise.
66235         * nss/nss_files/files-rpc.c: Likewise.
66236         * nss/nss_files/files-service.c: Likewise.
66237         * nss/nss_files/files-sgrp.c: Likewise.
66238         * nss/nss_files/files-spwd.c: Likewise.
66239         * nss/nss_db/db-alias.c: Removed.
66240         * nss/nss_db/dummy-db.h: Removed.
66242 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
66244         * nss/makedb.c: Rewritten to not use database library.
66245         * nss/Makefile: Update to build new makedb program.
66247 2011-06-14  Andreas Jaeger  <aj@suse.de>
66249         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
66250         memset declaration.
66252 2011-06-10  Andreas Schwab  <schwab@redhat.com>
66254         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
66255         tmpbuf.
66257 2011-06-10  Roland McGrath  <roland@hack.frob.com>
66259         * Makerules (shlib.lds): Fail if the linker script comes out empty.
66260         * elf/Makefile ($(objpfx)ld.so): Likewise.
66262         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
66263         Don't list ld.so twice in dependencies.
66265         * posix/bug-regex31.c: Include <stdlib.h>.
66267         * nscd/hstcache.c (cache_addhst): Remove unused variable.
66269         * nis/nss_compat/compat-spwd.c
66270         (getspent_next_nss_netgr): Remove unused variable.
66271         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
66273         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
66274         nonmembers" output to use the right array.
66276         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
66278         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
66280         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
66281         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
66282         * catgets/gencat.c (read_input_file): Likewise.
66283         * locale/programs/locarchive.c (enlarge_archive): Likewise.
66285         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
66286         variable definition inside #if's controlling its use.
66288         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
66290         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
66292         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
66294         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
66295         unreachable code.
66297         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
66299         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
66300         * configure: Regenerated.
66302         * Makerules: Revert last change.
66303         * elf/Makefile: Likewise.
66305 2011-06-09  Roland McGrath  <roland@hack.frob.com>
66307         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
66308         * elf/Makefile ($(objpfx)librtld.os): Likewise.
66309         (reloc-link): Likewise.
66311 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
66313         * elf/Makefile: Add rules to build pldd.
66314         * elf/pldd.c: New file.
66315         * elf/pldd-xx.c: New file.
66317 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
66319         * version.h: Update for 2.15 development version.
66321 2011-06-07  David S. Miller  <davem@davemloft.net>
66323         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
66324         ifuncs.
66325         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
66326         elf_machine_lazy_rel): Likewise.
66327         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
66328         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
66329         elf_machine_lazy_rel): Likewise.
66330         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
66331         dl_hwcap via passed in argument.
66332         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
66333         Likewise.
66335 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66337         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
66339 2011-06-06  Roland McGrath  <roland@hack.frob.com>
66341         [BZ #12849]
66342         * manual/fdl-1.1.texi: New file, verbatim from:
66343         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
66344         * manual/lgpl-2.1.texi: New file, verbatim from:
66345         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
66346         * manual/Makefile (licenses): New variable, list those new file names.
66347         (texis): Use it.
66348         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
66350         * manual/fdl.texi: File removed.
66351         * manual/lesser.texi: File removed.
66352         * manual/libc.texinfo (Copying, Documentation License):
66353         Use new @include file names, put @appendix directive before @include.
66355 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
66357         [BZ #12841]
66358         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
66359         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
66360         (mq_open): Add __NTH.
66362 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
66364         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66365         Assume Intel Core i3/i5/i7 processor if AVX is available.
66367 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
66369         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66370         typo.
66372 2011-05-31  Andreas Schwab  <schwab@redhat.com>
66374         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
66375         memory.  Use alloca_account.  Fix memory leak when retrying.
66377 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
66379         * version.h (RELEASE): Bump for 2.14 release.
66380         * include/features.h (__GLIBC_MINOR__): Bump to 14.
66382         * config.make.in (RANLIB): Remove entry.
66384 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
66386         * po/Makefile (po-sed-cmd): Add ksh to extensions.
66387         (libc.pot): Work around missing support for .ksh extension in xgettext.
66389         [BZ #12684]
66390         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
66391         if both request failed.
66392         (send_dg): In case of server errors clear resplen or *resplen2.
66394         [BZ #12454]
66395         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
66396         when there are multiple maps.
66397         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
66398         (_dl_fini): Remove test here.
66400         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
66402 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
66404         [BZ #12350]
66405         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
66406         bit from old_res_options.
66407         (gaih_inet): Likewise.
66409         [BZ #11099]
66410         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
66411         as signed.
66413         * resolv/res_init.c (res_setoptions): Make the code more compact.
66415         [BZ #11558]
66416         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
66417         set RES_USEVC.
66419         [BZ #11634]
66420         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
66422         * malloc/malloc.h: Mark malloc hook variables as deprecated.
66424         [BZ #11781]
66425         * malloc/malloc.h: Declare malloc hook variables as volatile.
66427         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
66428         in last patch.
66430         [BZ #11799]
66431         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
66432         raise in the comment.
66433         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
66434         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66435         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
66437 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
66439         [BZ #12811]
66440         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
66441         grow the buffers more if it already has to be sufficient.
66442         (build_wcs_upper_buffer): Likewise.
66443         * posix/regexec.c (check_matching): Likewise.
66444         (clean_state_log_if_needed): Likewise.
66445         (extend_buffers): Don't enlarge buffers beyond size of the input
66446         buffer.
66447         Patches mostly by Emil Wojak <emil@wojak.eu>.
66448         * posix/bug-regex32.c: New file.
66449         * posix/Makefile (tests): Add bug-regex32.
66451         * locale/findlocale.c (_nl_find_locale): Return right away if
66452         _nl_explode_name failed.
66453         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
66455         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
66457         * debug/xtrace.sh: Unify messages.
66458         * malloc/memusage.sh: Likewise.
66460         [BZ #12813]
66461         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
66462         time symbol from vDSO.  Substitute with vsyscall if not available.
66463         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
66464         __vdso_time.
66466         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
66467         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
66468         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
66469         Add sendmmsg and internal_sendmmsg.
66470         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
66471         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
66472         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
66474         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
66475         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
66476         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
66478 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
66480         [BZ #12813]
66481         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
66482         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
66483         available.
66484         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
66485         __vdso_getcpu.
66487         [BZ #12814]
66488         * iconvdata/Makefile (tests): Add bug-iconv9.
66489         * iconvdata/bug-iconv9.c: New file.
66491 2011-05-27  Andreas Schwab  <schwab@redhat.com>
66493         [BZ #12814]
66494         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
66496 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
66498         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66499         (struct user_regs_struct): Change intcs field back to cs.
66501 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
66503         * po/ja.po: Update from translation team.
66505 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
66507         [BZ #12795]
66508         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
66509         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
66511 2011-05-20  Andreas Schwab  <schwab@redhat.com>
66513         * stdlib/longlong.h: Update from GCC.
66515 2011-05-23  Andreas Schwab  <schwab@redhat.com>
66517         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
66518         parameter name.
66519         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
66520         Add parameter name.
66521         (__sysconf): Pass it down.
66523 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
66525         [BZ #12671]
66526         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
66527         some situations.
66528         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
66529         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
66530         add in in __libc_use_alloca calls.  Adjust callers.
66531         (glob): Use malloc in some situations.
66533         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
66534         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
66535         pltexit.
66537 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
66539         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
66540         and CLOCK_BOOTTIME_ALARM.
66542         [BZ #12782]
66543         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
66544         is returned.
66546         * string/_strerror.c (__strerror_r): Print negative errors as signed
66547         numbers.
66549         [BZ #12777]
66550         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
66551         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
66552         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
66554         * configure.in: Fix typo in redirection and correct removal of test
66555         files in two cases.
66557         [BZ #12788]
66558         * locale/setlocale.c (new_composite_name): Fix test to check for
66559         identical name of all categories.
66561         [BZ #12792]
66562         * libio/filedoalloc.c (local_isatty): New function.
66563         (_IO_file_doallocate): Use local_isatty.
66564         * stdio-common/perror.c (perror): In case a new stream is used
66565         forward the stream error.
66566         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
66567         error flag.
66569 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
66571         [BZ #11869]
66572         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
66573         alloca.
66574         * include/alloca.h (extend_alloca_account): Define.
66576         [BZ #11857]
66577         * posix/regex.h: Fix comments with documentation of user-accessible
66578         fields after compilation and describe correct free'ing of pattern
66579         after re_compile_pattern.
66580         Patch by Reuben Thomas <rrt@sc3d.org>.
66582 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
66584         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
66585         and -mno-altivec to prevent the compiler from using Altivec and/or
66586         VSX instructions when the corresponding registers are not available.
66588 2011-05-19  Andreas Schwab  <schwab@redhat.com>
66590         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
66592 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
66594         * libio/freopen.c (freopen): Use __dup2, not dup2.
66595         * libio/freopen64.c (freopen64): Likewise.
66597 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66599         [BZ #12775]
66600         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
66601         * math/Makefile (tests): Add test-powl.
66602         (CFLAGS-test-powl.c): Define.
66603         * math/test-powl.c: New file.
66605 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66607         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
66609 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
66611         [BZ #11837]
66612         * iconvdata/gb18030.c: Update to GB18020-2005.
66614 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
66616         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
66617         RE_SYNTAX_POSIX_AWK): Update to match recent development.
66618         Patch by Aharon Robbins <arnold@skeeve.com>.
66620         [BZ #11892]
66621         * stdlib/putenv.c (putenv): Don't always create copy of the variable
66622         on the stack.
66624         [BZ #11895]
66625         * misc/pselect.c (__pselect): Handle timeout value errors hidden
66626         through underflows.
66628         [BZ #12766]
66629         * misc/error.c (error_at_line): Ensure file_name and old_file_name
66630         point to strings before performing equality test for error_one_per_line
66631         mode.
66633         [BZ #11697]
66634         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
66636         [BZ #11820]
66637         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66638         (struct user_fpregs_struct): Avoid __uint*_t types.
66640         [BZ #6420]
66641         * malloc/mtrace.c (tr_where): Add additional parameter to point to
66642         symbol info.  Use it instead of calling _dl_addr locally.
66643         (lock_and_info): New function.
66644         (tr_freehook): Call lock_and_info and pass symbol info as additional
66645         parameter to tr_where.
66646         (tr_mallochook): Likewise.
66647         (tr_reallochook): Likewise.
66648         (tr_memalignhook): Likewise.
66650         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
66651         used and couldn't be at all thread-safe.
66653 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
66655         * libio/freopen.c (freopen): Don't close old file descriptor
66656         before the new one is opened.  Instead dup the new file descriptor
66657         to the old one after the new stream is created.
66658         * libio/freopen64.c (freopen64): Likewise.
66659         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
66660         * libio/fileops.c (_IO_new_file_close_it): Handle new
66661         _IO_FLAGS2_NOCLOSE flag.
66662         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
66663         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
66664         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
66665         _IO_FLAGS2_NOCLOSE flag.
66666         * include/unistd.h: Add hidden_proto for dup3.
66667         Define __have_dup3.
66668         * io/dup3.c: Define hidden symbol.
66669         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
66671         [BZ #7101]
66672         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
66673         when an incomplete long option is used.
66674         * posix/tst-getopt_long1.c: New file.
66675         * posix/Makefile (tests): Add tst-getopt_long1.
66677         [BZ #10138]
66678         * scripts/config.guess: Update from autoconf-2.68.
66679         * scripts/config.sub: Likewise.
66681         [BZ #10157]
66682         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
66683         tests into ...
66684         (has_cpuclock): ...this.  New function.
66685         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
66686         macro here based on has_cpuclock code.
66688         [BZ #10149]
66689         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66690         First byte (not low byte) is now always NUL.
66691         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
66693         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66694         Use non-cancelable interfaces.
66696         [BZ #9809]
66697         * locale/iso-639.def: Add entry for Sorani.
66699         [BZ #11901]
66700         * include/stdlib.h: Move include protection to the right place.
66701         Define abort_msg_s.  Declare __abort_msg with it.
66702         * stdlib/abort.c (__abort_msg): Adjust type.
66703         * assert/assert.c (__assert_fail_base): New function.  Majority
66704         of code from __assert_fail.  Allocate memory for __abort_msg with
66705         mmap.
66706         (__assert_fail): Now call __assert_fail_base.
66707         * assert/assert-perr.c: Remove bulk of implementation.  Use
66708         __assert_fail_base.
66709         * include/assert.hL Declare __assert_fail_base.
66710         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
66711         mmap.
66712         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
66714 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
66716         [BZ #11952]
66717         [BZ #12453]
66718         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
66719         until all modules are registered in the DTV.
66720         * elf/Makefile: Add rules to build and run tst-tls19.
66721         * elf/tst-tls19.c: New file.
66722         * elf/tst-tls19mod1.c: New file.
66723         * elf/tst-tls19mod2.c: New file.
66724         * elf/tst-tls19mod3.c: New file.
66725         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
66727         [BZ #12083]
66728         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
66729         correctly.
66731         [BZ #12601]
66732         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
66733         two-byte sequence errors.
66734         * iconvdata/Makefile (tests): Add bug-iconv8.
66735         * iconvdata/bug-iconv8.c: New file.
66737         [BZ #12626]
66738         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
66739         buf2 definition.
66741         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
66743         [BZ #12432]
66744         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
66745         (dummy_getcfa): New function.
66746         (init): Get _Unwind_GetCFA address, use dummy if not found.
66747         (backtrace_helper): In recursion check, also check whether CFA changes.
66748         (__backtrace): Completely initialize arg.
66750         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
66751         storing incomplete byte sequence in state object.  Avoid testing for
66752         guaranteed too small input if we know there is enough data available.
66754 2011-05-11  Andreas Schwab  <schwab@redhat.com>
66756         * Makeconfig (+link-pie): Indent.
66757         * Rules (binaries-pie): Define if $(have-fpie) and
66758         $(build-shared).
66759         (binaries-shared): Also filter out $(binaries-pie).
66760         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
66761         * nscd/Makefile (others-pie): Add nscd.
66762         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
66763         ($(objpfx)nscd): Remove command override.
66764         * login/Makefile (others-pie): Add pt_chown.
66765         ($(objpfx)pt_chown): Remove command override.
66766         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
66767         remove command overrides.
66769 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
66771         * libio/tst_putwc.c: Fix error messages.
66773         [BZ #12724]
66774         * libio/fileops.c (_IO_new_file_close_it): Always flush when
66775         currently writing and seek to current position when not.
66776         * libio/Makefile (tests): Add bug-fclose1.
66777         * libio/bug-fclose1.c: New file.
66779 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
66781         [BZ #12511]
66782         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
66783         don't set DF_1_NODELETE here.
66784         (do_lookup_x): When entering new entry test for copy relocation
66785         and if necessary set DF_1_NODELETE flag.
66786         * elf/tst-unique4.cc: New file.
66787         * elf/tst-unique4.h: New file.
66788         * elf/tst-unique4lib.cc: New file.
66789         * elf/Makefile: Add rules to build and run tst-unique4.
66790         Patch by Piotr Bury <pbury@goahead.com>.
66792 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
66794         [BZ #12052]
66795         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
66797         [BZ #12625]
66798         * misc/mntent_r.c (addmntent): Flush the stream after the output
66800         [BZ #12393]
66801         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
66802         (is_trusted_path_normalize): Skip initial colon.  Append slash
66803         to empty buffer.  Duplicate is_trusted_path code but allow
66804         constructed patch to be prefix.
66805         (is_dst): Allow $ORIGIN followed by /.
66806         (_dl_dst_substitute): Correct clearing of check_for_trusted.
66807         Correct testing of result of is_trusted_path_normalize
66808         (decompose_rpath): Fix warning.
66810 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
66812         [BZ #11257]
66813         * grp/initgroups.c (internal_getgrouplist): When we found the service
66814         list through the initgroups entry in nsswitch.conf do not always
66815         continue on a successful lookup.  Don't always use the
66816         __nss_group_database value if it is set.
66817         * nss/nsswitch.conf (initgroups): Change action for successful db
66818         lookup to continue for compatibility.
66820 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
66822         [BZ #11532]
66823         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
66824         and CP774 modules.
66825         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
66826         and CP774 modules.
66827         * iconvdata/tst-tables.sh: Likewise.
66828         * iconvdata/cp770.c: New file.
66829         * iconvdata/cp771.c: New file.
66830         * iconvdata/cp772.c: New file.
66831         * iconvdata/cp773.c: New file.
66832         * iconvdata/cp774.c: New file.
66833         * iconvdata/testdata/CP770: New file.
66834         * iconvdata/testdata/CP770..UTF8: New file.
66835         * iconvdata/testdata/CP771: New file.
66836         * iconvdata/testdata/CP771..UTF8: New file.
66837         * iconvdata/testdata/CP772: New file.
66838         * iconvdata/testdata/CP772..UTF8: New file.
66839         * iconvdata/testdata/CP773: New file.
66840         * iconvdata/testdata/CP773..UTF8: New file.
66841         * iconvdata/testdata/CP774: New file.
66842         * iconvdata/testdata/CP774..UTF8: New file.
66844         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
66845         END CHARMAP line.
66846         * iconvdata/gen-8bit-gap.sh: Likewise.
66847         * iconvdata/gen-8bit.sh: Likewise.
66849         * locale/iso-639.def: Add ary entry.
66851         [BZ #11258]
66852         * locale/C-translit.h.in: Add U20A1 transliteration.
66854         [BZ #12178]
66855         * locale/iso-639.def: Add wae entry.
66856         Patch by Kevin Bortis <bortis@translate-wae.ch>.
66858         [BZ #12545]
66859         * locale/programs/localedef.c (construct_output_path): Use ssize_t
66860         for n.
66862         [BZ #12711]
66863         * locale/C-translit.h.in: Add entry for U20B9.
66864         Patch by pravin.d.s@gmail.com.
66866 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
66868         [BZ #12713]
66869         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
66870         ENAMETOOLONG use generic getcwd.
66871         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
66872         in rtld.  Use *stat64.
66873         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
66874         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
66875         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
66876         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
66877         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
66878         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
66879         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
66880         __fstatat64 macros.
66881         * include/dirent.h: Add libc_hidden_proto for rewinddir.
66882         * dirent/rewinddir.c: Add libc_hidden_def.
66883         * sysdeps/mach/hurd/rewinddir.c: Likewise.
66884         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
66886         * include/dirent.h (__alloc_dir): Add flags parameter.
66887         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
66888         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
66889         __alloc_dir.
66890         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
66891         from fdopendir if O_CLOEXEC is already set.
66893 2011-03-15  Alan Modra  <amodra@gmail.com>
66895         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
66896         l_tls_firstbyte_offset non-zero.  Save padding offset in
66897         l_tls_firstbyte_offset for later use.
66898         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
66899         freeing static tls block.
66901 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
66903         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
66904         where #ifdef was intended.  The intent is to prevent ARG_MAX from
66905         being defined by the kernel headers.
66907 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
66909         [BZ #12734]
66910         * resolv/resolv.h: Define RES_NOTLDQUERY.
66911         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
66912         no-tld-query and set RES_NOTLDQUERY.
66913         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
66914         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
66915         modern BIND to search name as TLD unless forbidden.
66917 2011-05-07  Petr Baudis  <pasky@suse.cz>
66918             Ulrich Drepper  <drepper@gmail.com>
66920         [BZ #12393]
66921         * elf/dl-load.c (fillin_rpath): Move trusted path check...
66922         (is_trusted_path): ...to here.
66923         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
66924         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
66925         using is_trusted_path_normalize() in setuid scripts.
66927 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66929         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
66930         __BEGIN/__END_DECLS.
66932 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
66934         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
66935         NSS_STATUS_NOTFOUND if no record was found.
66937 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66939         * sunrpc/Makefile (headers): Add rpc/netdb.h.
66940         (headers-not-in-tirpc): Remove rpc/netdb.h
66941         * resolv/netdb.h: Revert last change.
66943 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66945         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
66946         circular dependency between libgcc.a and libc.a.
66948 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66950         * resolv/netdb.h: Don't include <rpc/netdb.h>.
66951         * nis/Makefile: Don't install rpcsvc/*.
66952         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
66953         instead of <rpc/types.h>.
66954         (MAXHOSTNAMELEN): Define.
66956 2011-05-03  Andreas Schwab  <schwab@redhat.com>
66958         * elf/ldconfig.c (add_dir): Don't crash on empty path.
66960 2011-04-28  Maciej Babinski  <mbabinski@google.com>
66962         [BZ #12714]
66963         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
66964         gethostbyname4_r when IPv6 results are possible.
66966 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
66968         [BZ #12723]
66969         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
66970         _PC_PIPE_BUF handling.
66972 2011-04-30  Bruno Haible  <bruno@clisp.org>
66974         [BZ #12717]
66975         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
66976         * resolv/netdb.h (getnameinfo): Change type of flags parameter
66977         to 'int'.
66978         * inet/getnameinfo.c (getnameinfo): Likewise.
66980 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
66982         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
66983         to groups setting in database lookup.
66984         * nss/nsswitch.conf: Add initgroups entry.
66986 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
66988         [BZ #12685]
66989         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
66990         mode string.
66991         Patch by Eric Blake <eblake@redhat.com>.
66993 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
66995         * sunrpc/Makefile (need-export-routines): Add svc_run.
66996         (routines): Remove svc_run.
66997         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
66998         * sunrpc/clnt_perr.c (clnt_perrno): Export.
66999         * sunrpc/svc_run.c (svc_run): Likewise.
67000         * sunrpc/svc_udp.c (svcudp_create): Likewise.
67002 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
67004         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
67005         problem in reallocation in last patch.
67007 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
67009         * sunrpc/Makefile: Move inclusion of Rules.
67011 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
67013         * nss/nss_files/files-initgroups.c: New file.
67014         * nss/Makefile (libnss_files-routines): Add files-initgroups.
67015         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
67016         _nss_files_initgroups_dyn.
67018 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
67020         * elf/elf.h (R_ARM_IRELATIVE): Define.
67022 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
67024         * po/ru.po: Update from translation team.
67026 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
67028         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
67029         dependencies.
67031 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
67033         [BZ #12653]
67034         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
67035         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
67036         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67037         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67038         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
67040 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
67042         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
67043         differing bytes.
67044         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
67045         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
67046         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67048 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
67050         [BZ #12420]
67051         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
67052         storing it.
67053         * stdlib/bug-getcontext.c: New file.
67054         * stdlib/Makefile: Add rules to build and run bug-getcontext.
67056 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67058         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
67059         instructions into .machine "z9-109".
67060         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
67061         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
67063 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67065         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
67066         between environment variables and auxiliary vector.
67068 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
67070         * Makefile: Add rules to build linkobj/libc.so.
67071         * include/libc-symbols.h: Define libc_hidden_nolink.
67072         * include/rpc/auth.h: Mark functions which are to be hidden.
67073         * include/rpc/auth_des.h: Likewise.
67074         * include/rpc/auth_unix.h: Likewise.
67075         * include/rpc/clnt.h: Likewise.
67076         * include/rpc/des_crypt.h: Likewise.
67077         * include/rpc/key_prot.h: Likewise.
67078         * include/rpc/pmap_clnt.h: Likewise.
67079         * include/rpc/pmap_prot.h: Likewise.
67080         * include/rpc/pmap_rmt.h: Likewise.
67081         * include/rpc/rpc_msg.h: Likewise.
67082         * include/rpc/svc.h: Likewise.
67083         * include/rpc/svc_auth.h: Likewise.
67084         * include/rpc/xdr.h: Likewise.
67085         * nis/Makefile: Link all DSOs against linkobj/libc.so.
67086         * nss/Makefile: Likewise.
67087         * sunrpc/Makefile: Don't install headers.  Build library with normal
67088         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
67089         * sunrpc/auth_des.c: Hide exported symbols by default, export some
67090         for the compat linking library.  Remove use of INTDEF/INTUSE.
67091         * sunrpc/auth_none.c: Likewise.
67092         * sunrpc/auth_unix.c: Likewise.
67093         * sunrpc/authdes_prot.c: Likewise.
67094         * sunrpc/authuxprot.c: Likewise.
67095         * sunrpc/clnt_gen.c: Likewise.
67096         * sunrpc/clnt_perr.c: Likewise.
67097         * sunrpc/clnt_raw.c: Likewise.
67098         * sunrpc/clnt_simp.c: Likewise.
67099         * sunrpc/clnt_tcp.c: Likewise.
67100         * sunrpc/clnt_udp.c: Likewise.
67101         * sunrpc/clnt_unix.c: Likewise.
67102         * sunrpc/des_crypt.c: Likewise.
67103         * sunrpc/des_soft.c: Likewise.
67104         * sunrpc/get_myaddr.c: Likewise.
67105         * sunrpc/key_call.c: Likewise.
67106         * sunrpc/key_prot.c: Likewise.
67107         * sunrpc/netname.c: Likewise.
67108         * sunrpc/pm_getmaps.c: Likewise.
67109         * sunrpc/pm_getport.c: Likewise.
67110         * sunrpc/pmap_clnt.c: Likewise.
67111         * sunrpc/pmap_prot.c: Likewise.
67112         * sunrpc/pmap_prot2.c: Likewise.
67113         * sunrpc/pmap_rmt.c: Likewise.
67114         * sunrpc/publickey.c: Likewise.
67115         * sunrpc/rpc_cmsg.c: Likewise.
67116         * sunrpc/rpc_common.c: Likewise.
67117         * sunrpc/rpc_dtable.c: Likewise.
67118         * sunrpc/rpc_prot.c: Likewise.
67119         * sunrpc/rpc_thread.c: Likewise.
67120         * sunrpc/rtime.c: Likewise.
67121         * sunrpc/svc.c: Likewise.
67122         * sunrpc/svc_auth.c: Likewise.
67123         * sunrpc/svc_authux.c: Likewise.
67124         * sunrpc/svc_raw.c: Likewise.
67125         * sunrpc/svc_run.c: Likewise.
67126         * sunrpc/svc_simple.c: Likewise.
67127         * sunrpc/svc_tcp.c: Likewise.
67128         * sunrpc/svc_udp.c: Likewise.
67129         * sunrpc/svc_unix.c: Likewise.
67130         * sunrpc/svcauth_des.c: Likewise.
67131         * sunrpc/xcrypt.c: Likewise.
67132         * sunrpc/xdr.c: Likewise.
67133         * sunrpc/xdr_array.c: Likewise.
67134         * sunrpc/xdr_float.c: Likewise.
67135         * sunrpc/xdr_intXX_t.c: Likewise.
67136         * sunrpc/xdr_mem.c: Likewise.
67137         * sunrpc/xdr_rec.c: Likewise.
67138         * sunrpc/xdr_ref.c: Likewise.
67139         * sunrpc/xdr_sizeof.c: Likewise.
67140         * sunrpc/xdr_stdio.c: Likewise.
67142 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
67144         [BZ #12650]
67145         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
67146         * sysdeps/ia64/dl-tls.h: Likewise.
67147         * sysdeps/powerpc/dl-tls.h: Likewise.
67148         * sysdeps/s390/dl-tls.h: Likewise.
67149         * sysdeps/sh/dl-tls.h: Likewise.
67150         * sysdeps/sparc/dl-tls.h: Likewise.
67151         * sysdeps/x86_64/dl-tls.h: Likewise.
67152         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
67154 2011-03-14  Andreas Schwab  <schwab@redhat.com>
67156         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
67157         rpath element also skip the following colon.
67158         (expand_dynamic_string_token): Add is_path parameter and pass
67159         down to DL_DST_REQUIRED and _dl_dst_substitute.
67160         (decompose_rpath): Call expand_dynamic_string_token with
67161         non-zero is_path.  Ignore empty rpaths.
67162         (_dl_map_object_from_fd): Call expand_dynamic_string_token
67163         with zero is_path.
67165 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
67167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67168         Make cancelable.
67170 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
67172         [BZ #12655]
67173         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
67174         Patch by Filipe David Manana <fdmanana@apache.org>.
67176 2011-04-07  Andreas Schwab  <schwab@redhat.com>
67178         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
67179         Maintain aligned stack.
67180         (CHECK_RSP): Remove unused macro.
67182 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
67184         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
67185         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
67187 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
67189         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
67191         * include/features.h: Mention __USE_XOPEN2K8 in comment.
67193 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
67195         [BZ #12518]
67196         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
67197         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
67198         * sysdeps/x86_64/memmove.c: New file.
67199         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
67200         (memcpy): Renamed to ...
67201         (__new_memcpy): This.
67202         (memcpy): Provide GLIBC_2_14 memcpy.
67203         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
67204         (memcpy): Provide GLIBC_2_2_5 memcpy.
67206 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67208         [BZ #12631]
67209         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
67211 2011-03-30  Andreas Schwab  <schwab@redhat.com>
67213         * misc/syncfs.c: New file.
67214         * misc/Makefile (routines): Add syncfs.
67215         * posix/unistd.h: Declare syncfs.
67216         * sysdeps/unix/syscalls.list: Add syncfs.
67218 2011-04-01  Andreas Schwab  <schwab@redhat.com>
67220         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
67221         open_by_handle_at.
67222         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
67223         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67224         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67225         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67226         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67227         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
67228         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67230 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67232         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
67233         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67234         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
67235         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67236         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67237         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67238         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67240         * io/Makefile: Compile fallocate.c, fallocate64.c, and
67241         sync_file_range.c with -fexceptions.
67242         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
67243         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
67244         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
67245         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
67246         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
67247         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67248         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
67249         sync_file_range as cancellation point
67250         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
67251         now a wrapper around __call_sync_file_range with cancellation handling.
67252         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
67253         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
67254         function name to __call_sync_file_range.
67255         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
67256         Add call_sync_file_range.
67258 2011-04-01  Andreas Schwab  <schwab@redhat.com>
67260         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67261         bits/timex.h.
67263 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67265         * iconv/iconv.h: Fix typo in comment.
67266         * io/fcntl.h: Likewise.
67267         * libio/stdio.h: Likewise.
67268         * posix/spawn.h: Likewise.
67269         * posix/unistd.h: Likewise.
67270         * stdlib/stdlib.h: Likewise.
67271         * time/time.h: Likewise.
67272         * wcsmbs/wchar.h: Likewise.
67274         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
67275         open_by_handle): Add.
67276         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
67277         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
67278         Augment a few comments.
67279         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67280         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67281         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67282         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67283         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67284         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
67285         open_by_handle.
67287         * io/fcntl.h (AT_EMPTY_PATH): Define.
67289 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
67291         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
67292         * sysdeps/unix/sysv/linux/bits/time.h: New file.
67293         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
67294         to...
67295         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
67296         * Versions.def: Add GLIBC_2.14.
67297         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
67298         Export.
67300 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
67302         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
67303         round counter.
67304         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
67306 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67308         [BZ #12597]
67309         * string/test-strncmp.c (do_page_test): New function.
67310         (check2): Likewise.
67311         (test_main): Call check2.
67312         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
67314 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
67316         [BZ #12587]
67317         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
67318         Handle cache information in CPU leaf 4.
67319         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
67321 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
67323         [BZ #12583]
67324         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
67325         character representation.
67326         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
67328 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
67330         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
67331         END(__isnan) to END(__isnanf) to match function entry point/label
67332         EALIGN(__isnanf,...).
67334 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
67336         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
67338 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
67340         [BZ #12510]
67341         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
67342         copy from the symbol referenced in the relocation to initialize the
67343         used variable.
67344         Patch by Piotr Bury <pbury@goahead.com>.
67345         * elf/Makefile: Add rules to build and tst-unique3.
67346         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
67347         * elf/tst-unique3.cc: New file.
67348         * elf/tst-unique3.h: New file.
67349         * elf/tst-unique3lib.cc: New file.
67350         * elf/tst-unique3lib2.cc: New file.
67352         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
67354 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
67356         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
67357         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
67358         to _start.
67360 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
67362         * elf/dl-load.c (_dl_map_object): If we are looking for the first
67363         to-be-loaded object along a path to loader is ld.so.
67365 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
67366             Ulrich Drepper  <drepper@gmail.com>
67368         * sysdeps/x86_64/memset.S: After aligning destination, code
67369         branches to different locations depending on the value of
67370         misalignment, when multiarch is enabled. Fix this.
67372 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
67374         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
67375         Set _x86_64_preferred_memory_instruction for AMD processsors.
67376         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67377         Set bit_Prefer_SSE_for_memop for AMD processors.
67379 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
67381         * libio/fmemopen.c (fmemopen): Optimize a bit.
67383 2011-03-03  Andreas Schwab  <schwab@redhat.com>
67385         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
67387 2011-03-03  Roland McGrath  <roland@redhat.com>
67389         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
67391 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
67393         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
67394         __bzero_ultra1 instead of __memset_ultra1.
67396 2011-02-23  Andreas Schwab  <schwab@redhat.com>
67397             Ulrich Drepper  <drepper@gmail.com>
67399         [BZ #12509]
67400         * include/link.h (struct link_map): Add l_orig_initfini.
67401         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
67402         returning unsuccessfully.
67403         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
67404         close of a file loaded at startup, restore the original l_initfini
67405         list.
67406         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
67407         list, store the pointer.
67408         * elf/Makefile ($(objpfx)noload-mem): New rule.
67409         (noload-ENV): Define.
67410         (tests): Add $(objpfx)noload-mem.
67411         * elf/noload.c: Include <memcheck.h>.
67412         (main): Call mtrace.  Close all opened handles.
67414 2011-02-17  Andreas Schwab  <schwab@redhat.com>
67416         [BZ #12454]
67417         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
67418         dependencies are missing.
67420 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67422         Fix __if_freereq crash: Unlike the generic version which uses free,
67423         Hurd needs munmap.
67424         * sysdeps/mach/hurd/ifreq.h: New file.
67426 2011-01-27  Petr Baudis  <pasky@suse.cz>
67427             Ulrich Drepper  <drepper@gmail.com>
67429         [BZ 12445]#
67430         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
67431         to extend_alloca().
67432         * stdio-common/bug23.c: New file.
67433         * stdio-common/Makefile (tests): Add bug23.
67435 2010-09-28  Andreas Schwab  <schwab@redhat.com>
67436             Ulrich Drepper  <drepper@gmail.com>
67438         [BZ #12489]
67439         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
67440         before performing relro protection.  At old place add assertion
67441         to make sure nothing changed.
67443 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
67444             Glauber de Oliveira Costa  <glommer@gmail.com>
67446         * elf/elf.h: Add new ARM TLS relocs.
67448 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
67450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67451         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
67452         cast from r3.
67453         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
67454         'tests' variable.
67455         * sysdeps/wordsize-64/tst-writev.c: New file.
67457 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
67459         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
67460         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
67461         insns in _dl_start to prevent a TOC reference before relocs are
67462         resolved.
67464 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
67466         [BZ #12469]
67467         * Makeconfig: Remove RANLIB definition.
67468         * Makerules: Don't use RANLIB.
67469         * aclocal.m4: Remove ranlib test.
67470         * configure.in: No need to check for ranlib.
67471         * elf/rtld-Rules: Don't use RANLIB.
67473 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67475         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
67476         protection macro.
67477         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
67478         inclusion protection macro.
67480         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
67481         SIGRTMIN and SIGRTMAX and print information in that case only when
67482         SIGRTMIN is defined.
67484 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
67486         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
67487         arginfo fn returning -1.
67489         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
67490         and thousands string is zero terminated.
67492 2011-02-03  Andreas Schwab  <schwab@redhat.com>
67494         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
67495         sysdeps/unix/sysv/linux/bits/socket.h.
67497 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67499         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
67500         (__CPU_COUNT): Remove old macros.
67501         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
67502         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
67503         (__CPU_ALLOC, __CPU_FREE): Add macros.
67504         (__sched_cpualloc, __sched_cpufree): Add declarations.
67506 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
67508         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
67509         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
67510         * nscd/aicache.c (addhstaiX): Return timeout of added value.
67511         (readdhstai): Return value of addhstaiX call.
67512         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
67513         (addgrbyX): Return value returned by cache_addgr.
67514         (readdgrbyname): Return value returned by addgrbyX.
67515         (readdgrbygid): Likewise.
67516         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
67517         (addpwbyX): Return value returned by cache_addpw.
67518         (readdpwbyname): Return value returned by addhstbyX.
67519         (readdpwbyuid): Likewise.
67520         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
67521         (addservbyX): Return value returned by cache_addserv.
67522         (readdservbyname): Return value returned by addservbyX:
67523         (readdservbyport): Likewise.
67524         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
67525         (addhstbyX): Return value returned by cache_addhst.
67526         (readdhstbyname): Return value returned by addhstbyX.
67527         (readdhstbyaddr): Likewise.
67528         (readdhstbynamev6): Likewise.
67529         (readdhstbyaddrv6): Likewise.
67530         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
67531         (readdinitgroups): Return value returned by addinitgroupsX.
67532         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
67533         (prune_cache): Keep track of timeout value of re-added entries.
67534         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
67535         * nscd/nscd.h: Adjust prototypes of readd* functions.
67537 2011-02-04  Roland McGrath  <roland@redhat.com>
67539         * nis/nis_server.c (nis_servstate): Use the right name for 0.
67540         (nis_stats): Likewise.
67541         * nis/nis_modify.c (nis_modify): Likewise.
67542         * nis/nis_remove.c (nis_remove): Likewise.
67543         * nis/nis_add.c (nis_add): Likewise.
67545         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
67547         * posix/fnmatch_loop.c: Add some consts.
67549         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
67551 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
67553         [BZ #12460]
67554         * config.make.in (config-cflags-novzeroupper): Define.
67555         * configure.in: Substitute libc_cv_cc_novzeroupper.
67556         * elf/Makefile (AVX-CFLAGS): Define.
67557         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
67558         (CFLAGS-tst-auditmod4a.c): Likewise.
67559         (CFLAGS-tst-auditmod4b.c): Likewise.
67560         (CFLAGS-tst-auditmod6b.c): Likewise.
67561         (CFLAGS-tst-auditmod6c.c): Likewise.
67562         (CFLAGS-tst-auditmod7b.c): Likewise.
67563         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
67565 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
67567         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
67568         function to the callback.
67569         Patch partly by Jiri Olsa <jolsa@redhat.com>.
67571 2011-02-02  Andreas Schwab  <schwab@redhat.com>
67573         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
67574         of errno.
67576 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
67578         [BZ #11724]
67579         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
67580         of constructors.
67581         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
67582         of destructors.
67583         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
67585         [BZ #11724]
67586         * elf/Makefile: Add rules to build and run new test.
67587         * elf/tst-initorder.c: New file.
67588         * elf/tst-initorder.exp: New file.
67589         * elf/tst-initordera1.c: New file.
67590         * elf/tst-initordera2.c: New file.
67591         * elf/tst-initordera3.c: New file.
67592         * elf/tst-initordera4.c: New file.
67593         * elf/tst-initorderb1.c: New file.
67594         * elf/tst-initorderb2.c: New file.
67595         * elf/tst-order-a1.c: New file.
67596         * elf/tst-order-a2.c: New file.
67597         * elf/tst-order-a3.c: New file.
67598         * elf/tst-order-a4.c: New file.
67599         * elf/tst-order-b1.c: New file.
67600         * elf/tst-order-b2.c: New file.
67601         * elf/tst-order-main.c: New file.
67602         New test case by George Gensure <werkt0@gmail.com>.
67604 2010-10-01  Andreas Schwab  <schwab@redhat.com>
67606         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67607         decoding ACE if AI_CANONIDN.
67609 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
67611         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
67613 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
67615         * version.h (RELEASE): Bump for 2.13 release.
67616         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
67618         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
67620         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
67621         MADV_NOHUGEPAGE.
67622         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
67623         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
67624         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67625         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67626         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67627         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67629         * posix/getconf.c: Update copyright year.
67630         * catgets/gencat.c: Likewise.
67631         * csu/version.c: Likewise.
67632         * debug/catchsegv.sh: Likewise.
67633         * debug/xtrace.sh: Likewise.
67634         * elf/ldconfig.c: Likewise.
67635         * elf/ldd.bash.in: Likewise.
67636         * elf/sprof.c (print_version): Likewise.
67637         * iconv/iconv_prog.c: Likewise.
67638         * iconv/iconvconfig.c: Likewise.
67639         * locale/programs/locale.c: Likewise.
67640         * locale/programs/localedef.c: Likewise.
67641         * malloc/memusage.sh: Likewise.
67642         * malloc/mtrace.pl: Likewise.
67643         * nscd/nscd.c (print_version): Likewise.
67644         * nss/getent.c: Likewise.
67646         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
67647         PF_CAIF, and PF_ALG.
67648         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67650 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
67652         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
67653         (modules-names): Use them.
67654         (ifunc-test-modules, ifunc-pie-tests): Define.
67655         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
67656         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
67657         (test-extras): Likewise.
67658         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
67659         $(compile-command.c).
67660         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
67661         (all-built-dso): Define.
67662         (check-textrel.out, check-execstack.out): Depend on it.
67664         * configure.in: Don't override --enable-multi-arch.
67666 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
67668         [BZ #6812]
67669         * nscd/hstcache.c (tryagain): Define.
67670         (cache_addhst): Return tryagain not notfound for temporary errors.
67671         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
67672         failed.
67674 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
67676         [BZ #10563]
67677         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
67678         to make the syscall.
67679         * sysdeps/unix/sysv/linux/setgroups.c: New file.
67681         [BZ #12378]
67682         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
67683         and fall back to matching as normal character if the string ends before
67684         the matching ']' is found.  This is what POSIX requires.
67685         * posix/testfnm.c: Adjust test result.
67686         * posix/globtest.sh: Adjust test result.  Add new test.
67687         * posix/tst-fnmatch.input: Likewise.
67688         * posix/tst-fnmatch2.c: Add new test.
67690 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
67692         * elf/Makefile (check-execstack): Revert last change.  Depend on
67693         check-execstack.h.
67694         (check-execstack.h): New target.
67695         (generated): Add check-execstack.h.
67696         * elf/check-execstack.c: Include "check-execstack.h".
67697         (main): Revert last change.
67698         (handle_file): Return zero if GNU_STACK is absent and
67699         DEFAULT_STACK_PERMS doesn't include PF_X.
67701 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
67703         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
67704         in child fails because the descriptor is already closed.
67705         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
67706         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
67707         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
67709         [BZ #12397]
67710         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
67711         syscall.
67713         [BZ #10484]
67714         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
67715         temporary buffer used to handle multi lookups locally.
67716         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
67718 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67720         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
67721         loader is ld.so.
67723 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
67725         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
67726         alignment for SSE2.
67728 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67730         [BZ #12394]
67731         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
67732         characters.  When rounding increased number of integer digits recompute
67733         number of groups.
67734         * stdio-common/tst-grouping.c: New file.
67735         * stdio-common/Makefile: Add rules to build and run tst-grouping.
67737 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
67739         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
67740         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
67742         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
67743         void.
67744         * bits/select.h: Likewise.
67746 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
67748         * po/ja.po: Update from translation team.
67750 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
67752         [BZ #11155]
67753         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
67754         implementation just like for lxstat, fxstatat, et al.
67756 2010-12-27  Jim Meyering  <meyering@redhat.com>
67758         [BZ #12348]
67759         * posix/regexec.c (build_trtable): Return failure indication upon
67760         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
67762 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
67764         [BZ #12201]
67765         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
67766         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
67767         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
67768         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
67770         [BZ #12207]
67771         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
67773         [BZ #12204]
67774         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
67775         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
67777 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
67779         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
67780         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
67781         script has SORT_BY_INIT_PRIORITY.
67782         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
67783         NO_CTORS_DTORS_SECTIONS is defined.
67784         * elf/soinit.c: Likewise.
67785         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
67786         NO_CTORS_DTORS_SECTIONS is defined.
67787         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
67788         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
67789         * sysdeps/sh/init-first.c: Likewise.
67790         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
67792 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
67794         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
67795         always use the slow path.
67797 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
67799         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
67800         similar rule which adds the sysdep directories to the header search in
67801         order to pick up the correct platform stackinfo.h.
67802         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
67803         perform test if it is, otherwise return successfully without testing.
67804         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
67805         DEFAULT_STACK_PERMS define in stackinfo.h.
67806         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
67807         defined in stackinfo.h.
67808         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
67809         DEFAULT_STACK_PERMS defined in stackinfo.h.
67810         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
67811         * sysdeps/ia64/stackinfo.h: Likewise.
67812         * sysdeps/s390/stackinfo.h: Likewise.
67813         * sysdeps/sh/stackinfo.h: Likewise.
67814         * sysdeps/sparc/stackinfo.h: Likewise.
67815         * sysdeps/x86_64/stackinfo.h: Likewise.
67816         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
67817         PF_X for powerpc64.  Retain PF_X for powerpc32.
67819 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
67821         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
67822         accurately.
67823         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
67824         GETDENTS_64BIT_ALIGNED.
67826 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
67828         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
67830 2010-12-10  Andreas Schwab  <schwab@redhat.com>
67832         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
67833         _GNU_SOURCE.
67835         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
67836         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
67837         Remove __restrict.
67838         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
67839         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
67841 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
67843         [BZ #11655]
67844         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
67845         are initialized.
67847 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
67849         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
67851 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
67853         * po/it.po: Update from translation team.
67855 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
67857         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
67858         unused codes.
67860 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
67862         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
67864 2010-11-24  Andreas Schwab  <schwab@redhat.com>
67866         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
67867         specially.
67868         (gaih_getanswer_slice): Likewise.
67870 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
67872         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
67874 2010-05-31  Petr Baudis  <pasky@suse.cz>
67876         [BZ #11149]
67877         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
67878         silently even in the chroot mode.
67880 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
67882         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
67883         last patch a bit.  Pretty printing
67885 2010-05-31  Petr Baudis <pasky@suse.cz>
67887         [BZ #10085]
67888         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
67889         initialization of skip_initgroups_dyn.
67891 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
67893         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
67894         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67896 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
67898         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
67900 2010-11-11  Andreas Schwab  <schwab@redhat.com>
67902         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
67903         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
67904         (tst-fnmatch-ENV): Set MALLOC_TRACE.
67905         ($(objpfx)tst-fnmatch-mem): New rule.
67906         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
67907         * posix/tst-fnmatch.c (main): Call mtrace.
67909 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
67911         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67912         Support Intel processor model 6 and model 0x2c.
67914 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
67916         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
67917           signed comparison.
67919 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
67921         [BZ #12205]
67922         * string/test-strncasecmp.c (check_result): New function.
67923         (do_one_test): Use it.
67924         (check1): New function.
67925         (test_main): Use it.
67926         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
67927         Support strcasecmp and strncasecmp.
67929 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
67931         [BZ #12194]
67932         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
67933         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67935 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67937         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
67938         IFUNC support.
67939         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67940         memset-x86-64.
67941         * sysdeps/x86_64/multiarch/bzero.S: New file.
67942         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
67943         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
67944         * sysdeps/x86_64/multiarch/memset.S: New file.
67945         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
67946         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67947         Set bit_Prefer_SSE_for_memop for Intel processors.
67948         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
67949         Define.
67950         (index_Prefer_SSE_for_memop): Define.
67951         (HAS_PREFER_SSE_FOR_MEMOP): Define.
67953 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
67955         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
67956         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
67958 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
67960         [BZ #12191]
67961         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67962         (__x86_64_raw_data_cache_size_half): Likewise.
67963         (__x86_64_raw_shared_cache_size): Likewise.
67964         (__x86_64_raw_shared_cache_size_half): Likewise.
67966         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67967         (__x86_64_raw_data_cache_size_half): Likewise.
67968         (__x86_64_raw_shared_cache_size): Likewise.
67969         (__x86_64_raw_shared_cache_size_half): Likewise.
67970         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
67971         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
67972         and __x86_64_raw_shared_cache_size_half.  Round
67973         __x86_64_data_cache_size_half, __x86_64_data_cache_size
67974         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
67975         to multiple of 256 bytes.
67977 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
67979         [BZ #12167]
67980         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
67981         of inacessible symlinks.  Verify result of symlink before returning it.
67982         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
67983         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
67985 2010-10-28  Erich Ritz  <erichritz@gmail.com>
67987         * math/math.h (isinf): Fix typo in comment.
67989 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
67991         * po/da.po: Update from translation team.
67993 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
67995         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
67996         is added to the list.
67998 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67999             Ulrich Drepper  <drepper@gmail.com>
68001         * elf/dl-object.c (_dl_new_object): Don't append the new object to
68002         the global list here.  Move code to...
68003         (_dl_add_to_namespace_list): ...here.  New function.
68004         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
68005         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
68006         * elf/dl-load.c (lose): Don't remove the element from the list.
68007         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
68008         (_dl_map_object): Likewise.
68010 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
68012         [BZ #12159]
68013         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
68014         into all bytes of SSE register.
68015         Patch by Richard Li <richardpku@gmail.com>.
68017 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
68019         [BZ #12140]
68020         * malloc/malloc.c (_int_free): Fill correct number of bytes when
68021         perturbing.
68023 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
68025         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
68026         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
68027         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
68028         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
68030         submachine.
68031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
68033 2010-10-22  Andreas Schwab  <schwab@redhat.com>
68035         * include/dlfcn.h (__RTLD_SECURE): Define.
68036         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
68037         mode & __RTLD_SECURE instead.
68038         (open_path): Rename preloaded parameter to secure.
68039         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
68040         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
68041         * elf/dl-deps.c (openaux): Likewise.
68042         * elf/rtld.c (struct map_args): Remove is_preloaded.
68043         (map_doit): Don't use it.
68044         (dl_main): Likewise.
68045         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
68046         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
68048 2010-09-09  Andreas Schwab  <schwab@redhat.com>
68050         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
68051         (sysd-rules-targets): Remove duplicates.
68052         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
68053         rtld-%.$o dependency.
68055 2010-10-18  Andreas Schwab  <schwab@redhat.com>
68057         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
68058         _dl_map_object do it.
68060 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
68062         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
68063         fast fma builtins, define the macros in the C99 standard.
68064         (FP_FAST_FMAF): Likewise.
68065         (FP_FAST_FMAL): Likewise.
68066         * sysdeps/x86_64/bits/mathdef.h: Likewise.
68068         * bits/mathdef.h: Update copyright year.
68069         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68071 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
68073         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
68074         builtins, define the macros in the C99 standard.
68075         (FP_FAST_FMAF): Likewise.
68076         (FP_FAST_FMAL): Likewise.
68077         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
68078         multiply/add.
68079         (FP_FAST_FMAF): Likewise.
68081 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
68083         [BZ #3268]
68084         * math/libm-test.inc (fma_test): Some new testcases.
68085         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
68086         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
68087         y and infinite z.  Do multiplication by C already in long double.
68088         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
68089         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
68090         y and infinite z.  Do bitwise or of inexact bit into u.d.
68091         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
68092         * sysdeps/i386/fpu/s_fmaf.S: Removed.
68093         * sysdeps/i386/fpu/s_fma.S: Removed.
68094         * sysdeps/i386/fpu/s_fmal.S: Removed.
68096 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
68098         [BZ #3268]
68099         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
68100         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
68101         computation is not scheduled after fetestexcept.  Fix value
68102         of minimum denormal long double.
68104 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
68106         [BZ #3268]
68107         * math/libm-test.inc (fma_test): Add some more tests.
68108         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
68109         correctly.
68111 2010-10-15  Andreas Schwab  <schwab@redhat.com>
68113         * scripts/data/localplt-s390-linux-gnu.data: New file.
68114         * scripts/data/localplt-s390x-linux-gnu.data: New file.
68116 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
68118         [BZ #3268]
68119         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
68120         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
68121         instead of dbl-64.
68122         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
68123         inlines.
68124         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
68125         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
68126         if one of x and y is very large and the other is subnormal.
68127         * sysdeps/s390/fpu/s_fmaf.c: New file.
68128         * sysdeps/s390/fpu/s_fma.c: New file.
68129         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
68130         * sysdeps/powerpc/fpu/s_fma.S: New file.
68131         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
68132         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
68133         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
68135 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
68137         [BZ #3268]
68138         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
68139         fma tests.
68140         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
68141         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
68142         * sysdeps/i386/i686/multiarch/s_fma.c: Include
68143         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
68144         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
68145         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
68146         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
68148 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
68150         [BZ #12078]
68151         * posix/regcomp.c (parse_branch): One more memory leak plugged.
68152         * posix/bug-regex31.input: Add test case.
68154 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
68156         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
68157         * posix/bug-regex31.input: New file.
68159         [BZ #12078]
68160         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
68161         (parse_sub_exp): Fix last change, use postorder.
68163         * posix/bug-regex31.c: New file.
68164         * posix/Makefile: Add rules to build and run bug-regex31.
68166         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
68168         [BZ #12078]
68169         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
68171         [BZ #12108]
68172         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
68173         to have entries in sys_siglist.
68175         [BZ #12093]
68176         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
68177         be NULL.
68179 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
68181         [BZ #3268]
68182         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
68183         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
68184         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
68185         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
68186         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
68187         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
68188         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
68189         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
68190         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
68191         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
68192         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
68193         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
68194         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
68195         * math/ftestexcept.c (fetestexcept): Likewise.
68196         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
68197         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
68198         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
68199         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
68200         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
68201         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
68202         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68204 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
68206         [BZ #12107]
68207         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
68208         newline.
68210 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
68212         * string/bug-strstr1.c: New file.
68213         * string/Makefile: Add rules to build and run bug-strstr1.
68215 2010-10-05  Eric Blake  <eblake@redhat.com>
68217         [BZ #12092]
68218         * string/str-two-way.h (two_way_long_needle): Always clear memory
68219         when skipping input due to the shift table.
68221 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
68223         [BZ #12005]
68224         * malloc/mcheck.c: Handle large requests.
68226         [BZ #12077]
68227         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
68228         for strncmp and strncasecmp.
68229         * string/stratcliff.c: Add tests for strcmp and strncmp.
68230         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
68232 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68234         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
68235         __set_fpscr.
68237 2010-09-30  Andreas Jaeger  <aj@suse.de>
68239         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
68240         (CGROUP_SUPER_MAGIC): Define.
68241         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68242         Handle btrfs and cgroup file systems.
68243         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
68244         Likewise.
68246 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
68248         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
68249         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
68251 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68253         [BZ #12067]
68254         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
68255         trying to locate the ELF header.
68257 2010-09-27  Andreas Schwab  <schwab@redhat.com>
68259         [BZ #11611]
68260         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
68261         Mask out sign-bit copies when constructing f_fsid.
68263 2010-09-24  Petr Baudis <pasky@suse.cz>
68265         * debug/stack_chk_fail_local.c: Add missing licence exception.
68266         * debug/warning-nop.c: Likewise.
68268 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
68270         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
68271         implementing getdents64 using getdents syscall, set d_type if
68272         __ASSUME_GETDENTS32_D_TYPE.
68274 2010-09-16  Andreas Schwab  <schwab@redhat.com>
68276         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
68277         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
68279 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
68281         [BZ #12037]
68282         * posix/unistd.h: Undo change of feature selection for ftruncate from
68283         2010-01-11.
68285 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
68287         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
68288         detection.
68290 2010-09-20  Andreas Schwab  <schwab@redhat.com>
68292         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
68293         fanotify_mark.
68294         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
68296 2010-09-14  Andreas Schwab  <schwab@redhat.com>
68298         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
68299         variables after CHECK_SP call.
68300         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
68302 2010-09-13  Andreas Schwab  <schwab@redhat.com>
68303             Ulrich Drepper  <drepper@redhat.com>
68305         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
68306         re-relocationg ld.so.
68307         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
68308         _dl_init_paths call.
68309         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
68310         here anymore.
68312 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
68314         * resolv/res_init.c (__res_vinit): Count the default server we added.
68316 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
68317             Ulrich Drepper  <drepper@redhat.com>
68319         [BZ #11968]
68320         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68321         (____longjmp_chk): Use %ebx for saving value across system call.
68322         Add unwind info.
68324 2010-09-06  Andreas Schwab  <schwab@redhat.com>
68326         * manual/Makefile: Don't mix pattern rules with normal rules.
68328 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68330         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
68331         operation.
68332         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
68333         * libio/iofopncook.c (_IO_cookie_init): Likewise.
68334         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
68335         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
68336         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68337         Likewise.
68339 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
68341         [BZ #11979]
68342         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
68343         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
68345 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
68347         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
68348         * sysdeps/x86_64/addmul_1.S: Likewise.
68349         * sysdeps/x86_64/lshift.S: Likewise.
68350         * sysdeps/x86_64/mul_1.S: Likewise.
68351         * sysdeps/x86_64/rshift.S: Likewise.
68352         * sysdeps/x86_64/sub_n.S: Likewise.
68353         * sysdeps/x86_64/submul_1.S: Likewise.
68355 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68357         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
68358         Define __sched_param instead of SCHED_* and sched_param when
68359         <bits/sched.h> is included with __need_schedparam defined.
68360         * bits/sched.h [__need_schedparam]
68361         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
68362         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
68363         (__defined_schedparam): Define to 1.
68364         (__sched_param): New structure, identical to sched_param.
68365         (__need_schedparam): Undefine.
68367 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
68369         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
68370         (epoll_create1): Declare.
68372         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
68374 2010-08-31  Andreas Schwab  <schwab@redhat.com>
68376         [BZ #7066]
68377         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
68378         shifting retval into place.
68380 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
68382         * nis/rpcsvc/nis.h: Update copyright notice.
68383         * nis/rpcsvc/nis.x: Likewise.
68384         * nis/rpcsvc/nis_callback.h: Likewise.
68385         * nis/rpcsvc/nis_callback.x: Likewise.
68386         * nis/rpcsvc/nis_object.x: Likewise.
68387         * nis/rpcsvc/nis_tags.h: Likewise.
68388         * nis/rpcsvc/yp.h: Likewise.
68389         * nis/rpcsvc/yp.x: Likewise.
68390         * nis/rpcsvc/ypupd.h: Likewise.
68391         * nis/yp_xdr.c: Likewise.
68392         * nis/ypupdate_xdr.c: Likewise.
68394         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
68395         mainly the body of pmap_getport.  Add parameters to specify timeouts.
68396         (pmap_getport): Use __libc_rpc_getport.
68397         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
68398         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
68399         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
68401 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
68403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
68404         fanotify_mark.
68406 2010-08-27  Roland McGrath  <roland@redhat.com>
68408         * sysdeps/i386/i686/multiarch/Makefile
68409         (CFLAGS-varshift.c): New variable.
68411 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
68413         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
68414         * sysdeps/i386/i686/multiarch/varshift.c: New file.
68416         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
68418         * sysdeps/x86_64/strlen.S: Minimal code improvement.
68420 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
68422         * sysdeps/x86_64/strlen.S: Unroll the loop.
68423         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68424         strlen-sse2 strlen-sse2-bsf.
68425         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
68426         __strlen_no_bsf if bit_Slow_BSF is set.
68427         (__strlen_sse42): Removed.
68428         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
68429         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
68431 2010-08-25  Roland McGrath  <roland@redhat.com>
68433         * sysdeps/x86_64/multiarch/varshift.S: File removed.
68434         * sysdeps/x86_64/multiarch/varshift.c: New file.
68435         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
68436         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
68437         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
68438         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68440 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
68442         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68443         strlen-sse2 strlen-sse2-bsf.
68444         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
68445         __strlen_sse2_bsf if bit_Slow_BSF is unset.
68446         (__strlen_sse2): Removed.
68447         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
68448         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
68449         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
68450         bit_Slow_BSF for Atom.
68451         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
68452         (index_Slow_BSF): Define.
68453         (HAS_SLOW_BSF): Define.
68455 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
68457         [BZ #10851]
68458         * resolv/res_init.c (__res_vinit): When no server address at all
68459         is given default to loopback.
68461 2010-08-24  Roland McGrath  <roland@redhat.com>
68463         * configure.in: Remove config-name.h generation.
68464         * configure: Regenerated.
68465         * config-name.in: File removed.
68466         * scripts/config-uname.sh: New file.
68467         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
68468         ($(objdir)config-name.h): New target.
68470         * sunrpc/rpc_parse.h: Avoid nested comment.
68472 2010-08-24  Richard Henderson  <rth@redhat.com>
68473             Ulrich Drepper  <drepper@redhat.com>
68474             H.J. Lu  <hongjiu.lu@intel.com>
68476         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
68477         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
68478         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
68479         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
68480         _mm_alignr_epi8 with _mm_loadu_si128.
68481         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
68482         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
68483         (__m128i_shift_right): Removed.
68484         * sysdeps/i386/i686/multiarch/varshift.h: New file.
68485         * sysdeps/i386/i686/multiarch/varshift.S: New file.
68486         * sysdeps/x86_64/multiarch/varshift.h: New file.
68487         * sysdeps/x86_64/multiarch/varshift.S: New file.
68489 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
68491         * configure.in: Move assembler checks to before sysdep dir checking.
68493 2010-08-20  Petr Baudis  <pasky@suse.cz>
68495         * LICENSES: Sync the sunrpc license.
68497 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
68499         * sunrpc/auth_des.c: Update copyright notice once again.
68500         * sunrpc/auth_none.c: Likewise.
68501         * sunrpc/auth_unix.c: Likewise.
68502         * sunrpc/authdes_prot.c: Likewise.
68503         * sunrpc/authuxprot.c: Likewise.
68504         * sunrpc/bindrsvprt.c: Likewise.
68505         * sunrpc/clnt_gen.c: Likewise.
68506         * sunrpc/clnt_perr.c: Likewise.
68507         * sunrpc/clnt_raw.c: Likewise.
68508         * sunrpc/clnt_simp.c: Likewise.
68509         * sunrpc/clnt_tcp.c: Likewise.
68510         * sunrpc/clnt_udp.c: Likewise.
68511         * sunrpc/clnt_unix.c: Likewise.
68512         * sunrpc/des_crypt.c: Likewise.
68513         * sunrpc/des_soft.c: Likewise.
68514         * sunrpc/get_myaddr.c: Likewise.
68515         * sunrpc/getrpcport.c: Likewise.
68516         * sunrpc/key_call.c: Likewise.
68517         * sunrpc/key_prot.c: Likewise.
68518         * sunrpc/openchild.c: Likewise.
68519         * sunrpc/pm_getmaps.c: Likewise.
68520         * sunrpc/pm_getport.c: Likewise.
68521         * sunrpc/pmap_clnt.c: Likewise.
68522         * sunrpc/pmap_prot.c: Likewise.
68523         * sunrpc/pmap_prot2.c: Likewise.
68524         * sunrpc/pmap_rmt.c: Likewise.
68525         * sunrpc/rpc/auth.h: Likewise.
68526         * sunrpc/rpc/auth_unix.h: Likewise.
68527         * sunrpc/rpc/clnt.h: Likewise.
68528         * sunrpc/rpc/des_crypt.h: Likewise.
68529         * sunrpc/rpc/key_prot.h: Likewise.
68530         * sunrpc/rpc/netdb.h: Likewise.
68531         * sunrpc/rpc/pmap_clnt.h: Likewise.
68532         * sunrpc/rpc/pmap_prot.h: Likewise.
68533         * sunrpc/rpc/pmap_rmt.h: Likewise.
68534         * sunrpc/rpc/rpc.h: Likewise.
68535         * sunrpc/rpc/rpc_des.h: Likewise.
68536         * sunrpc/rpc/rpc_msg.h: Likewise.
68537         * sunrpc/rpc/svc.h: Likewise.
68538         * sunrpc/rpc/svc_auth.h: Likewise.
68539         * sunrpc/rpc/types.h: Likewise.
68540         * sunrpc/rpc/xdr.h: Likewise.
68541         * sunrpc/rpc_clntout.c: Likewise.
68542         * sunrpc/rpc_cmsg.c: Likewise.
68543         * sunrpc/rpc_common.c: Likewise.
68544         * sunrpc/rpc_cout.c: Likewise.
68545         * sunrpc/rpc_dtable.c: Likewise.
68546         * sunrpc/rpc_hout.c: Likewise.
68547         * sunrpc/rpc_main.c: Likewise.
68548         * sunrpc/rpc_parse.c: Likewise.
68549         * sunrpc/rpc_parse.h: Likewise.
68550         * sunrpc/rpc_prot.c: Likewise.
68551         * sunrpc/rpc_sample.c: Likewise.
68552         * sunrpc/rpc_scan.c: Likewise.
68553         * sunrpc/rpc_scan.h: Likewise.
68554         * sunrpc/rpc_svcout.c: Likewise.
68555         * sunrpc/rpc_tblout.c: Likewise.
68556         * sunrpc/rpc_util.c: Likewise.
68557         * sunrpc/rpc_util.h: Likewise.
68558         * sunrpc/rpcinfo.c: Likewise.
68559         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
68560         * sunrpc/rpcsvc/key_prot.x: Likewise.
68561         * sunrpc/rpcsvc/klm_prot.x: Likewise.
68562         * sunrpc/rpcsvc/mount.x: Likewise.
68563         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
68564         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
68565         * sunrpc/rpcsvc/rex.x: Likewise.
68566         * sunrpc/rpcsvc/rstat.x: Likewise.
68567         * sunrpc/rpcsvc/rusers.x: Likewise.
68568         * sunrpc/rpcsvc/sm_inter.x: Likewise.
68569         * sunrpc/rpcsvc/spray.x: Likewise.
68570         * sunrpc/rpcsvc/yppasswd.x: Likewise.
68571         * sunrpc/rtime.c: Likewise.
68572         * sunrpc/svc.c: Likewise.
68573         * sunrpc/svc_auth.c: Likewise.
68574         * sunrpc/svc_authux.c: Likewise.
68575         * sunrpc/svc_raw.c: Likewise.
68576         * sunrpc/svc_run.c: Likewise.
68577         * sunrpc/svc_simple.c: Likewise.
68578         * sunrpc/svc_tcp.c: Likewise.
68579         * sunrpc/svc_udp.c: Likewise.
68580         * sunrpc/svc_unix.c: Likewise.
68581         * sunrpc/svcauth_des.c: Likewise.
68582         * sunrpc/xcrypt.c: Likewise.
68583         * sunrpc/xdr.c: Likewise.
68584         * sunrpc/xdr_array.c: Likewise.
68585         * sunrpc/xdr_float.c: Likewise.
68586         * sunrpc/xdr_mem.c: Likewise.
68587         * sunrpc/xdr_rec.c: Likewise.
68588         * sunrpc/xdr_ref.c: Likewise.
68589         * sunrpc/xdr_sizeof.c: Likewise.
68590         * sunrpc/xdr_stdio.c: Likewise.
68592         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
68593         handling.
68595 2010-08-19  Andreas Schwab  <schwab@redhat.com>
68597         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
68599 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
68601         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
68602         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
68603         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
68604         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
68605         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
68606         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
68607         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
68608         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
68609         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
68610         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
68611         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
68612         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
68613         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
68614         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
68616 2010-07-26  Anton Blanchard  <anton@samba.org>
68618         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
68619         * malloc/arena.c (heap_trim): Likewise.
68621 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
68623         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
68624         here.  Not...
68625         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
68626         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
68628 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
68630         * sysdeps/i386/elf/Makefile: New file.
68632 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68634         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
68635         from fanotify_init.
68636         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
68637         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68639 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
68641         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
68642         of strncasecmp_l.
68643         * sysdeps/multiarch/strcmp.S: Likewise.
68645 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
68647         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68648         strncase_l-nonascii.
68649         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68650         Add strncase_l-ssse3.
68651         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
68652         * sysdeps/x86_64/strcmp.S: Likewise.
68653         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
68654         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
68655         * sysdeps/x86_64/strncase.S: New file.
68656         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
68657         * sysdeps/x86_64/strncase_l.S: New file.
68658         * string/Makefile (strop-tests): Add strncasecmp.
68659         * string/test-strncasecmp.c: New file.
68661         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
68662         warning.
68664         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
68665         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
68667 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68669         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
68671 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
68673         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
68674         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
68675         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
68677 2010-05-01  Alan Modra  <amodra@gmail.com>
68679         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
68680         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
68681         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
68682         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
68683         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
68684         tidying.  Don't tail-call __sigjmp_save for static lib.
68685         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
68686         save location.
68687         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
68688         (CALL_MCOUNT): Add eh info, and nop after bl.
68689         (TAIL_CALL_SYSCALL_ERROR): New macro.
68690         (PSEUDO_RET): Use it.
68691         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
68692         Correct save location of integer regs and cr.
68693         (_dl_profile_resolve): Correct cr save location.  Delete nops
68694         after bl when SHARED.  Reduce cfi size a little by better
68695         placement of cfi directives.
68696         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
68697         make a stack frame.  Instead use parm save area as a temp.
68698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
68699         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
68700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
68701         Don't make a stack frame for parent, use parm save area.
68702         Increase child stack frame to 112 bytes.  Don't save unused reg,
68703         and adjust reg usage.  Set up cfi on error recovery and
68704         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
68705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68706         (__makecontext): Add dummy nop after jump to exit.
68707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
68708         Use correct parm save area and cr save, reduce stack frame.
68709         Correct cfi for possible PSEUDO_RET frame setup.
68710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
68711         Branch to local label emitted by PSEUDO_RET rather than
68712         __syscall_error.
68714 2010-08-12  Andreas Schwab  <schwab@redhat.com>
68716         [BZ #11904]
68717         * locale/programs/locale.c (print_assignment): New function.
68718         (show_locale_vars): Use it.
68720 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
68722         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
68723         field.
68724         (struct statfs64): Likewise.
68725         (_STATFS_F_FLAGS): Define.
68726         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
68727         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68728         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
68729         (ST_VALID): Define locally.
68730         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
68731         __statvfs_getflags, use the provided value.
68732         * sysdeps/unix/sysv/linux/kernel-features.h: Define
68733         __ASSUME_STATFS_F_FLAGS.
68735         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
68737         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
68738         Add sys/fanotify.h.
68739         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
68740         fanotify_mask for GLIBC_2.13.
68741         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
68742         fanotify_init and fanotify_mark.
68743         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68744         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
68746         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
68747         Add prlimit.
68748         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
68749         prlimit64 for GLIBC_2.13.
68750         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
68751         prlimit64.
68752         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
68753         syscall.
68754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
68755         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
68756         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
68757         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
68758         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
68759         add prlimit alias.
68760         * sysdeps/unix/sysv/linux/prlimit.c: New file.
68762         [BZ #11903]
68763         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
68764         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
68766         * nss/Makefile: Add rules to build and run tst-nss-test1.
68767         * shlib-versions: Add entry for libnss_test1.
68768         * nss/nss_test1.c: New file.
68769         * nss/tst-nss-test1.c: New file.
68771         * nss/nsswitch.c (__nss_database_custom): Define new variable.
68772         (__nss_configure_lookup): Set appropriate entry in
68773         __nss_configure_lookup to true.
68774         * nss/nsswitch.h: Define enum with indeces of databases in
68775         databases and __nss_database_custom arrays.  Declare
68776         __nss_database_custom.
68777         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
68778         to avoid using nscd when custom rules are installed.
68779         * nss/getXXbyYY_r.c: Likewise.
68780         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
68782         * nss/nss_files/files-parse.c: Whitespace fixes.
68784 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
68786         [BZ #11883]
68787         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
68788         * posix/fnmatch_loop.c: Likewise.
68790 2010-07-17  Andi Kleen  <ak@linux.intel.com>
68792         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
68793         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
68794         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
68795         * Versions.def [GLIBC_2.13]: Add.
68797 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
68799         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
68800         Also fail if tpwd after pwuid call is NULL.
68802 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68804         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
68805         when converting to ms.
68807 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68809         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
68810         EOPNOTSUPP errors with ENOTTY.
68811         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
68812         EOPNOTSUPP errors with ENOTTY.
68814 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
68816         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68817         Add strcasecmp_l-ssse3.
68818         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
68819         strcasecmp.
68820         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
68821         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
68822         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
68824 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
68826         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
68828         * string/Makefile (strop-tests): Add strcasecmp.
68829         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68830         strcasecmp_l-nonascii.
68831         (gen-as-const-headers): Add locale-defines.sym.
68832         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
68833         * sysdeps/x86_64/strcasecmp.S: New file.
68834         * sysdeps/x86_64/strcasecmp_l.S: New file.
68835         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
68836         * sysdeps/x86_64/locale-defines.sym: New file.
68837         * string/test-strcasecmp.c: New file.
68839         * string/test-strcasestr.c: Test both ends of the range of characters.
68840         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
68842 2010-07-29  Roland McGrath  <roland@redhat.com>
68844         [BZ #11856]
68845         * manual/locale.texi (Yes-or-No Questions): Fix example code.
68847 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
68849         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
68850         for ld.so.
68852 2010-07-27  Andreas Schwab  <schwab@redhat.com>
68854         * manual/memory.texi (Malloc Tunable Parameters): Document
68855         M_PERTURB.
68857 2010-07-26  Roland McGrath  <roland@redhat.com>
68859         [BZ #11840]
68860         * configure.in (-fgnu89-inline check): Set and substitute
68861         gnu89_inline, not libc_cv_gnu89_inline.
68862         * configure: Regenerated.
68863         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
68865 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
68867         * string/test-strnlen.c: New file.
68868         * string/Makefile (strop-tests): Add strnlen.
68869         * string/tester.c (test_strnlen): Add a few more test cases.
68870         * string/tst-strlen.c: Better error reporting.
68872         * sysdeps/x86_64/strnlen.S: New file.
68874 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
68876         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
68877         lower-latency instructions.
68879 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
68881         * string/test-strcasestr.c: New file.
68882         * string/test-strstr.c: New file.
68883         * string/Makefile (strop-tests): Add strstr and strcasestr.
68884         * string/str-two-way.h: Don't undefine MAX.
68885         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
68887 2010-07-21  Andreas Schwab  <schwab@redhat.com>
68889         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68890         strcasestr-nonascii.
68891         (CFLAGS-strcasestr-nonascii.c): Define.
68892         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
68893         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
68894         Remove unused attribute.
68896 2010-07-20  Roland McGrath  <roland@redhat.com>
68898         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
68899         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
68900         ld.so.cache was broken.  With it, there is no way to disable dsocaps
68901         like LD_HWCAP_MASK can disable hwcaps.
68903 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
68905         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
68907 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
68909         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
68910         call in strcasestr.
68911         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
68912         __strcasestr_sse42_nonascii.
68913         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
68914         strcasestr-nonascii.c.
68915         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
68917 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
68919         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
68920         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
68921         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
68922         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
68924 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
68926         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
68927         fcntl.
68929 2010-07-06  Andreas Schwab  <schwab@redhat.com>
68931         [BZ #11577]
68932         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
68933         dl_signal_cerror.
68935 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
68937         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
68938         _PC_PIPE_BUF using F_GETPIPE_SZ.
68940 2010-07-05  Roland McGrath  <roland@redhat.com>
68942         * manual/arith.texi (Rounding Functions): Fix rint description
68943         implicit in round description.
68945 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
68947         * elf/Makefile: Fix linking for a few tests to make recent linker
68948         happy.
68950 2010-06-30  Andreas Schwab  <schwab@redhat.com>
68952         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68953         $(common-objpfx)libc_nonshared.a.
68955 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
68957         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
68958         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
68959         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68960         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68961         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
68962         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
68963         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68964         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
68966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
68967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
68968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
68970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
68972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
68973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
68974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
68975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
68977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
68979         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
68980         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
68981         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
68982         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
68983         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
68984         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
68985         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
68986         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
68987         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
68988         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
68989         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
68990         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
68991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
68992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
68993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
68994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
68995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
68996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
68997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
68998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
68999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
69000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
69001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
69002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
69003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
69004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
69006 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
69008         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
69009         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
69010         * string/memmove.c (memmove): Renamed to ...
69011         (MEMMOVE): ...this.  Default to memmove.
69012         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
69013         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
69014         (END_CHK): Define.
69015         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69016         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
69017         mempcpy-ssse3-back memmove-ssse3-back.
69018         * sysdeps/x86_64/multiarch/bcopy.S: New file .
69019         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
69020         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
69021         * sysdeps/x86_64/multiarch/memcpy.S: New file.
69022         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
69023         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
69024         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
69025         * sysdeps/x86_64/multiarch/memmove.c: New file.
69026         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
69027         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
69028         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
69029         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
69030         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
69031         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
69032         Define.
69033         (index_Fast_Copy_Backward): Define.
69034         (HAS_ARCH_FEATURE): Define.
69035         (HAS_FAST_REP_STRING): Define.
69036         (HAS_FAST_COPY_BACKWARD): Define.
69038 2010-06-21  Andreas Schwab  <schwab@redhat.com>
69040         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
69041         Restore proper fallback handling.
69043 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
69045         [BZ #11701]
69046         * posix/group_member.c (__group_member): Correct checking loop.
69048         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
69049         OOM in getpwuid_r correctly.  Return error number when the caller
69050         should return, otherwise -1.
69051         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
69052         call returning > 0 value.
69053         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
69055 2010-06-07  Andreas Schwab  <schwab@redhat.com>
69057         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
69058         libc_nonshared.a from targets in modules-names.
69060 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
69062         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
69063         requires it.
69065 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
69067         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
69068         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
69069         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
69070         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
69072 2010-06-02  Andreas Schwab  <schwab@redhat.com>
69074         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
69076 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
69078         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
69079         and F_GETPIPE_SZ.
69080         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69081         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69082         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69083         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69084         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69085         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
69087 2010-06-14  Roland McGrath  <roland@redhat.com>
69089         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
69091 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
69093         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
69094         __REDIRECT followed by __THROW.
69095         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
69096         * posix/getopt.h (getopt): Likewise.
69098 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
69100         * hurd/lookup-at.c (__file_name_lookup_at): Accept
69101         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
69102         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
69103         in AT_FLAGS.
69104         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
69105         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
69107 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
69109         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
69111 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
69113         [BZ #11640]
69114         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69115         Properly check family and model.
69117 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
69119         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
69121 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
69123         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
69125 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
69127         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
69128         symbol reference.
69130 2010-05-19  Andreas Schwab  <schwab@redhat.com>
69132         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
69133         symbol reference.
69135 2010-05-21  Andreas Schwab  <schwab@redhat.com>
69137         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
69138         and internal_recvmmsg.
69139         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
69140         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
69141         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
69142         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
69144         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
69145         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
69146         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
69148 2010-05-20  Andreas Schwab  <schwab@redhat.com>
69150         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
69152 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
69154         POWER7 optimizations.
69155         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
69156         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
69158 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
69160         * version.h: Update for 2.13 development version.
69162 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
69164         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
69165         exceptions.  Return 0.
69167 2010-05-07  Roland McGrath  <roland@redhat.com>
69169         * elf/ldconfig.c (main): Add a const.
69171 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
69173         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
69174         (args_options): Add no-idn option.
69175         (ahosts_keys_int): Add idn_flags to ai_flags.
69176         (parse_option): Handle 'i' option to clear idn_flags.
69178         * malloc/malloc.c (_int_free): Possible race in the most recently
69179         added check.  Only act on the data if no current modification
69180         happened.
69182 See ChangeLog.17 for earlier changes.